/linux-6.3-rc2/drivers/media/usb/stk1160/ |
A D | stk1160-video.c | 339 int i, num_bufs = dev->isoc_ctl.num_bufs; in stk1160_cancel_isoc() local 345 if (!num_bufs) in stk1160_cancel_isoc() 350 for (i = 0; i < num_bufs; i++) { in stk1160_cancel_isoc() 385 int i, num_bufs = dev->isoc_ctl.num_bufs; in stk1160_free_isoc() local 389 for (i = 0; i < num_bufs; i++) in stk1160_free_isoc() 392 dev->isoc_ctl.num_bufs = 0; in stk1160_free_isoc() 456 if (dev->isoc_ctl.num_bufs) in stk1160_alloc_isoc() 461 num_bufs = STK1160_NUM_BUFS; in stk1160_alloc_isoc() 513 dev->isoc_ctl.num_bufs = num_bufs; in stk1160_alloc_isoc() 526 dev->isoc_ctl.num_bufs = i; in stk1160_alloc_isoc() [all …]
|
A D | stk1160.h | 102 int num_bufs; member
|
/linux-6.3-rc2/drivers/media/pci/pt3/ |
A D | pt3_dma.c | 67 if (*idx == adap->num_bufs) in next_unit() 114 while (idx < adap->num_bufs) { in pt3_init_dmabuf() 133 for (i = 0; i < adap->num_bufs; i++) in pt3_free_dmabuf() 136 adap->num_bufs = 0; in pt3_free_dmabuf() 156 adap->num_bufs = 0; in pt3_alloc_dmabuf() 158 for (i = 0; i < pt3->num_bufs; i++) { in pt3_alloc_dmabuf() 164 adap->num_bufs++; in pt3_alloc_dmabuf() 172 DIV_ROUND_UP(adap->num_bufs * DATA_BUF_XFERS, DESCS_IN_PAGE); in pt3_alloc_dmabuf() 202 if (idx >= adap->num_bufs) { in pt3_alloc_dmabuf()
|
A D | pt3.h | 131 int num_bufs; /* == pt3_board->num_bufs */ member 152 int num_bufs; /* number of DMA buffers allocated/mapped per FE */ member
|
A D | pt3.c | 30 static int num_bufs = 4; variable 31 module_param(num_bufs, int, 0444); 32 MODULE_PARM_DESC(num_bufs, "Number of DMA buffer (188KiB) per FE."); 732 pt3->num_bufs = clamp_val(num_bufs, MIN_DATA_BUFS, MAX_DATA_BUFS); in pt3_probe()
|
/linux-6.3-rc2/drivers/media/usb/cx231xx/ |
A D | cx231xx-vbi.c | 305 for (i = 0; i < dev->vbi_mode.bulk_ctl.num_bufs; i++) { in cx231xx_uninit_vbi_isoc() 331 dev->vbi_mode.bulk_ctl.num_bufs = 0; in cx231xx_uninit_vbi_isoc() 341 int num_bufs, int max_pkt_size, in cx231xx_init_vbi_isoc() argument 362 dev->vbi_mode.bulk_ctl.num_bufs = num_bufs; in cx231xx_init_vbi_isoc() 374 dev->vbi_mode.bulk_ctl.urb = kcalloc(num_bufs, sizeof(void *), in cx231xx_init_vbi_isoc() 383 kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); in cx231xx_init_vbi_isoc() 397 for (i = 0; i < dev->vbi_mode.bulk_ctl.num_bufs; i++) { in cx231xx_init_vbi_isoc() 426 for (i = 0; i < dev->vbi_mode.bulk_ctl.num_bufs; i++) { in cx231xx_init_vbi_isoc()
|
A D | cx231xx-core.c | 875 for (i = 0; i < dev->video_mode.isoc_ctl.num_bufs; i++) { in cx231xx_uninit_isoc() 909 dev->video_mode.isoc_ctl.num_bufs = 0; in cx231xx_uninit_isoc() 968 dev->video_mode.bulk_ctl.num_bufs = 0; in cx231xx_uninit_bulk() 984 int num_bufs, int max_pkt_size, in cx231xx_init_isoc() argument 1002 dev->video_mode.isoc_ctl.num_bufs = num_bufs; in cx231xx_init_isoc() 1023 kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); in cx231xx_init_isoc() 1031 kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); in cx231xx_init_isoc() 1118 int num_bufs, int max_pkt_size, in cx231xx_init_bulk() argument 1137 dev->video_mode.bulk_ctl.num_bufs = num_bufs; in cx231xx_init_bulk() 1157 kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); in cx231xx_init_bulk() [all …]
|
A D | cx231xx-vbi.h | 31 int num_bufs, int max_pkt_size,
|
A D | cx231xx.h | 153 int num_bufs; member 187 int num_bufs; member 863 int num_bufs, int max_pkt_size, 867 int num_bufs, int max_pkt_size,
|
/linux-6.3-rc2/drivers/crypto/qat/qat_common/ |
A D | qat_bl.c | 28 for (i = 0; i < bl->num_bufs; i++) in qat_bl_free_bufl() 118 bufl->num_bufs = sg_nctr; in __qat_bl_sgl_to_bufl() 178 buflout->num_bufs = sg_nctr; in __qat_bl_sgl_to_bufl() 179 buflout->num_bufs += extra_buff; in __qat_bl_sgl_to_bufl() 257 int n = bl->num_bufs; in qat_bl_sgl_unmap() 301 bufl->num_bufs = sg_nctr; in qat_bl_sgl_map() 381 new_bl_size = struct_size(new_bl, buffers, new_bl->num_bufs); in qat_bl_realloc_map_new_dst()
|
A D | qat_bl.h | 19 u32 num_bufs; member
|
/linux-6.3-rc2/drivers/media/usb/em28xx/ |
A D | em28xx-core.c | 824 for (i = 0; i < usb_bufs->num_bufs; i++) { in em28xx_uninit_usb_xfer() 842 usb_bufs->num_bufs = 0; in em28xx_uninit_usb_xfer() 859 for (i = 0; i < isoc_bufs->num_bufs; i++) { in em28xx_stop_urbs() 877 int num_bufs, int max_pkt_size, int packet_multiplier) in em28xx_alloc_urbs() argument 918 usb_bufs->num_bufs = num_bufs; in em28xx_alloc_urbs() 920 usb_bufs->urb = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); in em28xx_alloc_urbs() 924 usb_bufs->buf = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); in em28xx_alloc_urbs() 941 for (i = 0; i < usb_bufs->num_bufs; i++) { in em28xx_alloc_urbs() 995 int xfer_bulk, int num_bufs, int max_pkt_size, in em28xx_init_usb_xfer() argument 1021 rc = em28xx_alloc_urbs(dev, mode, xfer_bulk, num_bufs, in em28xx_init_usb_xfer() [all …]
|
A D | em28xx.h | 223 int num_bufs; member 817 int num_bufs, int max_pkt_size, int packet_multiplier); 820 int num_bufs, int max_pkt_size, int packet_multiplier,
|
/linux-6.3-rc2/drivers/net/ethernet/google/gve/ |
A D | gve_tx_dqo.c | 87 for (j = 0; j < cur_state->num_bufs; j++) { in gve_tx_clean_pending_packets() 465 pkt->num_bufs = 0; in gve_tx_add_skb_no_copy_dqo() 501 dma_unmap_len_set(pkt, len[pkt->num_bufs], len); in gve_tx_add_skb_no_copy_dqo() 502 dma_unmap_addr_set(pkt, dma[pkt->num_bufs], addr); in gve_tx_add_skb_no_copy_dqo() 503 ++pkt->num_bufs; in gve_tx_add_skb_no_copy_dqo() 520 dma_unmap_len_set(pkt, len[pkt->num_bufs], len); in gve_tx_add_skb_no_copy_dqo() 522 ++pkt->num_bufs; in gve_tx_add_skb_no_copy_dqo() 549 for (i = 0; i < pkt->num_bufs; i++) { in gve_tx_add_skb_no_copy_dqo() 564 pkt->num_bufs = 0; in gve_tx_add_skb_no_copy_dqo() 752 for (i = 1; i < pkt->num_bufs; i++) { in gve_unmap_packet() [all …]
|
/linux-6.3-rc2/drivers/rpmsg/ |
A D | virtio_rpmsg_bus.c | 60 unsigned int num_bufs; member 451 if (vrp->last_sbuf < vrp->num_bufs / 2) in get_a_tx_buf() 906 vrp->num_bufs = virtqueue_get_vring_size(vrp->rvq) * 2; in rpmsg_probe() 908 vrp->num_bufs = MAX_RPMSG_NUM_BUFS; in rpmsg_probe() 912 total_buf_space = vrp->num_bufs * vrp->buf_size; in rpmsg_probe() 933 for (i = 0; i < vrp->num_bufs / 2; i++) { in rpmsg_probe() 1023 size_t total_buf_space = vrp->num_bufs * vrp->buf_size; in rpmsg_remove()
|
/linux-6.3-rc2/drivers/net/ethernet/amazon/ena/ |
A D | ena_eth_com.c | 392 u16 num_bufs = ena_tx_ctx->num_bufs; in ena_com_prepare_tx() local 401 if (unlikely(!ena_com_sq_have_enough_space(io_sq, num_bufs + 1))) { in ena_com_prepare_tx() 433 if (unlikely(!num_bufs && !header_len)) { in ena_com_prepare_tx() 493 for (i = 0; i < num_bufs; i++) { in ena_com_prepare_tx()
|
A D | ena_eth_com.h | 22 u16 num_bufs; member 131 num_descs = ena_tx_ctx->num_bufs; in ena_com_is_doorbell_needed()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_base.c | 495 u32 num_bufs = ICE_RX_DESC_UNUSED(ring); in ice_vsi_cfg_rxq() local 552 if (!xsk_buff_can_alloc(ring->xsk_pool, num_bufs)) { in ice_vsi_cfg_rxq() 554 num_bufs, ring->q_index); in ice_vsi_cfg_rxq() 560 ok = ice_alloc_rx_bufs_zc(ring, num_bufs); in ice_vsi_cfg_rxq() 571 ice_alloc_rx_bufs(ring, num_bufs); in ice_vsi_cfg_rxq()
|
/linux-6.3-rc2/drivers/media/usb/au0828/ |
A D | au0828-video.c | 162 for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { in au0828_uninit_isoc() 187 dev->isoc_ctl.num_bufs = 0; in au0828_uninit_isoc() 196 int num_bufs, int max_pkt_size, in au0828_init_isoc() argument 209 dev->isoc_ctl.num_bufs = num_bufs; in au0828_init_isoc() 211 dev->isoc_ctl.urb = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); in au0828_init_isoc() 217 dev->isoc_ctl.transfer_buffer = kcalloc(num_bufs, sizeof(void *), in au0828_init_isoc() 231 for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { in au0828_init_isoc() 269 for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { in au0828_init_isoc() 1690 for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { in au0828_v4l2_suspend() 1731 for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { in au0828_v4l2_resume()
|
A D | au0828.h | 123 int num_bufs; member
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/ |
A D | rx_common.h | 70 unsigned int num_bufs);
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | rx_common.h | 77 unsigned int num_bufs);
|
/linux-6.3-rc2/drivers/gpu/drm/tegra/ |
A D | submit.c | 266 bufs = alloc_copy_user_array(u64_to_user_ptr(args->bufs_ptr), args->num_bufs, in submit_process_bufs() 273 mappings = kcalloc(args->num_bufs, sizeof(*mappings), GFP_KERNEL); in submit_process_bufs() 280 for (i = 0; i < args->num_bufs; i++) { in submit_process_bufs()
|
/linux-6.3-rc2/include/uapi/drm/ |
A D | tegra_drm.h | 932 __u32 num_bufs; member
|
/linux-6.3-rc2/drivers/scsi/qla2xxx/ |
A D | qla_mid.c | 1088 qp->buf_pool.num_bufs = qp->req->length; in qla_create_buf_pool() 1123 for (i = 0; i < qp->buf_pool.num_bufs; i++) { in qla_free_buf_pool() 1146 tag = find_first_zero_bit(qp->buf_pool.buf_map, qp->buf_pool.num_bufs); in qla_get_buf() 1147 if (tag >= qp->buf_pool.num_bufs) { in qla_get_buf()
|