Home
last modified time | relevance | path

Searched refs:scb (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/sys/dev/aic7xxx/
H A Daic_osm_lib.h88 struct scb;
94 void aic_set_recoveryscb(struct aic_softc *aic, struct scb *scb);
158 static __inline u_int aic_get_timeout(struct scb *);
159 static __inline void aic_scb_timer_reset(struct scb *, u_int);
173 aic_get_timeout(struct scb *scb) in aic_get_timeout() argument
175 return (scb->io_ctx->ccb_h.timeout); in aic_get_timeout()
179 aic_scb_timer_reset(struct scb *scb, u_int msec) in aic_scb_timer_reset() argument
186 callout_reset(&scb->io_timer, time, aic_platform_timeout, scb); in aic_scb_timer_reset()
190 aic_scb_timer_start(struct scb *scb) in aic_scb_timer_start() argument
193 if (AIC_SCB_DATA(scb->aic_softc)->recovery_scbs == 0 in aic_scb_timer_start()
[all …]
H A Daic7xxx_inline.h59 * manual pause while accessing scb ram, accesses to certain registers
151 ahc_sg_bus_to_virt(struct scb *scb,
154 ahc_sg_virt_to_bus(struct scb *scb,
159 struct scb *scb, int op);
161 struct scb *scb, int op);
167 ahc_sg_bus_to_virt(struct scb *sc argument
179 ahc_sg_virt_to_bus(struct scb * scb,struct ahc_dma_seg * sg) ahc_sg_virt_to_bus() argument
197 ahc_sync_scb(struct ahc_softc * ahc,struct scb * scb,int op) ahc_sync_scb() argument
206 ahc_sync_sglist(struct ahc_softc * ahc,struct scb * scb,int op) ahc_sync_sglist() argument
271 ahc_update_residual(struct ahc_softc * ahc,struct scb * scb) ahc_update_residual() argument
363 struct scb *scb; ahc_get_scb() local
380 ahc_free_scb(struct ahc_softc * ahc,struct scb * scb) ahc_free_scb() argument
399 struct scb* scb; ahc_lookup_scb() local
409 ahc_swap_with_next_hscb(struct ahc_softc * ahc,struct scb * scb) ahc_swap_with_next_hscb() argument
449 ahc_queue_scb(struct ahc_softc * ahc,struct scb * scb) ahc_queue_scb() argument
489 ahc_get_sense_buf(struct ahc_softc * ahc,struct scb * scb) ahc_get_sense_buf() argument
498 ahc_get_sense_bufaddr(struct ahc_softc * ahc,struct scb * scb) ahc_get_sense_bufaddr() argument
[all...]
H A Daic79xx_inline.h233 static __inline void *ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
237 struct scb *scb);
239 struct scb *scb);
241 struct scb *scb);
244 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, in ahd_sg_setup() argument
247 scb->sg_count++; in ahd_sg_setup()
268 ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb) in ahd_setup_scb_common() argument
271 scb->crc_retry_count = 0; in ahd_setup_scb_common()
272 if ((scb->flags & SCB_PACKETIZED) != 0) { in ahd_setup_scb_common()
274 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE; in ahd_setup_scb_common()
[all …]
H A Daic7xxx_osm.c61 struct ccb_scsiio *csio, struct scb *scb);
305 ahc_sync_ccb(struct ahc_softc *ahc, struct scb *scb, union ccb *ccb, bool post)
320 bus_dmamap_sync(ahc->buffer_dmat, scb->dmamap, op); in ahc_done()
324 * We have an scb which has been processed by the in ahc_done()
329 ahc_done(struct ahc_softc *ahc, struct scb *scb) in ahc_done()
333 CAM_DEBUG(scb->io_ctx->ccb_h.path, CAM_DEBUG_TRACE, in ahc_done()
334 ("ahc_done - scb in ahc_done()
311 ahc_done(struct ahc_softc * ahc,struct scb * scb) ahc_done() argument
492 struct scb *scb; ahc_action() local
921 struct scb *scb; ahc_execute_scb() local
1125 ahc_setup_data(struct ahc_softc * ahc,struct cam_sim * sim,struct ccb_scsiio * csio,struct scb * scb) ahc_setup_data() argument
[all...]
H A Daic79xx.c134 struct scb *scb);
137 struct scb *scb);
173 struct scb *scb);
186 struct scb *scb, u_int col_idx);
188 struct scb *scb);
191 struct scb *prev_scb,
192 struct scb *scb);
223 struct scb *scb,
224 struct scb *other_scb);
226 struct scb *scb);
[all …]
H A Daic_osm_lib.c39 aic_set_recoveryscb(struct aic_softc *aic, struct scb *scb) in aic_set_recoveryscb() argument
42 if ((scb->flags & SCB_RECOVERY_SCB) == 0) { in aic_set_recoveryscb()
43 struct scb *list_scb; in aic_set_recoveryscb()
45 scb->flags |= SCB_RECOVERY_SCB; in aic_set_recoveryscb()
55 callout_stop(&scb->io_timer); in aic_set_recoveryscb()
63 struct scb *scb; in aic_platform_timeout() local
65 scb = (struct scb *)arg; in aic_platform_timeout()
66 aic_lock(scb->aic_softc); in aic_platform_timeout()
67 aic_timeout(scb); in aic_platform_timeout()
68 aic_unlock(scb->aic_softc); in aic_platform_timeout()
H A Daic79xx_osm.c70 struct ccb_scsiio *csio, struct scb *scb);
306 ahd_sync_ccb(struct ahd_softc *ahd, struct scb *scb, union ccb *ccb, bool post)
321 bus_dmamap_sync(ahd->buffer_dmat, scb->dmamap, op); in ahd_done()
325 * We have an scb which has been processed by the in ahd_done()
330 ahd_done(struct ahd_softc *ahd, struct scb *scb) in ahd_done()
334 CAM_DEBUG(scb->io_ctx->ccb_h.path, CAM_DEBUG_TRACE, in ahd_done()
335 ("ahd_done - scb in ahd_done()
312 ahd_done(struct ahd_softc * ahd,struct scb * scb) ahd_done() argument
511 struct scb *scb; ahd_action() local
939 struct scb *scb; ahd_execute_scb() local
1062 ahd_setup_data(struct ahd_softc * ahd,struct cam_sim * sim,struct ccb_scsiio * csio,struct scb * scb) ahd_setup_data() argument
[all...]
H A Daic79xx.h86 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) argument
87 #define SCB_GET_OUR_ID(scb) \ argument
88 SCSIID_OUR_ID((scb)->hscb->scsiid)
89 #define SCB_GET_TARGET(ahd, scb) \ argument
90 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
91 #define SCB_GET_CHANNEL(ahd, scb) \ argument
92 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
93 #define SCB_GET_LUN(scb) \ argument
94 ((scb)->hscb->lun)
95 #define SCB_GET_TARGET_OFFSET(ahd, scb) \ argument
97 SCB_GET_TARGET_MASK(ahd,scb) global() argument
100 SCB_IS_SILENT(scb) global() argument
104 SCB_IS_SILENT(scb) global() argument
119 SCB_GET_TAG(scb) global() argument
130 AHD_GET_SCB_COL_IDX(ahd,scb) global() argument
133 AHD_SET_SCB_COL_IDX(scb,col_idx) global() argument
609 struct scb { global() struct
610 hscbscb global() argument
612 __anone71e1ffb090ascb global() argument
617 __anone71e1ffb0a0ascb global() argument
623 links2scb global() argument
624 col_scbscb global() argument
627 flagsscb global() argument
631 platform_datascb global() argument
632 hscb_mapscb global() argument
645 io_timerscb global() argument
[all...]
H A Daic7xxx.c160 struct scb *scb);
164 struct scb *scb);
201 struct scb *scb);
209 struct scb *prev_scb,
210 struct scb *scb);
228 struct scb *scb,
229 struct scb *other_scb);
309 struct scb *scb; in ahc_run_qoutfifo() local
334 scb = ahc_lookup_scb(ahc, scb_index); in ahc_run_qoutfifo()
335 if (scb == NULL) { in ahc_run_qoutfifo()
[all …]
H A Daic7xxx.h87 #define SCB_IS_SCSIBUS_B(ahc, scb) \ argument
88 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
89 #define SCB_GET_OUR_ID(scb) \ argument
90 SCSIID_OUR_ID((scb)->hscb->scsiid)
91 #define SCB_GET_TARGET(ahc, scb) \ argument
92 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
93 #define SCB_GET_CHANNEL(ahc, scb) \ argument
94 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
95 #define SCB_GET_LUN(scb) \ argument
96 ((scb)
97 SCB_GET_TARGET_OFFSET(ahc,scb) global() argument
99 SCB_GET_TARGET_MASK(ahc,scb) global() argument
102 SCB_IS_SILENT(scb) global() argument
106 SCB_IS_SILENT(scb) global() argument
581 struct scb { global() struct
582 hscbscb global() argument
584 __anoneb9227ba070ascb global() argument
587 linksscb global() argument
591 flagsscb global() argument
595 platform_datascb global() argument
604 io_timerscb global() argument
[all...]
H A Daic7xxx_osm.h83 #define SCB_GET_SIM(ahc, scb) \ argument
84 (SCB_GET_CHANNEL(ahc, scb) == 'A' ? (ahc)->platform_data->sim \
222 static __inline void ahc_print_path(struct ahc_softc *, struct scb *);
226 ahc_print_path(struct ahc_softc *ahc, struct scb *scb) in ahc_print_path() argument
228 xpt_print_path(scb->io_ctx->ccb_h.path); in ahc_print_path()
251 void ahc_done(struct ahc_softc *ahc, struct scb *scb);
H A Daic79xx_osm.h85 #define SCB_GET_SIM(ahd, scb) \ argument
228 static __inline void ahd_print_path(struct ahd_softc *, struct scb *);
232 ahd_print_path(struct ahd_softc *ahd, struct scb *scb) in ahd_print_path() argument
234 xpt_print_path(scb->io_ctx->ccb_h.path); in ahd_print_path()
267 void ahd_done(struct ahd_softc *ahd, struct scb *scb);
/freebsd/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-img-scb.txt4 - compatible: "img,scb-i2c"
9 "scb", for the SCB core clock.
18 compatible = "img,scb-i2c";
22 clock-names = "scb", "sys";
/freebsd/sys/net/
H A Dif_epair.c588 epair_clone_add(struct if_clone *ifc, struct epair_softc *scb) in epair_clone_add() argument
593 ifp = scb->ifp; in epair_clone_add()
596 memcpy(eaddr, scb->oifp->if_hw_addr, ETHER_ADDR_LEN); in epair_clone_add()
599 epair_generate_mac_byname(scb, eaddr); in epair_clone_add()
796 struct epair_softc *sca, *scb; in epair_clone_create() local
808 scb = epair_alloc_sc(ifc); in epair_clone_create()
813 sca->oifp = scb->ifp; in epair_clone_create()
814 scb->oifp = sca->ifp; in epair_clone_create()
830 epair_setup_ifp(scb, name, unit); in epair_clone_create()
832 ifp = scb->ifp; in epair_clone_create()
[all …]
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/
H A Dampdu.c278 struct scb *scb) in brcms_c_scb_ampdu_update_config() argument
280 struct scb_ampdu *scb_ampdu = &scb->scb_ampdu; in brcms_c_scb_ampdu_update_config()
457 struct scb *scb = &wlc->pri_scb; in brcms_c_ampdu_tx_operational() local
458 scb_ampdu = &scb->scb_ampdu; in brcms_c_ampdu_tx_operational()
490 struct scb *scb = &wlc->pri_scb; in brcms_c_ampdu_add_frame() local
491 struct scb_ampdu *scb_ampdu = &scb->scb_ampdu; in brcms_c_ampdu_add_frame()
802 brcms_c_ampdu_dotxstatus_complete(struct ampdu_info *ampdu, struct scb *scb, in brcms_c_ampdu_dotxstatus_complete() argument
828 scb_ampdu = &scb->scb_ampdu; in brcms_c_ampdu_dotxstatus_complete()
991 brcms_c_ampdu_dotxstatus(struct ampdu_info *ampdu, struct scb *scb, in brcms_c_ampdu_dotxstatus() argument
1018 if (scb) { in brcms_c_ampdu_dotxstatus()
[all …]
H A Dampdu.h48 void brcms_c_ampdu_dotxstatus(struct ampdu_info *ampdu, struct scb *scb,
H A Dmain.h216 #define BRCMS_STF_SS_STBC_TX(wlc, scb) \ argument
218 || (((scb)->flags & SCB_STBCCAP) && \
262 struct scb *hwrs_scb; /* permanent scb for hw rateset */
565 struct scb pri_scb;
668 void brcms_c_init_scb(struct scb *scb);
H A Dscb.h58 struct scb { struct
H A Dmac80211_if.c810 struct scb *scb = &wl->wlc->pri_scb; in brcms_ops_sta_add() local
812 brcms_c_init_scb(scb); in brcms_ops_sta_add()
814 wl->pub->global_ampdu = &(scb->scb_ampdu); in brcms_ops_sta_add()
830 struct scb *scb = &wl->wlc->pri_scb; in brcms_ops_ampdu_action() local
836 if (WARN_ON(scb->magic != SCB_MAGIC)) in brcms_ops_ampdu_action()
/freebsd/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c250 struct svc_rpc_gss_callback *scb; in rpc_gss_set_callback() local
252 scb = mem_alloc(sizeof(struct svc_rpc_gss_callback)); in rpc_gss_set_callback()
253 if (!scb) { in rpc_gss_set_callback()
257 scb->cb_callback = *cb; in rpc_gss_set_callback()
259 SLIST_INSERT_HEAD(&VNET(svc_rpc_gss_callbacks), scb, cb_link); in rpc_gss_set_callback()
268 struct svc_rpc_gss_callback *scb; in rpc_gss_clear_callback() local
271 SLIST_FOREACH(scb, &VNET(svc_rpc_gss_callbacks), cb_link) { in rpc_gss_clear_callback()
272 if (scb->cb_callback.program == cb->program in rpc_gss_clear_callback()
273 && scb->cb_callback.version == cb->version in rpc_gss_clear_callback()
274 && scb->cb_callback.callback == cb->callback) { in rpc_gss_clear_callback()
[all …]
/freebsd/sys/dev/ic/
H A Di82586.h328 ie_ack(volatile struct ie_sys_ctl_block *scb,
331 scb->ie_command = scb->ie_status & mask;
/freebsd/lib/librpcsec_gss/
H A Dsvc_rpcsec_gss.c169 struct svc_rpc_gss_callback *scb; in rpc_gss_set_callback() local
171 scb = mem_alloc(sizeof(struct svc_rpc_gss_callback)); in rpc_gss_set_callback()
172 if (!scb) { in rpc_gss_set_callback()
176 scb->cb_callback = *cb; in rpc_gss_set_callback()
177 SLIST_INSERT_HEAD(&svc_rpc_gss_callbacks, scb, cb_link); in rpc_gss_set_callback()
837 struct svc_rpc_gss_callback *scb; in svc_rpc_gss_callback() local
847 SLIST_FOREACH(scb, &svc_rpc_gss_callbacks, cb_link) { in svc_rpc_gss_callback()
848 if (scb->cb_callback.program == rqst->rq_prog in svc_rpc_gss_callback()
849 && scb->cb_callback.version == rqst->rq_vers) { in svc_rpc_gss_callback()
856 cb_res = scb->cb_callback.callback(rqst, in svc_rpc_gss_callback()
/freebsd/sys/contrib/device-tree/Bindings/mailbox/
H A Darm-mhu.txt39 mhu_client: scb@2e000000 {
40 compatible = "fujitsu,mb86s70-scb-1.0";
/freebsd/sys/contrib/device-tree/src/mips/img/
H A Dpistachio.dtsi45 compatible = "img,scb-i2c";
50 clock-names = "scb", "sys";
63 compatible = "img,scb-i2c";
68 clock-names = "scb", "sys";
81 compatible = "img,scb-i2c";
86 clock-names = "scb", "sys";
99 compatible = "img,scb-i2c";
104 clock-names = "scb", "sys";
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dnxp,lpc3220-clk.txt16 scb {

12