HomeSort by: relevance | last modified time | path
    Searched refs:chnum (Results 1 - 6 of 6) sorted by relevancy

  /src/sys/external/bsd/dwc2/dist/
dwc2_hcdintr.c 174 u32 grxsts, chnum, bcnt, pktsts; local in function:dwc2_rx_fifo_level_intr
181 chnum = (grxsts & GRXSTS_HCHNUM_MASK) >> GRXSTS_HCHNUM_SHIFT;
182 chan = hsotg->hc_ptr_array[chnum];
193 dev_vdbg(hsotg->dev, " Ch num = %d\n", chnum);
432 struct dwc2_host_chan *chan, int chnum,
439 hctsiz = DWC2_READ_4(hsotg, HCTSIZ(chnum));
480 struct dwc2_host_chan *chan, int chnum,
486 int xfer_length = dwc2_get_actual_xfer_length(hsotg, chan, chnum, qtd,
524 __func__, (chan->ep_is_in ? "IN" : "OUT"), chnum);
527 (DWC2_READ_4(hsotg, HCTSIZ(chnum)) & TSIZ_XFERSIZE_MASK) >> TSIZ_XFERSIZE_SHIFT)
    [all...]
dwc2_hcd.h 400 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr)
402 u32 mask = DWC2_READ_4(hsotg, HCINTMSK(chnum));
405 DWC2_WRITE_4(hsotg, HCINTMSK(chnum), mask);
504 struct dwc2_host_chan *chan, int chnum,
667 struct dwc2_host_chan *chan, int chnum,
dwc2_hcdddma.c 1140 int chnum, struct dwc2_qtd *qtd,
1200 dwc2_hcd_save_data_toggle(hsotg, chan, chnum,
1214 int chnum,
1236 if (dwc2_process_non_isoc_desc(hsotg, chan, chnum, qtd,
1254 dwc2_hcd_save_data_toggle(hsotg, chan, chnum, qtd);
1276 * @chnum: Index of Host channel registers
1287 struct dwc2_host_chan *chan, int chnum,
1340 dwc2_complete_non_isoc_xfer_ddma(hsotg, chan, chnum,
  /src/sys/arch/amiga/dev/
wdc_xsurf.c 155 wdc_xsurf_attach_channel(struct wdc_xsurf_softc *sc, int chnum)
163 sc->sc_chanarray[chnum] = &sc->sc_ports[chnum].channel;
164 memset(&sc->sc_ports[chnum],0,sizeof(struct wdc_xsurf_port));
165 sc->sc_ports[chnum].channel.ch_channel = chnum;
166 sc->sc_ports[chnum].channel.ch_atac = &sc->sc_wdcdev.sc_atac;
168 wdc_xsurf_map_channel(sc, chnum);
170 wdc_init_shadow_regs(CHAN_TO_WDC_REGS(&sc->sc_ports[chnum].channel));
171 wdcattach(&sc->sc_ports[chnum].channel)
    [all...]
wdc_acafh.c 143 wdc_acafh_attach_channel(struct wdc_acafh_softc *sc, int chnum)
151 sc->sc_chanlist[chnum] = &sc->sc_slots[chnum].channel;
152 memset(&sc->sc_slots[chnum],0,sizeof(struct wdc_acafh_slot));
153 sc->sc_slots[chnum].channel.ch_channel = chnum;
154 sc->sc_slots[chnum].channel.ch_atac = &sc->sc_wdcdev.sc_atac;
156 wdc_acafh_map_channel(sc, chnum);
158 wdc_init_shadow_regs(CHAN_TO_WDC_REGS(&sc->sc_slots[chnum].channel));
159 wdcattach(&sc->sc_slots[chnum].channel)
    [all...]
efa.c 82 static void efa_select_regset(struct efa_softc *sc, int chnum,
198 efa_attach_channel(struct efa_softc *sc, int chnum)
206 sc->sc_chanlist[chnum] = &sc->sc_ports[chnum].chan;
208 sc->sc_ports[chnum].chan.ch_channel = chnum;
209 sc->sc_ports[chnum].chan.ch_atac = &sc->sc_wdcdev.sc_atac;
212 efa_select_regset(sc, chnum, 0); /* Start in PIO0. */
214 efa_select_regset(sc, chnum, 3);
216 wdc_init_shadow_regs(CHAN_TO_WDC_REGS(&sc->sc_ports[chnum].chan))
478 int drive, chnum; local in function:efa_setup_channel
    [all...]

Completed in 26 milliseconds