/linux-6.6.21/drivers/net/ethernet/cisco/enic/ |
D | vnic_rq.c | 102 unsigned int fetch_index, unsigned int posted_index, in vnic_rq_init_start() argument 117 iowrite32(fetch_index, &rq->ctrl->fetch_index); in vnic_rq_init_start() 121 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_init_start() 122 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_init_start() 175 u32 fetch_index; in vnic_rq_clean() local 188 fetch_index = ioread32(&rq->ctrl->fetch_index); in vnic_rq_clean() 190 if (fetch_index == 0xFFFFFFFF) { /* check for hardware gone */ in vnic_rq_clean() 192 fetch_index = 0; in vnic_rq_clean() 195 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_clean() 196 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_clean() [all …]
|
D | vnic_wq.c | 122 unsigned int fetch_index, unsigned int posted_index, in enic_wq_init_start() argument 132 iowrite32(fetch_index, &wq->ctrl->fetch_index); in enic_wq_init_start() 140 &wq->bufs[fetch_index / VNIC_WQ_BUF_BLK_ENTRIES(count)] in enic_wq_init_start() 141 [fetch_index % VNIC_WQ_BUF_BLK_ENTRIES(count)]; in enic_wq_init_start() 199 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_clean()
|
D | vnic_dev.c | 292 u32 fetch_index, new_posted; in _vnic_dev_cmd2() local 295 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in _vnic_dev_cmd2() 297 if (fetch_index == 0xFFFFFFFF) in _vnic_dev_cmd2() 302 if (new_posted == fetch_index) { in _vnic_dev_cmd2() 304 _CMD_N(cmd), fetch_index, posted); in _vnic_dev_cmd2() 373 unsigned int fetch_index; in vnic_dev_init_devcmd2() local 389 fetch_index = ioread32(&vdev->devcmd2->wq.ctrl->fetch_index); in vnic_dev_init_devcmd2() 390 if (fetch_index == 0xFFFFFFFF) { /* check for hardware gone */ in vnic_dev_init_devcmd2() 396 enic_wq_init_start(&vdev->devcmd2->wq, 0, fetch_index, fetch_index, 0, in vnic_dev_init_devcmd2() 398 vdev->devcmd2->posted = fetch_index; in vnic_dev_init_devcmd2()
|
D | vnic_wq.h | 28 u32 fetch_index; /* 0x30 */ member 179 unsigned int fetch_index, unsigned int posted_index,
|
D | vnic_rq.h | 29 u32 fetch_index; /* 0x30 */ member
|
/linux-6.6.21/drivers/scsi/fnic/ |
D | vnic_rq.c | 104 u32 fetch_index; in vnic_rq_init() local 116 fetch_index = ioread32(&rq->ctrl->fetch_index); in vnic_rq_init() 118 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_init() 119 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_init() 120 iowrite32(fetch_index, &rq->ctrl->posted_index); in vnic_rq_init() 157 u32 fetch_index; in vnic_rq_clean() local 172 fetch_index = ioread32(&rq->ctrl->fetch_index); in vnic_rq_clean() 174 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_clean() 175 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_clean() 176 iowrite32(fetch_index, &rq->ctrl->posted_index); in vnic_rq_clean()
|
D | vnic_wq.c | 142 unsigned int fetch_index, unsigned int posted_index, in vnic_wq_init_start() argument 152 iowrite32(fetch_index, &wq->ctrl->fetch_index); in vnic_wq_init_start() 160 &wq->bufs[fetch_index / VNIC_WQ_BUF_BLK_ENTRIES] in vnic_wq_init_start() 161 [fetch_index % VNIC_WQ_BUF_BLK_ENTRIES]; in vnic_wq_init_start() 174 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_init() 229 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_clean()
|
D | vnic_dev.c | 316 u32 fetch_index; in vnic_dev_cmd2() local 321 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in vnic_dev_cmd2() 323 if (posted == 0xFFFFFFFF || fetch_index == 0xFFFFFFFF) { in vnic_dev_cmd2() 328 pci_name(vdev->pdev), fetch_index, posted); in vnic_dev_cmd2() 336 if (new_posted == fetch_index) { in vnic_dev_cmd2() 340 pci_name(vdev->pdev), fetch_index, posted); in vnic_dev_cmd2() 416 unsigned int fetch_index; in vnic_dev_init_devcmd2() local 432 fetch_index = ioread32(&vdev->devcmd2->wq.ctrl->fetch_index); in vnic_dev_init_devcmd2() 433 if (fetch_index == 0xFFFFFFFF) { /* check for hardware gone */ in vnic_dev_init_devcmd2() 444 vnic_wq_init_start(&vdev->devcmd2->wq, 0, fetch_index, in vnic_dev_init_devcmd2() [all …]
|
D | vnic_wq_copy.c | 33 wq->index, ioread32(&wq->ctrl->fetch_index), in vnic_wq_copy_disable() 50 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_copy_clean() 93 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_copy_init()
|
D | vnic_wq.h | 45 u32 fetch_index; /* 0x30 */ member 159 unsigned int fetch_index, unsigned int posted_index,
|
D | vnic_rq.h | 48 u32 fetch_index; /* 0x30 */ member
|
/linux-6.6.21/drivers/scsi/snic/ |
D | vnic_wq.c | 141 unsigned int fetch_index, unsigned int posted_index, in vnic_wq_init_start() argument 151 iowrite32(fetch_index, &wq->ctrl->fetch_index); in vnic_wq_init_start() 159 &wq->bufs[fetch_index / VNIC_WQ_BUF_BLK_ENTRIES(count)] in vnic_wq_init_start() 160 [fetch_index % VNIC_WQ_BUF_BLK_ENTRIES(count)]; in vnic_wq_init_start() 218 iowrite32(0, &wq->ctrl->fetch_index); in svnic_wq_clean()
|
D | vnic_wq.h | 24 u32 fetch_index; /* 0x30 */ member 144 unsigned int fetch_index, unsigned int post_index,
|
D | vnic_dev.c | 260 fetch_idx = ioread32(&dc2c->wq_ctrl->fetch_index); in _svnic_dev_cmd2() 371 fetch_idx = ioread32(&dc2c->wq.ctrl->fetch_index); in svnic_dev_init_devcmd2()
|
/linux-6.6.21/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 317 uint32_t num_pages, uint32_t *fetch_index) in dirty_ring_collect_one() argument 323 cur = &dirty_gfns[*fetch_index % test_dirty_ring_count]; in dirty_ring_collect_one() 334 (*fetch_index)++; in dirty_ring_collect_one()
|
/linux-6.6.21/tools/testing/selftests/kvm/include/ |
D | kvm_util_base.h | 72 uint32_t fetch_index; member
|