/linux-6.1.9/net/smc/ |
D | smc_core.c | 53 struct smc_buf_desc *buf_desc); 1094 static void smcr_buf_unuse(struct smc_buf_desc *buf_desc, bool is_rmb, in smcr_buf_unuse() argument 1100 if (is_rmb && buf_desc->is_conf_rkey && !list_empty(&lgr->list)) { in smcr_buf_unuse() 1106 smc_llc_do_delete_rkey(lgr, buf_desc); in smcr_buf_unuse() 1107 buf_desc->is_conf_rkey = false; in smcr_buf_unuse() 1113 if (buf_desc->is_reg_err) { in smcr_buf_unuse() 1118 list_del(&buf_desc->list); in smcr_buf_unuse() 1121 smc_buf_free(lgr, is_rmb, buf_desc); in smcr_buf_unuse() 1123 buf_desc->used = 0; in smcr_buf_unuse() 1124 memset(buf_desc->cpu_addr, 0, buf_desc->len); in smcr_buf_unuse() [all …]
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | bcm4908_enet.c | 61 struct bcm4908_enet_dma_ring_bd *buf_desc; member 257 struct bcm4908_enet_dma_ring_bd *buf_desc = &enet->rx_ring.buf_desc[idx]; in bcm4908_enet_dma_alloc_rx_buf() local 282 buf_desc->ctl = cpu_to_le32(tmp); in bcm4908_enet_dma_alloc_rx_buf() 283 buf_desc->addr = cpu_to_le32(slot->dma_addr); in bcm4908_enet_dma_alloc_rx_buf() 516 struct bcm4908_enet_dma_ring_bd *buf_desc; in bcm4908_enet_start_xmit() local 522 !(le32_to_cpu(ring->buf_desc[ring->read_idx].ctl) & DMA_CTL_STATUS_OWN)) in bcm4908_enet_start_xmit() 536 buf_desc = &ring->buf_desc[ring->write_idx]; in bcm4908_enet_start_xmit() 537 if (unlikely(le32_to_cpu(buf_desc->ctl) & DMA_CTL_STATUS_OWN)) { in bcm4908_enet_start_xmit() 557 buf_desc->addr = cpu_to_le32((uint32_t)slot->dma_addr); in bcm4908_enet_start_xmit() 558 buf_desc->ctl = cpu_to_le32(tmp); in bcm4908_enet_start_xmit() [all …]
|
/linux-6.1.9/drivers/gpu/drm/exynos/ |
D | exynos_drm_g2d.c | 629 struct g2d_buf_desc *buf_desc, in g2d_check_buf_desc_is_valid() argument 644 width = (int)buf_desc->right_x - (int)buf_desc->left_x; in g2d_check_buf_desc_is_valid() 651 height = (int)buf_desc->bottom_y - (int)buf_desc->top_y; in g2d_check_buf_desc_is_valid() 658 bpp = g2d_get_buf_bpp(buf_desc->format); in g2d_check_buf_desc_is_valid() 661 last_pos = ((unsigned long)buf_desc->bottom_y - 1) * in g2d_check_buf_desc_is_valid() 662 (unsigned long)buf_desc->stride + in g2d_check_buf_desc_is_valid() 663 (unsigned long)buf_desc->right_x * bpp - 1; in g2d_check_buf_desc_is_valid() 693 struct g2d_buf_desc *buf_desc; in g2d_map_cmdlist_gem() local 710 buf_desc = &buf_info->descs[reg_type]; in g2d_map_cmdlist_gem() 721 if (!g2d_check_buf_desc_is_valid(g2d, buf_desc, in g2d_map_cmdlist_gem() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | pci.c | 219 struct rtw_pci_rx_buffer_desc *buf_desc; in rtw_pci_reset_rx_desc() local 231 buf_desc = (struct rtw_pci_rx_buffer_desc *)(rx_ring->r.head + in rtw_pci_reset_rx_desc() 233 memset(buf_desc, 0, sizeof(*buf_desc)); in rtw_pci_reset_rx_desc() 234 buf_desc->buf_size = cpu_to_le16(RTK_PCI_RX_BUF_SIZE); in rtw_pci_reset_rx_desc() 235 buf_desc->dma = cpu_to_le32(dma); in rtw_pci_reset_rx_desc() 245 struct rtw_pci_rx_buffer_desc *buf_desc; in rtw_pci_sync_rx_desc_device() local 250 buf_desc = (struct rtw_pci_rx_buffer_desc *)(rx_ring->r.head + in rtw_pci_sync_rx_desc_device() 252 memset(buf_desc, 0, sizeof(*buf_desc)); in rtw_pci_sync_rx_desc_device() 253 buf_desc->buf_size = cpu_to_le16(RTK_PCI_RX_BUF_SIZE); in rtw_pci_sync_rx_desc_device() 254 buf_desc->dma = cpu_to_le32(dma); in rtw_pci_sync_rx_desc_device() [all …]
|
D | pci.h | 273 u8 *buf_desc; in get_tx_buffer_desc() local 275 buf_desc = ring->r.head + ring->r.wp * size; in get_tx_buffer_desc() 276 return (struct rtw_pci_tx_buffer_desc *)buf_desc; in get_tx_buffer_desc()
|
/linux-6.1.9/drivers/spi/ |
D | spi-pic32-sqi.c | 97 struct buf_desc { struct 129 struct buf_desc *bd; 264 struct buf_desc *bd; in pic32_sqi_one_transfer() 457 struct buf_desc *bd; in ring_desc_ring_alloc() 478 bd = (struct buf_desc *)sqi->bd; in ring_desc_ring_alloc() 502 sizeof(struct buf_desc) * PESQI_BD_COUNT, in ring_desc_ring_free()
|
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_qp.c | 928 sge->hi_addr = be32_to_cpu(rq_wqe->buf_desc.hi_addr); in hinic_rq_get_sge() 929 sge->lo_addr = be32_to_cpu(rq_wqe->buf_desc.lo_addr); in hinic_rq_get_sge() 944 struct hinic_rq_bufdesc *buf_desc = &rq_wqe->buf_desc; in hinic_rq_prepare_wqe() local 953 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*buf_desc)), in hinic_rq_prepare_wqe() 959 buf_desc->hi_addr = sge->hi_addr; in hinic_rq_prepare_wqe() 960 buf_desc->lo_addr = sge->lo_addr; in hinic_rq_prepare_wqe()
|
D | hinic_hw_wqe.h | 340 struct hinic_scmd_bufdesc buf_desc; member 348 struct hinic_lcmd_bufdesc buf_desc; member 418 struct hinic_rq_bufdesc buf_desc; member
|
D | hinic_hw_cmdq.c | 231 hinic_set_sge(&wqe_lcmd->buf_desc.sge, buf_in->dma_addr, buf_in->size); in cmdq_set_lcmd_bufdesc() 239 wqe_scmd->buf_desc.buf_len = in_size; in cmdq_set_direct_wqe_data() 240 memcpy(wqe_scmd->buf_desc.data, buf_in, in_size); in cmdq_set_direct_wqe_data()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | psp_gfx_if.h | 166 struct psp_gfx_buf_desc buf_desc[GFX_BUF_MAX_DESC]; /* list of buffer descriptors */ member
|
D | amdgpu_psp.c | 1087 cmd->cmd.cmd_invoke_cmd.buf.buf_desc[0].buf_size = context->mem_context.shared_mem_size; in psp_prep_ta_invoke_indirect_cmd_buf() 1088 cmd->cmd.cmd_invoke_cmd.buf.buf_desc[0].buf_phy_addr_lo = in psp_prep_ta_invoke_indirect_cmd_buf() 1090 cmd->cmd.cmd_invoke_cmd.buf.buf_desc[0].buf_phy_addr_hi = in psp_prep_ta_invoke_indirect_cmd_buf()
|
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/ |
D | farch.c | 170 ef4_qword_t buf_desc; in ef4_init_special_buffer() local 184 EF4_POPULATE_QWORD_3(buf_desc, in ef4_init_special_buffer() 188 ef4_write_buf_tbl(efx, &buf_desc, index); in ef4_init_special_buffer()
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | farch.c | 174 efx_qword_t buf_desc; in efx_init_special_buffer() local 188 EFX_POPULATE_QWORD_3(buf_desc, in efx_init_special_buffer() 192 efx_write_buf_tbl(efx, &buf_desc, index); in efx_init_special_buffer()
|