desc_data 3379 drivers/infiniband/hw/mlx5/main.c struct mlx5_ib_flow_counters_desc *desc_data, desc_data 3396 drivers/infiniband/hw/mlx5/main.c if (desc_data[i].description > IB_COUNTER_BYTES) desc_data 3399 drivers/infiniband/hw/mlx5/main.c if (cntrs_max_index <= desc_data[i].index) desc_data 3400 drivers/infiniband/hw/mlx5/main.c cntrs_max_index = desc_data[i].index + 1; desc_data 3404 drivers/infiniband/hw/mlx5/main.c mcounters->counters_data = desc_data; desc_data 3417 drivers/infiniband/hw/mlx5/main.c struct mlx5_ib_flow_counters_desc *desc_data = NULL; desc_data 3426 drivers/infiniband/hw/mlx5/main.c desc_data = kcalloc(cntrs_data->ncounters, desc_data 3427 drivers/infiniband/hw/mlx5/main.c sizeof(*desc_data), desc_data 3429 drivers/infiniband/hw/mlx5/main.c if (!desc_data) desc_data 3432 drivers/infiniband/hw/mlx5/main.c if (copy_from_user(desc_data, desc_data 3434 drivers/infiniband/hw/mlx5/main.c sizeof(*desc_data) * cntrs_data->ncounters)) { desc_data 3450 drivers/infiniband/hw/mlx5/main.c if (desc_data) { desc_data 3459 drivers/infiniband/hw/mlx5/main.c desc_data, desc_data 3479 drivers/infiniband/hw/mlx5/main.c kfree(desc_data); desc_data 897 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct dma_async_tx_descriptor *desc_data, *desc_ecc; desc_data 925 drivers/mtd/nand/raw/stm32_fmc2_nand.c desc_data = dmaengine_prep_slave_sg(dma_ch, fmc2->dma_data_sg.sgl, desc_data 928 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (!desc_data) { desc_data 935 drivers/mtd/nand/raw/stm32_fmc2_nand.c desc_data->callback = stm32_fmc2_dma_callback; desc_data 936 drivers/mtd/nand/raw/stm32_fmc2_nand.c desc_data->callback_param = &fmc2->dma_data_complete; desc_data 937 drivers/mtd/nand/raw/stm32_fmc2_nand.c ret = dma_submit_error(dmaengine_submit(desc_data)); desc_data 1127 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c __le32 *desc_data; desc_data 1169 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[2]; desc_data 1170 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*(desc_data + 2)); desc_data 1176 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*(desc_data + 3)) & BIT(0); desc_data 1183 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*(desc_data + 4)) & HCLGE_SSU_COMMON_ERR_INT_MASK; desc_data 1190 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[3]; desc_data 1191 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*desc_data) & HCLGE_IGU_INT_MASK; desc_data 1198 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[4]; desc_data 1199 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*(desc_data + 1)); desc_data 1205 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*(desc_data + 3)) & HCLGE_PPP_MPF_INT_ST3_MASK; desc_data 1212 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[5]; desc_data 1213 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*(desc_data + 1)); desc_data 1220 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*(desc_data + 2)); desc_data 1226 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*(desc_data + 3)) & HCLGE_PPU_MPF_INT_ST3_MASK; desc_data 1233 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[6]; desc_data 1234 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*desc_data); desc_data 1241 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[7]; desc_data 1242 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*desc_data) & HCLGE_QCN_FIFO_INT_MASK; desc_data 1248 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*(desc_data + 1)) & HCLGE_QCN_ECC_INT_MASK; desc_data 1255 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[9]; desc_data 1256 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*desc_data) & HCLGE_NCSI_ECC_INT_MASK; desc_data 1285 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c __le32 *desc_data; desc_data 1318 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[1]; desc_data 1319 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*desc_data) & HCLGE_IGU_EGU_TNL_INT_MASK; desc_data 1326 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[3]; desc_data 1327 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*desc_data) & HCLGE_PPU_PF_INT_RAS_MASK; desc_data 1785 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c __le32 *desc_data; desc_data 1798 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[1]; desc_data 1799 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*desc_data); desc_data 1806 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[5]; desc_data 1807 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*(desc_data + 2)) & desc_data 1836 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c __le32 *desc_data; desc_data 1857 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[2]; desc_data 1858 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*desc_data); desc_data 1865 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc_data = (__le32 *)&desc[3]; desc_data 1866 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*desc_data) & HCLGE_PPU_PF_INT_MSIX_MASK; desc_data 1872 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c status = le32_to_cpu(*desc_data) & HCLGE_PPU_PF_OVER_8BD_ERR_MASK; desc_data 420 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c __le64 *desc_data; desc_data 436 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data = (__le64 *)(&desc[i].data[0]); desc_data 439 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data = (__le64 *)(&desc[i]); desc_data 444 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *data += le64_to_cpu(*desc_data); desc_data 446 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data++; desc_data 457 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c __le64 *desc_data; desc_data 478 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data = (__le64 *)(&desc[i].data[0]); desc_data 481 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data = (__le64 *)(&desc[i]); desc_data 486 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *data += le64_to_cpu(*desc_data); desc_data 488 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data++; desc_data 500 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c __le32 *desc_data; desc_data 509 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data = (__le32 *)(&desc.data[0]); desc_data 510 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c reg_num = le32_to_cpu(*desc_data); desc_data 9654 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c __le32 *desc_data; desc_data 9681 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data = (__le32 *)(&desc[i].data[0]); desc_data 9684 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data = (__le32 *)(&desc[i]); desc_data 9688 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *reg_val++ = le32_to_cpu(*desc_data++); desc_data 9708 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c __le64 *desc_data; desc_data 9735 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data = (__le64 *)(&desc[i].data[0]); desc_data 9738 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_data = (__le64 *)(&desc[i]); desc_data 9742 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *reg_val++ = le64_to_cpu(*desc_data++); desc_data 290 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c struct xlgmac_desc_data *desc_data; desc_data 294 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c desc_data = XLGMAC_GET_DESC_DATA(ring, idx); desc_data 295 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c dma_desc = desc_data->dma_desc; desc_data 298 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c desc_data->dma_desc, &desc_data->dma_desc_addr); desc_data 315 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c struct xlgmac_desc_data *desc_data; desc_data 318 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c desc_data = XLGMAC_GET_DESC_DATA(ring, idx); desc_data 319 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c dma_desc = desc_data->dma_desc; desc_data 322 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c desc_data->dma_desc, &desc_data->dma_desc_addr); desc_data 22 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c struct xlgmac_desc_data *desc_data) desc_data 24 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c if (desc_data->skb_dma) { desc_data 25 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c if (desc_data->mapped_as_page) { desc_data 26 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c dma_unmap_page(pdata->dev, desc_data->skb_dma, desc_data 27 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb_dma_len, DMA_TO_DEVICE); desc_data 29 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c dma_unmap_single(pdata->dev, desc_data->skb_dma, desc_data 30 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb_dma_len, DMA_TO_DEVICE); desc_data 32 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb_dma = 0; desc_data 33 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb_dma_len = 0; desc_data 36 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c if (desc_data->skb) { desc_data 37 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c dev_kfree_skb_any(desc_data->skb); desc_data 38 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb = NULL; desc_data 41 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c if (desc_data->rx.hdr.pa.pages) desc_data 42 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c put_page(desc_data->rx.hdr.pa.pages); desc_data 44 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c if (desc_data->rx.hdr.pa_unmap.pages) { desc_data 45 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c dma_unmap_page(pdata->dev, desc_data->rx.hdr.pa_unmap.pages_dma, desc_data 46 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->rx.hdr.pa_unmap.pages_len, desc_data 48 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c put_page(desc_data->rx.hdr.pa_unmap.pages); desc_data 51 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c if (desc_data->rx.buf.pa.pages) desc_data 52 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c put_page(desc_data->rx.buf.pa.pages); desc_data 54 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c if (desc_data->rx.buf.pa_unmap.pages) { desc_data 55 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c dma_unmap_page(pdata->dev, desc_data->rx.buf.pa_unmap.pages_dma, desc_data 56 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->rx.buf.pa_unmap.pages_len, desc_data 58 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c put_page(desc_data->rx.buf.pa_unmap.pages); desc_data 61 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c memset(&desc_data->tx, 0, sizeof(desc_data->tx)); desc_data 62 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c memset(&desc_data->rx, 0, sizeof(desc_data->rx)); desc_data 64 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->mapped_as_page = 0; desc_data 66 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c if (desc_data->state_saved) { desc_data 67 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->state_saved = 0; desc_data 68 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->state.skb = NULL; desc_data 69 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->state.len = 0; desc_data 70 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->state.error = 0; desc_data 77 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c struct xlgmac_desc_data *desc_data; desc_data 85 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data = XLGMAC_GET_DESC_DATA(ring, i); desc_data 86 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c xlgmac_unmap_desc_data(pdata, desc_data); desc_data 391 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c struct xlgmac_desc_data *desc_data) desc_data 411 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c xlgmac_set_buffer_data(&desc_data->rx.hdr, &ring->rx_hdr_pa, desc_data 415 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c xlgmac_set_buffer_data(&desc_data->rx.buf, &ring->rx_buf_pa, desc_data 424 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c struct xlgmac_desc_data *desc_data; desc_data 441 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data = XLGMAC_GET_DESC_DATA(ring, j); desc_data 443 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->dma_desc = dma_desc; desc_data 444 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->dma_desc_addr = dma_desc_addr; desc_data 461 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c struct xlgmac_desc_data *desc_data; desc_data 478 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data = XLGMAC_GET_DESC_DATA(ring, j); desc_data 480 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->dma_desc = dma_desc; desc_data 481 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->dma_desc_addr = dma_desc_addr; desc_data 483 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c if (xlgmac_map_rx_buffer(pdata, ring, desc_data)) desc_data 503 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c struct xlgmac_desc_data *desc_data; desc_data 530 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); desc_data 540 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb_dma = skb_dma; desc_data 541 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb_dma_len = pkt_info->header_len; desc_data 551 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); desc_data 564 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb_dma = skb_dma; desc_data 565 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb_dma_len = len; desc_data 576 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); desc_data 597 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb_dma = skb_dma; desc_data 598 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb_dma_len = len; desc_data 599 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->mapped_as_page = 1; desc_data 610 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); desc_data 618 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index - 1); desc_data 619 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data->skb = skb; desc_data 628 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c desc_data = XLGMAC_GET_DESC_DATA(ring, start_index++); desc_data 629 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c xlgmac_unmap_desc_data(pdata, desc_data); desc_data 680 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c struct xlgmac_desc_data *desc_data; desc_data 688 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, ring->cur); desc_data 689 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c writel(lower_32_bits(desc_data->dma_desc_addr), desc_data 707 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c struct xlgmac_desc_data *desc_data; desc_data 758 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); desc_data 759 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c dma_desc = desc_data->dma_desc; desc_data 822 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); desc_data 823 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c dma_desc = desc_data->dma_desc; desc_data 827 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c dma_desc->desc0 = cpu_to_le32(lower_32_bits(desc_data->skb_dma)); desc_data 828 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c dma_desc->desc1 = cpu_to_le32(upper_32_bits(desc_data->skb_dma)); desc_data 835 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data->skb_dma_len); desc_data 922 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); desc_data 923 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c dma_desc = desc_data->dma_desc; desc_data 927 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c cpu_to_le32(lower_32_bits(desc_data->skb_dma)); desc_data 929 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c cpu_to_le32(upper_32_bits(desc_data->skb_dma)); desc_data 936 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data->skb_dma_len); desc_data 973 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data->tx.packets = pkt_info->tx_packets; desc_data 974 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data->tx.bytes = pkt_info->tx_bytes; desc_data 983 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, start_index); desc_data 984 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c dma_desc = desc_data->dma_desc; desc_data 1037 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c static void xlgmac_tx_desc_reset(struct xlgmac_desc_data *desc_data) desc_data 1039 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c struct xlgmac_dma_desc *dma_desc = desc_data->dma_desc; desc_data 1059 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c struct xlgmac_desc_data *desc_data; desc_data 1065 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, i); desc_data 1068 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c xlgmac_tx_desc_reset(desc_data); desc_data 1075 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, start_index); desc_data 1076 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c writel(upper_32_bits(desc_data->dma_desc_addr), desc_data 1078 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c writel(lower_32_bits(desc_data->dma_desc_addr), desc_data 1083 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c struct xlgmac_desc_data *desc_data, desc_data 1086 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c struct xlgmac_dma_desc *dma_desc = desc_data->dma_desc; desc_data 1110 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c hdr_dma = desc_data->rx.hdr.dma_base + desc_data->rx.hdr.dma_off; desc_data 1111 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c buf_dma = desc_data->rx.buf.dma_base + desc_data->rx.buf.dma_off; desc_data 1144 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c struct xlgmac_desc_data *desc_data; desc_data 1149 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, i); desc_data 1152 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c xlgmac_rx_desc_reset(pdata, desc_data, i); desc_data 1159 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, start_index); desc_data 1160 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c writel(upper_32_bits(desc_data->dma_desc_addr), desc_data 1162 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c writel(lower_32_bits(desc_data->dma_desc_addr), desc_data 1166 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, start_index + desc_data 1168 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c writel(lower_32_bits(desc_data->dma_desc_addr), desc_data 2643 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c struct xlgmac_desc_data *desc_data; desc_data 2648 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data = XLGMAC_GET_DESC_DATA(ring, ring->cur); desc_data 2649 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c dma_desc = desc_data->dma_desc; desc_data 2704 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data->rx.hdr_len = XLGMAC_GET_REG_BITS_LE(dma_desc->desc2, desc_data 2707 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c if (desc_data->rx.hdr_len) desc_data 2739 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data->rx.len = XLGMAC_GET_REG_BITS_LE(dma_desc->desc3, desc_data 522 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct xlgmac_desc_data *desc_data; desc_data 534 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data = XLGMAC_GET_DESC_DATA(ring, j); desc_data 535 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_ops->unmap_desc_data(pdata, desc_data); desc_data 543 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct xlgmac_desc_data *desc_data; desc_data 555 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data = XLGMAC_GET_DESC_DATA(ring, j); desc_data 556 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_ops->unmap_desc_data(pdata, desc_data); desc_data 955 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct xlgmac_desc_data *desc_data; desc_data 963 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data = XLGMAC_GET_DESC_DATA(ring, ring->dirty); desc_data 966 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_ops->unmap_desc_data(pdata, desc_data); desc_data 968 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if (desc_ops->map_rx_buffer(pdata, ring, desc_data)) desc_data 971 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c hw_ops->rx_desc_reset(pdata, desc_data, ring->dirty); desc_data 982 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data = XLGMAC_GET_DESC_DATA(ring, ring->dirty - 1); desc_data 983 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c writel(lower_32_bits(desc_data->dma_desc_addr), desc_data 989 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct xlgmac_desc_data *desc_data, desc_data 996 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c skb = napi_alloc_skb(napi, desc_data->rx.hdr.dma_len); desc_data 1003 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c dma_sync_single_range_for_cpu(pdata->dev, desc_data->rx.hdr.dma_base, desc_data 1004 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.hdr.dma_off, desc_data 1005 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.hdr.dma_len, desc_data 1008 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c packet = page_address(desc_data->rx.hdr.pa.pages) + desc_data 1009 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.hdr.pa.pages_offset; desc_data 1010 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c copy_len = (desc_data->rx.hdr_len) ? desc_data->rx.hdr_len : len; desc_data 1011 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c copy_len = min(desc_data->rx.hdr.dma_len, copy_len); desc_data 1019 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.dma_base, desc_data 1020 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.dma_off, desc_data 1021 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.dma_len, desc_data 1025 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.pa.pages, desc_data 1026 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.pa.pages_offset, desc_data 1027 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c len, desc_data->rx.buf.dma_len); desc_data 1028 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.pa.pages = NULL; desc_data 1040 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct xlgmac_desc_data *desc_data; desc_data 1064 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data = XLGMAC_GET_DESC_DATA(ring, ring->dirty); desc_data 1065 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c dma_desc = desc_data->dma_desc; desc_data 1079 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c tx_packets += desc_data->tx.packets; desc_data 1080 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c tx_bytes += desc_data->tx.bytes; desc_data 1084 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_ops->unmap_desc_data(pdata, desc_data); desc_data 1085 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c hw_ops->tx_desc_reset(desc_data); desc_data 1114 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct xlgmac_desc_data *desc_data; desc_data 1134 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data = XLGMAC_GET_DESC_DATA(ring, ring->cur); desc_data 1138 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if (!received && desc_data->state_saved) { desc_data 1139 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c skb = desc_data->state.skb; desc_data 1140 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c error = desc_data->state.error; desc_data 1141 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c len = desc_data->state.len; desc_data 1150 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data = XLGMAC_GET_DESC_DATA(ring, ring->cur); desc_data 1188 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c dma_desc_len = desc_data->rx.len - len; desc_data 1192 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c skb = xlgmac_create_skb(pdata, napi, desc_data, desc_data 1199 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.dma_base, desc_data 1200 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.dma_off, desc_data 1201 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.dma_len, desc_data 1206 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.pa.pages, desc_data 1207 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.pa.pages_offset, desc_data 1209 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.dma_len); desc_data 1210 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.pa.pages = NULL; desc_data 1268 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data = XLGMAC_GET_DESC_DATA(ring, ring->cur); desc_data 1269 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->state_saved = 1; desc_data 1270 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->state.skb = skb; desc_data 1271 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->state.len = len; desc_data 1272 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->state.error = error; desc_data 388 drivers/net/ethernet/synopsys/dwc-xlgmac.h struct xlgmac_desc_data *desc_data); desc_data 390 drivers/net/ethernet/synopsys/dwc-xlgmac.h struct xlgmac_desc_data *desc_data); desc_data 427 drivers/net/ethernet/synopsys/dwc-xlgmac.h void (*tx_desc_reset)(struct xlgmac_desc_data *desc_data); desc_data 429 drivers/net/ethernet/synopsys/dwc-xlgmac.h struct xlgmac_desc_data *desc_data,