Home
last modified time | relevance | path

Searched full:scb (Results 1 – 25 of 48) 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 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_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 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_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.c75 { MPARERR, "Scratch or SCB Memory Parity Error" },
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);
[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 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 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.seq49 * A few words on the waiting SCB list:
53 * SCB that we've already pulled from the QINFIFO and started the selection
57 * create yet another SCB waiting for selection. The solution used here is to
58 * use byte 27 of the SCB as a pseudo-next pointer and to thread a list
59 * of SCBs that are awaiting selection. Since 0-0xfe are valid SCB indexes,
62 * command for which a second SCB has been queued. The sequencer will
104 * We have at least one queued SCB now and we don't have any
106 * card SCB for the host's SCB and get to work on it.
111 /* In the non-paging case, the SCBID == hardware SCB index */
118 * DMA the SCB from host ram into the current SCB location.
[all …]
H A Daic79xx.seq149 * the SCB only if all data has transferred to the host.
176 * count in the SCB. In this case, we allow the routine servicing
177 * the FIFO to complete the SCB.
181 * we detect case 1, we will properly defer the post of the SCB
183 * notice that status has been received and complete the SCB.
218 * An SCB has been successfully uploaded to the host.
219 * If the SCB was uploaded for some reason other than
221 * queue the SCB for normal completion. Otherwise, we
307 * tag set by the host so that our SCB dma engine
308 * knows the correct location to store the SCB.
[all …]
H A Daic79xx.reg257 * Host New SCB Queue Offset
266 * Host Empty SCB Queue Offset
319 * SEQ New SCB Queue Offset
329 * SEQ Empty SCB Queue Offset
338 * SEQ Done SCB Queue Offset
547 * SCB Host Address
566 * SCB Host Count
1203 * SCB Type Pointer
1204 * SCB offset for Target Mode SCB type information
1214 * SCB offset to the Two Byte tag identifier used for target mode.
[all …]
H A Daic7xxx_osm.h83 #define SCB_GET_SIM(ahc, scb) \ argument
84 (SCB_GET_CHANNEL(ahc, scb) == 'A' ? (ahc)->platform_data->sim \
110 /************************** Softc/SCB Platform Data ***************************/
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 Daic7xxx.reg698 field INTSCBRAMSEL 0x08 /* Internal SCB RAM Select */
699 field RAMPS 0x04 /* External SCB RAM Present */
700 field USCBSIZE32 0x02 /* Use 32byte SCB Page Size */
786 * SCB Pointer (p. 3-49)
849 * Downloaded SCB's tag does
937 * SCB Auto Increment (p. 3-59)
938 * Byte offset into the SCB Array and an optional bit to allow auto
1018 * SCB Definition (p. 5-4)
1020 scb {
1167 field ARRDONE 0x40 /* SCB Array prefetch done */
[all …]
H A Daic79xx_osm.h85 #define SCB_GET_SIM(ahd, scb) \ argument
114 /************************** Softc/SCB Platform Data ***************************/
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.txt1 IMG Serial Control Bus (SCB) I2C Controller
4 - compatible: "img,scb-i2c"
9 "scb", for the SCB core clock.
18 compatible = "img,scb-i2c";
22 clock-names = "scb", "sys";
/freebsd/share/man/man4/
H A Dahc.461 tagged queueing, SCB paging, and target mode.
115 64 Byte SCB Support - SCSI CDB is embedded in the SCB to eliminate an extra DMA.
338 The SCB contains all of the information required by the
353 .Em SCB Paging ,
362 free SCB if one is available.
364 disconnected (and therefore most likely to stay disconnected) SCB is
365 saved, via dma, to host memory, and the local SCB reused to start
368 255 transactions regardless of the amount of SCB space.
370 local SCB space serves as a cache for disconnected transactions, the
371 more SCB space available, the less host bus traffic consumed saving
[all …]
H A Dahd.465 packetized transfers, tagged queueing, 512 SCB's, and target mode.
86 0x0400 Show SCB queue status
/freebsd/sys/net/
H A Dif_epair.c499 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 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(&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/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/Bindings/pci/
H A Dbrcm,stb-pcie.yaml86 brcm,scb-sizes:
185 scb {
210 brcm,scb-sizes = <0x0000000080000000 0x0000000080000000>;
/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()
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/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/dev/ic/
H A Di82586.h328 ie_ack(volatile struct ie_sys_ctl_block *scb,
331 scb->ie_command = scb->ie_status & mask;

12