/dragonfly/sys/bus/u4b/ |
H A D | usb_busdma.c | 868 usb_frcount_t nframes; in usb_bdma_work_loop() local 895 nframes = 1; in usb_bdma_work_loop() 899 nframes = xfer->nframes; in usb_bdma_work_loop() 1017 usb_frcount_t nframes; in usb_bdma_pre_sync() local 1021 nframes = 1; in usb_bdma_pre_sync() 1024 nframes = xfer->nframes; in usb_bdma_pre_sync() 1029 while (nframes--) { in usb_bdma_pre_sync() 1050 usb_frcount_t nframes; in usb_bdma_post_sync() local 1054 nframes = 1; in usb_bdma_post_sync() 1057 nframes = xfer->nframes; in usb_bdma_post_sync() [all …]
|
H A D | usb_pf.c | 318 uint32_t nframes; in usbpf_xfer_precompute_size() local 321 nframes = xfer->nframes; in usbpf_xfer_precompute_size() 323 nframes = xfer->aframes; in usbpf_xfer_precompute_size() 325 totlen = USBPF_HDR_LEN + (USBPF_FRAME_HDR_LEN * nframes); in usbpf_xfer_precompute_size() 328 for (x = 0; x != nframes; x++) { in usbpf_xfer_precompute_size() 354 uint32_t nframes; in usbpf_xfertap() local 371 nframes = xfer->nframes; in usbpf_xfertap() 373 nframes = xfer->aframes; in usbpf_xfertap() 409 up->up_frames = htole32(nframes); in usbpf_xfertap() 426 for (x = 0; x != nframes; x++) { in usbpf_xfertap()
|
H A D | usb_transfer.c | 547 if (xfer->nframes == 0) { in usbd_transfer_setup_sub() 698 xfer->nframes = 1; in usbd_transfer_setup_sub() 700 xfer->nframes = 2; in usbd_transfer_setup_sub() 705 xfer->nframes = 1; in usbd_transfer_setup_sub() 867 xfer->nframes = 0; in usbd_transfer_setup_sub() 1523 if (xfer->nframes > 2) { in usbd_setup_ctrl_transfer() 2204 int *nframes) in usbd_xfer_status() argument 2212 if (nframes != NULL) in usbd_xfer_status() 2213 *nframes = xfer->nframes; in usbd_xfer_status() 2250 xfer->nframes = n; in usbd_xfer_set_frames() [all …]
|
H A D | usb_generic.c | 155 if (f->xfer[0]->nframes == 1) { in ugen_transfer_setup() 161 2 * f->xfer[0]->nframes); in ugen_transfer_setup() 185 f->nframes = UGEN_HW_FRAMES; in ugen_open() 189 f->nframes = UGEN_HW_FRAMES * 8; in ugen_open() 279 usb_config[0].frames = f->nframes; in ugen_open_pipe_write() 349 usb_config[0].frames = f->nframes; in ugen_open_pipe_read() 589 for (; n != xfer->nframes; n++) { in ugen_isoc_write_callback() 1132 xfer->nframes = fs_ep.nFrames; in ugen_fs_copy_in() 1157 for (; n != xfer->nframes; n++) { in ugen_fs_copy_in() 1260 if (xfer->nframes == 0) in ugen_fs_copy_out() [all …]
|
H A D | usb_handle_request.c | 126 xfer->nframes = 1; in usb_handle_request_callback() 770 xfer->nframes = 2; in usb_handle_request() 776 xfer->nframes = max_len ? 2 : 1; in usb_handle_request()
|
H A D | usb_dev.h | 123 usb_frcount_t nframes; /* for isochronous mode */ member
|
H A D | usb_core.h | 159 usb_frcount_t nframes; /* number of USB frames to transfer */ member
|
H A D | usb_hub.c | 387 xfer->nframes = 1; in uhub_reset_tt_callback() 2107 if (delta > 0 && delta <= xfer->nframes) { in usbd_fs_isoc_schedule_alloc_slot() 2108 delta = xfer->nframes - delta; in usbd_fs_isoc_schedule_alloc_slot() 2133 if (delta > 0 && delta <= pipe_xfer->nframes) { in usbd_fs_isoc_schedule_alloc_slot() 2134 delta = pipe_xfer->nframes - delta; in usbd_fs_isoc_schedule_alloc_slot() 2159 if (delta > 0 && delta <= isoc_xfer->nframes) { in usbd_fs_isoc_schedule_alloc_slot() 2160 delta = isoc_xfer->nframes - delta; in usbd_fs_isoc_schedule_alloc_slot()
|
/dragonfly/sys/bus/u4b/controller/ |
H A D | ehci.c | 2080 uint32_t nframes = xfer->nframes; in ehci_isoc_fs_done() local 2090 while (nframes--) { in ehci_isoc_fs_done() 2133 uint32_t nframes = xfer->nframes; in ehci_isoc_hs_done() local 2144 while (nframes) { in ehci_isoc_hs_done() 2183 nframes--; in ehci_isoc_hs_done() 2500 uint32_t nframes; in ehci_device_isoc_fs_enter() local 2555 nframes = xfer->nframes; in ehci_device_isoc_fs_enter() 2805 uint32_t nframes; in ehci_device_isoc_hs_enter() local 2860 nframes = xfer->nframes; in ehci_device_isoc_hs_enter() 2880 while (nframes) { in ehci_device_isoc_hs_enter() [all …]
|
H A D | ohci.c | 714 uint8_t nframes; in ohci_isoc_done() local 733 nframes = td->frames; in ohci_isoc_done() 736 if (nframes > 8) { in ohci_isoc_done() 737 nframes = 8; in ohci_isoc_done() 739 while (nframes--) { in ohci_isoc_done() 1838 uint32_t nframes; in ohci_device_isoc_enter() local 1853 xfer, xfer->endpoint->isoc_next, xfer->nframes, nframes); in ohci_device_isoc_enter() 1856 (((nframes - xfer->endpoint->isoc_next) & 0xFFFF) < xfer->nframes) || in ohci_device_isoc_enter() 1879 xfer->nframes); in ohci_device_isoc_enter() 1883 nframes = xfer->nframes; in ohci_device_isoc_enter() [all …]
|
H A D | uhci.c | 1005 uint32_t nframes = xfer->nframes; in uhci_isoc_done() local 1020 while (nframes--) { in uhci_isoc_done() 1719 if (xfer->nframes == 1) { in uhci_setup_standard_chain() 1742 if (x == xfer->nframes) { in uhci_setup_standard_chain() 2139 uint32_t nframes; in uhci_device_isoc_enter() local 2183 xfer->nframes; in uhci_device_isoc_enter() 2187 nframes = xfer->nframes; in uhci_device_isoc_enter() 2206 while (nframes--) { in uhci_device_isoc_enter() 2250 if (nframes == 0) { in uhci_device_isoc_enter() 2872 ntd = ((2 * xfer->nframes) in uhci_xfer_setup() [all …]
|
H A D | xhci.c | 705 if (xfer->aframes != xfer->nframes) in xhci_generic_done_sub() 717 (unsigned int)xfer->nframes, in xhci_generic_done_sub() 799 while (xfer->aframes != xfer->nframes) { in xhci_generic_done() 2077 (y < (xfer->nframes << shift)) || in xhci_setup_generic_chain() 2120 if (xfer->nframes == 1) { in xhci_setup_generic_chain() 2142 if (x != xfer->nframes) { in xhci_setup_generic_chain() 2149 while (x != xfer->nframes) { in xhci_setup_generic_chain() 2159 if (x == xfer->nframes) { in xhci_setup_generic_chain() 2231 temp.step_td = (xfer->nframes != 0); in xhci_setup_generic_chain() 3748 ntd = ((1 * xfer->nframes) in xhci_xfer_setup() [all …]
|
/dragonfly/games/gomoku/ |
H A D | pickmove.c | 806 int nframes; in makeempty() local 829 ep = &einfo[nframes]; in makeempty() 830 cbpp = &ecombo[nframes]; in makeempty() 880 ep = &einfo[nframes]; in makeempty() 962 int nframes, flags, s; in updatecombo() local 968 nframes = cbp->c_nframes; in updatecombo() 983 sp->s_level[color] = nframes; in updatecombo() 1352 int nframes; in markcombo() local 1370 ep = &einfo[nframes]; in markcombo() 1371 cbpp = &ecombo[nframes]; in markcombo() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_rate/sample/ |
H A D | sample.c | 786 if (nframes == nbad) { in update_stats() 815 if (nframes == 0) in update_stats() 816 nframes = nbad = 1; in update_stats() 817 pct = ((nframes - nbad) * 1000) / nframes; in update_stats() 845 nframes, nbad); in update_stats() 876 if (nframes == 0) { in ath_rate_tx_complete() 924 nframes, nbad); in ath_rate_tx_complete() 952 nframes, nbad); in ath_rate_tx_complete() 975 nframes, nbad); in ath_rate_tx_complete() 987 nframes, nbad); in ath_rate_tx_complete() [all …]
|
/dragonfly/sys/bus/u4b/net/ |
H A D | if_axge.c | 635 int nframes, pos; in axge_bulk_write_callback() local 655 for (nframes = 0; nframes < 16 && in axge_bulk_write_callback() 656 !ifq_is_empty(&ifp->if_snd); nframes++) { in axge_bulk_write_callback() 660 usbd_xfer_set_frame_offset(xfer, nframes * MCLBYTES, in axge_bulk_write_callback() 661 nframes); in axge_bulk_write_callback() 663 pc = usbd_xfer_get_frame(xfer, nframes); in axge_bulk_write_callback() 695 usbd_xfer_set_frame_len(xfer, nframes, pos); in axge_bulk_write_callback() 697 if (nframes != 0) { in axge_bulk_write_callback() 698 usbd_xfer_set_frames(xfer, nframes); in axge_bulk_write_callback()
|
H A D | if_cdce.c | 1433 int nframes; in cdce_ncm_bulk_read_callback() local 1491 nframes = UGETW(sc->sc_ncm.dpt.wLength) / 4; in cdce_ncm_bulk_read_callback() 1494 if (nframes >= (2 + 1)) in cdce_ncm_bulk_read_callback() 1495 nframes -= (2 + 1); in cdce_ncm_bulk_read_callback() 1497 nframes = 0; in cdce_ncm_bulk_read_callback() 1499 DPRINTFN(1, "nframes = %u\n", nframes); in cdce_ncm_bulk_read_callback() 1503 if ((temp + (4 * nframes)) > actlen) in cdce_ncm_bulk_read_callback() 1506 if (nframes > CDCE_NCM_SUBFRAMES_MAX) { in cdce_ncm_bulk_read_callback() 1508 nframes, CDCE_NCM_SUBFRAMES_MAX); in cdce_ncm_bulk_read_callback() 1509 nframes = CDCE_NCM_SUBFRAMES_MAX; in cdce_ncm_bulk_read_callback() [all …]
|
H A D | if_axe.c | 1165 int nframes, pos; in axe_bulk_write_callback() local 1187 for (nframes = 0; nframes < 16 && in axe_bulk_write_callback() 1188 !ifq_is_empty(&ifp->if_snd); nframes++) { in axe_bulk_write_callback() 1192 usbd_xfer_set_frame_offset(xfer, nframes * MCLBYTES, in axe_bulk_write_callback() 1193 nframes); in axe_bulk_write_callback() 1195 pc = usbd_xfer_get_frame(xfer, nframes); in axe_bulk_write_callback() 1251 usbd_xfer_set_frame_len(xfer, nframes, pos); in axe_bulk_write_callback() 1253 if (nframes != 0) { in axe_bulk_write_callback() 1254 usbd_xfer_set_frames(xfer, nframes); in axe_bulk_write_callback()
|
/dragonfly/sys/dev/netif/ath/ath/ |
H A D | if_ath_tx_ht.c | 739 int nframes = 0; in ath_tx_form_aggr() local 798 if (nframes && in ath_tx_form_aggr() 810 if (nframes && in ath_tx_form_aggr() 821 if ((nframes + prev_frames) >= MIN((h_baw), in ath_tx_form_aggr() 876 nframes ++; in ath_tx_form_aggr() 936 bf_first->bf_state.bfs_nframes = nframes; in ath_tx_form_aggr()
|
H A D | if_athrate.h | 155 int pktlen, int nframes, int nbad);
|
H A D | if_ath_misc.h | 64 struct ath_tx_status *ts, int frmlen, int nframes, int nbad);
|
/dragonfly/sys/netgraph7/bluetooth/drivers/ubt/ |
H A D | ng_ubt.c | 1066 int actlen, nframes; in ubt_isoc_read_callback() local 1068 usbd_xfer_status(xfer, &actlen, NULL, NULL, &nframes); in ubt_isoc_read_callback() 1072 for (n = 0; n < nframes; n ++) in ubt_isoc_read_callback() 1079 for (n = 0; n < nframes; n ++) in ubt_isoc_read_callback() 1196 int actlen, nframes; in ubt_isoc_write_callback() local 1198 usbd_xfer_status(xfer, &actlen, NULL, NULL, &nframes); in ubt_isoc_write_callback() 1211 space = usbd_xfer_max_framelen(xfer) * nframes; in ubt_isoc_write_callback() 1252 for (n = 0; n < nframes; n ++) { in ubt_isoc_write_callback()
|
/dragonfly/sys/bus/u4b/audio/ |
H A D | uaudio.c | 2056 int nframes; in uaudio_chan_play_sync_callback() local 2065 if (nframes == 0) in uaudio_chan_play_sync_callback() 2315 int nframes; in uaudio_chan_record_callback() local 2387 nframes = 2 * ch->intr_frames; in uaudio_chan_record_callback() 2391 ch->jitter_curr = -nframes; in uaudio_chan_record_callback() 2393 ch->jitter_curr = nframes; in uaudio_chan_record_callback() 2403 nframes = ch->intr_frames; in uaudio_chan_record_callback() 5666 uint16_t nframes; in umidi_bulk_write_callback() local 5686 nframes = 0; /* reset */ in umidi_bulk_write_callback() 5719 nframes++; in umidi_bulk_write_callback() [all …]
|
/dragonfly/sys/bus/u4b/serial/ |
H A D | ufoma.c | 562 int len, aframes, nframes; in ufoma_ctrl_read_callback() local 564 usbd_xfer_status(xfer, NULL, NULL, &aframes, &nframes); in ufoma_ctrl_read_callback() 569 if (aframes != nframes) in ufoma_ctrl_read_callback()
|
/dragonfly/sys/dev/netif/iwn/ |
H A D | if_iwnvar.h | 142 int nframes; member
|
/dragonfly/sys/dev/netif/ath/ath_rate/onoe/ |
H A D | onoe.c | 170 int frame_size, int nframes, int nbad) in ath_rate_tx_complete() argument
|