Home
last modified time | relevance | path

Searched refs:desc_buf (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/media/pci/pt3/
H A Dpt3_dma.c52 iowrite32(lower_32_bits(adap->desc_buf[0].b_addr), in pt3_start_dma()
54 iowrite32(upper_32_bits(adap->desc_buf[0].b_addr), in pt3_start_dma()
140 adap->desc_buf[i].descs, adap->desc_buf[i].b_addr); in pt3_free_dmabuf()
179 adap->desc_buf[i].descs = p; in pt3_alloc_dmabuf()
180 adap->desc_buf[i].b_addr = desc_addr; in pt3_alloc_dmabuf()
183 d = &adap->desc_buf[i - 1].descs[DESCS_IN_PAGE - 1]; in pt3_alloc_dmabuf()
189 d = &adap->desc_buf[i].descs[j]; in pt3_alloc_dmabuf()
203 desc_addr = adap->desc_buf[0].b_addr; in pt3_alloc_dmabuf()
H A Dpt3.h134 struct xfer_desc_buffer desc_buf[MAX_DESC_BUFS]; member
/linux/drivers/net/ethernet/intel/ice/
H A Dice_controlq.c96 &cq->sq.desc_buf.pa, in ice_alloc_ctrlq_sq_ring()
98 if (!cq->sq.desc_buf.va) in ice_alloc_ctrlq_sq_ring()
100 cq->sq.desc_buf.size = size; in ice_alloc_ctrlq_sq_ring()
116 &cq->rq.desc_buf.pa, in ice_alloc_ctrlq_rq_ring()
118 if (!cq->rq.desc_buf.va) in ice_alloc_ctrlq_rq_ring()
120 cq->rq.desc_buf.size = size; in ice_alloc_ctrlq_rq_ring()
135 ring->desc_buf.va, ring->desc_buf.pa); in ice_free_cq_ring()
136 ring->desc_buf.va = NULL; in ice_free_cq_ring()
137 ring->desc_buf.pa = 0; in ice_free_cq_ring()
138 ring->desc_buf.size = 0; in ice_free_cq_ring()
[all …]
H A Dice_controlq.h15 (&(((struct ice_aq_desc *)((R).desc_buf.va))[i]))
52 struct ice_dma_mem desc_buf; /* descriptor ring memory */ member
/linux/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c119 if (dma->desc_buf.area == NULL) { in cs5535audio_build_dma_packets()
123 &dma->desc_buf) < 0) in cs5535audio_build_dma_packets()
136 &((struct cs5535audio_dma_desc *) dma->desc_buf.area)[i]; in cs5535audio_build_dma_packets()
143 lastdesc = &((struct cs5535audio_dma_desc *) dma->desc_buf.area)[periods]; in cs5535audio_build_dma_packets()
144 lastdesc->addr = cpu_to_le32((u32) dma->desc_buf.addr); in cs5535audio_build_dma_packets()
147 jmpprd_addr = (u32)dma->desc_buf.addr + in cs5535audio_build_dma_packets()
226 snd_dma_free_pages(&dma->desc_buf); in cs5535audio_clear_dma_packets()
227 dma->desc_buf.area = NULL; in cs5535audio_clear_dma_packets()
H A Dcs5535audio.h77 struct snd_dma_buffer desc_buf; member
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_adminq.c18 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.asq.desc_buf, in iavf_alloc_adminq_asq_ring()
30 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf); in iavf_alloc_adminq_asq_ring()
45 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.arq.desc_buf, in iavf_alloc_adminq_arq_ring()
63 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf); in iavf_free_adminq_asq()
75 iavf_free_dma_mem(hw, &hw->aq.arq.desc_buf); in iavf_free_adminq_arq()
200 iavf_free_dma_mem(hw, &hw->aq.arq.desc_buf); in iavf_free_arq_bufs()
223 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf); in iavf_free_asq_bufs()
247 wr32(hw, IAVF_VF_ATQBAL1, lower_32_bits(hw->aq.asq.desc_buf.pa)); in iavf_config_asq_regs()
248 wr32(hw, IAVF_VF_ATQBAH1, upper_32_bits(hw->aq.asq.desc_buf.pa)); in iavf_config_asq_regs()
252 if (reg != lower_32_bits(hw->aq.asq.desc_buf.pa)) in iavf_config_asq_regs()
[all …]
H A Diavf_adminq.h12 (&(((struct iavf_aq_desc *)((R).desc_buf.va))[i]))
18 struct iavf_dma_mem desc_buf; /* descriptor ring memory */ member
/linux/arch/sparc/kernel/
H A Dviohs.c93 BUG_ON(!vio->desc_buf); in flush_rx_dring()
94 kfree(vio->desc_buf); in flush_rx_dring()
95 vio->desc_buf = NULL; in flush_rx_dring()
152 kfree(vio->desc_buf); in handshake_failure()
153 vio->desc_buf = NULL; in handshake_failure()
452 BUG_ON(vio->desc_buf); in process_dreg_info()
455 if (!vio->desc_buf) in process_dreg_info()
574 kfree(vio->desc_buf); in process_dunreg()
575 vio->desc_buf = NULL; in process_dunreg()
759 kfree(vio->desc_buf); in vio_ldc_free()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq.c19 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.asq.desc_buf, in i40e_alloc_adminq_asq_ring()
30 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf); in i40e_alloc_adminq_asq_ring()
45 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.arq.desc_buf, in i40e_alloc_adminq_arq_ring()
62 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf); in i40e_free_adminq_asq()
74 i40e_free_dma_mem(hw, &hw->aq.arq.desc_buf); in i40e_free_adminq_arq()
195 i40e_free_dma_mem(hw, &hw->aq.arq.desc_buf); in i40e_free_arq_bufs()
218 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf); in i40e_free_asq_bufs()
242 wr32(hw, I40E_PF_ATQBAL, lower_32_bits(hw->aq.asq.desc_buf.pa)); in i40e_config_asq_regs()
243 wr32(hw, I40E_PF_ATQBAH, upper_32_bits(hw->aq.asq.desc_buf.pa)); in i40e_config_asq_regs()
247 if (reg != lower_32_bits(hw->aq.asq.desc_buf.pa)) in i40e_config_asq_regs()
[all …]
H A Di40e_adminq.h12 (&(((struct i40e_aq_desc *)((R).desc_buf.va))[i]))
18 struct i40e_dma_mem desc_buf; /* descriptor ring memory */ member
/linux/sound/pci/
H A Datiixp_modem.c207 struct snd_dma_buffer desc_buf; member
322 if (dma->desc_buf.area == NULL) { in atiixp_build_dma_packets()
324 ATI_DESC_LIST_SIZE, &dma->desc_buf) < 0) in atiixp_build_dma_packets()
341 desc_addr = (u32)dma->desc_buf.addr; in atiixp_build_dma_packets()
344 desc = &((struct atiixp_dma_desc *)dma->desc_buf.area)[i]; in atiixp_build_dma_packets()
350 desc->next = cpu_to_le32((u32)dma->desc_buf.addr); in atiixp_build_dma_packets()
356 writel((u32)dma->desc_buf.addr | ATI_REG_LINKPTR_EN, in atiixp_build_dma_packets()
372 if (dma->desc_buf.area) { in atiixp_clear_dma_packets()
374 snd_dma_free_pages(&dma->desc_buf); in atiixp_clear_dma_packets()
375 dma->desc_buf.area = NULL; in atiixp_clear_dma_packets()
H A Datiixp.c231 struct snd_dma_buffer desc_buf; member
353 if (dma->desc_buf.area == NULL) { in atiixp_build_dma_packets()
357 &dma->desc_buf) < 0) in atiixp_build_dma_packets()
374 desc_addr = (u32)dma->desc_buf.addr; in atiixp_build_dma_packets()
377 desc = &((struct atiixp_dma_desc *)dma->desc_buf.area)[i]; in atiixp_build_dma_packets()
383 desc->next = cpu_to_le32((u32)dma->desc_buf.addr); in atiixp_build_dma_packets()
389 writel((u32)dma->desc_buf.addr | ATI_REG_LINKPTR_EN, in atiixp_build_dma_packets()
404 if (dma->desc_buf.area) { in atiixp_clear_dma_packets()
406 snd_dma_free_pages(&dma->desc_buf); in atiixp_clear_dma_packets()
407 dma->desc_buf.area = NULL; in atiixp_clear_dma_packets()
[all …]
/linux/drivers/ufs/core/
H A Dufs-sysfs.c895 u8 desc_buf[8] = {0}; in ufs_sysfs_read_desc_param() local
909 param_offset, desc_buf, param_size); in ufs_sysfs_read_desc_param()
922 get_unaligned_be16(desc_buf)); in ufs_sysfs_read_desc_param()
926 get_unaligned_be32(desc_buf)); in ufs_sysfs_read_desc_param()
930 get_unaligned_be64(desc_buf)); in ufs_sysfs_read_desc_param()
1276 u8 *desc_buf; \
1284 if (!desc_buf) { \
1291 0, 0, desc_buf, &desc_len); \
1297 kfree(desc_buf); \
1298 desc_buf = NULL; \
[all …]
H A Dufshcd.c3542 if (!desc_buf) { in __ufshcd_query_descriptor()
3645 u8 *desc_buf; in ufshcd_read_desc_param() local
3656 if (!desc_buf) in ufshcd_read_desc_param()
5135 u8 *desc_buf; in ufshcd_lu_init() local
5139 if (!desc_buf) in ufshcd_lu_init()
5173 kfree(desc_buf); in ufshcd_lu_init()
7913 u8 *desc_buf; in ufshcd_set_active_icc_lvl() local
7917 if (!desc_buf) in ufshcd_set_active_icc_lvl()
7941 kfree(desc_buf); in ufshcd_set_active_icc_lvl()
8277 u8 *desc_buf; in ufs_get_device_desc() local
[all …]
H A Dufshcd-priv.h49 u8 *desc_buf, int *buf_len);
/linux/fs/smb/server/
H A Dtransport_rdma.c1365 char *desc_buf; in smb_direct_rdma_xmit() local
1377 desc_buf = buf; in smb_direct_rdma_xmit()
1392 credits_needed += calc_rw_credits(t, desc_buf, desc_buf_len); in smb_direct_rdma_xmit()
1393 desc_buf += desc_buf_len; in smb_direct_rdma_xmit()
1406 desc_buf = buf; in smb_direct_rdma_xmit()
1423 get_buf_page_count(desc_buf, desc_buf_len), in smb_direct_rdma_xmit()
1431 ret = get_sg_list(desc_buf, desc_buf_len, in smb_direct_rdma_xmit()
1441 get_buf_page_count(desc_buf, desc_buf_len), in smb_direct_rdma_xmit()
1454 desc_buf += desc_buf_len; in smb_direct_rdma_xmit()
/linux/arch/sparc/include/asm/
H A Dvio.h425 void *desc_buf; member
/linux/drivers/net/ethernet/micrel/
H A Dksz884x.c858 union desc_buf { union
873 union desc_buf buf;
886 union desc_buf buf;
/linux/drivers/net/ethernet/sun/
H A Dsunvnet_common.c523 struct vio_net_desc *desc = port->vio.desc_buf; in get_rx_desc()