Home
last modified time | relevance | path

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

/linux-5.19.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-5.19.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-5.19.10/drivers/media/platform/samsung/exynos4-is/ !
Dmipi-csis.c224 struct csis_pktbuf pkt_buf; member
633 state->pkt_buf.data = buf; in s5pcsis_s_rx_buffer()
634 state->pkt_buf.len = *size; in s5pcsis_s_rx_buffer()
677 struct csis_pktbuf *pktbuf = &state->pkt_buf; in s5pcsis_irq_handler()
/linux-5.19.10/drivers/media/platform/qcom/venus/ !
Dhfi_venus.c128 u8 pkt_buf[IFACEQ_VAR_HUGE_PKT_SIZE]; member
1066 pkt = hdev->pkt_buf; in venus_isr_thread()
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ !
Dhclge_main.c2426 struct hclge_pkt_buf_alloc *pkt_buf; in hclge_buffer_alloc() local
2429 pkt_buf = kzalloc(sizeof(*pkt_buf), GFP_KERNEL); in hclge_buffer_alloc()
2430 if (!pkt_buf) in hclge_buffer_alloc()
2433 ret = hclge_tx_buffer_calc(hdev, pkt_buf); in hclge_buffer_alloc()
2440 ret = hclge_tx_buffer_alloc(hdev, pkt_buf); in hclge_buffer_alloc()
2447 ret = hclge_rx_buffer_calc(hdev, pkt_buf); in hclge_buffer_alloc()
2455 ret = hclge_rx_priv_buf_alloc(hdev, pkt_buf); in hclge_buffer_alloc()
2463 ret = hclge_rx_priv_wl_config(hdev, pkt_buf); in hclge_buffer_alloc()
2471 ret = hclge_common_thrd_config(hdev, pkt_buf); in hclge_buffer_alloc()
2480 ret = hclge_common_wl_config(hdev, pkt_buf); in hclge_buffer_alloc()
[all …]