Home
last modified time | relevance | path

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

/linux/drivers/media/pci/pt3/
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()
A Dpt3.h134 struct xfer_desc_buffer desc_buf[MAX_DESC_BUFS]; member
/linux/drivers/net/ethernet/intel/ice/
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()
106 cq->sq.desc_buf.va, cq->sq.desc_buf.pa); in ice_alloc_ctrlq_sq_ring()
108 cq->sq.desc_buf.pa = 0; in ice_alloc_ctrlq_sq_ring()
109 cq->sq.desc_buf.size = 0; in ice_alloc_ctrlq_sq_ring()
127 &cq->rq.desc_buf.pa, in ice_alloc_ctrlq_rq_ring()
129 if (!cq->rq.desc_buf.va) in ice_alloc_ctrlq_rq_ring()
146 ring->desc_buf.va, ring->desc_buf.pa); in ice_free_cq_ring()
147 ring->desc_buf.va = NULL; in ice_free_cq_ring()
148 ring->desc_buf.pa = 0; in ice_free_cq_ring()
[all …]
A Dice_controlq.h15 (&(((struct ice_aq_desc *)((R).desc_buf.va))[i]))
44 struct ice_dma_mem desc_buf; /* descriptor ring memory */ member
/linux/sound/pci/cs5535audio/
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()
134 desc_addr = (u32) dma->desc_buf.addr; in cs5535audio_build_dma_packets()
137 &((struct cs5535audio_dma_desc *) dma->desc_buf.area)[i]; in cs5535audio_build_dma_packets()
145 lastdesc = &((struct cs5535audio_dma_desc *) dma->desc_buf.area)[periods]; in cs5535audio_build_dma_packets()
146 lastdesc->addr = cpu_to_le32((u32) dma->desc_buf.addr); in cs5535audio_build_dma_packets()
149 jmpprd_addr = (u32)dma->desc_buf.addr + in cs5535audio_build_dma_packets()
228 snd_dma_free_pages(&dma->desc_buf); in cs5535audio_clear_dma_packets()
229 dma->desc_buf.area = NULL; in cs5535audio_clear_dma_packets()
A Dcs5535audio.h77 struct snd_dma_buffer desc_buf; member
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_adminq.c39 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.asq.desc_buf, in iavf_alloc_adminq_asq_ring()
51 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf); in iavf_alloc_adminq_asq_ring()
66 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.arq.desc_buf, in iavf_alloc_adminq_arq_ring()
84 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf); in iavf_free_adminq_asq()
96 iavf_free_dma_mem(hw, &hw->aq.arq.desc_buf); in iavf_free_adminq_arq()
221 iavf_free_dma_mem(hw, &hw->aq.arq.desc_buf); in iavf_free_arq_bufs()
244 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf); in iavf_free_asq_bufs()
268 wr32(hw, hw->aq.asq.bal, lower_32_bits(hw->aq.asq.desc_buf.pa)); in iavf_config_asq_regs()
269 wr32(hw, hw->aq.asq.bah, upper_32_bits(hw->aq.asq.desc_buf.pa)); in iavf_config_asq_regs()
273 if (reg != lower_32_bits(hw->aq.asq.desc_buf.pa)) in iavf_config_asq_regs()
[all …]
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/
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/
A Di40e_adminq.c54 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.asq.desc_buf, in i40e_alloc_adminq_asq_ring()
66 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf); in i40e_alloc_adminq_asq_ring()
81 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.arq.desc_buf, in i40e_alloc_adminq_arq_ring()
99 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf); in i40e_free_adminq_asq()
111 i40e_free_dma_mem(hw, &hw->aq.arq.desc_buf); in i40e_free_adminq_arq()
234 i40e_free_dma_mem(hw, &hw->aq.arq.desc_buf); in i40e_free_arq_bufs()
257 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf); in i40e_free_asq_bufs()
281 wr32(hw, hw->aq.asq.bal, lower_32_bits(hw->aq.asq.desc_buf.pa)); in i40e_config_asq_regs()
282 wr32(hw, hw->aq.asq.bah, upper_32_bits(hw->aq.asq.desc_buf.pa)); in i40e_config_asq_regs()
286 if (reg != lower_32_bits(hw->aq.asq.desc_buf.pa)) in i40e_config_asq_regs()
[all …]
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/drivers/scsi/ufs/
A Dufs-sysfs.c524 u8 desc_buf[8] = {0}; in ufs_sysfs_read_desc_param() local
538 param_offset, desc_buf, param_size); in ufs_sysfs_read_desc_param()
551 get_unaligned_be16(desc_buf)); in ufs_sysfs_read_desc_param()
555 get_unaligned_be32(desc_buf)); in ufs_sysfs_read_desc_param()
559 get_unaligned_be64(desc_buf)); in ufs_sysfs_read_desc_param()
917 u8 *desc_buf; \
925 if (!desc_buf) { \
932 0, 0, desc_buf, &desc_len); \
938 kfree(desc_buf); \
939 desc_buf = NULL; \
[all …]
A Dufshcd.c3211 if (!desc_buf) { in __ufshcd_query_descriptor()
3346 u8 *desc_buf; in ufshcd_read_desc_param() local
3370 if (!desc_buf) in ufshcd_read_desc_param()
7344 u8 *desc_buf; in ufshcd_set_active_icc_lvl() local
7348 if (!desc_buf) in ufshcd_set_active_icc_lvl()
7373 kfree(desc_buf); in ufshcd_set_active_icc_lvl()
7573 u8 *desc_buf; in ufs_get_device_desc() local
7577 if (!desc_buf) { in ufs_get_device_desc()
7644 kfree(desc_buf); in ufs_get_device_desc()
7831 u8 *desc_buf; in ufshcd_device_geo_params_init() local
[all …]
A Dufshpb.h299 static void ufshpb_get_dev_info(struct ufs_hba *hba, u8 *desc_buf) {} in ufshpb_get_dev_info() argument
314 void ufshpb_get_dev_info(struct ufs_hba *hba, u8 *desc_buf);
A Dufshpb.c2368 char desc_buf[QUERY_DESC_MAX_SIZE]; in ufshpb_get_lu_info() local
2375 desc_buf, &size); in ufshpb_get_lu_info()
2385 lu_enable = desc_buf[UNIT_DESC_PARAM_LU_ENABLE]; in ufshpb_get_lu_info()
2390 desc_buf + UNIT_DESC_PARAM_HPB_LU_MAX_ACTIVE_RGNS); in ufshpb_get_lu_info()
2398 desc_buf + UNIT_DESC_PARAM_LOGICAL_BLK_COUNT); in ufshpb_get_lu_info()
2400 desc_buf + UNIT_DESC_PARAM_HPB_PIN_RGN_START_OFF); in ufshpb_get_lu_info()
2402 desc_buf + UNIT_DESC_PARAM_HPB_NUM_PIN_RGNS); in ufshpb_get_lu_info()
2579 void ufshpb_get_dev_info(struct ufs_hba *hba, u8 *desc_buf) in ufshpb_get_dev_info() argument
2585 hpb_dev_info->control_mode = desc_buf[DEVICE_DESC_PARAM_HPB_CONTROL]; in ufshpb_get_dev_info()
2587 version = get_unaligned_be16(desc_buf + DEVICE_DESC_PARAM_HPB_VER); in ufshpb_get_dev_info()
[all …]
A Dufshcd.h1172 u8 *desc_buf, int *buf_len);
/linux/sound/pci/
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()
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/arch/sparc/include/asm/
A Dvio.h425 void *desc_buf; member
/linux/drivers/net/ethernet/micrel/
A Dksz884x.c858 union desc_buf { union
873 union desc_buf buf;
886 union desc_buf buf;
/linux/drivers/net/ethernet/sun/
A Dsunvnet_common.c522 struct vio_net_desc *desc = port->vio.desc_buf; in get_rx_desc()

Completed in 75 milliseconds