Home
last modified time | relevance | path

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

123456789

/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_controlq.c34 struct ice_ctl_q_info *cq = &hw->adminq; in ice_adminq_init_regs() local
47 struct ice_ctl_q_info *cq = &hw->mailboxq; in ice_mailbox_init_regs() local
59 bool ice_check_sq_alive(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_check_sq_alive()
76 ice_alloc_ctrlq_sq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_sq_ring()
107 ice_alloc_ctrlq_rq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_rq_ring()
143 ice_alloc_rq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_rq_bufs()
213 ice_alloc_sq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_sq_bufs()
280 ice_cfg_sq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_cfg_sq_regs()
293 ice_cfg_rq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_cfg_rq_regs()
321 static enum ice_status ice_init_sq(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_init_sq()
[all …]
/Linux-v5.4/drivers/infiniband/core/
Dcq.c37 struct ib_cq *cq = dim->priv; in ib_cq_rdma_dim_work() local
47 static void rdma_dim_init(struct ib_cq *cq) in rdma_dim_init()
68 static int __ib_process_cq(struct ib_cq *cq, int budget, struct ib_wc *wcs, in __ib_process_cq()
112 int ib_process_cq_direct(struct ib_cq *cq, int budget) in ib_process_cq_direct()
120 static void ib_cq_completion_direct(struct ib_cq *cq, void *private) in ib_cq_completion_direct()
127 struct ib_cq *cq = container_of(iop, struct ib_cq, iop); in ib_poll_handler() local
144 static void ib_cq_completion_softirq(struct ib_cq *cq, void *private) in ib_cq_completion_softirq()
151 struct ib_cq *cq = container_of(work, struct ib_cq, work); in ib_cq_poll_work() local
163 static void ib_cq_completion_workqueue(struct ib_cq *cq, void *private) in ib_cq_completion_workqueue()
192 struct ib_cq *cq; in __ib_alloc_cq_user() local
[all …]
Duverbs_std_types_cq.c41 struct ib_cq *cq = uobject->object; in uverbs_free_cq() local
71 struct ib_cq *cq; in UVERBS_HANDLER() local
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dcq.c43 static void mlx4_ib_cq_comp(struct mlx4_cq *cq) in mlx4_ib_cq_comp()
49 static void mlx4_ib_cq_event(struct mlx4_cq *cq, enum mlx4_event type) in mlx4_ib_cq_event()
74 static void *get_cqe(struct mlx4_ib_cq *cq, int n) in get_cqe()
79 static void *get_sw_cqe(struct mlx4_ib_cq *cq, int n) in get_sw_cqe()
88 static struct mlx4_cqe *next_cqe_sw(struct mlx4_ib_cq *cq) in next_cqe_sw()
93 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in mlx4_ib_modify_cq()
182 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_create_cq() local
291 static int mlx4_alloc_resize_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, in mlx4_alloc_resize_buf()
315 static int mlx4_alloc_resize_umem(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, in mlx4_alloc_resize_umem()
344 static int mlx4_ib_get_outstanding_cqes(struct mlx4_ib_cq *cq) in mlx4_ib_get_outstanding_cqes()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c40 static void mlx4_en_cq_event(struct mlx4_cq *cq, enum mlx4_event event) in mlx4_en_cq_event()
52 struct mlx4_en_cq *cq; in mlx4_en_create_cq() local
89 int mlx4_en_activate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq, in mlx4_en_activate_cq()
179 struct mlx4_en_cq *cq = *pcq; in mlx4_en_destroy_cq() local
192 void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_deactivate_cq()
203 int mlx4_en_set_cq_moder(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_set_cq_moder()
209 void mlx4_en_arm_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_arm_cq()
Dcq.c82 static void mlx4_add_cq_to_tasklet(struct mlx4_cq *cq) in mlx4_add_cq_to_tasklet()
106 struct mlx4_cq *cq; in mlx4_cq_completion() local
129 struct mlx4_cq *cq; in mlx4_cq_event() local
169 int mlx4_cq_modify(struct mlx4_dev *dev, struct mlx4_cq *cq, in mlx4_cq_modify()
191 int mlx4_cq_resize(struct mlx4_dev *dev, struct mlx4_cq *cq, in mlx4_cq_resize()
343 struct mlx4_cq *cq, unsigned vector, int collapsed, in mlx4_cq_alloc()
435 void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq) in mlx4_cq_free()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_cq.c38 int rxe_cq_chk_attr(struct rxe_dev *rxe, struct rxe_cq *cq, in rxe_cq_chk_attr()
71 struct rxe_cq *cq = (struct rxe_cq *)data; in rxe_send_complete() local
84 int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe, in rxe_cq_from_init()
117 int rxe_cq_resize_queue(struct rxe_cq *cq, int cqe, in rxe_cq_resize_queue()
132 int rxe_cq_post(struct rxe_cq *cq, struct rxe_cqe *cqe, int solicited) in rxe_cq_post()
170 void rxe_cq_disable(struct rxe_cq *cq) in rxe_cq_disable()
181 struct rxe_cq *cq = container_of(arg, typeof(*cq), pelem); in rxe_cq_cleanup() local
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dcq.c40 static void mlx5_ib_cq_comp(struct mlx5_core_cq *cq, struct mlx5_eqe *eqe) in mlx5_ib_cq_comp()
49 struct mlx5_ib_cq *cq = container_of(mcq, struct mlx5_ib_cq, mcq); in mlx5_ib_cq_event() local
68 static void *get_cqe(struct mlx5_ib_cq *cq, int n) in get_cqe()
78 static void *get_sw_cqe(struct mlx5_ib_cq *cq, int n) in get_sw_cqe()
93 static void *next_cqe_sw(struct mlx5_ib_cq *cq) in next_cqe_sw()
397 static void mlx5_ib_poll_sw_comp(struct mlx5_ib_cq *cq, int num_entries, in mlx5_ib_poll_sw_comp()
417 static int mlx5_poll_one(struct mlx5_ib_cq *cq, in mlx5_poll_one()
547 static int poll_soft_wc(struct mlx5_ib_cq *cq, int num_entries, in poll_soft_wc()
575 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_poll_cq() local
613 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_arm_cq() local
[all …]
/Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c67 struct pvrdma_cq *cq = to_vcq(ibcq); in pvrdma_req_notify_cq() local
107 struct pvrdma_cq *cq = to_vcq(ibcq); in pvrdma_create_cq() local
222 static void pvrdma_free_cq(struct pvrdma_dev *dev, struct pvrdma_cq *cq) in pvrdma_free_cq()
238 void pvrdma_destroy_cq(struct ib_cq *cq, struct ib_udata *udata) in pvrdma_destroy_cq()
266 static inline struct pvrdma_cqe *get_cqe(struct pvrdma_cq *cq, int i) in get_cqe()
274 void _pvrdma_flush_cqe(struct pvrdma_qp *qp, struct pvrdma_cq *cq) in _pvrdma_flush_cqe()
318 static int pvrdma_poll_one(struct pvrdma_cq *cq, struct pvrdma_qp **cur_qp, in pvrdma_poll_one()
384 struct pvrdma_cq *cq = to_vcq(ibcq); in pvrdma_poll_cq() local
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dcq.c71 static void mlx5_add_cq_to_tasklet(struct mlx5_core_cq *cq, in mlx5_add_cq_to_tasklet()
90 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_create_cq()
155 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq) in mlx5_core_destroy_cq()
181 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_query_cq()
192 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_modify_cq()
204 struct mlx5_core_cq *cq, in mlx5_core_modify_cq_moderation()
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dcq.c67 bool rvt_cq_enter(struct rvt_cq *cq, struct ib_wc *entry, bool solicited) in rvt_cq_enter()
163 struct rvt_cq *cq = container_of(work, struct rvt_cq, comptask); in send_complete() local
205 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_create_cq() local
320 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_destroy_cq() local
345 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_req_notify_cq() local
381 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_resize_cq() local
519 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_poll_cq() local
/Linux-v5.4/drivers/scsi/fnic/
Dvnic_cq.c24 void vnic_cq_free(struct vnic_cq *cq) in vnic_cq_free()
31 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, in vnic_cq_alloc()
52 void vnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, in vnic_cq_init()
75 void vnic_cq_clean(struct vnic_cq *cq) in vnic_cq_clean()
/Linux-v5.4/drivers/scsi/snic/
Dvnic_cq.c24 void svnic_cq_free(struct vnic_cq *cq) in svnic_cq_free()
31 int svnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, in svnic_cq_alloc()
53 void svnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, in svnic_cq_init()
76 void svnic_cq_clean(struct vnic_cq *cq) in svnic_cq_clean()
/Linux-v5.4/drivers/net/ethernet/cisco/enic/
Dvnic_cq.c29 void vnic_cq_free(struct vnic_cq *cq) in vnic_cq_free()
36 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, in vnic_cq_alloc()
57 void vnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, in vnic_cq_init()
82 void vnic_cq_clean(struct vnic_cq *cq) in vnic_cq_clean()
/Linux-v5.4/drivers/infiniband/hw/mthca/
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-v5.4/drivers/infiniband/hw/cxgb4/
Dcq.c37 static void destroy_cq(struct c4iw_rdev *rdev, struct t4_cq *cq, in destroy_cq()
70 static int create_cq(struct c4iw_rdev *rdev, struct t4_cq *cq, in create_cq()
184 static void insert_recv_cqe(struct t4_wq *wq, struct t4_cq *cq, u32 srqidx) in insert_recv_cqe()
203 int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count) in c4iw_flush_rq()
217 static void insert_sq_cqe(struct t4_wq *wq, struct t4_cq *cq, in insert_sq_cqe()
243 struct t4_cq *cq = &chp->cq; in c4iw_flush_sq() local
267 static void flush_completed_wrs(struct t4_wq *wq, struct t4_cq *cq) in flush_completed_wrs()
443 void c4iw_count_rcqes(struct t4_cq *cq, struct t4_wq *wq, int *count) in c4iw_count_rcqes()
544 static int poll_cq(struct t4_wq *wq, struct t4_cq *cq, struct t4_cqe *cqe, in poll_cq()
Drestrack.c274 static int fill_cq(struct sk_buff *msg, struct t4_cq *cq) in fill_cq()
336 static int fill_hwcqes(struct sk_buff *msg, struct t4_cq *cq, in fill_hwcqes()
353 static int fill_swcqes(struct sk_buff *msg, struct t4_cq *cq, in fill_swcqes()
383 struct t4_cq cq; in fill_res_cq_entry() local
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c71 int cxio_hal_cq_op(struct cxio_rdev *rdev_p, struct t3_cq *cq, in cxio_hal_cq_op()
156 int cxio_create_cq(struct cxio_rdev *rdev_p, struct t3_cq *cq, int kernel) in cxio_create_cq()
305 void cxio_destroy_cq(struct cxio_rdev *rdev_p, struct t3_cq *cq) in cxio_destroy_cq()
330 static void insert_recv_cqe(struct t3_wq *wq, struct t3_cq *cq) in insert_recv_cqe()
348 int cxio_flush_rq(struct t3_wq *wq, struct t3_cq *cq, int count) in cxio_flush_rq()
366 static void insert_sq_cqe(struct t3_wq *wq, struct t3_cq *cq, in insert_sq_cqe()
387 int cxio_flush_sq(struct t3_wq *wq, struct t3_cq *cq, int count) in cxio_flush_sq()
406 void cxio_flush_hw_cq(struct t3_cq *cq) in cxio_flush_hw_cq()
442 void cxio_count_scqes(struct t3_cq *cq, struct t3_wq *wq, int *count) in cxio_count_scqes()
460 void cxio_count_rcqes(struct t3_cq *cq, struct t3_wq *wq, int *count) in cxio_count_rcqes()
[all …]
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c158 struct bnxt_qplib_cq *cq = nq_work->cq; in bnxt_qpn_cqn_sched_task() local
241 struct bnxt_qplib_cq *cq; in bnxt_qplib_service_nq() local
1371 static void __clean_cq(struct bnxt_qplib_cq *cq, u64 qp) in __clean_cq()
1901 static void bnxt_qplib_arm_cq_enable(struct bnxt_qplib_cq *cq) in bnxt_qplib_arm_cq_enable()
1912 static void bnxt_qplib_arm_cq(struct bnxt_qplib_cq *cq, u32 arm_type) in bnxt_qplib_arm_cq()
1927 int bnxt_qplib_create_cq(struct bnxt_qplib_res *res, struct bnxt_qplib_cq *cq) in bnxt_qplib_create_cq()
1996 int bnxt_qplib_destroy_cq(struct bnxt_qplib_res *res, struct bnxt_qplib_cq *cq) in bnxt_qplib_destroy_cq()
2116 static int do_wa9060(struct bnxt_qplib_qp *qp, struct bnxt_qplib_cq *cq, in do_wa9060()
2215 static int bnxt_qplib_cq_process_req(struct bnxt_qplib_cq *cq, in bnxt_qplib_cq_process_req()
2329 static int bnxt_qplib_cq_process_res_rc(struct bnxt_qplib_cq *cq, in bnxt_qplib_cq_process_res_rc()
[all …]
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_cq.c48 int siw_reap_cqe(struct siw_cq *cq, struct ib_wc *wc) in siw_reap_cqe()
96 void siw_cq_flush(struct siw_cq *cq) in siw_cq_flush()
/Linux-v5.4/drivers/isdn/mISDN/
Ddsp_hwec.c38 struct mISDN_ctrl_req cq; in dsp_hwec_enable() local
94 struct mISDN_ctrl_req cq; in dsp_hwec_disable() local
/Linux-v5.4/tools/io_uring/
Dsetup.c11 struct io_uring_sq *sq, struct io_uring_cq *cq) in io_uring_mmap()
101 struct io_uring_cq *cq = &ring->cq; in io_uring_queue_exit() local
/Linux-v5.4/drivers/infiniband/ulp/iser/
Diser_initiator.c558 void iser_login_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_login_rsp()
650 void iser_task_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_task_rsp()
702 void iser_cmd_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_cmd_comp()
708 void iser_ctrl_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_ctrl_comp()
724 void iser_dataout_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_dataout_comp()
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dverbs.c661 struct qedr_cq *cq, struct ib_udata *udata) in qedr_copy_cq_uresp()
678 static void consume_cqe(struct qedr_cq *cq) in consume_cqe()
747 static inline void qedr_init_cq_params(struct qedr_cq *cq, in qedr_init_cq_params()
766 static void doorbell_cq(struct qedr_cq *cq, u32 cons, u8 flags) in doorbell_cq()
775 struct qedr_cq *cq = get_qedr_cq(ibcq); in qedr_arm_cq() local
822 struct qedr_cq *cq = get_qedr_cq(ibcq); in qedr_create_cq() local
942 struct qedr_cq *cq = get_qedr_cq(ibcq); in qedr_resize_cq() local
957 struct qedr_cq *cq = get_qedr_cq(ibcq); in qedr_destroy_cq() local
3628 static int is_valid_cqe(struct qedr_cq *cq, union rdma_cqe *cqe) in is_valid_cqe()
3655 static union rdma_cqe *get_cqe(struct qedr_cq *cq) in get_cqe()
[all …]
/Linux-v5.4/net/sunrpc/xprtrdma/
Dfrwr_ops.c400 static void frwr_wc_fastreg(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_fastreg()
482 static void frwr_wc_localinv(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_localinv()
501 static void frwr_wc_localinv_wake(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_localinv_wake()
603 static void frwr_wc_localinv_done(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_localinv_done()

123456789