Home
last modified time | relevance | path

Searched refs:pkt_buf (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/apm/xgene-v2/
Dmain.c180 void *pkt_buf; in xge_start_xmit() local
195 pkt_buf = dma_alloc_coherent(dev, XGENE_ENET_STD_MTU, &dma_addr, in xge_start_xmit()
197 if (unlikely(!pkt_buf)) { in xge_start_xmit()
201 memcpy(pkt_buf, skb->data, len); in xge_start_xmit()
212 tx_ring->pkt_info[tail].pkt_buf = pkt_buf; in xge_start_xmit()
244 void *pkt_buf; in xge_txc_poll() local
265 pkt_buf = tx_ring->pkt_info[head].pkt_buf; in xge_txc_poll()
268 dma_free_coherent(dev, XGENE_ENET_STD_MTU, pkt_buf, dma_addr); in xge_txc_poll()
559 void *pkt_buf; in xge_free_pending_skb() local
572 pkt_buf = tx_ring->pkt_info[i].pkt_buf; in xge_free_pending_skb()
[all …]
Dring.h69 void *pkt_buf; member
/Linux-v5.10/drivers/input/touchscreen/
Dwdt87xx_i2c.c569 u8 pkt_buf[PKT_BUF_SIZE]; in wdt87xx_write_data() local
582 pkt_buf[CMD_REPORT_ID_OFFSET] = VND_REQ_WRITE; in wdt87xx_write_data()
583 pkt_buf[CMD_TYPE_OFFSET] = VND_SET_DATA; in wdt87xx_write_data()
584 put_unaligned_le16(packet_size, &pkt_buf[CMD_INDEX_OFFSET]); in wdt87xx_write_data()
585 put_unaligned_le32(address, &pkt_buf[CMD_LENGTH_OFFSET]); in wdt87xx_write_data()
586 memcpy(&pkt_buf[CMD_DATA_OFFSET], data, packet_size); in wdt87xx_write_data()
588 error = wdt87xx_set_feature(client, pkt_buf, sizeof(pkt_buf)); in wdt87xx_write_data()
646 u8 pkt_buf[PKT_BUF_SIZE]; in wdt87xx_get_checksum() local
674 memset(pkt_buf, 0, sizeof(pkt_buf)); in wdt87xx_get_checksum()
675 pkt_buf[CMD_REPORT_ID_OFFSET] = VND_READ_DATA; in wdt87xx_get_checksum()
[all …]
/Linux-v5.10/drivers/media/platform/exynos4-is/
Dmipi-csis.c224 struct csis_pktbuf pkt_buf; member
632 state->pkt_buf.data = buf; in s5pcsis_s_rx_buffer()
633 state->pkt_buf.len = *size; in s5pcsis_s_rx_buffer()
676 struct csis_pktbuf *pktbuf = &state->pkt_buf; in s5pcsis_irq_handler()
/Linux-v5.10/drivers/net/ethernet/
Dkorina.c356 u8 *pkt_buf; in korina_rx() local
399 pkt_buf = (u8 *)lp->rx_skb[lp->rx_next_done]->data; in korina_rx()
402 dma_cache_inv((unsigned long)pkt_buf, pkt_len - 4); in korina_rx()
/Linux-v5.10/drivers/media/platform/qcom/venus/
Dhfi_venus.c128 u8 pkt_buf[IFACEQ_VAR_HUGE_PKT_SIZE]; member
1003 pkt = hdev->pkt_buf; in venus_isr_thread()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c2340 struct hclge_pkt_buf_alloc *pkt_buf; in hclge_buffer_alloc() local
2343 pkt_buf = kzalloc(sizeof(*pkt_buf), GFP_KERNEL); in hclge_buffer_alloc()
2344 if (!pkt_buf) in hclge_buffer_alloc()
2347 ret = hclge_tx_buffer_calc(hdev, pkt_buf); in hclge_buffer_alloc()
2354 ret = hclge_tx_buffer_alloc(hdev, pkt_buf); in hclge_buffer_alloc()
2361 ret = hclge_rx_buffer_calc(hdev, pkt_buf); in hclge_buffer_alloc()
2369 ret = hclge_rx_priv_buf_alloc(hdev, pkt_buf); in hclge_buffer_alloc()
2377 ret = hclge_rx_priv_wl_config(hdev, pkt_buf); in hclge_buffer_alloc()
2385 ret = hclge_common_thrd_config(hdev, pkt_buf); in hclge_buffer_alloc()
2394 ret = hclge_common_wl_config(hdev, pkt_buf); in hclge_buffer_alloc()
[all …]