Home
last modified time | relevance | path

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

1234567891011

/linux-6.12.1/drivers/net/ethernet/intel/ice/
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-6.12.1/drivers/infiniband/core/
Dcq.c42 struct ib_cq *cq = dim->priv; in ib_cq_rdma_dim_work() local
53 static void rdma_dim_init(struct ib_cq *cq) in rdma_dim_init()
74 static void rdma_dim_destroy(struct ib_cq *cq) in rdma_dim_destroy()
83 static int __poll_cq(struct ib_cq *cq, int num_entries, struct ib_wc *wc) in __poll_cq()
92 static int __ib_process_cq(struct ib_cq *cq, int budget, struct ib_wc *wcs, in __ib_process_cq()
138 int ib_process_cq_direct(struct ib_cq *cq, int budget) in ib_process_cq_direct()
146 static void ib_cq_completion_direct(struct ib_cq *cq, void *private) in ib_cq_completion_direct()
153 struct ib_cq *cq = container_of(iop, struct ib_cq, iop); in ib_poll_handler() local
172 static void ib_cq_completion_softirq(struct ib_cq *cq, void *private) in ib_cq_completion_softirq()
180 struct ib_cq *cq = container_of(work, struct ib_cq, work); in ib_cq_poll_work() local
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/idpf/
Didpf_controlq.c11 static void idpf_ctlq_setup_regs(struct idpf_ctlq_info *cq, in idpf_ctlq_setup_regs()
34 static void idpf_ctlq_init_regs(struct idpf_hw *hw, struct idpf_ctlq_info *cq, in idpf_ctlq_init_regs()
61 static void idpf_ctlq_init_rxq_bufs(struct idpf_ctlq_info *cq) in idpf_ctlq_init_rxq_bufs()
97 static void idpf_ctlq_shutdown(struct idpf_hw *hw, struct idpf_ctlq_info *cq) in idpf_ctlq_shutdown()
127 struct idpf_ctlq_info *cq; in idpf_ctlq_add() local
199 struct idpf_ctlq_info *cq) in idpf_ctlq_remove()
220 struct idpf_ctlq_info *cq, *tmp; in idpf_ctlq_init() local
249 struct idpf_ctlq_info *cq, *tmp; in idpf_ctlq_deinit() local
267 int idpf_ctlq_send(struct idpf_hw *hw, struct idpf_ctlq_info *cq, in idpf_ctlq_send()
355 int idpf_ctlq_clean_sq(struct idpf_ctlq_info *cq, u16 *clean_count, in idpf_ctlq_clean_sq()
[all …]
Didpf_controlq_setup.c12 struct idpf_ctlq_info *cq) in idpf_ctlq_alloc_desc_ring()
32 struct idpf_ctlq_info *cq) in idpf_ctlq_alloc_bufs()
91 struct idpf_ctlq_info *cq) in idpf_ctlq_free_desc_ring()
104 static void idpf_ctlq_free_bufs(struct idpf_hw *hw, struct idpf_ctlq_info *cq) in idpf_ctlq_free_bufs()
135 void idpf_ctlq_dealloc_ring_res(struct idpf_hw *hw, struct idpf_ctlq_info *cq) in idpf_ctlq_dealloc_ring_res()
150 int idpf_ctlq_alloc_ring_res(struct idpf_hw *hw, struct idpf_ctlq_info *cq) in idpf_ctlq_alloc_ring_res()
/linux-6.12.1/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-6.12.1/drivers/infiniband/hw/mlx5/
Dcq.c44 static void mlx5_ib_cq_comp(struct mlx5_core_cq *cq, struct mlx5_eqe *eqe) in mlx5_ib_cq_comp()
53 struct mlx5_ib_cq *cq = container_of(mcq, struct mlx5_ib_cq, mcq); in mlx5_ib_cq_event() local
72 static void *get_cqe(struct mlx5_ib_cq *cq, int n) in get_cqe()
82 static void *get_sw_cqe(struct mlx5_ib_cq *cq, int n) in get_sw_cqe()
97 static void *next_cqe_sw(struct mlx5_ib_cq *cq) in next_cqe_sw()
430 static void mlx5_ib_poll_sw_comp(struct mlx5_ib_cq *cq, int num_entries, in mlx5_ib_poll_sw_comp()
450 static int mlx5_poll_one(struct mlx5_ib_cq *cq, in mlx5_poll_one()
584 static int poll_soft_wc(struct mlx5_ib_cq *cq, int num_entries, in poll_soft_wc()
612 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_poll_cq() local
650 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_arm_cq() local
[all …]
/linux-6.12.1/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()
182 struct mlx4_en_cq *cq = *pcq; in mlx4_en_destroy_cq() local
195 void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_deactivate_cq()
214 int mlx4_en_set_cq_moder(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_set_cq_moder()
220 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()
344 struct mlx4_cq *cq, unsigned vector, int collapsed, in mlx4_cq_alloc()
436 void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq) in mlx4_cq_free()
/linux-6.12.1/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c67 struct pvrdma_cq *cq = to_vcq(ibcq); in pvrdma_req_notify_cq() local
108 struct pvrdma_cq *cq = to_vcq(ibcq); in pvrdma_create_cq() local
226 static void pvrdma_free_cq(struct pvrdma_dev *dev, struct pvrdma_cq *cq) in pvrdma_free_cq()
242 int pvrdma_destroy_cq(struct ib_cq *cq, struct ib_udata *udata) in pvrdma_destroy_cq()
271 static inline struct pvrdma_cqe *get_cqe(struct pvrdma_cq *cq, int i) in get_cqe()
279 void _pvrdma_flush_cqe(struct pvrdma_qp *qp, struct pvrdma_cq *cq) in _pvrdma_flush_cqe()
323 static int pvrdma_poll_one(struct pvrdma_cq *cq, struct pvrdma_qp **cur_qp, in pvrdma_poll_one()
389 struct pvrdma_cq *cq = to_vcq(ibcq); in pvrdma_poll_cq() local
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dcq.c69 static void mlx5_add_cq_to_tasklet(struct mlx5_core_cq *cq, in mlx5_add_cq_to_tasklet()
89 int mlx5_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_create_cq()
154 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_create_cq()
163 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq) in mlx5_core_destroy_cq()
188 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_query_cq()
199 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_modify_cq()
211 struct mlx5_core_cq *cq, in mlx5_core_modify_cq_moderation()
Dwc.c39 struct mlx5_wc_cq cq; member
44 struct mlx5_wc_cq *cq) in mlx5_wc_create_cqwq()
70 static int create_wc_cq(struct mlx5_wc_cq *cq, void *cqc_data) in create_wc_cq()
109 static int mlx5_wc_create_cq(struct mlx5_core_dev *mdev, struct mlx5_wc_cq *cq) in mlx5_wc_create_cq()
145 static void mlx5_wc_destroy_cq(struct mlx5_wc_cq *cq) in mlx5_wc_destroy_cq()
299 struct mlx5_wc_cq *cq = &sq->cq; in mlx5_wc_poll_cq() local
/linux-6.12.1/drivers/infiniband/sw/rxe/
Drxe_cq.c11 int rxe_cq_chk_attr(struct rxe_dev *rxe, struct rxe_cq *cq, in rxe_cq_chk_attr()
42 int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe, in rxe_cq_from_init()
72 int rxe_cq_resize_queue(struct rxe_cq *cq, int cqe, in rxe_cq_resize_queue()
88 int rxe_cq_post(struct rxe_cq *cq, struct rxe_cqe *cqe, int solicited) in rxe_cq_post()
129 struct rxe_cq *cq = container_of(elem, typeof(*cq), elem); in rxe_cq_cleanup() local
/linux-6.12.1/drivers/infiniband/hw/mana/
Dcq.c12 struct mana_ib_cq *cq = container_of(ibcq, struct mana_ib_cq, ibcq); in mana_ib_create_cq() local
90 struct mana_ib_cq *cq = container_of(ibcq, struct mana_ib_cq, ibcq); in mana_ib_destroy_cq() local
110 struct mana_ib_cq *cq = ctx; in mana_ib_cq_handler() local
116 int mana_ib_install_cq_cb(struct mana_ib_dev *mdev, struct mana_ib_cq *cq) in mana_ib_install_cq_cb()
137 void mana_ib_remove_cq_cb(struct mana_ib_dev *mdev, struct mana_ib_cq *cq) in mana_ib_remove_cq_cb()
/linux-6.12.1/drivers/infiniband/sw/rdmavt/
Dcq.c26 bool rvt_cq_enter(struct rvt_cq *cq, struct ib_wc *entry, bool solicited) in rvt_cq_enter()
122 struct rvt_cq *cq = container_of(work, struct rvt_cq, comptask); in send_complete() local
165 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_create_cq() local
280 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_destroy_cq() local
306 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_req_notify_cq() local
342 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_resize_cq() local
480 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_poll_cq() local
/linux-6.12.1/drivers/net/ethernet/cisco/enic/
Dvnic_cq.c16 void vnic_cq_free(struct vnic_cq *cq) in vnic_cq_free()
23 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, in vnic_cq_alloc()
38 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-6.12.1/drivers/scsi/snic/
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-6.12.1/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-6.12.1/drivers/scsi/fnic/
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-6.12.1/drivers/infiniband/hw/erdma/
Derdma_cq.c9 static void *get_next_valid_cqe(struct erdma_cq *cq) in get_next_valid_cqe()
19 static void notify_cq(struct erdma_cq *cq, u8 solcitied) in notify_cq()
35 struct erdma_cq *cq = to_ecq(ibcq); in erdma_req_notify_cq() local
110 static int erdma_poll_one_cqe(struct erdma_cq *cq, struct ib_wc *wc) in erdma_poll_one_cqe()
183 struct erdma_cq *cq = to_ecq(ibcq); in erdma_poll_cq() local
/linux-6.12.1/drivers/scsi/elx/efct/
Defct_hw_queues.c15 struct hw_cq *cq = NULL; in efct_hw_init_queues() local
162 struct hw_cq *cq = kzalloc(sizeof(*cq), GFP_KERNEL); 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-6.12.1/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()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
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-6.12.1/drivers/tee/optee/
Dcall.c42 void optee_cq_init(struct optee_call_queue *cq, int thread_count) in optee_cq_init()
57 void optee_cq_wait_init(struct optee_call_queue *cq, in optee_cq_wait_init()
117 void optee_cq_wait_for_completion(struct optee_call_queue *cq, in optee_cq_wait_for_completion()
132 static void optee_cq_complete_one(struct optee_call_queue *cq) in optee_cq_complete_one()
152 void optee_cq_wait_final(struct optee_call_queue *cq, in optee_cq_wait_final()
183 static bool optee_cq_incr_sys_thread_count(struct optee_call_queue *cq) in optee_cq_incr_sys_thread_count()
195 static void optee_cq_decr_sys_thread_count(struct optee_call_queue *cq) in optee_cq_decr_sys_thread_count()
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c162 struct bnxt_qplib_cq *cq = nq_work->cq; in bnxt_qpn_cqn_sched_task() local
239 static void clean_nq(struct bnxt_qplib_nq *nq, struct bnxt_qplib_cq *cq) in clean_nq()
289 static void __wait_for_all_nqes(struct bnxt_qplib_cq *cq, u16 cnq_events) in __wait_for_all_nqes()
305 struct bnxt_qplib_cq *cq; in bnxt_qplib_service_nq() local
1479 static void __clean_cq(struct bnxt_qplib_cq *cq, u64 qp) in __clean_cq()
2146 int bnxt_qplib_create_cq(struct bnxt_qplib_res *res, struct bnxt_qplib_cq *cq) in bnxt_qplib_create_cq()
2220 struct bnxt_qplib_cq *cq) in bnxt_qplib_resize_cq_complete()
2228 int bnxt_qplib_resize_cq(struct bnxt_qplib_res *res, struct bnxt_qplib_cq *cq, in bnxt_qplib_resize_cq()
2268 int bnxt_qplib_destroy_cq(struct bnxt_qplib_res *res, struct bnxt_qplib_cq *cq) in bnxt_qplib_destroy_cq()
2397 static int do_wa9060(struct bnxt_qplib_qp *qp, struct bnxt_qplib_cq *cq, in do_wa9060()
[all …]
/linux-6.12.1/drivers/infiniband/ulp/iser/
Diser_initiator.c145 void (*done)(struct ib_cq *cq, struct ib_wc *wc)) in iser_create_send_desc()
533 void iser_login_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_login_rsp()
634 void iser_task_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_task_rsp()
674 void iser_cmd_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_cmd_comp()
680 void iser_ctrl_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_ctrl_comp()
696 void iser_dataout_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_dataout_comp()

1234567891011