Searched refs:qidx (Results 1 – 3 of 3) sorted by relevance
/u-boot/drivers/net/octeontx/ |
A D | nicvf_queues.c | 552 for (qidx = 0; qidx < qs->rbdr_cnt; qidx++) in nicvf_free_resources() 556 for (qidx = 0; qidx < qs->cq_cnt; qidx++) in nicvf_free_resources() 560 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_free_resources() 577 for (qidx = 0; qidx < qs->sq_cnt; qidx++) { in nicvf_alloc_resources() 583 for (qidx = 0; qidx < qs->cq_cnt; qidx++) { in nicvf_alloc_resources() 633 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_config_data_transfer() 635 for (qidx = 0; qidx < qs->cq_cnt; qidx++) in nicvf_config_data_transfer() 639 for (qidx = 0; qidx < qs->rq_cnt; qidx++) in nicvf_config_data_transfer() 642 for (qidx = 0; qidx < qs->rq_cnt; qidx++) in nicvf_config_data_transfer() 646 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_config_data_transfer() [all …]
|
A D | nicvf_main.c | 32 u64 qidx, u64 val) in nicvf_queue_reg_write() argument 36 writeq(val, (void *)(addr + (qidx << NIC_Q_NUM_SHIFT))); in nicvf_queue_reg_write() 39 u64 nicvf_queue_reg_read(struct nicvf *nic, u64 offset, u64 qidx) in nicvf_queue_reg_read() argument 43 return readq((void *)(addr + (qidx << NIC_Q_NUM_SHIFT))); in nicvf_queue_reg_read() 321 int qidx; in nicvf_handle_qs_err() local 325 for (qidx = 0; qidx < qs->cq_cnt; qidx++) { in nicvf_handle_qs_err() 327 qidx); in nicvf_handle_qs_err() 331 nicvf_sq_disable(nic, qidx); in nicvf_handle_qs_err() 332 nicvf_cmp_queue_config(nic, qs, qidx, true); in nicvf_handle_qs_err() 333 nicvf_sq_free_used_descs(nic->dev, &qs->sq[qidx], qidx); in nicvf_handle_qs_err() [all …]
|
A D | nicvf_queues.h | 320 int qidx, bool enable); 322 void nicvf_sq_enable(struct nicvf *nic, struct snd_queue *sq, int qidx); 323 void nicvf_sq_disable(struct nicvf *nic, int qidx); 326 struct snd_queue *sq, int qidx); 343 u64 qidx, u64 val); 344 u64 nicvf_queue_reg_read(struct nicvf *nic, u64 offset, u64 qidx);
|
Completed in 13 milliseconds