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

1 2 3 4 5 6

  /src/sys/dev/scsipi/
scsipi_debug.h 71 #define SC_DEBUG(periph, flags, x) \
73 if ((periph)->periph_dbflags & (flags)) { \
74 scsipi_printaddr((periph)); \
79 #define SC_DEBUGN(periph, flags, x) \
81 if ((periph)->periph_dbflags & (flags)) \
85 #define SC_DEBUG(periph, flags, x) /* nothing */
86 #define SC_DEBUGN(periph, flags, x) /* nothing */
scsi_base.c 56 scsi_change_def(struct scsipi_periph *periph, int flags)
64 return (scsipi_command(periph, (void *)&cmd, sizeof(cmd), 0, 0,
77 struct scsipi_periph *periph = xs->xs_periph; local in function:scsi_scsipi_cmd
79 SC_DEBUG(periph, SCSIPI_DB2, ("scsi_scsipi_cmd\n"));
85 if (periph->periph_version <= 2)
87 ((periph->periph_lun << SCSI_CMD_LUN_SHIFT) &
96 * Print out the periph's address info.
99 scsi_print_addr(struct scsipi_periph *periph)
101 struct scsipi_channel *chan = periph->periph_channel;
104 printf("%s(%s:%d:%d:%d): ", periph->periph_dev != NULL
198 struct scsipi_periph *periph; local in function:scsi_async_event_xfer_mode
249 struct scsipi_periph *periph; local in function:scsi_fc_sas_async_event_xfer_mode
    [all...]
scsipiconf.c 91 scsipi_command(struct scsipi_periph *periph, struct scsipi_generic *cmd,
101 xs = scsipi_make_xs_unlocked(periph, cmd, cmdlen, data_addr, datalen, retries,
106 mutex_enter(chan_mtx(periph->periph_channel));
108 mutex_exit(chan_mtx(periph->periph_channel));
129 struct scsipi_periph *periph; local in function:scsipi_alloc_periph
132 periph = malloc(sizeof(*periph), M_DEVBUF, malloc_flag|M_ZERO);
133 if (periph == NULL)
136 periph->periph_dev = NULL;
137 periph->periph_opcs = NULL
    [all...]
scsipi_ioctl.c 135 struct scsipi_periph *periph = xs->xs_periph; local in function:scsipi_user_done
140 scsipi_printaddr(periph);
148 scsipi_printaddr(periph);
162 SC_DEBUG(periph, SCSIPI_DB3, ("no error\n"));
168 SC_DEBUG(periph, SCSIPI_DB3, ("have sense\n"));
176 SC_DEBUG(periph, SCSIPI_DB3, ("have short sense\n"));
184 scsipi_printaddr(periph);
189 SC_DEBUG(periph, SCSIPI_DB3, ("seltimeout\n"));
193 SC_DEBUG(periph, SCSIPI_DB3, ("timeout\n"));
197 SC_DEBUG(periph, SCSIPI_DB3, ("busy\n"))
236 struct scsipi_periph *periph; local in function:scsistrategy
    [all...]
atapi_base.c 60 struct scsipi_periph *periph = xs->xs_periph; local in function:atapi_interpret_sense
69 if (periph->periph_switch->psw_error != NULL) {
70 SC_DEBUG(periph, SCSIPI_DB2,
72 error = (*periph->periph_switch->psw_error)(xs);
94 if ((periph->periph_flags & PERIPH_REMOVABLE) != 0)
95 periph->periph_flags &= ~PERIPH_MEDIA_LOADED;
121 if ((periph->periph_flags & PERIPH_REMOVABLE) != 0)
122 periph->periph_flags &= ~PERIPH_MEDIA_LOADED;
126 (periph->periph_flags & PERIPH_REMOVABLE) == 0)
170 scsipi_printaddr(periph);
212 struct scsipi_periph *periph = xs->xs_periph; local in function:atapi_scsipi_cmd
    [all...]
uk.c 108 struct scsipi_periph *periph = sa->sa_periph; local in function:ukattach
110 SC_DEBUG(periph, SCSIPI_DB2, ("ukattach: "));
114 uk->sc_periph = periph;
115 periph->periph_dev = uk->sc_dev;
144 struct scsipi_periph *periph; local in function:ukopen
152 periph = uk->sc_periph;
153 adapt = periph->periph_channel->chan_adapter;
155 SC_DEBUG(periph, SCSIPI_DB1,
160 if (periph->periph_flags & PERIPH_OPEN) {
167 periph->periph_flags |= PERIPH_OPEN
177 struct scsipi_periph *periph = uk->sc_periph; local in function:ukclose
    [all...]
scsipi_base.c 221 * Insert a periph into the channel.
224 scsipi_insert_periph(struct scsipi_channel *chan, struct scsipi_periph *periph)
228 hash = scsipi_chan_periph_hash(periph->periph_target,
229 periph->periph_lun);
232 LIST_INSERT_HEAD(&chan->chan_periphtab[hash], periph, periph_hash);
239 * Remove a periph from the channel.
243 struct scsipi_periph *periph)
246 LIST_REMOVE(periph, periph_hash);
252 * Lookup a periph on the specified channel.
257 struct scsipi_periph *periph; local in function:scsipi_lookup_periph_internal
379 struct scsipi_periph *periph = xs->xs_periph; local in function:scsipi_get_tag
425 struct scsipi_periph *periph = xs->xs_periph; local in function:scsipi_put_tag
576 struct scsipi_periph *periph = xs->xs_periph; local in function:scsipi_put_xs
760 struct scsipi_periph *periph = arg; local in function:scsipi_periph_timed_thaw
883 struct scsipi_periph *periph = xs->xs_periph; local in function:scsipi_interpret_sense
1607 struct scsipi_periph *periph = xs->xs_periph; local in function:scsipi_done
1761 struct scsipi_periph *periph = xs->xs_periph; local in function:scsipi_complete
1984 struct scsipi_periph *periph = xs->xs_periph; local in function:scsipi_request_sense
2106 struct scsipi_periph *periph; local in function:scsipi_run_queue
2216 struct scsipi_periph *periph = xs->xs_periph; local in function:scsipi_execute_xs
2537 struct scsipi_periph *periph; local in function:scsipi_async_event_max_openings
2621 struct scsipi_periph *periph; local in function:scsipi_async_event_channel_reset
2667 struct scsipi_periph *periph; local in function:scsipi_target_detach
    [all...]
ss.c 162 struct scsipi_periph *periph = sa->sa_periph; local in function:ssattach
164 SC_DEBUG(periph, SCSIPI_DB2, ("ssattach: "));
170 ss->sc_periph = periph;
171 periph->periph_dev = ss->sc_dev;
172 periph->periph_switch = &ss_switch;
185 SC_DEBUG(periph, SCSIPI_DB2, ("ssattach:\n"));
202 struct scsipi_periph *periph = ss->sc_periph; local in function:ssdetach
203 struct scsipi_channel *chan = periph->periph_channel;
218 scsipi_kill_pending(periph);
239 struct scsipi_periph *periph; local in function:ssopen
307 struct scsipi_periph *periph = ss->sc_periph; local in function:ssclose
342 struct scsipi_periph *periph = ss->sc_periph; local in function:ssminphys
392 struct scsipi_periph *periph = ss->sc_periph; local in function:ssstrategy
492 struct scsipi_periph *periph = v; local in function:ssrestart
    [all...]
scsipi_base.h 58 scsipi_make_xs_internal(struct scsipi_periph *periph, struct scsipi_generic *cmd,
64 if ((xs = scsipi_get_xs(periph, flags)) == NULL)
84 scsipi_make_xs_unlocked(struct scsipi_periph *periph, struct scsipi_generic *cmd,
89 return scsipi_make_xs_internal(periph, cmd, cmdlen, data_addr,
94 scsipi_make_xs_locked(struct scsipi_periph *periph, struct scsipi_generic *cmd,
99 KDASSERT(mutex_owned(chan_mtx(periph->periph_channel)));
100 return scsipi_make_xs_internal(periph, cmd, cmdlen, data_addr,
scsiconf.c 179 * per periph and don't use the tag (they eventually allocate one
342 struct scsipi_periph *periph; local in function:scsi_report_luns
350 periph = scsipi_alloc_periph(M_WAITOK);
351 periph->periph_channel = chan;
352 periph->periph_switch = &scsi_probe_dev;
354 periph->periph_target = target;
355 periph->periph_lun = 0;
356 periph->periph_quirks = chan->chan_defquirks;
358 if ((error = scsipi_inquire(periph, &inqbuf,
361 periph->periph_version = inqbuf.version & SID_ANSII
524 struct scsipi_periph *periph; local in function:scsidevdetached
881 struct scsipi_periph *periph; local in function:scsi_probe_device
    [all...]
sd.c 257 struct scsipi_periph *periph = sa->sa_periph; local in function:sdattach
262 SC_DEBUG(periph, SCSIPI_DB2, ("sdattach: "));
270 periph->periph_quirks |= PQUIRK_ONLYBIG;
271 periph->periph_quirks |= PQUIRK_NOBIGMODESENSE;
277 if (periph->periph_version == 0)
304 sd->sc_periph = periph;
306 periph->periph_dev = dksc->sc_dev;
307 periph->periph_switch = &sd_switch;
310 * Increase our openings to the maximum-per-periph
314 periph->periph_openings
391 struct scsipi_periph *periph = sd->sc_periph; local in function:sddetach
445 struct scsipi_periph *periph = sd->sc_periph; local in function:sd_firstopen
534 struct scsipi_periph *periph; local in function:sdopen
579 struct scsipi_periph *periph = sd->sc_periph; local in function:sd_lastclose
639 struct scsipi_periph *periph = sd->sc_periph; local in function:sdstrategy
672 struct scsipi_periph *periph = sd->sc_periph; local in function:sd_diskstart
950 struct scsipi_periph *periph = sd->sc_periph; local in function:sdioctl
1126 struct scsipi_periph *periph = xs->xs_periph; local in function:sd_interpret_sense
1239 struct scsipi_periph *periph; local in function:sddump
1269 struct scsipi_periph *periph; local in function:sd_dumpblocks
1412 struct scsipi_periph *periph = sd->sc_periph; local in function:sd_read_capacity
1887 struct scsipi_periph *periph = sd->sc_periph; local in function:sd_flush
1919 struct scsipi_periph *periph = sd->sc_periph; local in function:sd_getcache
1983 struct scsipi_periph *periph = sd->sc_periph; local in function:sd_setcache
    [all...]
st_atapi.c 86 struct scsipi_periph *periph = sa->sa_periph; local in function:st_atapibus_attach
92 error = scsipi_mode_sense(periph, SMS_DBD,
102 error = scsipi_mode_select(periph, SMS_PF,
141 struct scsipi_periph *periph = st->sc_periph; local in function:st_atapibus_mode_sense
145 error = scsipi_mode_sense(periph, SMS_DBD,
166 SC_DEBUG(periph, SCSIPI_DB3,
170 SC_DEBUG(periph, SCSIPI_DB3,
174 periph->periph_flags |= PERIPH_MEDIA_LOADED;
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
sama5d3_gmac.dtsi 19 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A GTX0, conflicts with PWMH0 */
20 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A GTX1, conflicts with PWML0 */
21 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB2 periph A GTX2, conflicts with TK1 */
22 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A GTX3, conflicts with TF1 */
23 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A GRX0, conflicts with PWMH1 */
24 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A GRX1, conflicts with PWML1 */
25 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A GRX2, conflicts with TD1 */
26 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB7 periph A GRX3, conflicts with RK1 */
30 <AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB19 periph B GTX4, conflicts with MCI1_CDA */
31 AT91_PIOB 20 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB20 periph B GTX5, conflicts with MCI1_DA0 *
    [all...]
at91sam9x5_macb0.dtsi 19 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */
20 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */
21 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB2 periph A */
22 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */
23 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */
24 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A */
25 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
26 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
27 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
28 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A *
    [all...]
at91sam9x5_macb1.dtsi 19 <AT91_PIOC 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC16 periph B */
20 AT91_PIOC 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC18 periph B */
21 AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC19 periph B */
22 AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC20 periph B */
23 AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC21 periph B */
24 AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC27 periph B */
25 AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC28 periph B */
26 AT91_PIOC 29 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC29 periph B */
27 AT91_PIOC 30 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC30 periph B */
28 AT91_PIOC 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC31 periph B *
    [all...]
sama5d3_emac.dtsi 19 <AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC0 periph A ETX0, conflicts with TIOA3 */
20 AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC1 periph A ETX1, conflicts with TIOB3 */
21 AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC2 periph A ERX0, conflicts with TCLK3 */
22 AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC3 periph A ERX1, conflicts with TIOA4 */
23 AT91_PIOC 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC4 periph A ETXEN, conflicts with TIOB4 */
24 AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC5 periph A ECRSDV,conflicts with TCLK4 */
25 AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC6 periph A ERXER, conflicts with TIOA5 */
26 AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC7 periph A EREFCK, conflicts with TIOB5 */
27 AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC8 periph A EMDC, conflicts with TCLK5 */
28 AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC9 periph A EMDIO *
    [all...]
at91sam9g45.dtsi 256 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA21 periph A TWCK0 */
257 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A TWD0 */
264 <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB11 periph A TWCK1 */
265 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A TWD1 */
307 <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB17 periph B */
312 <AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B */
325 <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A */
330 <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD17 periph A */
343 <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC9 periph B */
348 <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC11 periph B *
    [all...]
sama5d3_mci2.dtsi 20 <AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC15 periph A MCI2_CK, conflicts with PCK2 */
21 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC10 periph A MCI2_CDA with pullup */
22 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC11 periph A MCI2_DA0 with pullup */
26 <AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC12 periph A MCI2_DA1 with pullup, conflicts with TIOA1 */
27 AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC13 periph A MCI2_DA2 with pullup, conflicts with TIOB1 */
28 AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC14 periph A MCI2_DA3 with pullup, conflicts with TCLK1 */
at91rm9200.dtsi 256 <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A */
261 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA21 periph A */
274 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB24 periph A */
279 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB26 periph A */
284 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB19 periph A */
285 AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB25 periph A */
290 <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB23 periph A */
295 <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */
308 <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */
313 <AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA31 periph B *
    [all...]
at91sam9263.dtsi 199 <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA28 periph A */
204 <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA29 periph A */
217 <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD7 periph B */
222 <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD8 periph B */
235 <AT91_PIOD 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD5 periph B */
240 <AT91_PIOD 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD6 periph B */
259 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC25 periph B */
260 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE21 periph A */
261 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE23 periph A */
262 AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE24 periph A *
    [all...]
at91sam9260.dtsi 200 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB26 periph A */
205 <AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB27 periph A */
210 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB24 periph A */
211 AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB22 periph A */
216 <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB23 periph A */
221 <AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB25 periph A */
234 <AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB28 periph A */
239 <AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB29 periph A */
252 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
257 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA5 periph A *
    [all...]
at91sam9x5_usart3.dtsi 29 <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC24 periph B */
34 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC25 periph B */
39 <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC26 periph B */
  /src/sys/arch/news68k/news68k/
autoconf.c 145 struct scsipi_periph *periph; local in function:findroot
147 periph = scsipi_lookup_periph(sdv->sc_channel, ctlr, 0);
148 if (periph != NULL) {
149 booted_device = periph->periph_dev;
  /src/sys/arch/newsmips/newsmips/
autoconf.c 148 struct scsipi_periph *periph; local in function:findroot
150 periph = scsipi_lookup_periph(sdv->sc_channel, ctlr, 0);
151 if (periph != NULL) {
152 booted_device = periph->periph_dev;
  /src/sys/arch/mac68k/mac68k/
autoconf.c 166 struct scsipi_periph *periph; local in function:target_to_unit
180 periph = scsipi_lookup_periph(scsi->sc_channel,
182 if (!periph)
184 return device_unit(periph->periph_dev);
196 periph = scsipi_lookup_periph(scsi->sc_channel,
198 if (!periph)
200 return device_unit(periph->periph_dev);

Completed in 20 milliseconds

1 2 3 4 5 6