Home
last modified time | relevance | path

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

1234567

/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/intel/idpf/
H A 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()
126 struct idpf_ctlq_info *cq; in idpf_ctlq_add() local
196 struct idpf_ctlq_info *cq) in idpf_ctlq_remove()
217 struct idpf_ctlq_info *cq, *tmp; in idpf_ctlq_init() local
246 struct idpf_ctlq_info *cq, *tmp; in idpf_ctlq_deinit() local
264 int idpf_ctlq_send(struct idpf_hw *hw, struct idpf_ctlq_info *cq, in idpf_ctlq_send()
352 int idpf_ctlq_clean_sq(struct idpf_ctlq_info *cq, u16 *clean_count, in idpf_ctlq_clean_sq()
[all …]
H A 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()
89 struct idpf_ctlq_info *cq) in idpf_ctlq_free_desc_ring()
102 static void idpf_ctlq_free_bufs(struct idpf_hw *hw, struct idpf_ctlq_info *cq) in idpf_ctlq_free_bufs()
133 void idpf_ctlq_dealloc_ring_res(struct idpf_hw *hw, struct idpf_ctlq_info *cq) in idpf_ctlq_dealloc_ring_res()
148 int idpf_ctlq_alloc_ring_res(struct idpf_hw *hw, struct idpf_ctlq_info *cq) in idpf_ctlq_alloc_ring_res()
/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/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/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/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/infiniband/hw/cxgb4/
H A 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()
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
/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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/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/tee/optee/
H A 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/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/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dsend.c556 static int mlx5hws_parse_cqe(struct mlx5hws_send_ring_cq *cq, in mlx5hws_parse_cqe()
574 static int mlx5hws_cq_poll_one(struct mlx5hws_send_ring_cq *cq) in mlx5hws_cq_poll_one()
603 struct mlx5hws_send_ring_cq *cq = &send_ring->send_cq; in hws_send_engine_poll_cq() local
740 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_create_sq()
820 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_create_sq_rdy()
839 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_open_sq()
880 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_alloc_cq()
912 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_create_cq()
950 struct mlx5hws_send_ring_cq *cq) in hws_send_ring_open_cq()
981 static void hws_send_ring_close_cq(struct mlx5hws_send_ring_cq *cq) in hws_send_ring_close_cq()
/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/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()
/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.c817 void nvmet_cq_init(struct nvmet_cq *cq) in nvmet_cq_init()
823 bool nvmet_cq_get(struct nvmet_cq *cq) in nvmet_cq_get()
829 void nvmet_cq_put(struct nvmet_cq *cq) in nvmet_cq_put()
836 void nvmet_cq_setup(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, in nvmet_cq_setup()
845 void nvmet_cq_destroy(struct nvmet_cq *cq) in nvmet_cq_destroy()
894 bool nvmet_cq_in_use(struct nvmet_cq *cq) in nvmet_cq_in_use()
900 u16 nvmet_cq_create(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, in nvmet_cq_create()
937 struct nvmet_cq *cq, u16 sqid, u16 size) in nvmet_sq_create()
1014 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 static void frwr_wc_fastreg(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_fastreg()
524 static void frwr_wc_localinv(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_localinv()
543 static void frwr_wc_localinv_wake(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_localinv_wake()
640 static void frwr_wc_localinv_done(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_localinv_done()
/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.c726 static bool __ionic_rx_service(struct ionic_cq *cq, struct bpf_prog *xdp_prog) in __ionic_rx_service()
753 bool ionic_rx_service(struct ionic_cq *cq) in ionic_rx_service()
941 struct ionic_cq *cq = napi_to_cq(napi); in ionic_tx_napi() local
969 static void ionic_xdp_do_flush(struct ionic_cq *cq) in ionic_xdp_do_flush()
977 static unsigned int ionic_rx_cq_service(struct ionic_cq *cq, in ionic_rx_cq_service()
1006 struct ionic_cq *cq = napi_to_cq(napi); in ionic_rx_napi() local
1235 static bool ionic_tx_service(struct ionic_cq *cq, in ionic_tx_service()
1274 unsigned int ionic_tx_cq_service(struct ionic_cq *cq, in ionic_tx_cq_service()
1307 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

1234567