/linux-6.1.9/drivers/nvmem/ |
D | microchip-otpc.c | 42 u32 npackets; member 62 if (id >= otpc->npackets) in mchp_otpc_id_to_packet() 196 u32 word, word_pos = 0, id = 0, npackets = 0, payload_size; in mchp_otpc_init_packets_list() local 226 npackets++; in mchp_otpc_init_packets_list() 229 otpc->npackets = npackets; in mchp_otpc_init_packets_list()
|
/linux-6.1.9/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 663 int i, ep_size, interval, num_urb, npackets; in em28xx_audio_urb_init() local 734 npackets = EM28XX_MIN_AUDIO_PACKETS; in em28xx_audio_urb_init() 735 if (urb_size > ep_size * npackets) in em28xx_audio_urb_init() 736 npackets = DIV_ROUND_UP(urb_size, ep_size); in em28xx_audio_urb_init() 740 num_urb, npackets, urb_size); in em28xx_audio_urb_init() 743 dev->adev.period = urb_size * npackets; in em28xx_audio_urb_init() 766 urb = usb_alloc_urb(npackets, GFP_KERNEL); in em28xx_audio_urb_init() 773 buf = usb_alloc_coherent(udev, npackets * ep_size, GFP_KERNEL, in em28xx_audio_urb_init() 790 urb->number_of_packets = npackets; in em28xx_audio_urb_init() 791 urb->transfer_buffer_length = ep_size * npackets; in em28xx_audio_urb_init() [all …]
|
/linux-6.1.9/drivers/media/test-drivers/vidtv/ |
D | vidtv_mux.h | 123 void (*on_new_packets_available_cb)(void *priv, u8 *buf, u32 npackets); 162 void (*on_new_packets_available_cb)(void *priv, u8 *buf, u32 npackets);
|
/linux-6.1.9/drivers/media/usb/uvc/ |
D | uvc_video.c | 1705 unsigned int npackets; in uvc_alloc_urb_buffers() local 1716 npackets = DIV_ROUND_UP(size, psize); in uvc_alloc_urb_buffers() 1717 if (npackets > UVC_MAX_PACKETS) in uvc_alloc_urb_buffers() 1718 npackets = UVC_MAX_PACKETS; in uvc_alloc_urb_buffers() 1721 for (; npackets > 1; npackets /= 2) { in uvc_alloc_urb_buffers() 1722 stream->urb_size = psize * npackets; in uvc_alloc_urb_buffers() 1738 UVC_URBS, npackets, psize); in uvc_alloc_urb_buffers() 1739 return npackets; in uvc_alloc_urb_buffers() 1805 unsigned int npackets, i; in uvc_init_video_isoc() local 1812 npackets = uvc_alloc_urb_buffers(stream, size, psize, gfp_flags); in uvc_init_video_isoc() [all …]
|
/linux-6.1.9/drivers/net/ethernet/ |
D | dnet.c | 366 int npackets = 0; in dnet_poll() local 374 while (npackets < budget) { in dnet_poll() 402 npackets++; in dnet_poll() 409 if (npackets < budget) { in dnet_poll() 413 napi_complete_done(napi, npackets); in dnet_poll() 419 return npackets; in dnet_poll()
|
/linux-6.1.9/drivers/media/usb/dvb-usb/ |
D | cxusb-analog.c | 688 int *npackets) in cxusb_medion_v_ss_auxbuf_alloc() argument 703 *npackets = min_t(int, (framelen + CXUSB_VIDEO_PKT_SIZE - 1) / in cxusb_medion_v_ss_auxbuf_alloc() 706 urblen = *npackets * CXUSB_VIDEO_PKT_SIZE; in cxusb_medion_v_ss_auxbuf_alloc() 710 *npackets, urblen, (unsigned int)cxdev->width, in cxusb_medion_v_ss_auxbuf_alloc() 778 int npackets, i; in cxusb_medion_v_start_streaming() local 806 ret = cxusb_medion_v_ss_auxbuf_alloc(cxdev, &npackets); in cxusb_medion_v_start_streaming() 820 streambuf = kmalloc(npackets * CXUSB_VIDEO_PKT_SIZE, in cxusb_medion_v_start_streaming() 830 surb = usb_alloc_urb(npackets, GFP_KERNEL); in cxusb_medion_v_start_streaming() 848 surb->number_of_packets = npackets; in cxusb_medion_v_start_streaming() 849 surb->transfer_buffer_length = npackets * CXUSB_VIDEO_PKT_SIZE; in cxusb_medion_v_start_streaming() [all …]
|
/linux-6.1.9/drivers/thunderbolt/ |
D | dma_test.c | 261 static int dma_test_submit_rx(struct dma_test *dt, size_t npackets) in dma_test_submit_rx() argument 266 for (i = 0; i < npackets; i++) { in dma_test_submit_rx() 312 static int dma_test_submit_tx(struct dma_test *dt, size_t npackets) in dma_test_submit_tx() argument 317 for (i = 0; i < npackets; i++) { in dma_test_submit_tx()
|
D | ctl.h | 85 size_t npackets; member
|
D | icm.c | 288 if (hdr->packet_id < req->npackets) { in icm_copy() 298 void *response, size_t response_size, size_t npackets, in icm_request() argument 318 req->npackets = npackets; in icm_request() 404 size_t npackets = ICM_GET_TOPOLOGY_PACKETS; in icm_fr_get_route() local 408 switches = kcalloc(npackets, sizeof(*switches), GFP_KERNEL); in icm_fr_get_route() 413 sizeof(*switches), npackets, ICM_TIMEOUT); in icm_fr_get_route() 2239 req->npackets = 1; in icm_usb4_switch_nvm_authenticate()
|
/linux-6.1.9/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 1216 int npackets = 0; in smsc911x_poll() local 1218 while (npackets < budget) { in smsc911x_poll() 1238 npackets++; in smsc911x_poll() 1280 return npackets; in smsc911x_poll()
|
/linux-6.1.9/drivers/net/ethernet/amd/ |
D | pcnet32.c | 1280 int npackets = 0; in pcnet32_rx() local 1283 while (npackets < budget && (short)le16_to_cpu(rxp->status) >= 0) { in pcnet32_rx() 1285 npackets += 1; in pcnet32_rx() 1297 return npackets; in pcnet32_rx()
|
/linux-6.1.9/drivers/net/ethernet/sun/ |
D | cassini.c | 2259 int npackets = 0; in cas_rx_ringN() local 2330 npackets++; in cas_rx_ringN() 2358 if (budget && (npackets >= budget)) in cas_rx_ringN() 2366 return npackets; in cas_rx_ringN()
|
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ |
D | dp_rx.c | 4604 struct sk_buff **tail_msdu, u32 *npackets, in ath11k_dp_rx_mon_mpdu_pop() argument 4791 *npackets = 1; in ath11k_dp_rx_mon_mpdu_pop() 5062 u32 npackets = 0; in ath11k_dp_rx_mon_dest_process() local 5096 &npackets, &ppdu_id); in ath11k_dp_rx_mon_dest_process()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_hsi.h | 3175 u16 npackets; member 3193 u16 npackets;
|