Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/s390/crypto/
Dap_queue.c27 static int ap_queue_enable_interruption(struct ap_queue *aq, void *ind) in ap_queue_enable_interruption() argument
34 status = ap_aqic(aq->qid, qirqctrl, ind); in ap_queue_enable_interruption()
44 AP_QID_CARD(aq->qid), in ap_queue_enable_interruption()
45 AP_QID_QUEUE(aq->qid)); in ap_queue_enable_interruption()
119 static enum ap_wait ap_sm_nop(struct ap_queue *aq) in ap_sm_nop() argument
131 static struct ap_queue_status ap_sm_recv(struct ap_queue *aq) in ap_sm_recv() argument
136 status = ap_dqap(aq->qid, &aq->reply->psmid, in ap_sm_recv()
137 aq->reply->message, aq->reply->length); in ap_sm_recv()
140 aq->queue_count--; in ap_sm_recv()
141 if (aq->queue_count > 0) in ap_sm_recv()
[all …]
Dzcrypt_pcixcc.c89 static int zcrypt_pcixcc_rng_supported(struct ap_queue *aq) in zcrypt_pcixcc_rng_supported() argument
118 msg->cprbx.domain = AP_QID_QUEUE(aq->qid); in zcrypt_pcixcc_rng_supported()
120 rc = ap_send(aq->qid, 0x0102030405060708ULL, ap_msg.message, in zcrypt_pcixcc_rng_supported()
128 rc = ap_recv(aq->qid, &psmid, ap_msg.message, 4096); in zcrypt_pcixcc_rng_supported()
238 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_pcixcc_queue_probe() local
245 zq->queue = aq; in zcrypt_pcixcc_queue_probe()
248 rc = zcrypt_pcixcc_rng_supported(aq); in zcrypt_pcixcc_queue_probe()
259 ap_queue_init_reply(aq, &zq->reply); in zcrypt_pcixcc_queue_probe()
260 aq->request_timeout = PCIXCC_CLEANUP_TIME, in zcrypt_pcixcc_queue_probe()
261 aq->private = zq; in zcrypt_pcixcc_queue_probe()
[all …]
Dzcrypt_cex4.c227 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_probe() local
231 if (ap_test_bit(&aq->card->functions, AP_FUNC_ACCEL)) { in zcrypt_cex4_queue_probe()
237 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO)) { in zcrypt_cex4_queue_probe()
243 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_EP11)) { in zcrypt_cex4_queue_probe()
252 zq->queue = aq; in zcrypt_cex4_queue_probe()
255 ap_queue_init_reply(aq, &zq->reply); in zcrypt_cex4_queue_probe()
256 aq->request_timeout = CEX4_CLEANUP_TIME, in zcrypt_cex4_queue_probe()
257 aq->private = zq; in zcrypt_cex4_queue_probe()
260 aq->private = NULL; in zcrypt_cex4_queue_probe()
273 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_remove() local
[all …]
Dzcrypt_cex2a.c158 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2a_queue_probe() local
177 zq->queue = aq; in zcrypt_cex2a_queue_probe()
180 ap_queue_init_reply(aq, &zq->reply); in zcrypt_cex2a_queue_probe()
181 aq->request_timeout = CEX2A_CLEANUP_TIME, in zcrypt_cex2a_queue_probe()
182 aq->private = zq; in zcrypt_cex2a_queue_probe()
185 aq->private = NULL; in zcrypt_cex2a_queue_probe()
198 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2a_queue_remove() local
199 struct zcrypt_queue *zq = aq->private; in zcrypt_cex2a_queue_remove()
201 ap_queue_remove(aq); in zcrypt_cex2a_queue_remove()
Dap_card.c80 struct ap_queue *aq; in request_count_store() local
83 for_each_ap_queue(aq, ac) in request_count_store()
84 aq->total_request_count = 0; in request_count_store()
97 struct ap_queue *aq; in requestq_count_show() local
102 for_each_ap_queue(aq, ac) in requestq_count_show()
103 reqq_cnt += aq->requestq_count; in requestq_count_show()
114 struct ap_queue *aq; in pendingq_count_show() local
119 for_each_ap_queue(aq, ac) in pendingq_count_show()
120 penq_cnt += aq->pendingq_count; in pendingq_count_show()
Dap_bus.c370 struct ap_queue *aq = from_timer(aq, t, timeout); in ap_request_timeout() local
374 spin_lock_bh(&aq->lock); in ap_request_timeout()
375 ap_wait(ap_sm_event(aq, AP_EVENT_TIMEOUT)); in ap_request_timeout()
376 spin_unlock_bh(&aq->lock); in ap_request_timeout()
412 struct ap_queue *aq; in ap_tasklet_fn() local
424 for_each_ap_queue(aq, ac) { in ap_tasklet_fn()
425 spin_lock_bh(&aq->lock); in ap_tasklet_fn()
426 wait = min(wait, ap_sm_event_loop(aq, AP_EVENT_POLL)); in ap_tasklet_fn()
427 spin_unlock_bh(&aq->lock); in ap_tasklet_fn()
438 struct ap_queue *aq; in ap_pending_requests() local
[all …]
Dap_bus.h239 enum ap_wait ap_sm_event(struct ap_queue *aq, enum ap_event event);
240 enum ap_wait ap_sm_event_loop(struct ap_queue *aq, enum ap_event event);
242 void ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
243 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
244 void ap_flush_queue(struct ap_queue *aq);
251 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
253 void ap_queue_remove(struct ap_queue *aq);
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40e_adminq.c30 hw->aq.asq.tail = I40E_VF_ATQT1; in i40e_adminq_init_regs()
31 hw->aq.asq.head = I40E_VF_ATQH1; in i40e_adminq_init_regs()
32 hw->aq.asq.len = I40E_VF_ATQLEN1; in i40e_adminq_init_regs()
33 hw->aq.asq.bal = I40E_VF_ATQBAL1; in i40e_adminq_init_regs()
34 hw->aq.asq.bah = I40E_VF_ATQBAH1; in i40e_adminq_init_regs()
35 hw->aq.arq.tail = I40E_VF_ARQT1; in i40e_adminq_init_regs()
36 hw->aq.arq.head = I40E_VF_ARQH1; in i40e_adminq_init_regs()
37 hw->aq.arq.len = I40E_VF_ARQLEN1; in i40e_adminq_init_regs()
38 hw->aq.arq.bal = I40E_VF_ARQBAL1; in i40e_adminq_init_regs()
39 hw->aq.arq.bah = I40E_VF_ARQBAH1; in i40e_adminq_init_regs()
[all …]
Di40e_common.c337 if (hw->aq.asq.len) in i40evf_check_asq_alive()
338 return !!(rd32(hw, hw->aq.asq.len) & in i40evf_check_asq_alive()
941 use_register = (((hw->aq.api_maj_ver == 1) && in i40evf_read_rx_ctl()
942 (hw->aq.api_min_ver < 5)) || in i40evf_read_rx_ctl()
948 if (hw->aq.asq_last_status == I40E_AQ_RC_EAGAIN && retry) { in i40evf_read_rx_ctl()
1004 use_register = (((hw->aq.api_maj_ver == 1) && in i40evf_write_rx_ctl()
1005 (hw->aq.api_min_ver < 5)) || in i40evf_write_rx_ctl()
1011 if (hw->aq.asq_last_status == I40E_AQ_RC_EAGAIN && retry) { in i40evf_write_rx_ctl()
Di40evf_client.c150 err, adapter->hw.aq.asq_last_status); in i40evf_client_release_qvlist()
432 err, adapter->hw.aq.asq_last_status); in i40evf_client_virtchnl_send()
484 err, adapter->hw.aq.asq_last_status); in i40evf_client_setup_qvlist()
Di40evf_main.c1248 i40evf_aq_str(hw, hw->aq.asq_last_status)); in i40evf_config_rss_aq()
1258 i40evf_aq_str(hw, hw->aq.asq_last_status)); in i40evf_config_rss_aq()
2060 val = rd32(hw, hw->aq.arq.len); in i40evf_adminq_task()
2077 wr32(hw, hw->aq.arq.len, val); in i40evf_adminq_task()
2079 val = rd32(hw, hw->aq.asq.len); in i40evf_adminq_task()
2094 wr32(hw, hw->aq.asq.len, val); in i40evf_adminq_task()
3410 hw->aq.num_arq_entries = I40EVF_AQ_LEN; in i40evf_init_task()
3411 hw->aq.num_asq_entries = I40EVF_AQ_LEN; in i40evf_init_task()
3412 hw->aq.arq_buf_size = I40EVF_MAX_AQ_BUF_SIZE; in i40evf_init_task()
3413 hw->aq.asq_buf_size = I40EVF_MAX_AQ_BUF_SIZE; in i40evf_init_task()
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
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.arq.bah = I40E_VF_ARQBAH1; in i40e_adminq_init_regs()
[all …]
Di40e_nvm.c76 access, time_left, ret_code, hw->aq.asq_last_status); in i40e_acquire_nvm()
98 time_left, ret_code, hw->aq.asq_last_status); in i40e_acquire_nvm()
126 (total_delay < hw->aq.asq_cmd_timeout)) { in i40e_release_nvm()
770 mutex_lock(&hw->aq.arq_mutex); in i40e_nvmupd_command()
808 mutex_unlock(&hw->aq.arq_mutex); in i40e_nvmupd_command()
836 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
847 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
861 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
878 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
895 hw->aq.asq_last_status); in i40e_nvmupd_state_init()
[all …]
Di40e_main.c1562 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_set_mac()
1592 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_config_rss_aq()
1604 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_config_rss_aq()
2066 aq_err = hw->aq.asq_last_status; in i40e_aqc_del_filters()
2100 aq_err = hw->aq.asq_last_status; in i40e_aqc_add_filters()
2149 i40e_aq_str(hw, hw->aq.asq_last_status), in i40e_aqc_broadcast_filter()
2191 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_set_promiscuous()
2203 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_set_promiscuous()
2213 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_set_promiscuous()
2324 filter_list_len = hw->aq.asq_buf_size / in i40e_sync_vsi_filters()
[all …]
Di40e_dcb.c787 if (hw->aq.asq_last_status == I40E_AQ_RC_ENOENT) in i40e_get_ieee_dcb_config()
808 (((hw->aq.fw_maj_ver == 4) && (hw->aq.fw_min_ver < 33)) || in i40e_get_dcb_config()
809 (hw->aq.fw_maj_ver < 4))) in i40e_get_dcb_config()
814 ((hw->aq.fw_maj_ver == 4) && (hw->aq.fw_min_ver == 33))) { in i40e_get_dcb_config()
839 if (hw->aq.asq_last_status == I40E_AQ_RC_ENOENT) in i40e_get_dcb_config()
856 if (hw->aq.asq_last_status == I40E_AQ_RC_ENOENT) in i40e_get_dcb_config()
Di40e_client.c308 cdev->lan_info.fw_maj_ver = pf->hw.aq.fw_maj_ver; in i40e_client_add_instance()
309 cdev->lan_info.fw_min_ver = pf->hw.aq.fw_min_ver; in i40e_client_add_instance()
310 cdev->lan_info.fw_build = pf->hw.aq.fw_build; in i40e_client_add_instance()
560 err, hw->aq.asq_last_status); in i40e_client_virtchnl_send()
704 pf->hw.aq.asq_last_status)); in i40e_client_update_vsi_ctxt()
732 pf->hw.aq.asq_last_status)); in i40e_client_update_vsi_ctxt()
Di40e_debugfs.c460 ring = &(hw->aq.asq); in i40e_dbg_dump_aq_desc()
473 ring = &(hw->aq.arq); in i40e_dbg_dump_aq_desc()
980 pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1093 ret, pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1237 desc->opcode, pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1298 desc->opcode, pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1330 pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1341 __func__, pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1359 __func__, pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
1367 pf->hw.aq.asq_last_status); in i40e_dbg_command_write()
[all …]
Di40e_common.c332 if (hw->aq.asq.len) in i40e_check_asq_alive()
333 return !!(rd32(hw, hw->aq.asq.len) & in i40e_check_asq_alive()
1608 if (hw->aq.asq_last_status == I40E_AQ_RC_EIO) { in i40e_aq_get_phy_capabilities()
1611 } else if (hw->aq.asq_last_status == I40E_AQ_RC_EAGAIN) { in i40e_aq_get_phy_capabilities()
1616 } while ((hw->aq.asq_last_status != I40E_AQ_RC_OK) && in i40e_aq_get_phy_capabilities()
1624 hw->aq.api_maj_ver == I40E_FW_API_VERSION_MAJOR && in i40e_aq_get_phy_capabilities()
1625 hw->aq.api_min_ver >= I40E_MINOR_VER_GET_LINK_INFO_XL710) { in i40e_aq_get_phy_capabilities()
1885 (hw->aq.fw_maj_ver < 4 || (hw->aq.fw_maj_ver == 4 && in i40e_aq_get_link_info()
1886 hw->aq.fw_min_ver < 40)) && hw_link_info->phy_type == 0xE) in i40e_aq_get_link_info()
1889 if (hw->aq.api_maj_ver == I40E_FW_API_VERSION_MAJOR && in i40e_aq_get_link_info()
[all …]
Di40e_ethtool.c1042 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_set_link_ksettings()
1052 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_set_link_ksettings()
1077 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_nway_reset()
1194 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_set_pauseparam()
1200 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_set_pauseparam()
1206 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_set_pauseparam()
1319 ret_val, hw->aq.asq_last_status, errno, in i40e_get_eeprom()
1337 ret_val, hw->aq.asq_last_status); in i40e_get_eeprom()
1354 if (ret_val && hw->aq.asq_last_status == I40E_AQ_RC_EPERM) { in i40e_get_eeprom()
1360 hw->aq.asq_last_status == I40E_AQ_RC_EACCES) { in i40e_get_eeprom()
[all …]
/Linux-v4.19/drivers/mtd/spi-nor/
Datmel-quadspi.c190 static inline u32 qspi_readl(struct atmel_qspi *aq, u32 reg) in qspi_readl() argument
192 return readl_relaxed(aq->regs + reg); in qspi_readl()
195 static inline void qspi_writel(struct atmel_qspi *aq, u32 reg, u32 value) in qspi_writel() argument
197 writel_relaxed(value, aq->regs + reg); in qspi_writel()
200 static int atmel_qspi_run_transfer(struct atmel_qspi *aq, in atmel_qspi_run_transfer() argument
206 ahb_mem = aq->mem; in atmel_qspi_run_transfer()
218 static void atmel_qspi_debug_command(struct atmel_qspi *aq, in atmel_qspi_debug_command() argument
272 #define atmel_qspi_debug_command(aq, cmd, ifr) argument
275 static int atmel_qspi_run_command(struct atmel_qspi *aq, in atmel_qspi_run_command() argument
403 (void)qspi_readl(aq, QSPI_SR); in atmel_qspi_run_command()
[all …]
/Linux-v4.19/lib/
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()
Dtest_printf.c36 va_list aq; in do_test() local
42 va_copy(aq, ap); in do_test()
43 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test()
44 va_end(aq); in do_test()
/Linux-v4.19/drivers/base/
Ddevres.c841 va_list aq; in devm_kvasprintf() local
843 va_copy(aq, ap); in devm_kvasprintf()
844 len = vsnprintf(NULL, 0, fmt, aq); in devm_kvasprintf()
845 va_end(aq); in devm_kvasprintf()
/Linux-v4.19/arch/riscv/include/asm/
Dbitops.h171 return __test_and_op_bit_ord(or, __NOP, nr, addr, .aq); in test_and_set_bit_lock()
/Linux-v4.19/tools/testing/selftests/
Dlib.mk77 @rsync -aq $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(OUTPUT)

12