HomeSort by: relevance | last modified time | path
    Searched refs:ccbs (Results 1 - 8 of 8) sorted by relevancy

  /src/sys/dev/ic/
adv.h 73 ADV_CCB ccbs[ADV_MAX_CCB]; /* all our control blocks */ member in struct:adv_control
80 #define ADV_CCB_OFF(c) (offsetof(struct adv_control, ccbs[0]) + \
81 (((u_long)(c)) - ((u_long)&sc->sc_control->ccbs[0])))
adw.h 91 ADW_CCB ccbs[ADW_MAX_CCB]; /* all our control blocks */ member in struct:adw_control
98 #define ADW_CCB_OFF(c) (offsetof(struct adw_control, ccbs[0]) + \
99 (((u_long)(c)) - ((u_long)&sc->sc_control->ccbs[0])))
cissvar.h 60 void * ccbs; member in struct:ciss_softc
ciss.c 316 aprint_error(": cannot allocate CCBs (%d)\n", error);
321 (void **)&sc->ccbs, BUS_DMA_NOWAIT))) {
322 aprint_error(": cannot map CCBs (%d)\n", error);
325 memset(sc->ccbs, 0, total);
329 aprint_error(": cannot create CCBs dmamap (%d)\n", error);
334 if ((error = bus_dmamap_load(sc->sc_dmat, sc->cmdmap, sc->ccbs, total,
336 aprint_error(": cannot load CCBs dmamap (%d)\n", error);
346 ccb = (struct ciss_ccb *) ((char *)sc->ccbs + i * sc->ccblen);
544 ccb = (struct ciss_ccb *) ((char *)sc->ccbs + (id >> 2) * sc->ccblen);
adv.c 162 * Create a set of ccbs and add them to the free list. Called once
163 * by adv_init(). We return the number of CCBs successfully created.
475 i = adv_create_ccbs(sc, sc->sc_control->ccbs, ADV_MAX_CCB);
adw.c 201 * Create a set of ccbs and add them to the free list. Called once
202 * by adw_init(). We return the number of CCBs successfully created.
424 ncontrols = adw_create_ccbs(sc, sc->sc_control->ccbs, ADW_MAX_CCB);
  /src/sys/dev/pci/
mpii.c 751 struct mpii_ccb_list ccbs = SIMPLEQ_HEAD_INITIALIZER(ccbs); local in function:mpii_intr
787 SIMPLEQ_INSERT_TAIL(&ccbs, ccb, ccb_link);
810 while ((ccb = SIMPLEQ_FIRST(&ccbs)) != NULL) {
811 SIMPLEQ_REMOVE_HEAD(&ccbs, ccb_link);
2637 * have (sc->sc_max_cmds - 1) number of ccbs
mfii.c 2151 /* shouldn't ever run out of ccbs during attach */
2212 struct mfii_ccb_list ccbs = SIMPLEQ_HEAD_INITIALIZER(ccbs); local in function:mfii_postq
2242 SIMPLEQ_INSERT_TAIL(&ccbs, ccb, ccb_link);
2259 while ((ccb = SIMPLEQ_FIRST(&ccbs)) != NULL) {
2260 SIMPLEQ_REMOVE_HEAD(&ccbs, ccb_link);

Completed in 40 milliseconds