Searched refs:wqs (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_wq.c | 31 #define WQS_FREE_BLOCKS_SIZE(wqs) (WQS_MAX_NUM_BLOCKS * \ argument 32 sizeof((wqs)->free_blocks[0])) 44 #define WQ_BASE_VADDR(wqs, wq) \ argument 45 ((void *)((wqs)->page_vaddr[(wq)->page_idx]) \ 48 #define WQ_BASE_PADDR(wqs, wq) \ argument 49 ((wqs)->page_paddr[(wq)->page_idx] \ 52 #define WQ_BASE_ADDR(wqs, wq) \ argument 53 ((void *)((wqs)->shadow_page_vaddr[(wq)->page_idx]) \ 136 static int wqs_allocate_page(struct hinic_wqs *wqs, int page_idx) in wqs_allocate_page() argument 138 return queue_alloc_page(wqs->hwif, &wqs->page_vaddr[page_idx], in wqs_allocate_page() [all …]
|
D | hinic_hw_wq.h | 85 int hinic_wqs_alloc(struct hinic_wqs *wqs, int num_wqs, 88 void hinic_wqs_free(struct hinic_wqs *wqs); 90 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq, 94 void hinic_wq_free(struct hinic_wqs *wqs, struct hinic_wq *wq);
|
D | hinic_hw_io.c | 283 err = hinic_wq_allocate(&func_to_io->wqs, &func_to_io->sq_wq[q_id], in init_qp() 291 err = hinic_wq_allocate(&func_to_io->wqs, &func_to_io->rq_wq[q_id], in init_qp() 335 hinic_wq_free(&func_to_io->wqs, &func_to_io->rq_wq[q_id]); in init_qp() 338 hinic_wq_free(&func_to_io->wqs, &func_to_io->sq_wq[q_id]); in init_qp() 357 hinic_wq_free(&func_to_io->wqs, &func_to_io->rq_wq[q_id]); in destroy_qp() 358 hinic_wq_free(&func_to_io->wqs, &func_to_io->sq_wq[q_id]); in destroy_qp() 551 err = hinic_wqs_alloc(&func_to_io->wqs, 2 * max_qps, hwif); in hinic_io_init() 607 hinic_wqs_free(&func_to_io->wqs); in hinic_io_init() 633 hinic_wqs_free(&func_to_io->wqs); in hinic_io_free()
|
D | hinic_hw_io.h | 65 struct hinic_wqs wqs; member
|
/kernel/linux/linux-5.10/drivers/dma/idxd/ |
D | irq.c | 30 struct idxd_wq *wq = &idxd->wqs[i]; in idxd_device_reinit() 75 struct idxd_wq *wq = &idxd->wqs[id]; in process_misc_interrupts() 83 struct idxd_wq *wq = &idxd->wqs[i]; in process_misc_interrupts()
|
D | device.c | 450 struct idxd_wq *wq = &idxd->wqs[i]; in idxd_device_wqs_clear_state() 511 iowrite64(group->grpcfg.wqs[i], in idxd_group_config_write() 614 struct idxd_wq *wq = &idxd->wqs[i]; in idxd_wqs_config_write() 688 group->grpcfg.wqs[j] = 0; in idxd_wqs_setup() 692 wq = &idxd->wqs[i]; in idxd_wqs_setup() 705 group->grpcfg.wqs[wq->id / 64] |= BIT(wq->id % 64); in idxd_wqs_setup()
|
D | sysfs.c | 291 struct idxd_wq *wq = &idxd->wqs[i]; in idxd_config_bus_remove() 303 struct idxd_wq *wq = &idxd->wqs[i]; in idxd_config_bus_remove() 642 struct idxd_wq *wq = &idxd->wqs[i]; in group_work_queues_show() 897 struct idxd_wq *wq = &idxd->wqs[i]; in total_claimed_wq_size() 1313 struct idxd_wq *wq = &idxd->wqs[i]; in clients_show() 1534 struct idxd_wq *wq = &idxd->wqs[i]; in idxd_setup_wq_sysfs() 1554 struct idxd_wq *wq = &idxd->wqs[i]; in idxd_setup_wq_sysfs() 1624 struct idxd_wq *wq = &idxd->wqs[i]; in idxd_cleanup_sysfs()
|
D | init.c | 162 idxd->wqs = devm_kcalloc(dev, idxd->max_wqs, sizeof(struct idxd_wq), in idxd_setup_internals() 164 if (!idxd->wqs) in idxd_setup_internals() 173 struct idxd_wq *wq = &idxd->wqs[i]; in idxd_setup_internals()
|
D | registers.h | 286 u64 wqs[4]; member
|
D | idxd.h | 181 struct idxd_wq *wqs; member
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_cmd.c | 3049 struct ib_wq **wqs = NULL; in ib_uverbs_ex_create_rwq_ind_table() local 3082 wqs = kcalloc(num_wq_handles, sizeof(*wqs), GFP_KERNEL); in ib_uverbs_ex_create_rwq_ind_table() 3083 if (!wqs) { in ib_uverbs_ex_create_rwq_ind_table() 3097 wqs[num_read_wqs] = wq; in ib_uverbs_ex_create_rwq_ind_table() 3098 atomic_inc(&wqs[num_read_wqs]->usecnt); in ib_uverbs_ex_create_rwq_ind_table() 3114 init_attr.ind_tbl = wqs; in ib_uverbs_ex_create_rwq_ind_table() 3116 rwq_ind_tbl->ind_tbl = wqs; in ib_uverbs_ex_create_rwq_ind_table() 3129 rdma_lookup_put_uobject(&wqs[i]->uobject->uevent.uobject, in ib_uverbs_ex_create_rwq_ind_table() 3145 rdma_lookup_put_uobject(&wqs[i]->uobject->uevent.uobject, in ib_uverbs_ex_create_rwq_ind_table() 3147 atomic_dec(&wqs[i]->usecnt); in ib_uverbs_ex_create_rwq_ind_table() [all …]
|