/kernel/linux/linux-5.10/net/smc/ |
D | smc_core.c | 48 struct smc_buf_desc *buf_desc); 674 static void smcr_buf_unmap_link(struct smc_buf_desc *buf_desc, bool is_rmb, in smcr_buf_unmap_link() argument 678 buf_desc->is_reg_mr[lnk->link_idx] = false; in smcr_buf_unmap_link() 679 if (!buf_desc->is_map_ib[lnk->link_idx]) in smcr_buf_unmap_link() 682 if (buf_desc->mr_rx[lnk->link_idx]) { in smcr_buf_unmap_link() 684 buf_desc->mr_rx[lnk->link_idx]); in smcr_buf_unmap_link() 685 buf_desc->mr_rx[lnk->link_idx] = NULL; in smcr_buf_unmap_link() 687 smc_ib_buf_unmap_sg(lnk, buf_desc, DMA_FROM_DEVICE); in smcr_buf_unmap_link() 689 smc_ib_buf_unmap_sg(lnk, buf_desc, DMA_TO_DEVICE); in smcr_buf_unmap_link() 691 sg_free_table(&buf_desc->sgt[lnk->link_idx]); in smcr_buf_unmap_link() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_g2d.c | 634 struct g2d_buf_desc *buf_desc, in g2d_check_buf_desc_is_valid() argument 649 width = (int)buf_desc->right_x - (int)buf_desc->left_x; in g2d_check_buf_desc_is_valid() 656 height = (int)buf_desc->bottom_y - (int)buf_desc->top_y; in g2d_check_buf_desc_is_valid() 663 bpp = g2d_get_buf_bpp(buf_desc->format); in g2d_check_buf_desc_is_valid() 666 last_pos = ((unsigned long)buf_desc->bottom_y - 1) * in g2d_check_buf_desc_is_valid() 667 (unsigned long)buf_desc->stride + in g2d_check_buf_desc_is_valid() 668 (unsigned long)buf_desc->right_x * bpp - 1; in g2d_check_buf_desc_is_valid() 698 struct g2d_buf_desc *buf_desc; in g2d_map_cmdlist_gem() local 715 buf_desc = &buf_info->descs[reg_type]; in g2d_map_cmdlist_gem() 726 if (!g2d_check_buf_desc_is_valid(g2d, buf_desc, in g2d_map_cmdlist_gem() [all …]
|
/kernel/linux/linux-5.10/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 | 249 u8 *buf_desc; in get_tx_buffer_desc() local 251 buf_desc = ring->r.head + ring->r.wp * size; in get_tx_buffer_desc() 252 return (struct rtw_pci_tx_buffer_desc *)buf_desc; in get_tx_buffer_desc()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_qp.c | 932 sge->hi_addr = be32_to_cpu(rq_wqe->buf_desc.hi_addr); in hinic_rq_get_sge() 933 sge->lo_addr = be32_to_cpu(rq_wqe->buf_desc.lo_addr); in hinic_rq_get_sge() 948 struct hinic_rq_bufdesc *buf_desc = &rq_wqe->buf_desc; in hinic_rq_prepare_wqe() local 957 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*buf_desc)), in hinic_rq_prepare_wqe() 963 buf_desc->hi_addr = sge->hi_addr; in hinic_rq_prepare_wqe() 964 buf_desc->lo_addr = sge->lo_addr; in hinic_rq_prepare_wqe()
|
D | hinic_hw_wqe.h | 365 struct hinic_scmd_bufdesc buf_desc; member 373 struct hinic_lcmd_bufdesc buf_desc; member 443 struct hinic_rq_bufdesc buf_desc; member
|
D | hinic_hw_cmdq.c | 236 hinic_set_sge(&wqe_lcmd->buf_desc.sge, buf_in->dma_addr, buf_in->size); in cmdq_set_lcmd_bufdesc() 244 wqe_scmd->buf_desc.buf_len = in_size; in cmdq_set_direct_wqe_data() 245 memcpy(wqe_scmd->buf_desc.data, buf_in, in_size); in cmdq_set_direct_wqe_data()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | psp_gfx_if.h | 151 struct psp_gfx_buf_desc buf_desc[GFX_BUF_MAX_DESC]; /* list of buffer descriptors */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | farch.c | 173 efx_qword_t buf_desc; in efx_init_special_buffer() local 187 EFX_POPULATE_QWORD_3(buf_desc, in efx_init_special_buffer() 191 efx_write_buf_tbl(efx, &buf_desc, index); in efx_init_special_buffer()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0038_linux_drivers_mxc.patch | 137427 + gcsDMABUF *buf_desc; 137446 + list_for_each_entry(buf_desc, &priv->buf_list, list) { 137447 + struct dma_buf *buf_obj = buf_desc->dmabuf; 137464 + buf_desc->pid, 137465 + buf_desc->dmabuf, 137466 + buf_desc->npages, 137477 + npages += buf_desc->npages; 137543 + gcsDMABUF *buf_desc = NULL; 137589 + gcmkONERROR(gckOS_Allocate(os, sizeof(gcsDMABUF), (gctPOINTER *)&buf_desc)); 137591 + buf_desc->dmabuf = dmabuf; [all …]
|