Home
last modified time | relevance | path

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

/linux-6.6.21/net/smc/ !
Dsmc_core.c53 struct smc_buf_desc *buf_desc);
1107 static void smcr_buf_unuse(struct smc_buf_desc *buf_desc, bool is_rmb, in smcr_buf_unuse() argument
1113 if (is_rmb && buf_desc->is_conf_rkey && !list_empty(&lgr->list)) { in smcr_buf_unuse()
1119 smc_llc_do_delete_rkey(lgr, buf_desc); in smcr_buf_unuse()
1120 buf_desc->is_conf_rkey = false; in smcr_buf_unuse()
1126 if (buf_desc->is_reg_err) { in smcr_buf_unuse()
1131 list_del(&buf_desc->list); in smcr_buf_unuse()
1134 smc_buf_free(lgr, is_rmb, buf_desc); in smcr_buf_unuse()
1137 memzero_explicit(buf_desc->cpu_addr, buf_desc->len); in smcr_buf_unuse()
1138 WRITE_ONCE(buf_desc->used, 0); in smcr_buf_unuse()
[all …]
/linux-6.6.21/drivers/gpu/drm/exynos/ !
Dexynos_drm_g2d.c629 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.6.21/drivers/net/ethernet/broadcom/ !
Dbcm4908_enet.c72 struct bcm4908_enet_dma_ring_bd *buf_desc; member
268 struct bcm4908_enet_dma_ring_bd *buf_desc = &enet->rx_ring.buf_desc[idx]; in bcm4908_enet_dma_alloc_rx_buf() local
292 buf_desc->ctl = cpu_to_le32(tmp); in bcm4908_enet_dma_alloc_rx_buf()
293 buf_desc->addr = cpu_to_le32(slot->dma_addr); in bcm4908_enet_dma_alloc_rx_buf()
527 struct bcm4908_enet_dma_ring_bd *buf_desc; in bcm4908_enet_start_xmit() local
533 !(le32_to_cpu(ring->buf_desc[ring->read_idx].ctl) & DMA_CTL_STATUS_OWN)) in bcm4908_enet_start_xmit()
547 buf_desc = &ring->buf_desc[ring->write_idx]; in bcm4908_enet_start_xmit()
548 if (unlikely(le32_to_cpu(buf_desc->ctl) & DMA_CTL_STATUS_OWN)) { in bcm4908_enet_start_xmit()
570 buf_desc->addr = cpu_to_le32((uint32_t)slot->dma_addr); in bcm4908_enet_start_xmit()
571 buf_desc->ctl = cpu_to_le32(tmp); in bcm4908_enet_start_xmit()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/ !
Dpci.c213 struct rtw_pci_rx_buffer_desc *buf_desc; in rtw_pci_reset_rx_desc() local
225 buf_desc = (struct rtw_pci_rx_buffer_desc *)(rx_ring->r.head + in rtw_pci_reset_rx_desc()
227 memset(buf_desc, 0, sizeof(*buf_desc)); in rtw_pci_reset_rx_desc()
228 buf_desc->buf_size = cpu_to_le16(RTK_PCI_RX_BUF_SIZE); in rtw_pci_reset_rx_desc()
229 buf_desc->dma = cpu_to_le32(dma); in rtw_pci_reset_rx_desc()
239 struct rtw_pci_rx_buffer_desc *buf_desc; in rtw_pci_sync_rx_desc_device() local
244 buf_desc = (struct rtw_pci_rx_buffer_desc *)(rx_ring->r.head + in rtw_pci_sync_rx_desc_device()
246 memset(buf_desc, 0, sizeof(*buf_desc)); in rtw_pci_sync_rx_desc_device()
247 buf_desc->buf_size = cpu_to_le16(RTK_PCI_RX_BUF_SIZE); in rtw_pci_sync_rx_desc_device()
248 buf_desc->dma = cpu_to_le32(dma); in rtw_pci_sync_rx_desc_device()
[all …]
Dpci.h273 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.6.21/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()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/ !
Dhinic_hw_qp.c928 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()
Dhinic_hw_wqe.h340 struct hinic_scmd_bufdesc buf_desc; member
348 struct hinic_lcmd_bufdesc buf_desc; member
418 struct hinic_rq_bufdesc buf_desc; member
Dhinic_hw_cmdq.c231 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.6.21/drivers/gpu/drm/amd/amdgpu/ !
Dpsp_gfx_if.h167 struct psp_gfx_buf_desc buf_desc[GFX_BUF_MAX_DESC]; /* list of buffer descriptors */ member
/linux-6.6.21/drivers/net/ethernet/sfc/siena/ !
Dfarch.c174 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()
/linux-6.6.21/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()