Home
last modified time | relevance | path

Searched refs:fetch_index (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/cisco/enic/
Dvnic_rq.c115 unsigned int fetch_index, unsigned int posted_index, in vnic_rq_init_start() argument
130 iowrite32(fetch_index, &rq->ctrl->fetch_index); in vnic_rq_init_start()
134 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_init_start()
135 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_init_start()
188 u32 fetch_index; in vnic_rq_clean() local
201 fetch_index = ioread32(&rq->ctrl->fetch_index); in vnic_rq_clean()
203 if (fetch_index == 0xFFFFFFFF) { /* check for hardware gone */ in vnic_rq_clean()
205 fetch_index = 0; in vnic_rq_clean()
208 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_clean()
209 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_clean()
[all …]
Dvnic_wq.c135 unsigned int fetch_index, unsigned int posted_index, in enic_wq_init_start() argument
145 iowrite32(fetch_index, &wq->ctrl->fetch_index); in enic_wq_init_start()
153 &wq->bufs[fetch_index / VNIC_WQ_BUF_BLK_ENTRIES(count)] in enic_wq_init_start()
154 [fetch_index % VNIC_WQ_BUF_BLK_ENTRIES(count)]; in enic_wq_init_start()
212 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_clean()
Dvnic_dev.c305 u32 fetch_index, new_posted; in _vnic_dev_cmd2() local
308 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in _vnic_dev_cmd2()
310 if (fetch_index == 0xFFFFFFFF) in _vnic_dev_cmd2()
315 if (new_posted == fetch_index) { in _vnic_dev_cmd2()
317 _CMD_N(cmd), fetch_index, posted); in _vnic_dev_cmd2()
386 unsigned int fetch_index; in vnic_dev_init_devcmd2() local
402 fetch_index = ioread32(&vdev->devcmd2->wq.ctrl->fetch_index); in vnic_dev_init_devcmd2()
403 if (fetch_index == 0xFFFFFFFF) { /* check for hardware gone */ in vnic_dev_init_devcmd2()
409 enic_wq_init_start(&vdev->devcmd2->wq, 0, fetch_index, fetch_index, 0, in vnic_dev_init_devcmd2()
411 vdev->devcmd2->posted = fetch_index; in vnic_dev_init_devcmd2()
Dvnic_wq.h41 u32 fetch_index; /* 0x30 */ member
192 unsigned int fetch_index, unsigned int posted_index,
Dvnic_rq.h42 u32 fetch_index; /* 0x30 */ member
/Linux-v4.19/drivers/scsi/fnic/
Dvnic_rq.c119 u32 fetch_index; in vnic_rq_init() local
131 fetch_index = ioread32(&rq->ctrl->fetch_index); in vnic_rq_init()
133 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_init()
134 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_init()
135 iowrite32(fetch_index, &rq->ctrl->posted_index); in vnic_rq_init()
172 u32 fetch_index; in vnic_rq_clean() local
187 fetch_index = ioread32(&rq->ctrl->fetch_index); in vnic_rq_clean()
189 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_clean()
190 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_clean()
191 iowrite32(fetch_index, &rq->ctrl->posted_index); in vnic_rq_clean()
Dvnic_wq_copy.c45 wq->index, ioread32(&wq->ctrl->fetch_index), in vnic_wq_copy_disable()
62 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_copy_clean()
111 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_copy_init()
Dvnic_wq.c123 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_init()
178 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_clean()
Dvnic_wq.h55 u32 fetch_index; /* 0x30 */ member
Dvnic_rq.h60 u32 fetch_index; /* 0x30 */ member
/Linux-v4.19/drivers/scsi/snic/
Dvnic_wq.c155 unsigned int fetch_index, unsigned int posted_index, in vnic_wq_init_start() argument
165 iowrite32(fetch_index, &wq->ctrl->fetch_index); in vnic_wq_init_start()
173 &wq->bufs[fetch_index / VNIC_WQ_BUF_BLK_ENTRIES(count)] in vnic_wq_init_start()
174 [fetch_index % VNIC_WQ_BUF_BLK_ENTRIES(count)]; in vnic_wq_init_start()
232 iowrite32(0, &wq->ctrl->fetch_index); in svnic_wq_clean()
Dvnic_wq.h38 u32 fetch_index; /* 0x30 */ member
158 unsigned int fetch_index, unsigned int post_index,
Dvnic_dev.c275 fetch_idx = ioread32(&dc2c->wq_ctrl->fetch_index); in _svnic_dev_cmd2()
386 fetch_idx = ioread32(&dc2c->wq.ctrl->fetch_index); in svnic_dev_init_devcmd2()