Home
last modified time | relevance | path

Searched refs:aq (Results 1 – 25 of 49) sorted by relevance

12

/linux/drivers/s390/crypto/
A Dap_queue.c151 status = ap_dqap(aq->qid, &aq->reply->psmid, in ap_sm_recv()
152 aq->reply->msg, aq->reply->bufsize, in ap_sm_recv()
174 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv()
190 list_splice_init(&aq->pendingq, &aq->requestq); in ap_sm_recv()
191 aq->requestq_count += aq->pendingq_count; in ap_sm_recv()
312 return min(ap_sm_read(aq), ap_sm_write(aq)); in ap_sm_read_write()
353 if (aq->queue_count > 0 && aq->reply) in ap_sm_reset_wait()
366 aq->sm_state = (aq->queue_count > 0) ? in ap_sm_reset_wait()
395 if (aq->queue_count > 0 && aq->reply) in ap_sm_setirq_wait()
405 aq->sm_state = (aq->queue_count > 0) ? in ap_sm_setirq_wait()
[all …]
A Dap_bus.c423 struct ap_queue *aq = from_timer(aq, t, timeout); in ap_request_timeout() local
462 struct ap_queue *aq; in ap_tasklet_fn() local
486 struct ap_queue *aq; in ap_pending_requests() local
929 struct ap_queue *aq; in ap_get_qdev() local
936 return aq; in ap_get_qdev()
1557 if (aq) { in ap_scan_domains()
1566 if (!aq) { in ap_scan_domains()
1568 if (!aq) { in ap_scan_domains()
1573 aq->card = ac; in ap_scan_domains()
1608 ap_send_config_uevent(&aq->ap_dev, aq->config); in ap_scan_domains()
[all …]
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
126 if (ac == aq->card) in pendingq_count_show()
[all …]
A Dzcrypt_cex2c.c210 msg->cprbx.domain = AP_QID_QUEUE(aq->qid); in zcrypt_cex2c_rng_supported()
219 rc = ap_recv(aq->qid, &psmid, ap_msg.msg, 4096); in zcrypt_cex2c_rng_supported()
335 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2c_queue_probe() local
342 zq->queue = aq; in zcrypt_cex2c_queue_probe()
345 ap_rapq(aq->qid); in zcrypt_cex2c_queue_probe()
346 rc = zcrypt_cex2c_rng_supported(aq); in zcrypt_cex2c_queue_probe()
357 ap_queue_init_state(aq); in zcrypt_cex2c_queue_probe()
358 ap_queue_init_reply(aq, &zq->reply); in zcrypt_cex2c_queue_probe()
359 aq->request_timeout = CEX2C_CLEANUP_TIME; in zcrypt_cex2c_queue_probe()
386 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2c_queue_remove() local
[all …]
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);
283 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
285 void ap_queue_prepare_remove(struct ap_queue *aq);
286 void ap_queue_remove(struct ap_queue *aq);
287 void ap_queue_init_state(struct ap_queue *aq);
A Dzcrypt_cex4.c597 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_probe() local
601 if (ap_test_bit(&aq->card->functions, AP_FUNC_ACCEL)) { in zcrypt_cex4_queue_probe()
602 zq = zcrypt_queue_alloc(aq->card->maxmsgsize); in zcrypt_cex4_queue_probe()
608 zq = zcrypt_queue_alloc(aq->card->maxmsgsize); in zcrypt_cex4_queue_probe()
614 zq = zcrypt_queue_alloc(aq->card->maxmsgsize); in zcrypt_cex4_queue_probe()
623 zq->queue = aq; in zcrypt_cex4_queue_probe()
626 ap_queue_init_state(aq); in zcrypt_cex4_queue_probe()
627 ap_queue_init_reply(aq, &zq->reply); in zcrypt_cex4_queue_probe()
628 aq->request_timeout = CEX4_CLEANUP_TIME; in zcrypt_cex4_queue_probe()
662 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_remove() local
[all …]
A Dzcrypt_queue.c44 struct ap_queue *aq = to_ap_queue(dev); in online_show() local
45 int online = aq->config && zq->online ? 1 : 0; in online_show()
55 struct ap_queue *aq = to_ap_queue(dev); in online_store() local
62 if (online && (!aq->config || !aq->card->config)) in online_store()
72 ap_send_online_uevent(&aq->ap_dev, online); in online_store()
A Dzcrypt_cex2a.c152 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2a_queue_probe() local
171 zq->queue = aq; in zcrypt_cex2a_queue_probe()
174 ap_queue_init_state(aq); in zcrypt_cex2a_queue_probe()
175 ap_queue_init_reply(aq, &zq->reply); in zcrypt_cex2a_queue_probe()
176 aq->request_timeout = CEX2A_CLEANUP_TIME; in zcrypt_cex2a_queue_probe()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_adminq.c279 wr32(hw, hw->aq.asq.len, (hw->aq.num_asq_entries | in i40e_config_asq_regs()
281 wr32(hw, hw->aq.asq.bal, lower_32_bits(hw->aq.asq.desc_buf.pa)); in i40e_config_asq_regs()
308 wr32(hw, hw->aq.arq.len, (hw->aq.num_arq_entries | in i40e_config_arq_regs()
314 wr32(hw, hw->aq.arq.tail, hw->aq.num_arq_entries - 1); in i40e_config_arq_regs()
373 hw->aq.asq.count = hw->aq.num_asq_entries; in i40e_init_asq()
432 hw->aq.arq.count = hw->aq.num_arq_entries; in i40e_init_arq()
516 struct i40e_adminq_info *aq = &hw->aq; in i40e_set_hw_flags() local
767 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; in i40e_asq_done()
877 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in i40e_asq_send_command()
896 if (hw->aq.asq.next_to_use == hw->aq.asq.count) in i40e_asq_send_command()
[all …]
A Di40e_nvm.c873 mutex_lock(&hw->aq.arq_mutex); in i40e_nvmupd_command()
911 mutex_unlock(&hw->aq.arq_mutex); in i40e_nvmupd_command()
939 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
950 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
964 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
981 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
998 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
1014 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
1203 hw->aq.asq_last_status); in i40e_nvmupd_state_writing()
1232 if (hw->aq.arq_last_status) { in i40e_nvmupd_clear_wait_state()
[all …]
A Di40e_main.c10578 ((hw->aq.fw_maj_ver == 4 && hw->aq.fw_min_ver <= 33) || in i40e_rebuild()
12528 (((pf->hw.aq.fw_maj_ver == 4) && (pf->hw.aq.fw_min_ver < 33)) || in i40e_sw_init()
12537 (((pf->hw.aq.fw_maj_ver == 4) && (pf->hw.aq.fw_min_ver < 3)) || in i40e_sw_init()
12543 (((pf->hw.aq.fw_maj_ver == 4) && (pf->hw.aq.fw_min_ver >= 40)) || in i40e_sw_init()
15489 hw->aq.fw_maj_ver, hw->aq.fw_min_ver, hw->aq.fw_build, in i40e_probe()
15490 hw->aq.api_maj_ver, hw->aq.api_min_ver, in i40e_probe()
15498 hw->aq.api_maj_ver, in i40e_probe()
15499 hw->aq.api_min_ver, in i40e_probe()
15502 else if (hw->aq.api_maj_ver == 1 && hw->aq.api_min_ver < 4) in i40e_probe()
15505 hw->aq.api_maj_ver, in i40e_probe()
[all …]
A Di40e_debugfs.c506 ring = &(hw->aq.asq); in i40e_dbg_dump_aq_desc()
519 ring = &(hw->aq.arq); in i40e_dbg_dump_aq_desc()
1064 pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1410 pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1447 pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1471 pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1499 pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1518 pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1529 pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1572 ret, pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
[all …]
A Di40e_client.c353 cdev->lan_info.fw_maj_ver = pf->hw.aq.fw_maj_ver; in i40e_client_add_instance()
354 cdev->lan_info.fw_min_ver = pf->hw.aq.fw_min_ver; in i40e_client_add_instance()
355 cdev->lan_info.fw_build = pf->hw.aq.fw_build; in i40e_client_add_instance()
547 err, hw->aq.asq_last_status); in i40e_client_virtchnl_send()
689 pf->hw.aq.asq_last_status)); in i40e_client_update_vsi_ctxt()
717 pf->hw.aq.asq_last_status)); in i40e_client_update_vsi_ctxt()
A Di40e_common.c341 if (hw->aq.asq.len) in i40e_check_asq_alive()
342 return !!(rd32(hw, hw->aq.asq.len) & in i40e_check_asq_alive()
1486 switch (hw->aq.asq_last_status) { in i40e_aq_get_phy_capabilities()
1780 (hw->aq.fw_maj_ver < 4 || (hw->aq.fw_maj_ver == 4 && in i40e_aq_get_link_info()
1868 return (aq->api_maj_ver > maj || in i40e_is_aq_api_ver_ge()
1869 (aq->api_maj_ver == maj && aq->api_min_ver >= min)); in i40e_is_aq_api_ver_ge()
5239 (hw->aq.api_min_ver < 5)) || in i40e_read_rx_ctl()
5300 (hw->aq.api_min_ver < 5)) || in i40e_write_rx_ctl()
5607 msglen = aq->datalen; in i40e_ddp_exec_aq_section()
5614 msg = &aq->data[0]; in i40e_ddp_exec_aq_section()
[all …]
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_adminq.c266 wr32(hw, hw->aq.asq.len, (hw->aq.num_asq_entries | in iavf_config_asq_regs()
268 wr32(hw, hw->aq.asq.bal, lower_32_bits(hw->aq.asq.desc_buf.pa)); in iavf_config_asq_regs()
269 wr32(hw, hw->aq.asq.bah, upper_32_bits(hw->aq.asq.desc_buf.pa)); in iavf_config_asq_regs()
295 wr32(hw, hw->aq.arq.len, (hw->aq.num_arq_entries | in iavf_config_arq_regs()
301 wr32(hw, hw->aq.arq.tail, hw->aq.num_arq_entries - 1); in iavf_config_arq_regs()
360 hw->aq.asq.count = hw->aq.num_asq_entries; in iavf_init_asq()
419 hw->aq.arq.count = hw->aq.num_arq_entries; in iavf_init_arq()
618 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; in iavf_asq_done()
727 dma_buff = &hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]; in iavf_asq_send_command()
746 if (hw->aq.asq.next_to_use == hw->aq.asq.count) in iavf_asq_send_command()
[all …]
/linux/drivers/infiniband/hw/efa/
A Defa_com.c126 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_admin_init_sq() local
163 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_admin_init_cq() local
347 aq->sq.phase = !aq->sq.phase; in __efa_com_submit_admin_cmd()
350 writel(aq->sq.pc, aq->sq.db_addr); in __efa_com_submit_admin_cmd()
364 if (!aq->comp_ctx || !aq->comp_ctx_pool) { in efa_com_init_comp_ctxt()
366 devm_kfree(aq->dmadev, aq->comp_ctx); in efa_com_init_comp_ctxt()
559 comp_ctx, aq->sq.pc, aq->sq.cc, aq->cq.cc); in efa_com_wait_and_process_admin_cq_interrupts()
566 comp_ctx, aq->sq.pc, aq->sq.cc, aq->cq.cc); in efa_com_wait_and_process_admin_cq_interrupts()
744 sema_init(&aq->avail_cmds, aq->depth); in efa_com_admin_init()
782 aq->cq.entries, aq->cq.dma_addr); in efa_com_admin_init()
[all …]
A Defa_com_cmd.c15 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_create_qp() local
60 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_modify_qp() local
95 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_query_qp() local
129 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_destroy_qp() local
156 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_create_cq() local
201 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_destroy_cq() local
228 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_register_mr() local
278 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_dereg_mr() local
305 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_create_ah() local
389 aq = &edev->aq; in efa_com_get_feature_ex()
[all …]
A Defa_com.h107 struct efa_com_admin_queue aq; member
171 int efa_com_cmd_exec(struct efa_com_admin_queue *aq,
/linux/drivers/spi/
A Datmel-quadspi.c382 aq->mr = QSPI_MR_SMM; in atmel_qspi_set_cfg()
495 atmel_qspi_write(aq->scr, aq, QSPI_SCR); in atmel_qspi_setup()
507 aq->mr = QSPI_MR_SMM; in atmel_qspi_init()
535 struct atmel_qspi *aq; in atmel_qspi_probe() local
554 aq->pdev = pdev; in atmel_qspi_probe()
567 if (IS_ERR(aq->mem)) { in atmel_qspi_probe()
576 if (IS_ERR(aq->pclk)) in atmel_qspi_probe()
592 if (!aq->caps) { in atmel_qspi_probe()
627 atmel_qspi_init(aq); in atmel_qspi_probe()
675 atmel_qspi_init(aq); in atmel_qspi_resume()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dcn10k.c82 if (!aq) 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()
96 aq->sq.qint_idx = 0; in cn10k_sq_aq_init()
103 aq->qidx = qidx; in cn10k_sq_aq_init()
306 if (!aq) in cn10k_map_unmap_rq_policer()
320 aq->qidx = rq_idx; in cn10k_map_unmap_rq_policer()
373 if (!aq) in cn10k_set_ipolicer_rate()
393 aq->prof.rdiv = rdiv; in cn10k_set_ipolicer_rate()
416 aq->prof.lmode = 0x1; in cn10k_set_ipolicer_rate()
[all …]
A Dotx2_common.c314 if (!aq) { in otx2_set_rss_table()
324 if (!aq) { in otx2_set_rss_table()
756 if (!aq) in otx2_rq_init()
760 aq->rq.ena = 1; in otx2_rq_init()
792 if (!aq) in otx2_sq_aq_init()
798 aq->sq.ena = 1; in otx2_sq_aq_init()
915 if (!aq) in otx2_cq_init()
1174 if (!aq) { in otx2_aura_init()
1180 if (!aq) in otx2_aura_init()
1245 if (!aq) { in otx2_pool_init()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npa.c18 struct admin_queue *aq = block->aq; in npa_aq_enqueue_wait() local
29 memcpy((void *)(aq->inst->base + (head * aq->inst->entry_sz)), in npa_aq_enqueue_wait()
60 struct admin_queue *aq; in rvu_npa_aq_enq_inst() local
74 aq = block->aq; in rvu_npa_aq_enq_inst()
75 if (!aq) { in rvu_npa_aq_enq_inst()
97 spin_lock(&aq->lock); in rvu_npa_aq_enq_inst()
100 memset(aq->res->base, 0, aq->res->entry_sz); in rvu_npa_aq_enq_inst()
102 ctx = aq->res->base + 128; in rvu_npa_aq_enq_inst()
144 spin_unlock(&aq->lock); in rvu_npa_aq_enq_inst()
151 spin_unlock(&aq->lock); in rvu_npa_aq_enq_inst()
[all …]
/linux/lib/
A Dkasprintf.c19 va_list aq; in kvasprintf() local
21 va_copy(aq, ap); in kvasprintf()
22 first = vsnprintf(NULL, 0, fmt, aq); in kvasprintf()
23 va_end(aq); in kvasprintf()
A Dtest_printf.c44 va_list aq; in do_test() local
50 va_copy(aq, ap); in do_test()
51 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test()
52 va_end(aq); in do_test()
/linux/drivers/crypto/hisilicon/sec2/
A Dsec_crypto.c1180 struct aead_request *aq = req->aead_req.aead_req; in GEN_SEC_AEAD_SETKEY_FUNC() local
1182 return sec_cipher_map(ctx, req, aq->src, aq->dst); in GEN_SEC_AEAD_SETKEY_FUNC()
1187 struct aead_request *aq = req->aead_req.aead_req; in sec_aead_sgl_unmap() local
1189 sec_cipher_unmap(ctx, req, aq->src, aq->dst); in sec_aead_sgl_unmap()
1492 struct aead_request *aq = a_req->aead_req; in sec_auth_bd_fill_xcm() local
1507 sec_sqe->type2.alen_ivllen = cpu_to_le32(aq->assoclen); in sec_auth_bd_fill_xcm()
1518 struct aead_request *aq = a_req->aead_req; in sec_auth_bd_fill_xcm_v3() local
1533 sqe3->a_len_key = cpu_to_le32(aq->assoclen); in sec_auth_bd_fill_xcm_v3()
1535 sqe3->cipher_src_offset = cpu_to_le16((u16)aq->assoclen); in sec_auth_bd_fill_xcm_v3()
1544 struct aead_request *aq = a_req->aead_req; in sec_auth_bd_fill_ex() local
[all …]

Completed in 98 milliseconds

12