/freebsd/sys/dev/aic7xxx/ |
H A D | aic_osm_lib.h | 88 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 D | aic7xxx_inline.h | 59 * 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 D | aic79xx_inline.h | 233 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 D | aic7xxx_osm.c | 61 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 D | aic79xx.c | 134 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 D | aic_osm_lib.c | 39 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 D | aic79xx_osm.c | 70 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 D | aic79xx.h | 86 #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 D | aic7xxx.h | 87 #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 D | aic7xxx_osm.h | 83 #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 D | aic79xx_osm.h | 85 #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);
|
H A D | aic7xxx.reg | 1020 scb { 1407 * Address of the hardware scb array in the host.
|
/freebsd/sys/contrib/device-tree/Bindings/i2c/ |
H A D | i2c-img-scb.txt | 4 - 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 D | if_epair.c | 499 epair_clone_add(struct if_clone *ifc, struct epair_softc *scb) in epair_clone_add() argument 504 ifp = scb->ifp; in epair_clone_add() 506 memcpy(eaddr, scb->oifp->if_hw_addr, ETHER_ADDR_LEN); in epair_clone_add() 699 struct epair_softc *sca, *scb; in epair_clone_create() local 711 scb = epair_alloc_sc(ifc); in epair_clone_create() 716 sca->oifp = scb->ifp; in epair_clone_create() 717 scb->oifp = sca->ifp; in epair_clone_create() 730 epair_setup_ifp(scb, name, unit); in epair_clone_create() 732 ifp = scb->ifp; in epair_clone_create() 736 strlcpy(name, scb->ifp->if_xname, len); in epair_clone_create() [all …]
|
/freebsd/sys/rpc/rpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 250 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(&KGSS_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, &KGSS_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 D | i82586.h | 328 ie_ack(volatile struct ie_sys_ctl_block *scb, 331 scb->ie_command = scb->ie_status & mask;
|
/freebsd/lib/librpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 169 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() 830 struct svc_rpc_gss_callback *scb; in svc_rpc_gss_callback() local 840 SLIST_FOREACH(scb, &svc_rpc_gss_callbacks, cb_link) { in svc_rpc_gss_callback() 841 if (scb->cb_callback.program == rqst->rq_prog in svc_rpc_gss_callback() 842 && scb->cb_callback.version == rqst->rq_vers) { in svc_rpc_gss_callback() 849 cb_res = scb->cb_callback.callback(rqst, in svc_rpc_gss_callback()
|
/freebsd/sys/contrib/device-tree/Bindings/mailbox/ |
H A D | arm-mhu.txt | 39 mhu_client: scb@2e000000 { 40 compatible = "fujitsu,mb86s70-scb-1.0";
|
/freebsd/sys/contrib/device-tree/src/mips/img/ |
H A D | pistachio.dtsi | 45 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 D | nxp,lpc3220-clk.txt | 16 scb {
|
/freebsd/sys/contrib/device-tree/src/mips/brcm/ |
H A D | bcm97435svmb.dts | 135 brcm,scb-sizes = <0 0x40000000 0 0x40000000>;
|
H A D | bcm97425svmb.dts | 159 brcm,scb-sizes = <0 0x40000000 0 0x40000000>;
|
/freebsd/sys/dev/usb/ |
H A D | usb_controller.h | 49 typedef void (usb_bus_mem_cb_t)(struct usb_bus *bus, usb_bus_mem_sub_cb_t *scb);
|
/freebsd/sys/dev/aic7xxx/aicasm/ |
H A D | aicasm_gram.y | 237 | scb 238 | program scb 810 scb:
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/lpc/ |
H A D | lpc32xx.dtsi | 316 scb {
|