Home
last modified time | relevance | path

Searched defs:cq (Results 1 – 25 of 128) sorted by relevance

123456

/linux/drivers/net/ethernet/intel/ice/
H A Dice_controlq.c36 struct ice_ctl_q_info *cq = &hw->adminq; in ice_adminq_init_regs() local
49 struct ice_ctl_q_info *cq = &hw->mailboxq; in ice_mailbox_init_regs() local
62 struct ice_ctl_q_info *cq = &hw->sbq; in ice_sb_init_regs() local
74 bool ice_check_sq_alive(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_check_sq_alive()
91 ice_alloc_ctrlq_sq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_sq_ring()
111 ice_alloc_ctrlq_rq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_rq_ring()
147 ice_alloc_rq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_rq_bufs()
219 ice_alloc_sq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_sq_bufs()
287 static int ice_cfg_sq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_cfg_sq_regs()
299 static int ice_cfg_rq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_cfg_rq_regs()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcq.c69 void mlx5_add_cq_to_tasklet(struct mlx5_core_cq *cq, in mlx5_add_cq_to_tasklet()
100 static void mlx5_core_cq_dummy_cb(struct mlx5_core_cq *cq, struct mlx5_eqe *eqe) in mlx5_core_cq_dummy_cb()
108 int mlx5_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_create_cq()
181 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_create_cq()
190 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq) in mlx5_core_destroy_cq()
215 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_query_cq()
226 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_modify_cq()
238 struct mlx5_core_cq *cq, in mlx5_core_modify_cq_moderation()
H A Dwc.c45 struct mlx5_wc_cq cq; member
50 struct mlx5_wc_cq *cq) in mlx5_wc_create_cqwq()
76 static int create_wc_cq(struct mlx5_wc_cq *cq, void *cqc_data) in create_wc_cq()
115 static int mlx5_wc_create_cq(struct mlx5_core_dev *mdev, struct mlx5_wc_cq *cq) in mlx5_wc_create_cq()
151 static void mlx5_wc_destroy_cq(struct mlx5_wc_cq *cq) in mlx5_wc_destroy_cq()
326 struct mlx5_wc_cq *cq = &sq->cq; in mlx5_wc_poll_cq() local
/linux/drivers/scsi/snic/
H A Dvnic_cq.c10 void svnic_cq_free(struct vnic_cq *cq) in svnic_cq_free()
17 int svnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, in svnic_cq_alloc()
33 void svnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, in svnic_cq_init()
56 void svnic_cq_clean(struct vnic_cq *cq) in svnic_cq_clean()
/linux/drivers/scsi/fnic/
H A Dvnic_cq.c12 void vnic_cq_free(struct vnic_cq *cq) in vnic_cq_free()
19 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, in vnic_cq_alloc()
40 void vnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, in vnic_cq_init()
63 void vnic_cq_clean(struct vnic_cq *cq) in vnic_cq_clean()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c169 static inline struct mthca_cqe *get_cqe(struct mthca_cq *cq, int entry) in get_cqe()
179 static inline struct mthca_cqe *next_cqe_sw(struct mthca_cq *cq) in next_cqe_sw()
204 static inline void update_cons_index(struct mthca_dev *dev, struct mthca_cq *cq, in update_cons_index()
219 struct mthca_cq *cq; in mthca_cq_completion() local
236 struct mthca_cq *cq; in mthca_cq_event() local
273 void mthca_cq_clean(struct mthca_dev *dev, struct mthca_cq *cq, u32 qpn, in mthca_cq_clean()
325 void mthca_cq_resize_copy_cqes(struct mthca_cq *cq) in mthca_cq_resize_copy_cqes()
372 static void handle_error_cqe(struct mthca_dev *dev, struct mthca_cq *cq, in handle_error_cqe()
479 struct mthca_cq *cq, in mthca_poll_one()
658 struct mthca_cq *cq = to_mcq(ibcq); in mthca_poll_cq() local
[all …]
/linux/drivers/scsi/elx/efct/
H A Defct_hw_queues.c15 struct hw_cq *cq = NULL; in efct_hw_init_queues() local
162 struct hw_cq *cq = kzalloc_obj(*cq); in efct_hw_new_cq() local
198 struct hw_cq *cq = NULL; in efct_hw_new_cq_set() local
244 efct_hw_new_mq(struct hw_cq *cq, u32 entry_count) in efct_hw_new_mq()
275 efct_hw_new_wq(struct hw_cq *cq, u32 entry_count) in efct_hw_new_wq()
390 struct hw_cq *cq; in efct_hw_del_eq() local
404 efct_hw_del_cq(struct hw_cq *cq) in efct_hw_del_cq()
521 efct_hw_rqpair_process_rq(struct efct_hw *hw, struct hw_cq *cq, in efct_hw_rqpair_process_rq()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Daso.c28 struct mlx5_aso_cq cq; member
40 static void mlx5_aso_free_cq(struct mlx5_aso_cq *cq) in mlx5_aso_free_cq()
46 void *cqc_data, struct mlx5_aso_cq *cq) in mlx5_aso_alloc_cq()
75 static int create_aso_cq(struct mlx5_aso_cq *cq, void *cqc_data) in create_aso_cq()
115 static void mlx5_aso_destroy_cq(struct mlx5_aso_cq *cq) in mlx5_aso_destroy_cq()
122 struct mlx5_aso_cq *cq) in mlx5_aso_create_cq()
393 struct mlx5_aso_cq *cq = &aso->cq; in mlx5_aso_poll_cq() local
/linux/drivers/infiniband/ulp/iser/
H A Diser_initiator.c145 void (*done)(struct ib_cq *cq, struct ib_wc *wc)) in iser_create_send_desc()
532 void iser_login_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_login_rsp()
633 void iser_task_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_task_rsp()
673 void iser_cmd_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_cmd_comp()
679 void iser_ctrl_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_ctrl_comp()
695 void iser_dataout_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_dataout_comp()
/linux/drivers/infiniband/hw/cxgb4/
H A Drestrack.c271 static int fill_cq(struct sk_buff *msg, struct t4_cq *cq) in fill_cq()
333 static int fill_hwcqes(struct sk_buff *msg, struct t4_cq *cq, in fill_hwcqes()
350 static int fill_swcqes(struct sk_buff *msg, struct t4_cq *cq, in fill_swcqes()
378 struct t4_cq cq; in c4iw_fill_res_cq_entry() local
H A Dt4.h703 static inline void write_gts(struct t4_cq *cq, u32 val) in write_gts()
712 static inline int t4_clear_cq_armed(struct t4_cq *cq) in t4_clear_cq_armed()
717 static inline int t4_arm_cq(struct t4_cq *cq, int se) in t4_arm_cq()
733 static inline void t4_swcq_produce(struct t4_cq *cq) in t4_swcq_produce()
747 static inline void t4_swcq_consume(struct t4_cq *cq) in t4_swcq_consume()
754 static inline void t4_hwcq_consume(struct t4_cq *cq) in t4_hwcq_consume()
770 static inline int t4_valid_cqe(struct t4_cq *cq, struct t4_cqe *cqe) in t4_valid_cqe()
775 static inline int t4_cq_notempty(struct t4_cq *cq) in t4_cq_notempty()
780 static inline int t4_next_hw_cqe(struct t4_cq *cq, struct t4_cqe **cqe) in t4_next_hw_cqe()
805 static inline int t4_next_cqe(struct t4_cq *cq, struct t4_cqe **cqe) in t4_next_cqe()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dsend.c581 static int mlx5hws_parse_cqe(struct mlx5hws_send_ring_cq *cq, in mlx5hws_parse_cqe()
599 static int mlx5hws_cq_poll_one(struct mlx5hws_send_ring_cq *cq) in mlx5hws_cq_poll_one()
628 struct mlx5hws_send_ring_cq *cq = &send_ring->send_cq; in hws_send_engine_poll_cq() local
765 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_create_sq()
845 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_create_sq_rdy()
864 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_open_sq()
905 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_alloc_cq()
937 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_create_cq()
975 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_open_cq()
1006 static void hws_send_ring_close_cq(struct mlx5hws_send_ring_cq *cq) in hws_send_ring_close_cq()
/linux/fs/smb/smbdirect/
H A Drw.c80 static void smbdirect_connection_rdma_rw_done(struct ib_cq *cq, struct ib_wc *wc, in smbdirect_connection_rdma_rw_done()
98 static void smbdirect_connection_rdma_read_done(struct ib_cq *cq, struct ib_wc *wc) in smbdirect_connection_rdma_read_done()
103 static void smbdirect_connection_rdma_write_done(struct ib_cq *cq, struct ib_wc *wc) in smbdirect_connection_rdma_write_done()
H A Dmr.c208 static void smbdirect_connection_mr_io_register_done(struct ib_cq *cq, struct ib_wc *wc) in smbdirect_connection_mr_io_register_done()
222 static void smbdirect_connection_mr_io_local_inv_done(struct ib_cq *cq, struct ib_wc *wc) in smbdirect_connection_mr_io_local_inv_done()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c58 struct otx2_cq_queue *cq) in otx2_nix_cq_op_status()
82 static struct nix_cqe_hdr_s *otx2_get_next_cqe(struct otx2_cq_queue *cq) in otx2_get_next_cqe()
126 struct otx2_cq_queue *cq, in otx2_snd_pkt_handler()
332 struct otx2_cq_queue *cq, in otx2_rcv_pkt_handler()
395 struct otx2_cq_queue *cq, int budget) in otx2_rx_napi_handler()
436 int otx2_refill_pool_ptrs(void *dev, struct otx2_cq_queue *cq) in otx2_refill_pool_ptrs()
465 struct otx2_cq_queue *cq, int budget) in otx2_tx_napi_handler()
568 struct otx2_cq_queue *cq = NULL; in otx2_napi_handler() local
1276 void otx2_cleanup_rx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq, int qidx) in otx2_cleanup_rx_cqes()
1318 void otx2_cleanup_tx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq) in otx2_cleanup_tx_cqes()
[all …]
/linux/drivers/infiniband/sw/siw/
H A Dsiw_cq.c48 int siw_reap_cqe(struct siw_cq *cq, struct ib_wc *wc) in siw_reap_cqe()
116 void siw_cq_flush(struct siw_cq *cq) in siw_cq_flush()
/linux/drivers/nvme/target/
H A Dcore.c820 void nvmet_cq_init(struct nvmet_cq *cq) in nvmet_cq_init()
826 bool nvmet_cq_get(struct nvmet_cq *cq) in nvmet_cq_get()
832 void nvmet_cq_put(struct nvmet_cq *cq) in nvmet_cq_put()
839 void nvmet_cq_setup(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, in nvmet_cq_setup()
848 void nvmet_cq_destroy(struct nvmet_cq *cq) in nvmet_cq_destroy()
897 bool nvmet_cq_in_use(struct nvmet_cq *cq) in nvmet_cq_in_use()
903 u16 nvmet_cq_create(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, in nvmet_cq_create()
940 struct nvmet_cq *cq, u16 sqid, u16 size) in nvmet_sq_create()
1017 int nvmet_sq_init(struct nvmet_sq *sq, struct nvmet_cq *cq) in nvmet_sq_init()
/linux/net/sunrpc/xprtrdma/
H A Dfrwr_ops.c429 frwr_wc_fastreg(struct ib_cq * cq,struct ib_wc * wc) frwr_wc_fastreg() argument
524 frwr_wc_localinv(struct ib_cq * cq,struct ib_wc * wc) frwr_wc_localinv() argument
543 frwr_wc_localinv_wake(struct ib_cq * cq,struct ib_wc * wc) frwr_wc_localinv_wake() argument
640 frwr_wc_localinv_done(struct ib_cq * cq,struct ib_wc * wc) frwr_wc_localinv_done() argument
[all...]
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_roce_cm.c75 struct qedr_cq *cq = dev->gsi_sqcq; in qedr_ll2_complete_tx_packet() local
100 struct qedr_cq *cq = dev->gsi_rqcq; in qedr_ll2_complete_rx_packet() local
137 struct qedr_cq *cq; in qedr_destroy_gsi_cq() local
671 struct qedr_cq *cq = get_qedr_cq(ibcq); in qedr_gsi_poll_cq() local
/linux/include/linux/mlx5/
H A Dcq.h141 static inline void mlx5_cq_set_ci(struct mlx5_core_cq *cq) in mlx5_cq_set_ci()
151 static inline void mlx5_cq_arm(struct mlx5_core_cq *cq, u32 cmd, in mlx5_cq_arm()
175 static inline void mlx5_cq_hold(struct mlx5_core_cq *cq) in mlx5_cq_hold()
180 static inline void mlx5_cq_put(struct mlx5_core_cq *cq) in mlx5_cq_put()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c727 static bool __ionic_rx_service(struct ionic_cq *cq, struct bpf_prog *xdp_prog) in __ionic_rx_service()
761 bool ionic_rx_service(struct ionic_cq *cq) in ionic_rx_service()
949 struct ionic_cq *cq = napi_to_cq(napi); in ionic_tx_napi() local
977 static void ionic_xdp_do_flush(struct ionic_cq *cq) in ionic_xdp_do_flush()
985 static unsigned int ionic_rx_cq_service(struct ionic_cq *cq, in ionic_rx_cq_service()
1014 struct ionic_cq *cq = napi_to_cq(napi); in ionic_rx_napi() local
1238 static bool ionic_tx_service(struct ionic_cq *cq, in ionic_tx_service()
1284 unsigned int ionic_tx_cq_service(struct ionic_cq *cq, in ionic_tx_cq_service()
1317 void ionic_tx_flush(struct ionic_cq *cq) in ionic_tx_flush()
/linux/drivers/infiniband/hw/ionic/
H A Dionic_admin.c79 static bool ionic_admin_next_cqe(struct ionic_ibdev *dev, struct ionic_cq *cq, in ionic_admin_next_cqe()
96 struct ionic_cq *cq = &aq->vcq->cq[0]; in ionic_admin_poll_locked() local
520 struct ionic_cq *cq; in ionic_create_rdma_admincq() local
634 struct ionic_cq *cq, *cq_tmp; in ionic_flush_qs() local
793 struct ionic_cq *cq; in ionic_cq_event() local
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c364 struct mana_cq *cq; in mana_start_xmit() local
1909 static void mana_poll_tx_cq(struct mana_cq *cq) in mana_poll_tx_cq()
2309 static void mana_process_rx_cqe(struct mana_rxq *rxq, struct mana_cq *cq, in mana_process_rx_cqe()
2411 static void mana_poll_rx_cq(struct mana_cq *cq) in mana_poll_rx_cq()
2454 struct mana_cq *cq; in mana_rx_dim_work() local
2472 struct mana_cq *cq; in mana_tx_dim_work() local
2490 void mana_dim_change(struct mana_cq *cq, bool enable) in mana_dim_change()
2524 static void mana_update_rx_dim(struct mana_cq *cq) in mana_update_rx_dim()
2541 static void mana_update_tx_dim(struct mana_cq *cq) in mana_update_tx_dim()
2563 struct mana_cq *cq = context; in mana_cq_handler() local
[all …]
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c722 static void hisi_sas_sync_poll_cq(struct hisi_sas_cq *cq) in hisi_sas_sync_poll_cq()
729 static bool hisi_sas_queue_is_poll(struct hisi_sas_cq *cq) in hisi_sas_queue_is_poll()
738 static void hisi_sas_sync_cq(struct hisi_sas_cq *cq) in hisi_sas_sync_cq()
751 struct hisi_sas_cq *cq = &hisi_hba->cq[i]; in hisi_sas_sync_poll_cqs() local
764 struct hisi_sas_cq *cq = &hisi_hba->cq[i]; in hisi_sas_sync_cqs() local
779 struct hisi_sas_cq *cq = in hisi_sas_tmf_aborted() local
1202 struct hisi_sas_cq *cq = &hisi_hba->cq[i]; in hisi_sas_internal_task_abort_dev() local
1704 struct hisi_sas_cq *cq; in hisi_sas_abort_task() local
1774 struct hisi_sas_cq *cq = &hisi_hba->cq[slot->dlvry_queue]; in hisi_sas_abort_task() local
2042 struct hisi_sas_cq *cq = in hisi_sas_internal_abort_timeout() local
[all …]
/linux/drivers/net/ethernet/amd/pds_core/
H A Dadminq.c12 struct pdsc_cq *cq = &qcq->cq; in pdsc_process_notifyq() local
81 struct pdsc_cq *cq = &qcq->cq; in pdsc_process_adminq() local

123456