Searched refs:desc_data (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-desc.c | 22 struct xlgmac_desc_data *desc_data) in xlgmac_unmap_desc_data() argument 24 if (desc_data->skb_dma) { in xlgmac_unmap_desc_data() 25 if (desc_data->mapped_as_page) { in xlgmac_unmap_desc_data() 26 dma_unmap_page(pdata->dev, desc_data->skb_dma, in xlgmac_unmap_desc_data() 27 desc_data->skb_dma_len, DMA_TO_DEVICE); in xlgmac_unmap_desc_data() 29 dma_unmap_single(pdata->dev, desc_data->skb_dma, in xlgmac_unmap_desc_data() 30 desc_data->skb_dma_len, DMA_TO_DEVICE); in xlgmac_unmap_desc_data() 32 desc_data->skb_dma = 0; in xlgmac_unmap_desc_data() 33 desc_data->skb_dma_len = 0; in xlgmac_unmap_desc_data() 36 if (desc_data->skb) { in xlgmac_unmap_desc_data() [all …]
|
D | dwc-xlgmac-net.c | 522 struct xlgmac_desc_data *desc_data; in xlgmac_free_tx_data() local 534 desc_data = XLGMAC_GET_DESC_DATA(ring, j); in xlgmac_free_tx_data() 535 desc_ops->unmap_desc_data(pdata, desc_data); in xlgmac_free_tx_data() 543 struct xlgmac_desc_data *desc_data; in xlgmac_free_rx_data() local 555 desc_data = XLGMAC_GET_DESC_DATA(ring, j); in xlgmac_free_rx_data() 556 desc_ops->unmap_desc_data(pdata, desc_data); in xlgmac_free_rx_data() 955 struct xlgmac_desc_data *desc_data; in xlgmac_rx_refresh() local 963 desc_data = XLGMAC_GET_DESC_DATA(ring, ring->dirty); in xlgmac_rx_refresh() 966 desc_ops->unmap_desc_data(pdata, desc_data); in xlgmac_rx_refresh() 968 if (desc_ops->map_rx_buffer(pdata, ring, desc_data)) in xlgmac_rx_refresh() [all …]
|
D | dwc-xlgmac-hw.c | 680 struct xlgmac_desc_data *desc_data; in xlgmac_tx_start_xmit() local 688 desc_data = XLGMAC_GET_DESC_DATA(ring, ring->cur); in xlgmac_tx_start_xmit() 689 writel(lower_32_bits(desc_data->dma_desc_addr), in xlgmac_tx_start_xmit() 707 struct xlgmac_desc_data *desc_data; in xlgmac_dev_xmit() local 758 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_dev_xmit() 759 dma_desc = desc_data->dma_desc; in xlgmac_dev_xmit() 822 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_dev_xmit() 823 dma_desc = desc_data->dma_desc; in xlgmac_dev_xmit() 827 dma_desc->desc0 = cpu_to_le32(lower_32_bits(desc_data->skb_dma)); in xlgmac_dev_xmit() 828 dma_desc->desc1 = cpu_to_le32(upper_32_bits(desc_data->skb_dma)); in xlgmac_dev_xmit() [all …]
|
D | dwc-xlgmac-common.c | 290 struct xlgmac_desc_data *desc_data; in xlgmac_dump_tx_desc() local 294 desc_data = XLGMAC_GET_DESC_DATA(ring, idx); in xlgmac_dump_tx_desc() 295 dma_desc = desc_data->dma_desc; in xlgmac_dump_tx_desc() 298 desc_data->dma_desc, &desc_data->dma_desc_addr); in xlgmac_dump_tx_desc() 315 struct xlgmac_desc_data *desc_data; in xlgmac_dump_rx_desc() local 318 desc_data = XLGMAC_GET_DESC_DATA(ring, idx); in xlgmac_dump_rx_desc() 319 dma_desc = desc_data->dma_desc; in xlgmac_dump_rx_desc() 322 desc_data->dma_desc, &desc_data->dma_desc_addr); in xlgmac_dump_rx_desc()
|
D | dwc-xlgmac.h | 388 struct xlgmac_desc_data *desc_data); 390 struct xlgmac_desc_data *desc_data); 427 void (*tx_desc_reset)(struct xlgmac_desc_data *desc_data); 429 struct xlgmac_desc_data *desc_data,
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_err.c | 1127 __le32 *desc_data; in hclge_handle_mpf_ras_error() local 1169 desc_data = (__le32 *)&desc[2]; in hclge_handle_mpf_ras_error() 1170 status = le32_to_cpu(*(desc_data + 2)); in hclge_handle_mpf_ras_error() 1176 status = le32_to_cpu(*(desc_data + 3)) & BIT(0); in hclge_handle_mpf_ras_error() 1183 status = le32_to_cpu(*(desc_data + 4)) & HCLGE_SSU_COMMON_ERR_INT_MASK; in hclge_handle_mpf_ras_error() 1190 desc_data = (__le32 *)&desc[3]; in hclge_handle_mpf_ras_error() 1191 status = le32_to_cpu(*desc_data) & HCLGE_IGU_INT_MASK; in hclge_handle_mpf_ras_error() 1198 desc_data = (__le32 *)&desc[4]; in hclge_handle_mpf_ras_error() 1199 status = le32_to_cpu(*(desc_data + 1)); in hclge_handle_mpf_ras_error() 1205 status = le32_to_cpu(*(desc_data + 3)) & HCLGE_PPP_MPF_INT_ST3_MASK; in hclge_handle_mpf_ras_error() [all …]
|
D | hclge_main.c | 420 __le64 *desc_data; in hclge_mac_update_stats_defective() local 436 desc_data = (__le64 *)(&desc[i].data[0]); in hclge_mac_update_stats_defective() 439 desc_data = (__le64 *)(&desc[i]); in hclge_mac_update_stats_defective() 444 *data += le64_to_cpu(*desc_data); in hclge_mac_update_stats_defective() 446 desc_data++; in hclge_mac_update_stats_defective() 457 __le64 *desc_data; in hclge_mac_update_stats_complete() local 478 desc_data = (__le64 *)(&desc[i].data[0]); in hclge_mac_update_stats_complete() 481 desc_data = (__le64 *)(&desc[i]); in hclge_mac_update_stats_complete() 486 *data += le64_to_cpu(*desc_data); in hclge_mac_update_stats_complete() 488 desc_data++; in hclge_mac_update_stats_complete() [all …]
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | stm32_fmc2_nand.c | 888 struct dma_async_tx_descriptor *desc_data, *desc_ecc; in stm32_fmc2_xfer() local 916 desc_data = dmaengine_prep_slave_sg(dma_ch, fmc2->dma_data_sg.sgl, in stm32_fmc2_xfer() 919 if (!desc_data) { in stm32_fmc2_xfer() 926 desc_data->callback = stm32_fmc2_dma_callback; in stm32_fmc2_xfer() 927 desc_data->callback_param = &fmc2->dma_data_complete; in stm32_fmc2_xfer() 928 ret = dma_submit_error(dmaengine_submit(desc_data)); in stm32_fmc2_xfer()
|
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | main.c | 3382 struct mlx5_ib_flow_counters_desc *desc_data, in counters_set_description() argument 3399 if (desc_data[i].description > IB_COUNTER_BYTES) in counters_set_description() 3402 if (cntrs_max_index <= desc_data[i].index) in counters_set_description() 3403 cntrs_max_index = desc_data[i].index + 1; in counters_set_description() 3407 mcounters->counters_data = desc_data; in counters_set_description() 3420 struct mlx5_ib_flow_counters_desc *desc_data = NULL; in flow_counters_set_data() local 3429 desc_data = kcalloc(cntrs_data->ncounters, in flow_counters_set_data() 3430 sizeof(*desc_data), in flow_counters_set_data() 3432 if (!desc_data) in flow_counters_set_data() 3435 if (copy_from_user(desc_data, in flow_counters_set_data() [all …]
|