Home
last modified time | relevance | path

Searched refs:aq (Results 1 - 25 of 95) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dap_queue.c19 static void __ap_flush_queue(struct ap_queue *aq);
25 static inline bool ap_q_supports_bind(struct ap_queue *aq) in ap_q_supports_bind() argument
27 return ap_test_bit(&aq->card->functions, AP_FUNC_EP11) || in ap_q_supports_bind()
28 ap_test_bit(&aq->card->functions, AP_FUNC_ACCEL); in ap_q_supports_bind()
31 static inline bool ap_q_supports_assoc(struct ap_queue *aq) in ap_q_supports_assoc() argument
33 return ap_test_bit(&aq->card->functions, AP_FUNC_EP11); in ap_q_supports_assoc()
38 * @aq: The AP queue
45 static int ap_queue_enable_irq(struct ap_queue *aq, void *ind) in ap_queue_enable_irq() argument
52 status = ap_aqic(aq->qid, qirqctrl, virt_to_phys(ind)); in ap_queue_enable_irq()
64 AP_QID_CARD(aq in ap_queue_enable_irq()
98 ap_sm_nop(struct ap_queue *aq) ap_sm_nop() argument
110 ap_sm_recv(struct ap_queue *aq) ap_sm_recv() argument
182 ap_sm_read(struct ap_queue *aq) ap_sm_read() argument
221 ap_sm_write(struct ap_queue *aq) ap_sm_write() argument
283 ap_sm_read_write(struct ap_queue *aq) ap_sm_read_write() argument
294 ap_sm_reset(struct ap_queue *aq) ap_sm_reset() argument
324 ap_sm_reset_wait(struct ap_queue *aq) ap_sm_reset_wait() argument
367 ap_sm_setirq_wait(struct ap_queue *aq) ap_sm_setirq_wait() argument
407 ap_sm_assoc_wait(struct ap_queue *aq) ap_sm_assoc_wait() argument
489 ap_sm_event(struct ap_queue *aq, enum ap_sm_event event) ap_sm_event() argument
498 ap_sm_event_loop(struct ap_queue *aq, enum ap_sm_event event) ap_sm_event_loop() argument
514 struct ap_queue *aq = to_ap_queue(dev); request_count_show() local
535 struct ap_queue *aq = to_ap_queue(dev); request_count_store() local
549 struct ap_queue *aq = to_ap_queue(dev); requestq_count_show() local
564 struct ap_queue *aq = to_ap_queue(dev); pendingq_count_show() local
579 struct ap_queue *aq = to_ap_queue(dev); reset_show() local
603 struct ap_queue *aq = to_ap_queue(dev); reset_store() local
622 struct ap_queue *aq = to_ap_queue(dev); interrupt_show() local
641 struct ap_queue *aq = to_ap_queue(dev); config_show() local
655 struct ap_queue *aq = to_ap_queue(dev); chkstop_show() local
669 struct ap_queue *aq = to_ap_queue(dev); ap_functions_show() local
690 struct ap_queue *aq = to_ap_queue(dev); states_show() local
748 struct ap_queue *aq = to_ap_queue(dev); last_err_rc_show() local
822 struct ap_queue *aq = to_ap_queue(dev); se_bind_show() local
849 struct ap_queue *aq = to_ap_queue(dev); se_bind_store() local
897 struct ap_queue *aq = to_ap_queue(dev); se_associate_show() local
932 struct ap_queue *aq = to_ap_queue(dev); se_associate_store() local
1001 struct ap_queue *aq = to_ap_queue(dev); ap_queue_device_release() local
1012 struct ap_queue *aq; ap_queue_create() local
1033 ap_queue_init_reply(struct ap_queue *aq, struct ap_message *reply) ap_queue_init_reply() argument
1048 ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg) ap_queue_message() argument
1086 ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg) ap_cancel_message() argument
1111 __ap_flush_queue(struct ap_queue *aq) __ap_flush_queue() argument
1130 ap_flush_queue(struct ap_queue *aq) ap_flush_queue() argument
1138 ap_queue_prepare_remove(struct ap_queue *aq) ap_queue_prepare_remove() argument
1149 ap_queue_remove(struct ap_queue *aq) ap_queue_remove() argument
1163 _ap_queue_init_state(struct ap_queue *aq) _ap_queue_init_state() argument
1172 ap_queue_init_state(struct ap_queue *aq) ap_queue_init_state() argument
[all...]
H A Dap_card.c81 struct ap_queue *aq; in request_count_store() local
85 hash_for_each(ap_queues, bkt, aq, hnode) in request_count_store()
86 if (ac == aq->card) in request_count_store()
87 aq->total_request_count = 0; in request_count_store()
100 struct ap_queue *aq; in requestq_count_show() local
106 hash_for_each(ap_queues, bkt, aq, hnode) in requestq_count_show()
107 if (ac == aq->card) in requestq_count_show()
108 reqq_cnt += aq->requestq_count; in requestq_count_show()
119 struct ap_queue *aq; in pendingq_count_show() local
125 hash_for_each(ap_queues, bkt, aq, hnod in pendingq_count_show()
[all...]
H A Dap_bus.c448 struct ap_queue *aq = from_timer(aq, t, timeout); in ap_request_timeout() local
450 spin_lock_bh(&aq->lock); in ap_request_timeout()
451 ap_wait(ap_sm_event(aq, AP_SM_EVENT_TIMEOUT)); in ap_request_timeout()
452 spin_unlock_bh(&aq->lock); in ap_request_timeout()
488 struct ap_queue *aq; in ap_tasklet_fn() local
499 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_tasklet_fn()
500 spin_lock_bh(&aq->lock); in ap_tasklet_fn()
501 wait = min(wait, ap_sm_event_loop(aq, AP_SM_EVENT_POLL)); in ap_tasklet_fn()
502 spin_unlock_bh(&aq in ap_tasklet_fn()
512 struct ap_queue *aq; ap_pending_requests() local
657 struct ap_queue *aq = to_ap_queue(&ap_dev->device); ap_uevent() local
989 struct ap_queue *aq; ap_get_qdev() local
1807 struct ap_queue *aq; ap_scan_domains() local
[all...]
H A Dap_bus.h268 enum ap_sm_wait ap_sm_event(struct ap_queue *aq, enum ap_sm_event event);
269 enum ap_sm_wait ap_sm_event_loop(struct ap_queue *aq, enum ap_sm_event event);
271 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
272 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
273 void ap_flush_queue(struct ap_queue *aq);
285 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
287 void ap_queue_prepare_remove(struct ap_queue *aq);
288 void ap_queue_remove(struct ap_queue *aq);
289 void ap_queue_init_state(struct ap_queue *aq);
290 void _ap_queue_init_state(struct ap_queue *aq);
[all...]
/kernel/linux/linux-5.10/drivers/s390/crypto/
H A Dap_queue.c19 static void __ap_flush_queue(struct ap_queue *aq);
30 static int ap_queue_enable_irq(struct ap_queue *aq, void *ind) in ap_queue_enable_irq() argument
37 status = ap_aqic(aq->qid, qirqctrl, ind); in ap_queue_enable_irq()
47 AP_QID_CARD(aq->qid), in ap_queue_enable_irq()
48 AP_QID_QUEUE(aq->qid)); in ap_queue_enable_irq()
122 static enum ap_sm_wait ap_sm_nop(struct ap_queue *aq) in ap_sm_nop() argument
130 * @aq: pointer to the AP queue
134 static struct ap_queue_status ap_sm_recv(struct ap_queue *aq) in ap_sm_recv() argument
140 status = ap_dqap(aq->qid, &aq in ap_sm_recv()
186 ap_sm_read(struct ap_queue *aq) ap_sm_read() argument
223 ap_sm_write(struct ap_queue *aq) ap_sm_write() argument
289 ap_sm_read_write(struct ap_queue *aq) ap_sm_read_write() argument
300 ap_sm_reset(struct ap_queue *aq) ap_sm_reset() argument
327 ap_sm_reset_wait(struct ap_queue *aq) ap_sm_reset_wait() argument
370 ap_sm_setirq_wait(struct ap_queue *aq) ap_sm_setirq_wait() argument
435 ap_sm_event(struct ap_queue *aq, enum ap_sm_event event) ap_sm_event() argument
443 ap_sm_event_loop(struct ap_queue *aq, enum ap_sm_event event) ap_sm_event_loop() argument
459 struct ap_queue *aq = to_ap_queue(dev); request_count_show() local
480 struct ap_queue *aq = to_ap_queue(dev); request_count_store() local
494 struct ap_queue *aq = to_ap_queue(dev); requestq_count_show() local
509 struct ap_queue *aq = to_ap_queue(dev); pendingq_count_show() local
524 struct ap_queue *aq = to_ap_queue(dev); reset_show() local
548 struct ap_queue *aq = to_ap_queue(dev); reset_store() local
567 struct ap_queue *aq = to_ap_queue(dev); interrupt_show() local
586 struct ap_queue *aq = to_ap_queue(dev); config_show() local
601 struct ap_queue *aq = to_ap_queue(dev); states_show() local
663 struct ap_queue *aq = to_ap_queue(dev); last_err_rc_show() local
734 struct ap_queue *aq = to_ap_queue(dev); ap_queue_device_release() local
745 struct ap_queue *aq; ap_queue_create() local
763 ap_queue_init_reply(struct ap_queue *aq, struct ap_message *reply) ap_queue_init_reply() argument
778 ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg) ap_queue_message() argument
815 ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg) ap_cancel_message() argument
840 __ap_flush_queue(struct ap_queue *aq) __ap_flush_queue() argument
859 ap_flush_queue(struct ap_queue *aq) ap_flush_queue() argument
867 ap_queue_prepare_remove(struct ap_queue *aq) ap_queue_prepare_remove() argument
878 ap_queue_remove(struct ap_queue *aq) ap_queue_remove() argument
892 ap_queue_init_state(struct ap_queue *aq) ap_queue_init_state() argument
[all...]
H A Dzcrypt_cex2c.c181 static int zcrypt_cex2c_rng_supported(struct ap_queue *aq) in zcrypt_cex2c_rng_supported() argument
210 msg->cprbx.domain = AP_QID_QUEUE(aq->qid); in zcrypt_cex2c_rng_supported()
212 rc = ap_send(aq->qid, 0x0102030405060708ULL, ap_msg.msg, ap_msg.len); in zcrypt_cex2c_rng_supported()
219 rc = ap_recv(aq->qid, &psmid, ap_msg.msg, 4096); in zcrypt_cex2c_rng_supported()
337 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2c_queue_probe() local
344 zq->queue = aq; in zcrypt_cex2c_queue_probe()
347 ap_rapq(aq->qid); in zcrypt_cex2c_queue_probe()
348 rc = zcrypt_cex2c_rng_supported(aq); in zcrypt_cex2c_queue_probe()
359 ap_queue_init_state(aq); in zcrypt_cex2c_queue_probe()
360 ap_queue_init_reply(aq, in zcrypt_cex2c_queue_probe()
389 struct ap_queue *aq = to_ap_queue(&ap_dev->device); zcrypt_cex2c_queue_remove() local
[all...]
H A Dap_card.c81 struct ap_queue *aq; in request_count_store() local
85 hash_for_each(ap_queues, bkt, aq, hnode) in request_count_store()
86 if (ac == aq->card) in request_count_store()
87 aq->total_request_count = 0; in request_count_store()
100 struct ap_queue *aq; in requestq_count_show() local
106 hash_for_each(ap_queues, bkt, aq, hnode) in requestq_count_show()
107 if (ac == aq->card) in requestq_count_show()
108 reqq_cnt += aq->requestq_count; in requestq_count_show()
119 struct ap_queue *aq; in pendingq_count_show() local
125 hash_for_each(ap_queues, bkt, aq, hnod in pendingq_count_show()
[all...]
H A Dap_bus.c393 struct ap_queue *aq = from_timer(aq, t, timeout); in ap_request_timeout() local
395 spin_lock_bh(&aq->lock); in ap_request_timeout()
396 ap_wait(ap_sm_event(aq, AP_SM_EVENT_TIMEOUT)); in ap_request_timeout()
397 spin_unlock_bh(&aq->lock); in ap_request_timeout()
431 struct ap_queue *aq; in ap_tasklet_fn() local
442 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_tasklet_fn()
443 spin_lock_bh(&aq->lock); in ap_tasklet_fn()
444 wait = min(wait, ap_sm_event_loop(aq, AP_SM_EVENT_POLL)); in ap_tasklet_fn()
445 spin_unlock_bh(&aq in ap_tasklet_fn()
455 struct ap_queue *aq; ap_pending_requests() local
752 struct ap_queue *aq; ap_get_qdev() local
1317 struct ap_queue *aq; ap_scan_domains() local
[all...]
H A Dzcrypt_cex2a.c154 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2a_queue_probe() local
173 zq->queue = aq; in zcrypt_cex2a_queue_probe()
176 ap_queue_init_state(aq); in zcrypt_cex2a_queue_probe()
177 ap_queue_init_reply(aq, &zq->reply); in zcrypt_cex2a_queue_probe()
178 aq->request_timeout = CEX2A_CLEANUP_TIME, in zcrypt_cex2a_queue_probe()
179 aq->private = zq; in zcrypt_cex2a_queue_probe()
182 aq->private = NULL; in zcrypt_cex2a_queue_probe()
195 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2a_queue_remove() local
196 struct zcrypt_queue *zq = aq->private; in zcrypt_cex2a_queue_remove()
H A Dap_bus.h266 enum ap_sm_wait ap_sm_event(struct ap_queue *aq, enum ap_sm_event event);
267 enum ap_sm_wait ap_sm_event_loop(struct ap_queue *aq, enum ap_sm_event event);
269 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
270 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
271 void ap_flush_queue(struct ap_queue *aq);
281 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
283 void ap_queue_prepare_remove(struct ap_queue *aq);
284 void ap_queue_remove(struct ap_queue *aq);
285 void ap_queue_init_state(struct ap_queue *aq);
304 * with a call to put_device(&aq
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
H A Diavf_adminq.c19 hw->aq.asq.tail = IAVF_VF_ATQT1; in iavf_adminq_init_regs()
20 hw->aq.asq.head = IAVF_VF_ATQH1; in iavf_adminq_init_regs()
21 hw->aq.asq.len = IAVF_VF_ATQLEN1; in iavf_adminq_init_regs()
22 hw->aq.asq.bal = IAVF_VF_ATQBAL1; in iavf_adminq_init_regs()
23 hw->aq.asq.bah = IAVF_VF_ATQBAH1; in iavf_adminq_init_regs()
24 hw->aq.arq.tail = IAVF_VF_ARQT1; in iavf_adminq_init_regs()
25 hw->aq.arq.head = IAVF_VF_ARQH1; in iavf_adminq_init_regs()
26 hw->aq.arq.len = IAVF_VF_ARQLEN1; in iavf_adminq_init_regs()
27 hw->aq.arq.bal = IAVF_VF_ARQBAL1; in iavf_adminq_init_regs()
28 hw->aq in iavf_adminq_init_regs()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
H A Diavf_adminq.c19 hw->aq.asq.tail = IAVF_VF_ATQT1; in iavf_adminq_init_regs()
20 hw->aq.asq.head = IAVF_VF_ATQH1; in iavf_adminq_init_regs()
21 hw->aq.asq.len = IAVF_VF_ATQLEN1; in iavf_adminq_init_regs()
22 hw->aq.asq.bal = IAVF_VF_ATQBAL1; in iavf_adminq_init_regs()
23 hw->aq.asq.bah = IAVF_VF_ATQBAH1; in iavf_adminq_init_regs()
24 hw->aq.arq.tail = IAVF_VF_ARQT1; in iavf_adminq_init_regs()
25 hw->aq.arq.head = IAVF_VF_ARQH1; in iavf_adminq_init_regs()
26 hw->aq.arq.len = IAVF_VF_ARQLEN1; in iavf_adminq_init_regs()
27 hw->aq.arq.bal = IAVF_VF_ARQBAL1; in iavf_adminq_init_regs()
28 hw->aq in iavf_adminq_init_regs()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq.c21 hw->aq.asq.tail = I40E_VF_ATQT1; in i40e_adminq_init_regs()
22 hw->aq.asq.head = I40E_VF_ATQH1; in i40e_adminq_init_regs()
23 hw->aq.asq.len = I40E_VF_ATQLEN1; in i40e_adminq_init_regs()
24 hw->aq.asq.bal = I40E_VF_ATQBAL1; in i40e_adminq_init_regs()
25 hw->aq.asq.bah = I40E_VF_ATQBAH1; in i40e_adminq_init_regs()
26 hw->aq.arq.tail = I40E_VF_ARQT1; in i40e_adminq_init_regs()
27 hw->aq.arq.head = I40E_VF_ARQH1; in i40e_adminq_init_regs()
28 hw->aq.arq.len = I40E_VF_ARQLEN1; in i40e_adminq_init_regs()
29 hw->aq.arq.bal = I40E_VF_ARQBAL1; in i40e_adminq_init_regs()
30 hw->aq in i40e_adminq_init_regs()
515 struct i40e_adminq_info *aq = &hw->aq; i40e_set_hw_flags() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq.c22 hw->aq.asq.tail = I40E_VF_ATQT1; in i40e_adminq_init_regs()
23 hw->aq.asq.head = I40E_VF_ATQH1; in i40e_adminq_init_regs()
24 hw->aq.asq.len = I40E_VF_ATQLEN1; in i40e_adminq_init_regs()
25 hw->aq.asq.bal = I40E_VF_ATQBAL1; in i40e_adminq_init_regs()
26 hw->aq.asq.bah = I40E_VF_ATQBAH1; in i40e_adminq_init_regs()
27 hw->aq.arq.tail = I40E_VF_ARQT1; in i40e_adminq_init_regs()
28 hw->aq.arq.head = I40E_VF_ARQH1; in i40e_adminq_init_regs()
29 hw->aq.arq.len = I40E_VF_ARQLEN1; in i40e_adminq_init_regs()
30 hw->aq.arq.bal = I40E_VF_ARQBAL1; in i40e_adminq_init_regs()
31 hw->aq in i40e_adminq_init_regs()
516 struct i40e_adminq_info *aq = &hw->aq; i40e_set_hw_flags() local
[all...]
/kernel/linux/linux-6.6/drivers/spi/
H A Datmel-quadspi.c226 static u32 atmel_qspi_read(struct atmel_qspi *aq, u32 offset) in atmel_qspi_read() argument
228 u32 value = readl_relaxed(aq->regs + offset); in atmel_qspi_read()
233 dev_vdbg(&aq->pdev->dev, "read 0x%08x from %s\n", value, in atmel_qspi_read()
240 static void atmel_qspi_write(u32 value, struct atmel_qspi *aq, u32 offset) in atmel_qspi_write() argument
245 dev_vdbg(&aq->pdev->dev, "write 0x%08x into %s\n", value, in atmel_qspi_write()
249 writel_relaxed(value, aq->regs + offset); in atmel_qspi_write()
295 static int atmel_qspi_set_cfg(struct atmel_qspi *aq, in atmel_qspi_set_cfg() argument
378 if (aq->mr != QSPI_MR_SMM) { in atmel_qspi_set_cfg()
379 atmel_qspi_write(QSPI_MR_SMM, aq, QSPI_MR); in atmel_qspi_set_cfg()
380 aq in atmel_qspi_set_cfg()
409 struct atmel_qspi *aq = spi_controller_get_devdata(mem->spi->controller); atmel_qspi_exec_op() local
480 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_setup() local
516 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_set_cs_timing() local
546 atmel_qspi_init(struct atmel_qspi *aq) atmel_qspi_init() argument
561 struct atmel_qspi *aq = dev_id; atmel_qspi_interrupt() local
581 struct atmel_qspi *aq; atmel_qspi_probe() local
706 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_remove() local
735 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_suspend() local
756 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_resume() local
779 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_runtime_suspend() local
790 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_runtime_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/efa/
H A Defa_com.c126 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_admin_init_sq() local
127 struct efa_com_admin_sq *sq = &aq->sq; in efa_com_admin_init_sq()
128 u16 size = aq->depth * sizeof(*sq->entries); in efa_com_admin_init_sq()
134 dma_alloc_coherent(aq->dmadev, size, &sq->dma_addr, GFP_KERNEL); in efa_com_admin_init_sq()
152 EFA_SET(&aq_caps, EFA_REGS_AQ_CAPS_AQ_DEPTH, aq->depth); in efa_com_admin_init_sq()
163 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_admin_init_cq() local
164 struct efa_com_admin_cq *cq = &aq->cq; in efa_com_admin_init_cq()
165 u16 size = aq in efa_com_admin_init_cq()
244 efa_com_alloc_ctx_id(struct efa_com_admin_queue *aq) efa_com_alloc_ctx_id() argument
256 efa_com_dealloc_ctx_id(struct efa_com_admin_queue *aq, u16 ctx_id) efa_com_dealloc_ctx_id() argument
265 efa_com_put_comp_ctx(struct efa_com_admin_queue *aq, struct efa_comp_ctx *comp_ctx) efa_com_put_comp_ctx() argument
277 efa_com_get_comp_ctx(struct efa_com_admin_queue *aq, u16 cmd_id, bool capture) efa_com_get_comp_ctx() argument
299 __efa_com_submit_admin_cmd(struct efa_com_admin_queue *aq, struct efa_admin_aq_entry *cmd, size_t cmd_size_in_bytes, struct efa_admin_acq_entry *comp, size_t comp_size_in_bytes) __efa_com_submit_admin_cmd() argument
355 efa_com_init_comp_ctxt(struct efa_com_admin_queue *aq) efa_com_init_comp_ctxt() argument
385 efa_com_submit_admin_cmd(struct efa_com_admin_queue *aq, struct efa_admin_aq_entry *cmd, size_t cmd_size_in_bytes, struct efa_admin_acq_entry *comp, size_t comp_size_in_bytes) efa_com_submit_admin_cmd() argument
409 efa_com_handle_single_admin_completion(struct efa_com_admin_queue *aq, struct efa_admin_acq_entry *cqe) efa_com_handle_single_admin_completion() argument
433 efa_com_handle_admin_completion(struct efa_com_admin_queue *aq) efa_com_handle_admin_completion() argument
493 efa_com_wait_and_process_admin_cq_polling(struct efa_comp_ctx *comp_ctx, struct efa_com_admin_queue *aq) efa_com_wait_and_process_admin_cq_polling() argument
531 efa_com_wait_and_process_admin_cq_interrupts(struct efa_comp_ctx *comp_ctx, struct efa_com_admin_queue *aq) efa_com_wait_and_process_admin_cq_interrupts() argument
587 efa_com_wait_and_process_admin_cq(struct efa_comp_ctx *comp_ctx, struct efa_com_admin_queue *aq) efa_com_wait_and_process_admin_cq() argument
609 efa_com_cmd_exec(struct efa_com_admin_queue *aq, struct efa_admin_aq_entry *cmd, size_t cmd_size, struct efa_admin_acq_entry *comp, size_t comp_size) efa_com_cmd_exec() argument
661 struct efa_com_admin_queue *aq = &edev->aq; efa_com_admin_destroy() local
725 struct efa_com_admin_queue *aq = &edev->aq; efa_com_admin_init() local
1097 struct efa_com_admin_queue *aq = &edev->aq; efa_com_create_eq() local
1131 struct efa_com_admin_queue *aq = &edev->aq; efa_com_destroy_eq() local
[all...]
H A Defa_com_cmd.c15 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_create_qp() local
35 err = efa_com_cmd_exec(aq, in efa_com_create_qp()
60 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_modify_qp() local
75 err = efa_com_cmd_exec(aq, in efa_com_modify_qp()
95 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_query_qp() local
103 err = efa_com_cmd_exec(aq, in efa_com_query_qp()
129 struct efa_com_admin_queue *aq in efa_com_destroy_qp() local
156 struct efa_com_admin_queue *aq = &edev->aq; efa_com_create_cq() local
204 struct efa_com_admin_queue *aq = &edev->aq; efa_com_destroy_cq() local
231 struct efa_com_admin_queue *aq = &edev->aq; efa_com_register_mr() local
281 struct efa_com_admin_queue *aq = &edev->aq; efa_com_dereg_mr() local
308 struct efa_com_admin_queue *aq = &edev->aq; efa_com_create_ah() local
339 struct efa_com_admin_queue *aq = &edev->aq; efa_com_destroy_ah() local
382 struct efa_com_admin_queue *aq; efa_com_get_feature_ex() local
553 struct efa_com_admin_queue *aq; efa_com_set_feature_ex() local
649 struct efa_com_admin_queue *aq = &edev->aq; efa_com_alloc_pd() local
675 struct efa_com_admin_queue *aq = &edev->aq; efa_com_dealloc_pd() local
701 struct efa_com_admin_queue *aq = &edev->aq; efa_com_alloc_uar() local
727 struct efa_com_admin_queue *aq = &edev->aq; efa_com_dealloc_uar() local
754 struct efa_com_admin_queue *aq = &edev->aq; efa_com_get_stats() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
H A Defa_com.c123 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_admin_init_sq() local
124 struct efa_com_admin_sq *sq = &aq->sq; in efa_com_admin_init_sq()
125 u16 size = aq->depth * sizeof(*sq->entries); in efa_com_admin_init_sq()
131 dma_alloc_coherent(aq->dmadev, size, &sq->dma_addr, GFP_KERNEL); in efa_com_admin_init_sq()
149 EFA_SET(&aq_caps, EFA_REGS_AQ_CAPS_AQ_DEPTH, aq->depth); in efa_com_admin_init_sq()
160 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_admin_init_cq() local
161 struct efa_com_admin_cq *cq = &aq->cq; in efa_com_admin_init_cq()
162 u16 size = aq in efa_com_admin_init_cq()
241 efa_com_alloc_ctx_id(struct efa_com_admin_queue *aq) efa_com_alloc_ctx_id() argument
253 efa_com_dealloc_ctx_id(struct efa_com_admin_queue *aq, u16 ctx_id) efa_com_dealloc_ctx_id() argument
262 efa_com_put_comp_ctx(struct efa_com_admin_queue *aq, struct efa_comp_ctx *comp_ctx) efa_com_put_comp_ctx() argument
274 efa_com_get_comp_ctx(struct efa_com_admin_queue *aq, u16 cmd_id, bool capture) efa_com_get_comp_ctx() argument
296 __efa_com_submit_admin_cmd(struct efa_com_admin_queue *aq, struct efa_admin_aq_entry *cmd, size_t cmd_size_in_bytes, struct efa_admin_acq_entry *comp, size_t comp_size_in_bytes) __efa_com_submit_admin_cmd() argument
352 efa_com_init_comp_ctxt(struct efa_com_admin_queue *aq) efa_com_init_comp_ctxt() argument
382 efa_com_submit_admin_cmd(struct efa_com_admin_queue *aq, struct efa_admin_aq_entry *cmd, size_t cmd_size_in_bytes, struct efa_admin_acq_entry *comp, size_t comp_size_in_bytes) efa_com_submit_admin_cmd() argument
406 efa_com_handle_single_admin_completion(struct efa_com_admin_queue *aq, struct efa_admin_acq_entry *cqe) efa_com_handle_single_admin_completion() argument
432 efa_com_handle_admin_completion(struct efa_com_admin_queue *aq) efa_com_handle_admin_completion() argument
492 efa_com_wait_and_process_admin_cq_polling(struct efa_comp_ctx *comp_ctx, struct efa_com_admin_queue *aq) efa_com_wait_and_process_admin_cq_polling() argument
530 efa_com_wait_and_process_admin_cq_interrupts(struct efa_comp_ctx *comp_ctx, struct efa_com_admin_queue *aq) efa_com_wait_and_process_admin_cq_interrupts() argument
586 efa_com_wait_and_process_admin_cq(struct efa_comp_ctx *comp_ctx, struct efa_com_admin_queue *aq) efa_com_wait_and_process_admin_cq() argument
608 efa_com_cmd_exec(struct efa_com_admin_queue *aq, struct efa_admin_aq_entry *cmd, size_t cmd_size, struct efa_admin_acq_entry *comp, size_t comp_size) efa_com_cmd_exec() argument
660 struct efa_com_admin_queue *aq = &edev->aq; efa_com_admin_destroy() local
724 struct efa_com_admin_queue *aq = &edev->aq; efa_com_admin_init() local
[all...]
H A Defa_com_cmd.c21 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_create_qp() local
41 err = efa_com_cmd_exec(aq, in efa_com_create_qp()
66 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_modify_qp() local
81 err = efa_com_cmd_exec(aq, in efa_com_modify_qp()
101 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_query_qp() local
109 err = efa_com_cmd_exec(aq, in efa_com_query_qp()
135 struct efa_com_admin_queue *aq in efa_com_destroy_qp() local
162 struct efa_com_admin_queue *aq = &edev->aq; efa_com_create_cq() local
199 struct efa_com_admin_queue *aq = &edev->aq; efa_com_destroy_cq() local
226 struct efa_com_admin_queue *aq = &edev->aq; efa_com_register_mr() local
276 struct efa_com_admin_queue *aq = &edev->aq; efa_com_dereg_mr() local
303 struct efa_com_admin_queue *aq = &edev->aq; efa_com_create_ah() local
334 struct efa_com_admin_queue *aq = &edev->aq; efa_com_destroy_ah() local
377 struct efa_com_admin_queue *aq; efa_com_get_feature_ex() local
531 struct efa_com_admin_queue *aq; efa_com_set_feature_ex() local
627 struct efa_com_admin_queue *aq = &edev->aq; efa_com_alloc_pd() local
653 struct efa_com_admin_queue *aq = &edev->aq; efa_com_dealloc_pd() local
679 struct efa_com_admin_queue *aq = &edev->aq; efa_com_alloc_uar() local
705 struct efa_com_admin_queue *aq = &edev->aq; efa_com_dealloc_uar() local
732 struct efa_com_admin_queue *aq = &edev->aq; efa_com_get_stats() local
[all...]
/kernel/linux/linux-5.10/drivers/spi/
H A Datmel-quadspi.c225 static u32 atmel_qspi_read(struct atmel_qspi *aq, u32 offset) in atmel_qspi_read() argument
227 u32 value = readl_relaxed(aq->regs + offset); in atmel_qspi_read()
232 dev_vdbg(&aq->pdev->dev, "read 0x%08x from %s\n", value, in atmel_qspi_read()
239 static void atmel_qspi_write(u32 value, struct atmel_qspi *aq, u32 offset) in atmel_qspi_write() argument
244 dev_vdbg(&aq->pdev->dev, "write 0x%08x into %s\n", value, in atmel_qspi_write()
248 writel_relaxed(value, aq->regs + offset); in atmel_qspi_write()
300 static int atmel_qspi_set_cfg(struct atmel_qspi *aq, in atmel_qspi_set_cfg() argument
383 if (aq->mr != QSPI_MR_SMM) { in atmel_qspi_set_cfg()
384 atmel_qspi_write(QSPI_MR_SMM, aq, QSPI_MR); in atmel_qspi_set_cfg()
385 aq in atmel_qspi_set_cfg()
417 struct atmel_qspi *aq = spi_controller_get_devdata(mem->spi->master); atmel_qspi_exec_op() local
481 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_setup() local
506 atmel_qspi_init(struct atmel_qspi *aq) atmel_qspi_init() argument
521 struct atmel_qspi *aq = dev_id; atmel_qspi_interrupt() local
541 struct atmel_qspi *aq; atmel_qspi_probe() local
652 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_remove() local
664 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_suspend() local
675 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); atmel_qspi_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k.c77 struct nix_cn10k_aq_enq_req *aq; in cn10k_sq_aq_init() local
81 aq = otx2_mbox_alloc_msg_nix_cn10k_aq_enq(&pfvf->mbox); in cn10k_sq_aq_init()
82 if (!aq) in cn10k_sq_aq_init()
85 aq->sq.cq = pfvf->hw.rx_queues + qidx; in cn10k_sq_aq_init()
86 aq->sq.max_sqe_size = NIX_MAXSQESZ_W16; /* 128 byte */ in cn10k_sq_aq_init()
87 aq->sq.cq_ena = 1; in cn10k_sq_aq_init()
88 aq->sq.ena = 1; in cn10k_sq_aq_init()
89 aq->sq.smq = otx2_get_smq_idx(pfvf, qidx); in cn10k_sq_aq_init()
90 aq->sq.smq_rr_weight = mtu_to_dwrr_weight(pfvf, pfvf->tx_max_pktlen); in cn10k_sq_aq_init()
91 aq in cn10k_sq_aq_init()
304 struct nix_cn10k_aq_enq_req *aq; cn10k_map_unmap_rq_policer() local
363 struct nix_cn10k_aq_enq_req *aq; cn10k_set_ipolicer_rate() local
[all...]
H A Dotx2_common.c316 struct nix_aq_enq_req *aq; in otx2_set_rss_table() local
323 aq = otx2_mbox_alloc_msg_nix_aq_enq(mbox); in otx2_set_rss_table()
324 if (!aq) { in otx2_set_rss_table()
333 aq = otx2_mbox_alloc_msg_nix_aq_enq(mbox); in otx2_set_rss_table()
334 if (!aq) { in otx2_set_rss_table()
340 aq->rss.rq = rss_ctx->ind_tbl[idx]; in otx2_set_rss_table()
343 aq->qidx = index + idx; in otx2_set_rss_table()
344 aq->ctype = NIX_AQ_CTYPE_RSS; in otx2_set_rss_table()
345 aq->op = NIX_AQ_INSTOP_INIT; in otx2_set_rss_table()
856 struct nix_aq_enq_req *aq; in otx2_rq_init() local
890 struct nix_aq_enq_req *aq; otx2_sq_aq_init() local
989 struct nix_aq_enq_req *aq; otx2_cq_init() local
1285 struct npa_aq_enq_req *aq; otx2_aura_init() local
1363 struct npa_aq_enq_req *aq; otx2_pool_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c273 struct nix_aq_enq_req *aq; in otx2_set_rss_table() local
279 aq = otx2_mbox_alloc_msg_nix_aq_enq(mbox); in otx2_set_rss_table()
280 if (!aq) { in otx2_set_rss_table()
289 aq = otx2_mbox_alloc_msg_nix_aq_enq(mbox); in otx2_set_rss_table()
290 if (!aq) { in otx2_set_rss_table()
296 aq->rss.rq = rss->ind_tbl[idx]; in otx2_set_rss_table()
299 aq->qidx = idx; in otx2_set_rss_table()
300 aq->ctype = NIX_AQ_CTYPE_RSS; in otx2_set_rss_table()
301 aq->op = NIX_AQ_INSTOP_INIT; in otx2_set_rss_table()
707 struct nix_aq_enq_req *aq; in otx2_rq_init() local
741 struct nix_aq_enq_req *aq; otx2_sq_init() local
817 struct nix_aq_enq_req *aq; otx2_cq_init() local
1089 struct npa_aq_enq_req *aq; otx2_aura_init() local
1162 struct npa_aq_enq_req *aq; otx2_pool_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npa.c21 struct admin_queue *aq = block->aq; in npa_aq_enqueue_wait() local
26 result = (struct npa_aq_res_s *)aq->res->base; in npa_aq_enqueue_wait()
32 memcpy((void *)(aq->inst->base + (head * aq->inst->entry_sz)), in npa_aq_enqueue_wait()
33 (void *)inst, aq->inst->entry_sz); in npa_aq_enqueue_wait()
63 struct admin_queue *aq; in rvu_npa_aq_enq_inst() local
77 aq = block->aq; in rvu_npa_aq_enq_inst()
78 if (!aq) { in rvu_npa_aq_enq_inst()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npa.c18 struct admin_queue *aq = block->aq; in npa_aq_enqueue_wait() local
23 result = (struct npa_aq_res_s *)aq->res->base; in npa_aq_enqueue_wait()
29 memcpy((void *)(aq->inst->base + (head * aq->inst->entry_sz)), in npa_aq_enqueue_wait()
30 (void *)inst, aq->inst->entry_sz); in npa_aq_enqueue_wait()
69 struct admin_queue *aq; in rvu_npa_aq_enq_inst() local
83 aq = block->aq; in rvu_npa_aq_enq_inst()
84 if (!aq) { in rvu_npa_aq_enq_inst()
[all...]

Completed in 20 milliseconds

1234