HomeSort by: relevance | last modified time | path
    Searched refs:scb (Results 1 - 25 of 85) sorted by relevancy

1 2 3 4

  /src/sys/dev/ic/
aic79xx_osm.h 90 #define SCB_GET_SIM(ahd, scb) \
155 /************************** Softc/SCB Platform Data ***************************/
200 ahd_scb_timer_reset(struct scb *scb, u_int usec)
202 if (!(scb->xs->xs_control & XS_CTL_POLL)) {
203 callout_reset(&scb->xs->xs_callout,
204 (usec * hz)/1000000, ahd_timeout, scb);
313 static __inline void ahd_set_transaction_status(struct scb *, uint32_t);
314 static __inline void ahd_set_scsi_status(struct scb *, uint32_t);
315 static __inline void ahd_set_xfer_status(struct scb *, uint32_t)
    [all...]
aic7xxx_osm.h 89 #define SCB_GET_SIM(ahc, scb) \
90 (SCB_GET_CHANNEL(ahc, scb) == 'A' ? (ahc)->platform_data->sim \
153 /************************** Softc/SCB Platform Data ***************************/
217 ahc_scb_timer_reset(struct scb *scb, u_int usec)
219 if (!(scb->xs->xs_control & XS_CTL_POLL)) {
220 callout_reset(&scb->xs->xs_callout,
221 (usec * hz)/1000000, ahc_timeout, scb);
315 static __inline void ahc_set_transaction_status(struct scb *, uint32_t);
316 static __inline void ahc_set_scsi_status(struct scb *, uint32_t)
    [all...]
aic7xxx_osm.c 58 struct scsipi_xfer *xs, struct scb *scb);
59 static void ahc_set_recoveryscb(struct ahc_softc *ahc, struct scb *scb);
194 * We have an scb which has been processed by the
199 ahc_done(struct ahc_softc *ahc, struct scb *scb)
205 xs = scb->xs;
207 LIST_REMOVE(scb, pending_links);
208 if ((scb->flags & SCB_UNTAGGEDQ) != 0)
339 struct scb *scb; local in function:ahc_action
520 struct scb *scb; local in function:ahc_execute_scb
805 struct scb *scb; local in function:ahc_timeout
    [all...]
aic7xxx_inline.h 64 * manual pause while accessing scb ram, accesses to certain registers
156 ahc_sg_bus_to_virt(struct scb *scb,
159 ahc_sg_virt_to_bus(struct scb *scb,
164 struct scb *scb, int op);
166 struct scb *scb, int op);
172 ahc_sg_bus_to_virt(struct scb *scb, uint32_t sg_busaddr
370 struct scb *scb; local in function:ahc_get_scb
401 struct scb* scb; local in function:ahc_lookup_scb
    [all...]
aic79xx_inline.h 232 static __inline void *ahd_sg_setup(struct ahd_softc *, struct scb *,
234 static __inline void ahd_setup_scb_common(struct ahd_softc *, struct scb *);
235 static __inline void ahd_setup_data_scb(struct ahd_softc *, struct scb *);
236 static __inline void ahd_setup_noxfer_scb(struct ahd_softc *, struct scb *);
239 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
242 scb->sg_count++;
263 ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb)
266 scb->crc_retry_count = 0
708 struct scb* scb; local in function:ahd_lookup_scb
    [all...]
iha.c 237 * iha_append_free_scb - append the supplied SCB to the tail of the
242 iha_append_free_scb(struct iha_softc *sc, struct iha_scb *scb)
248 if (scb == sc->sc_actscb)
251 scb->status = STATUS_QUEUED;
252 scb->ha_stat = HOST_OK;
253 scb->ta_stat = SCSI_OK;
255 scb->nextstat = 0;
256 scb->scb_tagmsg = 0;
258 scb->xs = NULL;
259 scb->tcs = NULL
305 struct iha_scb *scb; local in function:iha_pop_done_scb
331 struct iha_scb *scb; local in function:iha_find_pend_scb
500 struct iha_scb *scb; local in function:iha_attach
674 struct iha_scb *scb; local in function:iha_scsipi_request
810 struct iha_scb *scb; local in function:iha_reset_scsi_bus
908 struct iha_scb *scb; local in function:iha_main
937 struct iha_scb *scb; local in function:iha_scsi
1357 struct iha_scb *scb = (struct iha_scb *)arg; local in function:iha_timeout
1384 struct iha_scb *scb; local in function:iha_abort_xs
1568 struct iha_scb *scb = sc->sc_actscb; local in function:iha_state_1
1628 struct iha_scb *scb = sc->sc_actscb; local in function:iha_state_2
1654 struct iha_scb *scb = sc->sc_actscb; local in function:iha_state_3
1708 struct iha_scb *scb = sc->sc_actscb; local in function:iha_state_4
1770 struct iha_scb *scb = sc->sc_actscb; local in function:iha_state_5
1916 struct iha_scb *scb; local in function:iha_state_8
2000 struct iha_scb *scb = sc->sc_actscb; local in function:iha_xpad_in
2031 struct iha_scb *scb = sc->sc_actscb; local in function:iha_xpad_out
2065 struct iha_scb *scb; local in function:iha_status_msg
2136 struct iha_scb *scb; local in function:iha_busfree
2162 struct iha_scb *scb; local in function:iha_resel
2615 struct iha_scb *scb = sc->sc_actscb; local in function:iha_bad_seq
    [all...]
aic79xx_osm.c 61 struct scb *scb);
64 static void ahd_set_recoveryscb(struct ahd_softc *ahd, struct scb *scb);
195 * We have an scb which has been processed by the
199 ahd_done(struct ahd_softc *ahd, struct scb *scb)
205 LIST_REMOVE(scb, pending_links);
207 xs = scb->xs;
210 callout_stop(&scb->xs->xs_callout)
335 struct scb *scb; local in function:ahd_action
530 struct scb *scb; local in function:ahd_execute_scb
741 struct scb *scb; local in function:ahd_timeout
    [all...]
aic79xx.c 87 { MPARERR, "Scratch or SCB Memory Parity Error" },
146 struct scb *scb);
149 struct scb *scb);
186 struct scb *scb);
197 struct scb *scb, u_int col_idx);
199 struct scb *scb)
391 struct scb *scb; local in function:ahd_flush_qoutfifo
814 struct scb *scb; local in function:ahd_run_qoutfifo
906 struct scb *scb; local in function:ahd_handle_seqint
926 struct scb *scb; local in function:ahd_handle_seqint
972 struct scb *scb; local in function:ahd_handle_seqint
988 struct scb *scb; local in function:ahd_handle_seqint
1027 struct scb *scb; local in function:ahd_handle_seqint
1119 struct scb *scb; local in function:ahd_handle_seqint
1186 struct scb *scb; local in function:ahd_handle_seqint
1322 struct scb *scb; local in function:ahd_handle_seqint
1359 struct scb *scb; local in function:ahd_handle_seqint
1386 struct scb *scb; local in function:ahd_handle_seqint
1440 struct scb *scb; local in function:ahd_handle_seqint
1503 struct scb *scb; local in function:ahd_handle_scsiint
1751 struct scb *scb; local in function:ahd_handle_transmission_error
1985 struct scb *scb; local in function:ahd_handle_pkt_busfree
2089 struct scb *scb; local in function:ahd_handle_pkt_busfree
2116 struct scb *scb; local in function:ahd_handle_nonpkt_busfree
2354 struct scb *scb; local in function:ahd_handle_proto_violation
4586 struct scb *scb; local in function:ahd_handle_msg_reject
4753 struct scb *scb; local in function:ahd_handle_ign_wide_residue
4904 struct scb *scb; local in function:ahd_reinitialize_dataptrs
5461 struct scb *scb; local in function:ahd_find_scb_by_tag
5663 struct scb *scb; local in function:ahd_get_scb
7081 struct scb *scb; local in function:ahd_reset_cmds_pending
7108 struct scb *scb; local in function:ahd_search_qinfifo
7294 struct scb *scb; local in function:ahd_search_scb_list
8656 struct scb *scb; local in function:ahd_dump_card_state
9429 struct scb *scb; local in function:ahd_handle_en_lun
    [all...]
aic79xxvar.h 92 #define SCB_IS_SCSIBUS_B(ahd, scb) (0)
93 #define SCB_GET_OUR_ID(scb) \
94 SCSIID_OUR_ID((scb)->hscb->scsiid)
95 #define SCB_GET_TARGET(ahd, scb) \
96 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
97 #define SCB_GET_CHANNEL(ahd, scb) \
98 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
99 #define SCB_GET_LUN(scb) \
100 ((scb)->hscb->lun)
101 #define SCB_GET_TARGET_OFFSET(ahd, scb) \
619 struct scb { struct
    [all...]
aic7xxx.c 95 { MPARERR, "Scratch or SCB Memory Parity Error" },
169 struct scb *scb);
173 struct scb *scb);
211 struct scb *scb);
221 struct scb *prev_scb,
222 struct scb *scb);
327 struct scb *scb; local in function:ahc_run_qoutfifo
384 struct scb *scb; local in function:ahc_run_untagged_queue
429 struct scb *scb; local in function:ahc_handle_seqint
975 struct scb *scb; local in function:ahc_handle_scsiint
2545 struct scb *scb; local in function:ahc_handle_proto_violation
3411 struct scb *scb; local in function:ahc_handle_msg_reject
3566 struct scb *scb; local in function:ahc_handle_ign_wide_residue
3674 struct scb *scb; local in function:ahc_reinitialize_dataptrs
5292 struct scb *scb; local in function:ahc_search_qinfifo
5501 struct scb *scb; local in function:ahc_search_untagged_queues
6601 struct scb *scb; local in function:ahc_dump_card_state
7063 struct scb *scb; local in function:ahc_handle_en_lun
    [all...]
aic7xxxvar.h 178 #define SCB_IS_SCSIBUS_B(ahc, scb) \
179 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
180 #define SCB_GET_OUR_ID(scb) \
181 SCSIID_OUR_ID((scb)->hscb->scsiid)
182 #define SCB_GET_TARGET(ahc, scb) \
183 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
184 #define SCB_GET_CHANNEL(ahc, scb) \
185 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
186 #define SCB_GET_LUN(scb) \
187 ((scb)->hscb->lun
679 struct scb { struct
    [all...]
  /src/sys/dev/isa/
wds.c 412 struct wds_scb *scb; local in function:wds_finish_scbs
435 scb = wds_scb_phys_kv(sc, phystol(wmbi->scb_addr));
436 if (!scb) {
437 printf("%s: bad mbi scb pointer; skipping\n",
444 u_char *cp = scb->cmd.xx;
449 printf("scb addr = %p\n", scb);
453 callout_stop(&scb->xs->xs_callout);
454 wds_done(sc, scb, wmbi->stat);
504 wds_reset_scb(struct wds_softc *sc, struct wds_scb *scb)
586 struct wds_scb *scb; local in function:wds_create_scbs
639 struct wds_scb *scb; local in function:wds_get_scb
656 struct wds_scb *scb = sc->sc_scbhash[hashnum]; local in function:wds_scb_phys_kv
688 struct wds_scb *scb; local in function:wds_collect_mbo
718 struct wds_scb *scb; local in function:wds_start_scbs
1000 struct wds_scb *scb; local in function:wds_inquire_setup_information
1074 struct wds_scb *scb; local in function:wds_scsipi_request
1322 struct wds_scb *scb = arg; local in function:wds_timeout
    [all...]
seagate.c 93 #define SCB_TABLE_SIZE 8 /* start with 8 scb entries in table */
206 struct sea_scb scb[SCB_TABLE_SIZE]; member in struct:sea_softc
287 void sea_send_scb(struct sea_softc *sea, struct sea_scb *scb);
289 int sea_select(struct sea_softc *sea, struct sea_scb *scb);
292 int sea_abort(struct sea_softc *, struct sea_scb *scb);
308 struct sea_scb *scb; local in function:sea_queue_length
312 for (scb = sea->ready_list.tqh_first, issued = 0; scb;
313 scb = scb->chain.tqe_next, issued++)
564 struct sea_scb *scb; local in function:sea_scsipi_request
663 struct sea_scb *scb; local in function:sea_get_scb
701 struct sea_scb *scb; local in function:sea_main
804 struct sea_scb *scb; local in function:sea_grow_scb
833 struct sea_scb *scb = arg; local in function:sea_timeout
879 struct sea_scb *scb; local in function:sea_reselect
1260 struct sea_scb *scb = sea->nexus; local in function:sea_information_transfer
    [all...]
  /src/sys/arch/newsmips/dev/
sc_wrap.c 77 struct sc_scb *scb; local in function:cxd1185_attach
118 scb = sc->sc_scb;
120 TAILQ_INSERT_TAIL(&sc->free_list, scb, chain);
121 scb++;
144 free_scb(struct sc_softc *sc, struct sc_scb *scb)
150 TAILQ_INSERT_HEAD(&sc->free_list, scb, chain);
156 if (scb->chain.tqe_next == 0)
166 struct sc_scb *scb; local in function:get_scb
170 while ((scb = sc->free_list.tqh_first) == NULL &&
173 if (scb) {
188 struct sc_scb *scb; local in function:sc_scsipi_request
275 struct sc_scb *scb, *nextscb; local in function:sc_sched
453 struct sc_scb *scb = arg; local in function:cxd1185_timeout
    [all...]
scsi_1185.c 264 sc_send(struct sc_scb *scb, int chan, int ie)
266 struct sc_softc *sc = scb->scb_softc;
273 xs = scb->xs;
276 if (cs->scb != NULL) {
278 printf("ie=0x%x scb=%p cs->sc=%p\n", ie, scb, cs->scb);
298 cs->scb = scb;
300 scb->istatus = INST_EP
791 struct sc_scb *scb = cs->scb; local in function:scsi_softreset
956 struct sc_scb *scb = cs->scb; local in function:sc_discon
1094 struct sc_scb *scb = cs->scb; local in function:sc_cout
1174 struct sc_scb *scb = cs->scb; local in function:sc_min
1329 struct sc_scb *scb = cs->scb; local in function:sc_mout
1493 struct sc_scb *scb; local in function:sc_dio
1723 struct sc_scb *scb = cs->scb; local in function:adjust_transfer
    [all...]
  /src/sys/arch/macppc/dev/
mesh.c 77 /* scb flags */
322 struct mesh_scb *scb; local in function:mesh_intr
351 scb = sc->sc_nexus;
352 if (scb == NULL) {
362 scb->resid = MESH_GET_XFER(sc);
366 if (scb->flags & MESH_READ) {
369 cp = (char *)scb->daddr + scb->dlen
372 fifocnt, scb->resid);
392 mesh_error(sc, scb, error, 0)
779 struct mesh_scb *scb = sc->sc_nexus; local in function:mesh_msgout
933 struct mesh_scb *scb; local in function:mesh_get_scb
960 struct mesh_scb *scb; local in function:mesh_scsi_request
1041 struct mesh_scb *scb; local in function:mesh_sched
1111 struct mesh_scb *scb = arg; local in function:mesh_timeout
    [all...]
  /src/sys/arch/newsmips/apbus/
spifi.c 75 /* scb flags */
222 struct spifi_scb *scb; local in function:spifi_scsipi_request
235 scb = spifi_get_scb(sc);
236 if (scb == NULL) {
237 panic("spifi_scsipi_request: no scb");
240 scb->xs = xs;
241 scb->flags = 0;
242 scb->status = 0;
243 scb->daddr = (vaddr_t)xs->data;
244 scb->resid = xs->datalen
284 struct spifi_scb *scb; local in function:spifi_get_scb
309 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_poll
351 struct spifi_scb *scb; local in function:spifi_sched
418 struct spifi_scb *scb; local in function:spifi_intr
575 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_select
600 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_sendmsg
641 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_command
668 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_data_io
716 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_done
742 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_fifo_drain
    [all...]
  /src/sys/arch/vax/vax/
scb.c 1 /* $NetBSD: scb.c,v 1.19 2017/05/22 16:53:05 ragge Exp $ */
27 * Routines for dynamic allocation/release of SCB vectors.
31 __KERNEL_RCSID(0, "$NetBSD: scb.c,v 1.19 2017/05/22 16:53:05 ragge Exp $");
40 #include <machine/scb.h>
44 struct scb *scb; variable in typeref:struct:scb *
51 * Generates a new SCB.
62 scb = (struct scb *)vavail;
65 /* Init the whole SCB with interrupt catchers *
    [all...]
  /src/sys/arch/vax/include/
scb.h 1 /* $NetBSD: scb.h,v 1.15 2022/04/10 09:50:45 andvar Exp $ */
37 struct scb { struct
128 extern struct scb *scb;
  /src/sys/arch/acorn32/podulebus/
if_ie.c 653 struct ie_sys_ctl_block scb; local in function:iereset
658 ie2host(sc, IE_IBASE + IE_SCB_OFF, &scb, sizeof scb);
692 struct ie_sys_ctl_block scb; local in function:run_tdr
693 u_long ptr = IE_IBASE + IE_SCB_OFF + sizeof scb;
697 bzero ( &scb, sizeof(scb) );
705 scb.ie_command_list = (u_short)ptr;
708 if ( command_and_wait(sc, IE_CU_START, &scb, &cmd, ptr, sizeof cmd,
805 struct ie_sys_ctl_block scb; local in function:setup_rfa
816 struct ie_sys_ctl_block scb; local in function:start_receiver
834 struct ie_sys_ctl_block scb; local in function:ieinit
947 struct ie_sys_ctl_block scb; local in function:iestop
1287 struct ie_sys_ctl_block scb; local in function:ierint
1412 struct ie_sys_ctl_block scb; local in function:iexmit
    [all...]
  /src/sys/arch/sun3/dev/
if_ie.c 273 volatile struct ie_sys_ctl_block *scb = sc->scb; local in function:ie_ack
275 cmd_and_wait(sc, scb->ie_status & mask, 0, 0);
362 volatile struct ie_sys_ctl_block *scb; local in function:ie_setupram
367 * ISCP, SCB, and other small stuff.
382 /* SCB */
383 off -= sizeof(*scb);
384 scb = (volatile void *)(sc->buf_area + off);
385 (sc->sc_memset)(__UNVOLATILE(scb), 0, sizeof(*scb));
535 volatile struct ie_sys_ctl_block *scb = sc->scb; local in function:ierint
1045 volatile struct ie_sys_ctl_block *scb = sc->scb; local in function:cmd_and_wait
1318 volatile struct ie_sys_ctl_block *scb = sc->scb; local in function:ieinit
    [all...]
if_ievar.h 94 volatile struct ie_sys_ctl_block *scb; member in struct:ie_softc
  /src/sys/arch/vax/boot/boot/
autoconf.c 40 #include "../include/scb.h"
130 struct ivec_dsp **scb; variable in typeref:struct:ivec_dsp **
146 * Init the SCB and set up a handler for all vectors in the lower space,
155 * Allocate space. We need one page for the SCB, and 128*20 == 2.5k
156 * for the vectors. The SCB must be on a page boundary.
162 scb = (void *)i;
166 scb[i] = &scb_vec[i];
167 addr = (int)scb[i];
169 scb[i] = (struct ivec_dsp*)addr;
  /src/sys/arch/vax/mba/
mbavar.h 28 #include <machine/scb.h>
  /src/sys/arch/vax/bi/
bi_mainbus.c 39 #include <machine/scb.h>

Completed in 27 milliseconds

1 2 3 4