/drivers/media/usb/gspca/ |
D | vicam.c | 171 int ret, frame_sz; in vicam_dostream() local 174 frame_sz = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].sizeimage + in vicam_dostream() 176 buffer = kmalloc(frame_sz, GFP_KERNEL); in vicam_dostream() 187 ret = vicam_read_frame(gspca_dev, buffer, frame_sz); in vicam_dostream() 198 frame_sz - HEADER_SIZE); in vicam_dostream()
|
D | sq905.c | 206 int frame_sz; in sq905_dostream() local 217 frame_sz = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].sizeimage in sq905_dostream() 227 bytes_left = frame_sz; in sq905_dostream()
|
/drivers/media/platform/qcom/venus/ |
D | hfi_msgs.c | 28 struct hfi_framesize *frame_sz; in event_seq_changed() local 64 frame_sz = (struct hfi_framesize *)data_ptr; in event_seq_changed() 65 event.width = frame_sz->width; in event_seq_changed() 66 event.height = frame_sz->height; in event_seq_changed() 67 data_ptr += sizeof(*frame_sz); in event_seq_changed()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 1113 unsigned int total_rx_bytes = 0, total_rx_pkts = 0, frame_sz = 0; in ice_clean_rx_irq() local 1125 frame_sz = ice_rx_frame_truesize(rx_ring, 0); in ice_clean_rx_irq() 1127 xdp_init_buff(&xdp, frame_sz, &rx_ring->xdp_rxq); in ice_clean_rx_irq() 1193 xdp.frame_sz = ice_rx_frame_truesize(rx_ring, size); in ice_clean_rx_irq() 1204 ice_rx_buf_adjust_pg_offset(rx_buf, xdp.frame_sz); in ice_clean_rx_irq()
|
/drivers/net/ |
D | veth.c | 703 u32 frame_sz; in veth_convert_skb_to_xdp_buff() local 775 frame_sz = skb_end_pointer(skb) - skb->head; in veth_convert_skb_to_xdp_buff() 776 frame_sz += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in veth_convert_skb_to_xdp_buff() 777 xdp_init_buff(xdp, frame_sz, &rq->xdp_rxq); in veth_convert_skb_to_xdp_buff()
|
D | virtio_net.c | 961 unsigned int frame_sz; in receive_mergeable() local 998 frame_sz = headroom ? PAGE_SIZE : truesize; in receive_mergeable() 1013 frame_sz = PAGE_SIZE; in receive_mergeable() 1026 xdp_init_buff(&xdp, frame_sz - vi->hdr_len, &rq->xdp_rxq); in receive_mergeable()
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ring.c | 702 int frame_sz = rx_ring->page_offset + rx_ring->frame_max + in __aq_ring_xdp_clean() local 793 xdp_init_buff(&xdp, frame_sz, &rx_ring->xdp_rxq); in __aq_ring_xdp_clean()
|
/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 994 u16 frame_sz; in _base_sas_ioc_info() local 1174 frame_sz = sizeof(Mpi2ConfigRequest_t) + ioc->sge_size; in _base_sas_ioc_info() 1178 frame_sz = sizeof(Mpi2SCSITaskManagementRequest_t); in _base_sas_ioc_info() 1182 frame_sz = sizeof(Mpi2SasIoUnitControlRequest_t); in _base_sas_ioc_info() 1186 frame_sz = sizeof(Mpi2SepRequest_t); in _base_sas_ioc_info() 1190 frame_sz = sizeof(Mpi2IOCInitRequest_t); in _base_sas_ioc_info() 1194 frame_sz = sizeof(Mpi2PortEnableRequest_t); in _base_sas_ioc_info() 1198 frame_sz = sizeof(Mpi2SmpPassthroughRequest_t) + ioc->sge_size; in _base_sas_ioc_info() 1202 frame_sz = sizeof(Mpi26NVMeEncapsulatedRequest_t) + in _base_sas_ioc_info() 1207 frame_sz = 32; in _base_sas_ioc_info() [all …]
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 2435 unsigned int total_rx_bytes = 0, total_rx_packets = 0, frame_sz = 0; in i40e_clean_rx_irq() local 2446 frame_sz = i40e_rx_frame_truesize(rx_ring, 0); in i40e_clean_rx_irq() 2448 xdp_init_buff(&xdp, frame_sz, &rx_ring->xdp_rxq); in i40e_clean_rx_irq() 2510 xdp.frame_sz = i40e_rx_frame_truesize(rx_ring, size); in i40e_clean_rx_irq()
|
/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 2255 new_xdpf->frame_sz = DPAA_BP_RAW_SIZE; in dpaa_a050385_wa_xdpf() 2586 xdp.frame_sz = DPAA_BP_RAW_SIZE; in dpaa_run_xdp() 2609 xdp.frame_sz = DPAA_BP_RAW_SIZE; in dpaa_run_xdp() 2623 xdp.frame_sz = DPAA_BP_RAW_SIZE; in dpaa_run_xdp()
|
/drivers/net/ethernet/marvell/ |
D | mvneta.c | 2252 u32 frame_sz, struct mvneta_stats *stats) in mvneta_run_xdp() argument 2300 stats->rx_bytes += frame_sz + xdp->data_end - xdp->data - data_len; in mvneta_run_xdp() 2412 num_frags * xdp->frame_sz, in mvneta_swbm_build_skb() 2427 u32 desc_status, frame_sz; in mvneta_rx_swbm() local 2460 frame_sz = size - ETH_FCS_LEN; in mvneta_rx_swbm() 2487 mvneta_run_xdp(pp, rxq, xdp_prog, &xdp_buf, frame_sz, &ps)) in mvneta_rx_swbm()
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1120 unsigned int total_rx_bytes = 0, total_rx_packets = 0, frame_sz = 0; in ixgbevf_clean_rx_irq() local 1129 frame_sz = ixgbevf_rx_frame_truesize(rx_ring, 0); in ixgbevf_clean_rx_irq() 1131 xdp_init_buff(&xdp, frame_sz, &rx_ring->xdp_rxq); in ixgbevf_clean_rx_irq() 1167 xdp.frame_sz = ixgbevf_rx_frame_truesize(rx_ring, size); in ixgbevf_clean_rx_irq()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 8842 u32 frame_sz = 0; in igb_clean_rx_irq() local 8847 frame_sz = igb_rx_frame_truesize(rx_ring, 0); in igb_clean_rx_irq() 8849 xdp_init_buff(&xdp, frame_sz, &rx_ring->xdp_rxq); in igb_clean_rx_irq() 8899 xdp.frame_sz = igb_rx_frame_truesize(rx_ring, size); in igb_clean_rx_irq()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 2297 unsigned int total_rx_bytes = 0, total_rx_packets = 0, frame_sz = 0; in ixgbe_clean_rx_irq() local 2310 frame_sz = ixgbe_rx_frame_truesize(rx_ring, 0); in ixgbe_clean_rx_irq() 2312 xdp_init_buff(&xdp, frame_sz, &rx_ring->xdp_rxq); in ixgbe_clean_rx_irq() 2350 xdp.frame_sz = ixgbe_rx_frame_truesize(rx_ring, size); in ixgbe_clean_rx_irq()
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 802 unsigned int frag_size = xdp->frame_sz; in netvsc_alloc_recv_skb()
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 463 xdp.frame_sz = DPAA2_ETH_RX_BUF_RAW_SIZE; in dpaa2_eth_run_xdp()
|