Home
last modified time | relevance | path

Searched refs:buf_desc (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/net/smc/
Dsmc_core.c48 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/
Dexynos_drm_g2d.c634 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/
Dpci.c219 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 …]
Dpci.h249 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/
Dspi-pic32-sqi.c97 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/
Dhinic_hw_qp.c932 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()
Dhinic_hw_wqe.h365 struct hinic_scmd_bufdesc buf_desc; member
373 struct hinic_lcmd_bufdesc buf_desc; member
443 struct hinic_rq_bufdesc buf_desc; member
Dhinic_hw_cmdq.c236 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/
Dpsp_gfx_if.h151 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/
Dfarch.c173 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/
Dfarch.c170 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/
D0038_linux_drivers_mxc.patch137427 + 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 …]