/linux-6.12.1/drivers/net/ethernet/apm/xgene-v2/ |
D | main.c | 180 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 …]
|
D | ring.h | 69 void *pkt_buf; member
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | wdt87xx_i2c.c | 569 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-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_parser.h | 431 u8 pkt_buf[ICE_PARSER_MAX_PKT_LEN + ICE_PARSER_PKT_REV]; member 476 void ice_parser_rt_pktbuf_set(struct ice_parser_rt *rt, const u8 *pkt_buf, 513 int ice_parser_run(struct ice_parser *psr, const u8 *pkt_buf, 535 const u8 *pkt_buf, const u8 *msk_buf,
|
D | ice_parser_rt.c | 14 memcpy(&rt->gpr[ICE_GPR_HV_IDX], &rt->pkt_buf[ho], ICE_GPR_HV_SIZE); in ice_rt_ho_set() 102 void ice_parser_rt_pktbuf_set(struct ice_parser_rt *rt, const u8 *pkt_buf, in ice_parser_rt_pktbuf_set() argument 108 memcpy(rt->pkt_buf, pkt_buf, len); in ice_parser_rt_pktbuf_set() 111 memcpy(&rt->gpr[ICE_GPR_HV_IDX], &rt->pkt_buf[ho], ICE_GPR_HV_SIZE); in ice_parser_rt_pktbuf_set() 134 key[i] = rt->pkt_buf[ho + idd - i]; in ice_bst_key_init()
|
D | ice_virtchnl_fdir.c | 48 u8 *pkt_buf; member 835 u8 *pkt_buf, *msk_buf __free(kfree); in ice_vc_fdir_parse_raw() local 843 pkt_buf = kzalloc(proto->raw.pkt_len, GFP_KERNEL); in ice_vc_fdir_parse_raw() 845 if (!pkt_buf || !msk_buf) in ice_vc_fdir_parse_raw() 848 memcpy(pkt_buf, proto->raw.spec, proto->raw.pkt_len); in ice_vc_fdir_parse_raw() 865 status = ice_parser_run(psr, pkt_buf, proto->raw.pkt_len, &rslt); in ice_vc_fdir_parse_raw() 878 status = ice_parser_profile_init(&rslt, pkt_buf, msk_buf, in ice_vc_fdir_parse_raw() 889 conf->pkt_buf = pkt_buf; in ice_vc_fdir_parse_raw() 900 kfree(pkt_buf); in ice_vc_fdir_parse_raw() 1420 memcpy(pkt, conf->pkt_buf, conf->pkt_len); in ice_vc_fdir_write_fltr()
|
D | ice_parser.c | 2147 int ice_parser_run(struct ice_parser *psr, const u8 *pkt_buf, in ice_parser_run() argument 2151 ice_parser_rt_pktbuf_set(&psr->rt, pkt_buf, pkt_len); in ice_parser_run() 2363 const u8 *pkt_buf, const u8 *msk_buf, in ice_parser_profile_init() argument 2399 prof->fv[prof->fv_num].spec = *(const u16 *)&pkt_buf[off]; in ice_parser_profile_init()
|
/linux-6.12.1/drivers/media/platform/samsung/exynos4-is/ |
D | mipi-csis.c | 224 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-6.12.1/drivers/media/platform/qcom/venus/ |
D | hfi_venus.c | 128 u8 pkt_buf[IFACEQ_VAR_HUGE_PKT_SIZE]; member 1078 pkt = hdev->pkt_buf; in venus_isr_thread()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 2427 struct hclge_pkt_buf_alloc *pkt_buf; in hclge_buffer_alloc() local 2430 pkt_buf = kzalloc(sizeof(*pkt_buf), GFP_KERNEL); in hclge_buffer_alloc() 2431 if (!pkt_buf) in hclge_buffer_alloc() 2434 ret = hclge_tx_buffer_calc(hdev, pkt_buf); in hclge_buffer_alloc() 2441 ret = hclge_tx_buffer_alloc(hdev, pkt_buf); in hclge_buffer_alloc() 2448 ret = hclge_rx_buffer_calc(hdev, pkt_buf); in hclge_buffer_alloc() 2456 ret = hclge_rx_priv_buf_alloc(hdev, pkt_buf); in hclge_buffer_alloc() 2464 ret = hclge_rx_priv_wl_config(hdev, pkt_buf); in hclge_buffer_alloc() 2472 ret = hclge_common_thrd_config(hdev, pkt_buf); in hclge_buffer_alloc() 2481 ret = hclge_common_wl_config(hdev, pkt_buf); in hclge_buffer_alloc() [all …]
|