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

123

/linux-master/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) argument
27 return aq->card->hwinfo.ep11 || aq->card->hwinfo.accel;
30 static inline bool ap_q_supports_assoc(struct ap_queue *aq) argument
32 return aq->card->hwinfo.ep11;
35 static inline bool ap_q_needs_bind(struct ap_queue *aq) argument
37 return ap_q_supports_bind(aq) && ap_sb_available();
42 * @aq: The AP queue
49 static int ap_queue_enable_irq(struct ap_queue *aq, voi argument
102 ap_sm_nop(struct ap_queue *aq) argument
114 ap_sm_recv(struct ap_queue *aq) argument
191 ap_sm_read(struct ap_queue *aq) argument
240 ap_sm_write(struct ap_queue *aq) argument
304 ap_sm_read_write(struct ap_queue *aq) argument
315 ap_sm_reset(struct ap_queue *aq) argument
344 ap_sm_reset_wait(struct ap_queue *aq) argument
385 ap_sm_setirq_wait(struct ap_queue *aq) argument
424 ap_sm_assoc_wait(struct ap_queue *aq) argument
509 ap_sm_event(struct ap_queue *aq, enum ap_sm_event event) argument
518 ap_sm_event_loop(struct ap_queue *aq, enum ap_sm_event event) argument
534 struct ap_queue *aq = to_ap_queue(dev); local
555 struct ap_queue *aq = to_ap_queue(dev); local
569 struct ap_queue *aq = to_ap_queue(dev); local
584 struct ap_queue *aq = to_ap_queue(dev); local
599 struct ap_queue *aq = to_ap_queue(dev); local
623 struct ap_queue *aq = to_ap_queue(dev); local
642 struct ap_queue *aq = to_ap_queue(dev); local
666 struct ap_queue *aq = to_ap_queue(dev); local
680 struct ap_queue *aq = to_ap_queue(dev); local
694 struct ap_queue *aq = to_ap_queue(dev); local
715 struct ap_queue *aq = to_ap_queue(dev); local
773 struct ap_queue *aq = to_ap_queue(dev); local
847 struct ap_queue *aq = to_ap_queue(dev); local
880 struct ap_queue *aq = to_ap_queue(dev); local
975 struct ap_queue *aq = to_ap_queue(dev); local
1015 struct ap_queue *aq = to_ap_queue(dev); local
1098 struct ap_queue *aq = to_ap_queue(dev); local
1109 struct ap_queue *aq; local
1129 ap_queue_init_reply(struct ap_queue *aq, struct ap_message *reply) argument
1144 ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg) argument
1180 ap_queue_usable(struct ap_queue *aq) argument
1220 ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg) argument
1245 __ap_flush_queue(struct ap_queue *aq) argument
1264 ap_flush_queue(struct ap_queue *aq) argument
1272 ap_queue_prepare_remove(struct ap_queue *aq) argument
1283 ap_queue_remove(struct ap_queue *aq) argument
1297 _ap_queue_init_state(struct ap_queue *aq) argument
1306 ap_queue_init_state(struct ap_queue *aq) argument
[all...]
H A Dap_card.c81 struct ap_queue *aq; local
85 hash_for_each(ap_queues, bkt, aq, hnode)
86 if (ac == aq->card)
87 aq->total_request_count = 0;
100 struct ap_queue *aq; local
106 hash_for_each(ap_queues, bkt, aq, hnode)
107 if (ac == aq->card)
108 reqq_cnt += aq->requestq_count;
119 struct ap_queue *aq; local
125 hash_for_each(ap_queues, bkt, aq, hnod
[all...]
H A Dap_bus.h256 enum ap_sm_wait ap_sm_event(struct ap_queue *aq, enum ap_sm_event event);
257 enum ap_sm_wait ap_sm_event_loop(struct ap_queue *aq, enum ap_sm_event event);
259 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
260 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
261 void ap_flush_queue(struct ap_queue *aq);
262 bool ap_queue_usable(struct ap_queue *aq);
274 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
276 void ap_queue_prepare_remove(struct ap_queue *aq);
277 void ap_queue_remove(struct ap_queue *aq);
278 void ap_queue_init_state(struct ap_queue *aq);
[all...]
H A Dap_bus.c407 struct ap_queue *aq = from_timer(aq, t, timeout); local
409 spin_lock_bh(&aq->lock);
410 ap_wait(ap_sm_event(aq, AP_SM_EVENT_TIMEOUT));
411 spin_unlock_bh(&aq->lock);
447 struct ap_queue *aq; local
458 hash_for_each(ap_queues, bkt, aq, hnode) {
459 spin_lock_bh(&aq->lock);
460 wait = min(wait, ap_sm_event_loop(aq, AP_SM_EVENT_POLL));
461 spin_unlock_bh(&aq
471 struct ap_queue *aq; local
616 struct ap_queue *aq = to_ap_queue(&ap_dev->device); local
954 struct ap_queue *aq; local
1806 struct ap_queue *aq; local
[all...]
H A Dzcrypt_queue.c44 struct ap_queue *aq = to_ap_queue(dev); local
45 int online = aq->config && !aq->chkstop && zq->online ? 1 : 0;
55 struct ap_queue *aq = to_ap_queue(dev); local
62 if (online && (!aq->config || !aq->card->config ||
63 aq->chkstop || aq->card->chkstop))
73 ap_send_online_uevent(&aq->ap_dev, online);
H A Dzcrypt_cex4.c652 struct ap_queue *aq = to_ap_queue(&ap_dev->device); local
656 if (aq->card->hwinfo.accel) {
657 zq = zcrypt_queue_alloc(aq->card->maxmsgsize);
662 } else if (aq->card->hwinfo.cca) {
663 zq = zcrypt_queue_alloc(aq->card->maxmsgsize);
668 } else if (aq->card->hwinfo.ep11) {
669 zq = zcrypt_queue_alloc(aq->card->maxmsgsize);
678 zq->queue = aq;
681 ap_queue_init_state(aq);
682 ap_queue_init_reply(aq,
717 struct ap_queue *aq = to_ap_queue(&ap_dev->device); local
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k.c77 struct nix_cn10k_aq_enq_req *aq; local
81 aq = otx2_mbox_alloc_msg_nix_cn10k_aq_enq(&pfvf->mbox);
82 if (!aq)
85 aq->sq.cq = pfvf->hw.rx_queues + qidx;
86 aq->sq.max_sqe_size = NIX_MAXSQESZ_W16; /* 128 byte */
87 aq->sq.cq_ena = 1;
88 aq->sq.ena = 1;
89 aq->sq.smq = otx2_get_smq_idx(pfvf, qidx);
90 aq->sq.smq_rr_weight = mtu_to_dwrr_weight(pfvf, pfvf->tx_max_pktlen);
91 aq
304 struct nix_cn10k_aq_enq_req *aq; local
363 struct nix_cn10k_aq_enq_req *aq; local
[all...]
H A Dotx2_common.c316 struct nix_aq_enq_req *aq; local
323 aq = otx2_mbox_alloc_msg_nix_aq_enq(mbox);
324 if (!aq) {
333 aq = otx2_mbox_alloc_msg_nix_aq_enq(mbox);
334 if (!aq) {
340 aq->rss.rq = rss_ctx->ind_tbl[idx];
343 aq->qidx = index + idx;
344 aq->ctype = NIX_AQ_CTYPE_RSS;
345 aq->op = NIX_AQ_INSTOP_INIT;
856 struct nix_aq_enq_req *aq; local
890 struct nix_aq_enq_req *aq; local
989 struct nix_aq_enq_req *aq; local
1285 struct npa_aq_enq_req *aq; local
1363 struct npa_aq_enq_req *aq; local
[all...]
H A Dotx2_dcbnl.c330 struct nix_aq_enq_req *aq; local
347 aq = otx2_mbox_alloc_msg_nix_aq_enq(&pfvf->mbox);
348 if (!aq) {
353 aq->cq.bpid = pfvf->bpid[vlan_prio];
354 aq->cq_mask.bpid = GENMASK(8, 0);
357 aq->qidx = qidx;
358 aq->ctype = NIX_AQ_CTYPE_CQ;
359 aq->op = NIX_AQ_INSTOP_WRITE;
/linux-master/drivers/infiniband/hw/efa/
H A Defa_com.c126 struct efa_com_admin_queue *aq = &edev->aq; local
127 struct efa_com_admin_sq *sq = &aq->sq;
128 u16 size = aq->depth * sizeof(*sq->entries);
134 dma_alloc_coherent(aq->dmadev, size, &sq->dma_addr, GFP_KERNEL);
152 EFA_SET(&aq_caps, EFA_REGS_AQ_CAPS_AQ_DEPTH, aq->depth);
163 struct efa_com_admin_queue *aq = &edev->aq; local
164 struct efa_com_admin_cq *cq = &aq->cq;
165 u16 size = aq
244 efa_com_alloc_ctx_id(struct efa_com_admin_queue *aq) argument
256 efa_com_dealloc_ctx_id(struct efa_com_admin_queue *aq, u16 ctx_id) argument
265 efa_com_put_comp_ctx(struct efa_com_admin_queue *aq, struct efa_comp_ctx *comp_ctx) argument
277 efa_com_get_comp_ctx(struct efa_com_admin_queue *aq, u16 cmd_id, bool capture) 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) argument
355 efa_com_init_comp_ctxt(struct efa_com_admin_queue *aq) 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) argument
409 efa_com_handle_single_admin_completion(struct efa_com_admin_queue *aq, struct efa_admin_acq_entry *cqe) argument
433 efa_com_handle_admin_completion(struct efa_com_admin_queue *aq) argument
493 efa_com_wait_and_process_admin_cq_polling(struct efa_comp_ctx *comp_ctx, struct efa_com_admin_queue *aq) argument
531 efa_com_wait_and_process_admin_cq_interrupts(struct efa_comp_ctx *comp_ctx, struct efa_com_admin_queue *aq) argument
587 efa_com_wait_and_process_admin_cq(struct efa_comp_ctx *comp_ctx, struct efa_com_admin_queue *aq) 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) argument
661 struct efa_com_admin_queue *aq = &edev->aq; local
725 struct efa_com_admin_queue *aq = &edev->aq; local
1097 struct efa_com_admin_queue *aq = &edev->aq; local
1131 struct efa_com_admin_queue *aq = &edev->aq; local
[all...]
H A Defa_com_cmd.c15 struct efa_com_admin_queue *aq = &edev->aq; local
38 err = efa_com_cmd_exec(aq,
63 struct efa_com_admin_queue *aq = &edev->aq; local
78 err = efa_com_cmd_exec(aq,
98 struct efa_com_admin_queue *aq = &edev->aq; local
106 err = efa_com_cmd_exec(aq,
132 struct efa_com_admin_queue *aq local
159 struct efa_com_admin_queue *aq = &edev->aq; local
207 struct efa_com_admin_queue *aq = &edev->aq; local
234 struct efa_com_admin_queue *aq = &edev->aq; local
293 struct efa_com_admin_queue *aq = &edev->aq; local
320 struct efa_com_admin_queue *aq = &edev->aq; local
351 struct efa_com_admin_queue *aq = &edev->aq; local
394 struct efa_com_admin_queue *aq; local
565 struct efa_com_admin_queue *aq; local
661 struct efa_com_admin_queue *aq = &edev->aq; local
687 struct efa_com_admin_queue *aq = &edev->aq; local
713 struct efa_com_admin_queue *aq = &edev->aq; local
739 struct efa_com_admin_queue *aq = &edev->aq; local
766 struct efa_com_admin_queue *aq = &edev->aq; local
[all...]
H A Defa_com.h107 struct efa_com_admin_queue aq; member in struct:efa_com_dev
171 int efa_com_cmd_exec(struct efa_com_admin_queue *aq,
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq.c19 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.asq.desc_buf,
20 (hw->aq.num_asq_entries *
26 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf,
27 (hw->aq.num_asq_entries *
30 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf);
45 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.arq.desc_buf,
46 (hw->aq.num_arq_entries *
62 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf);
74 i40e_free_dma_mem(hw, &hw->aq.arq.desc_buf);
93 ret_code = i40e_allocate_virt_mem(hw, &hw->aq
[all...]
H A Di40e_devlink.c19 struct i40e_adminq_info *aq = &hw->aq; local
21 snprintf(buf, len, "%u.%u", aq->fw_maj_ver, aq->fw_min_ver);
26 struct i40e_adminq_info *aq = &hw->aq; local
28 snprintf(buf, len, "%05d", aq->fw_build);
33 struct i40e_adminq_info *aq = &hw->aq; local
35 snprintf(buf, len, "%u.%u", aq
[all...]
H A Di40e_nvm.c78 access, time_left, ret_code, hw->aq.asq_last_status);
100 time_left, ret_code, hw->aq.asq_last_status);
128 (total_delay < hw->aq.asq_cmd_timeout)) {
895 "%s status %d aq %d\n",
896 __func__, status, hw->aq.asq_last_status);
897 *perrno = i40e_aq_rc_to_posix(status, hw->aq.asq_last_status);
938 "%s status %d aq %d\n",
939 __func__, status, hw->aq.asq_last_status);
940 *perrno = i40e_aq_rc_to_posix(status, hw->aq.asq_last_status);
978 "%s status %d aq
[all...]
H A Di40e_client.c354 cdev->lan_info.fw_maj_ver = pf->hw.aq.fw_maj_ver;
355 cdev->lan_info.fw_min_ver = pf->hw.aq.fw_min_ver;
356 cdev->lan_info.fw_build = pf->hw.aq.fw_build;
546 dev_err(&pf->pdev->dev, "Unable to send iWarp message to VF, error %d, aq status %d\n",
547 err, hw->aq.asq_last_status);
687 pf->hw.aq.asq_last_status));
715 pf->hw.aq.asq_last_status));
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_adminq.c18 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.asq.desc_buf,
20 (hw->aq.num_asq_entries *
26 ret_code = iavf_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf,
27 (hw->aq.num_asq_entries *
30 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf);
45 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.arq.desc_buf,
47 (hw->aq.num_arq_entries *
63 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf);
75 iavf_free_dma_mem(hw, &hw->aq.arq.desc_buf);
94 ret_code = iavf_allocate_virt_mem(hw, &hw->aq
[all...]
/linux-master/drivers/spi/
H A Datmel-quadspi.c226 static u32 atmel_qspi_read(struct atmel_qspi *aq, u32 offset) argument
228 u32 value = readl_relaxed(aq->regs + offset);
233 dev_vdbg(&aq->pdev->dev, "read 0x%08x from %s\n", value,
240 static void atmel_qspi_write(u32 value, struct atmel_qspi *aq, u32 offset) argument
245 dev_vdbg(&aq->pdev->dev, "write 0x%08x into %s\n", value,
249 writel_relaxed(value, aq->regs + offset);
295 static int atmel_qspi_set_cfg(struct atmel_qspi *aq, argument
378 if (aq->mr != QSPI_MR_SMM) {
379 atmel_qspi_write(QSPI_MR_SMM, aq, QSPI_MR);
380 aq
409 struct atmel_qspi *aq = spi_controller_get_devdata(mem->spi->controller); local
480 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); local
516 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); local
546 atmel_qspi_init(struct atmel_qspi *aq) argument
561 struct atmel_qspi *aq = dev_id; local
581 struct atmel_qspi *aq; local
706 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); local
735 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); local
756 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); local
779 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); local
790 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); local
[all...]
/linux-master/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-queue.c28 struct ipu6_isys_queue *aq = vb2_queue_to_isys_queue(q); local
29 struct ipu6_isys_video *av = ipu6_isys_queue_to_video(aq);
49 struct ipu6_isys_queue *aq = vb2_queue_to_isys_queue(vb->vb2_queue); local
50 struct ipu6_isys_video *av = ipu6_isys_queue_to_video(aq);
89 struct ipu6_isys_queue *aq = local
93 av = ipu6_isys_queue_to_video(aq);
95 spin_lock_irqsave(&aq->lock, flags);
98 list_add(&ib->head, &aq->active);
100 list_add_tail(&ib->head, &aq->incoming);
101 spin_unlock_irqrestore(&aq
127 struct ipu6_isys_queue *aq; local
169 struct ipu6_isys_queue *aq; local
209 struct ipu6_isys_queue *aq = vb2_queue_to_isys_queue(vb->vb2_queue); local
316 struct ipu6_isys_queue *aq = vb2_queue_to_isys_queue(vb->vb2_queue); local
401 ipu6_isys_link_fmt_validate(struct ipu6_isys_queue *aq) argument
446 return_buffers(struct ipu6_isys_queue *aq, enum vb2_buffer_state state) argument
508 struct ipu6_isys_queue *aq = vb2_queue_to_isys_queue(q); local
597 struct ipu6_isys_queue *aq = vb2_queue_to_isys_queue(q); local
675 struct ipu6_isys_queue *aq = vb2_queue_to_isys_queue(vb->vb2_queue); local
713 struct ipu6_isys_queue *aq = stream->output_pins[info->pin_id].aq; local
781 ipu6_isys_queue_init(struct ipu6_isys_queue *aq) argument
[all...]
H A Dipu6-isys-video.h43 struct ipu6_isys_queue *aq; member in struct:output_pin_data
89 struct ipu6_isys_queue aq; member in struct:ipu6_isys_video
107 container_of(__aq, struct ipu6_isys_video, aq)
H A Dipu6-isys-video.c279 if (vb2_is_busy(&av->aq.vbq))
324 if (vb2_is_busy(&av->aq.vbq))
339 av->aq.vbq.is_multiplanar = V4L2_TYPE_IS_MULTIPLANAR(p->type);
340 av->aq.vbq.is_output = V4L2_TYPE_IS_OUTPUT(p->type);
342 ret = vb2_queue_change_type(&av->aq.vbq, p->type);
355 av->aq.vbq.is_multiplanar = V4L2_TYPE_IS_MULTIPLANAR(p->format.type);
356 av->aq.vbq.is_output = V4L2_TYPE_IS_OUTPUT(p->format.type);
358 ret = vb2_queue_change_type(&av->aq.vbq, p->format.type);
447 struct ipu6_isys_queue *aq = &av->aq; local
527 struct ipu6_isys_queue *aq; local
[all...]
H A Dipu6-isys-queue.h77 int ipu6_isys_queue_init(struct ipu6_isys_queue *aq);
/linux-master/lib/
H A Dkasprintf.c19 va_list aq; local
21 va_copy(aq, ap);
22 first = vsnprintf(NULL, 0, fmt, aq);
23 va_end(aq);
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npa.c18 struct admin_queue *aq = block->aq; local
23 result = (struct npa_aq_res_s *)aq->res->base;
29 memcpy((void *)(aq->inst->base + (head * aq->inst->entry_sz)),
30 (void *)inst, aq->inst->entry_sz);
69 struct admin_queue *aq; local
83 aq = block->aq;
84 if (!aq) {
[all...]
/linux-master/arch/riscv/net/
H A Dbpf_jit.h281 static inline u32 rv_amo_insn(u8 funct5, u8 aq, u8 rl, u8 rs2, u8 rs1, argument
284 u8 funct7 = (funct5 << 2) | (aq << 1) | rl;
564 static inline u32 rv_amoadd_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
566 return rv_amo_insn(0, aq, rl, rs2, rs1, 2, rd, 0x2f);
569 static inline u32 rv_amoand_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
571 return rv_amo_insn(0xc, aq, rl, rs2, rs1, 2, rd, 0x2f);
574 static inline u32 rv_amoor_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
576 return rv_amo_insn(0x8, aq, rl, rs2, rs1, 2, rd, 0x2f);
579 static inline u32 rv_amoxor_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
581 return rv_amo_insn(0x4, aq, r
584 rv_amoswap_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
589 rv_lr_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
594 rv_sc_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
861 rv_amoadd_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
866 rv_amoand_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
871 rv_amoor_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
876 rv_amoxor_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
881 rv_amoswap_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
886 rv_lr_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
891 rv_sc_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) argument
[all...]

Completed in 213 milliseconds

123