/linux-6.1.9/drivers/scsi/fnic/ |
D | vnic_wq_copy.h | 31 return wq->ring.desc_count - 1 - wq->ring.desc_avail; in vnic_wq_copy_desc_in_use() 43 ((wq->to_use_index + 1) == wq->ring.desc_count) ? in vnic_wq_copy_post() 64 cnt = wq->ring.desc_count - wq->to_clean_index + index + 1; in vnic_wq_copy_desc_process() 66 wq->to_clean_index = ((index + 1) % wq->ring.desc_count); in vnic_wq_copy_desc_process() 91 ((wq->to_clean_index + 1) == wq->ring.desc_count) ? in vnic_wq_copy_service() 108 unsigned int index, unsigned int desc_count, unsigned int desc_size);
|
D | vnic_wq.c | 29 unsigned int desc_count, unsigned int desc_size) in vnic_wq_alloc_ring() argument 31 return vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in vnic_wq_alloc_ring() 38 unsigned int i, j, count = wq->ring.desc_count; in vnic_wq_alloc_bufs() 91 unsigned int desc_count, unsigned int desc_size) in vnic_wq_alloc() argument 106 err = vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in vnic_wq_alloc() 121 unsigned int desc_count, unsigned int desc_size) in vnic_wq_devcmd2_alloc() argument 135 err = vnic_wq_alloc_ring(vdev, wq, desc_count, desc_size); in vnic_wq_devcmd2_alloc() 147 unsigned int count = wq->ring.desc_count; in vnic_wq_init_start() 173 iowrite32(wq->ring.desc_count, &wq->ctrl->ring_size); in vnic_wq_init()
|
D | vnic_cq.c | 20 unsigned int desc_count, unsigned int desc_size) in vnic_cq_alloc() argument 33 err = vnic_dev_alloc_desc_ring(vdev, &cq->ring, desc_count, desc_size); in vnic_cq_alloc() 50 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size); in vnic_cq_init()
|
D | vnic_wq_copy.c | 67 unsigned int index, unsigned int desc_count, in vnic_wq_copy_alloc() argument 81 return vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in vnic_wq_copy_alloc() 92 iowrite32(wq->ring.desc_count, &wq->ctrl->ring_size); in vnic_wq_copy_init()
|
D | vnic_rq.c | 18 unsigned int i, j, count = rq->ring.desc_count; in vnic_rq_alloc_bufs() 71 unsigned int desc_count, unsigned int desc_size) in vnic_rq_alloc() argument 86 err = vnic_dev_alloc_desc_ring(vdev, &rq->ring, desc_count, desc_size); in vnic_rq_alloc() 108 iowrite32(rq->ring.desc_count, &rq->ctrl->ring_size); in vnic_rq_init()
|
D | vnic_wq.h | 95 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used() 155 unsigned int desc_count, unsigned int desc_size); 157 unsigned int desc_count, unsigned int desc_size);
|
D | vnic_dev.h | 93 unsigned int desc_count; member 106 unsigned int desc_count, 110 unsigned int desc_count, unsigned int desc_size);
|
D | vnic_dev.c | 174 unsigned int desc_count, in vnic_dev_desc_ring_size() argument 188 if (desc_count == 0) in vnic_dev_desc_ring_size() 189 desc_count = 4096; in vnic_dev_desc_ring_size() 191 ring->desc_count = ALIGN(desc_count, count_align); in vnic_dev_desc_ring_size() 195 ring->size = ring->desc_count * ring->desc_size; in vnic_dev_desc_ring_size() 207 unsigned int desc_count, unsigned int desc_size) in vnic_dev_alloc_desc_ring() argument 209 vnic_dev_desc_ring_size(ring, desc_count, desc_size); in vnic_dev_alloc_desc_ring() 229 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
|
D | vnic_cq.h | 81 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_service() 101 unsigned int desc_count, unsigned int desc_size);
|
/linux-6.1.9/drivers/scsi/snic/ |
D | vnic_wq.c | 23 unsigned int index, unsigned int desc_count, unsigned int desc_size) in vnic_wq_alloc_ring() argument 25 return svnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, in vnic_wq_alloc_ring() 32 unsigned int i, j, count = wq->ring.desc_count; in vnic_wq_alloc_bufs() 86 unsigned int desc_count, unsigned int desc_size) in vnic_wq_devcmd2_alloc() argument 102 err = vnic_wq_alloc_ring(vdev, wq, 0, desc_count, desc_size); in vnic_wq_devcmd2_alloc() 110 unsigned int index, unsigned int desc_count, unsigned int desc_size) in svnic_wq_alloc() argument 126 err = vnic_wq_alloc_ring(vdev, wq, index, desc_count, desc_size); in svnic_wq_alloc() 146 unsigned int count = wq->ring.desc_count; in vnic_wq_init_start()
|
D | vnic_cq.c | 18 unsigned int index, unsigned int desc_count, unsigned int desc_size) in svnic_cq_alloc() argument 30 return svnic_dev_alloc_desc_ring(vdev, &cq->ring, desc_count, desc_size); in svnic_cq_alloc() 43 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size); in svnic_cq_init()
|
D | vnic_dev.h | 49 unsigned int desc_count; member 62 unsigned int desc_count, 66 unsigned int desc_count, unsigned int desc_size);
|
D | vnic_dev.c | 177 unsigned int desc_count, in svnic_dev_desc_ring_size() argument 191 if (desc_count == 0) in svnic_dev_desc_ring_size() 192 desc_count = 4096; in svnic_dev_desc_ring_size() 194 ring->desc_count = ALIGN(desc_count, count_align); in svnic_dev_desc_ring_size() 198 ring->size = ring->desc_count * ring->desc_size; in svnic_dev_desc_ring_size() 210 unsigned int desc_count, unsigned int desc_size) in svnic_dev_alloc_desc_ring() argument 212 svnic_dev_desc_ring_size(ring, desc_count, desc_size); in svnic_dev_alloc_desc_ring() 231 ring->desc_avail = ring->desc_count - 1; in svnic_dev_alloc_desc_ring()
|
D | vnic_wq.h | 80 return wq->ring.desc_count - wq->ring.desc_avail - 1; in svnic_wq_desc_used() 140 unsigned int index, unsigned int desc_count, unsigned int desc_size); 142 unsigned int desc_count, unsigned int desc_size);
|
D | vnic_cq.h | 69 if (cq->to_clean == cq->ring.desc_count) { in svnic_cq_service() 89 unsigned int index, unsigned int desc_count, unsigned int desc_size);
|
/linux-6.1.9/drivers/net/ethernet/cisco/enic/ |
D | vnic_rq.c | 21 unsigned int i, j, count = rq->ring.desc_count; in vnic_rq_alloc_bufs() 73 unsigned int desc_count, unsigned int desc_size) in vnic_rq_alloc() argument 88 err = vnic_dev_alloc_desc_ring(vdev, &rq->ring, desc_count, desc_size); in vnic_rq_alloc() 107 unsigned int count = rq->ring.desc_count; in vnic_rq_init_start() 176 unsigned int count = rq->ring.desc_count; in vnic_rq_clean() 181 for (i = 0; i < rq->ring.desc_count; i++) { in vnic_rq_clean() 185 rq->ring.desc_avail = rq->ring.desc_count - 1; in vnic_rq_clean()
|
D | vnic_wq.c | 21 unsigned int i, j, count = wq->ring.desc_count; in vnic_wq_alloc_bufs() 76 unsigned int desc_count, unsigned int desc_size) in vnic_wq_alloc() argument 91 err = vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in vnic_wq_alloc() 105 unsigned int desc_count, unsigned int desc_size) in enic_wq_devcmd2_alloc() argument 116 err = vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in enic_wq_devcmd2_alloc() 127 unsigned int count = wq->ring.desc_count; in enic_wq_init_start()
|
D | vnic_cq.c | 24 unsigned int desc_count, unsigned int desc_size) in vnic_cq_alloc() argument 35 return vnic_dev_alloc_desc_ring(vdev, &cq->ring, desc_count, desc_size); in vnic_cq_alloc() 48 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size); in vnic_cq_init()
|
D | vnic_wq.h | 99 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used() 167 unsigned int desc_count, unsigned int desc_size); 177 unsigned int desc_count, unsigned int desc_size);
|
D | vnic_cq.h | 82 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_service() 102 unsigned int desc_count, unsigned int desc_size);
|
/linux-6.1.9/sound/soc/sof/amd/ |
D | acp.c | 121 unsigned int desc_count, index; in configure_and_run_dma() local 124 for (desc_count = 0; desc_count < ACP_MAX_DESC && dsp_data_size >= 0; in configure_and_run_dma() 125 desc_count++, dsp_data_size -= ACP_PAGE_SIZE) { in configure_and_run_dma() 126 adata->dscr_info[desc_count].src_addr = src_addr + desc_count * ACP_PAGE_SIZE; in configure_and_run_dma() 127 adata->dscr_info[desc_count].dest_addr = dest_addr + desc_count * ACP_PAGE_SIZE; in configure_and_run_dma() 128 adata->dscr_info[desc_count].tx_cnt.bits.count = ACP_PAGE_SIZE; in configure_and_run_dma() 130 adata->dscr_info[desc_count].tx_cnt.bits.count = dsp_data_size; in configure_and_run_dma() 133 ret = acpbus_dma_start(adata, 0, desc_count, adata->dscr_info); in configure_and_run_dma() 138 for (index = 0; index < desc_count; index++) in configure_and_run_dma()
|
/linux-6.1.9/fs/orangefs/ |
D | orangefs-bufmap.c | 150 int desc_count; member 225 bufmap->desc_count = user_desc->count; in orangefs_bufmap_alloc() 229 bufmap->buffer_index_array = bitmap_zalloc(bufmap->desc_count, GFP_KERNEL); in orangefs_bufmap_alloc() 234 kcalloc(bufmap->desc_count, sizeof(struct orangefs_bufmap_desc), in orangefs_bufmap_alloc() 294 for (offset = 0, i = 0; i < bufmap->desc_count; i++) { in orangefs_bufmap_map() 381 bufmap->desc_count, in orangefs_bufmap_initialize()
|
/linux-6.1.9/fs/ext2/ |
D | ialloc.c | 618 unsigned long desc_count = 0; in ext2_count_free_inodes() local 633 desc_count += le16_to_cpu(desc->bg_free_inodes_count); in ext2_count_free_inodes() 648 desc_count, bitmap_count); in ext2_count_free_inodes() 649 return desc_count; in ext2_count_free_inodes() 655 desc_count += le16_to_cpu(desc->bg_free_inodes_count); in ext2_count_free_inodes() 657 return desc_count; in ext2_count_free_inodes()
|
/linux-6.1.9/fs/ext4/ |
D | balloc.c | 722 ext4_fsblk_t desc_count; in ext4_count_free_clusters() local 734 desc_count = 0; in ext4_count_free_clusters() 746 desc_count += ext4_free_group_clusters(sb, gdp); in ext4_count_free_clusters() 764 desc_count, bitmap_count); in ext4_count_free_clusters() 767 desc_count = 0; in ext4_count_free_clusters() 776 desc_count += ext4_free_group_clusters(sb, gdp); in ext4_count_free_clusters() 779 return desc_count; in ext4_count_free_clusters()
|
/linux-6.1.9/sound/firewire/motu/ |
D | motu-command-dsp-message-parser.c | 84 unsigned int desc_count, unsigned int data_block_quadlets) in snd_motu_command_dsp_message_parser_parse() argument 93 for (i = 0; i < desc_count; ++i) { in snd_motu_command_dsp_message_parser_parse()
|