/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_controlq.c | 36 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 D | idpf_controlq.c | 11 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 198 struct idpf_ctlq_info *cq) in idpf_ctlq_remove() 219 struct idpf_ctlq_info *cq, *tmp; in idpf_ctlq_init() local 248 struct idpf_ctlq_info *cq, *tmp; in idpf_ctlq_deinit() local 266 int idpf_ctlq_send(struct idpf_hw *hw, struct idpf_ctlq_info *cq, in idpf_ctlq_send() 354 int idpf_ctlq_clean_sq(struct idpf_ctlq_info *cq, u16 *clean_count, in idpf_ctlq_clean_sq() [all …]
|
H A D | idpf_controlq_setup.c | 12 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/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_cq.c | 67 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/drivers/infiniband/hw/mana/ |
H A D | cq.c | 12 struct mana_ib_cq *cq = container_of(ibcq, struct mana_ib_cq, ibcq); in mana_ib_create_cq() local 110 struct mana_ib_cq *cq = container_of(ibcq, struct mana_ib_cq, ibcq); in mana_ib_destroy_cq() local 130 struct mana_ib_cq *cq = ctx; in mana_ib_cq_handler() local 136 int mana_ib_install_cq_cb(struct mana_ib_dev *mdev, struct mana_ib_cq *cq) in mana_ib_install_cq_cb() 160 void mana_ib_remove_cq_cb(struct mana_ib_dev *mdev, struct mana_ib_cq *cq) in mana_ib_remove_cq_cb() 177 struct mana_ib_cq *cq = container_of(ibcq, struct mana_ib_cq, ibcq); in mana_ib_arm_cq() local 258 static int mana_process_completions(struct mana_ib_cq *cq, int nwc, struct ib_wc *wc) in mana_process_completions() 296 struct mana_ib_cq *cq = container_of(ibcq, struct mana_ib_cq, ibcq); in mana_ib_poll_cq() local
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_cq.c | 11 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() 69 int rxe_cq_resize_queue(struct rxe_cq *cq, int cqe, in rxe_cq_resize_queue() 85 int rxe_cq_post(struct rxe_cq *cq, struct rxe_cqe *cqe, int solicited) in rxe_cq_post() 126 struct rxe_cq *cq = container_of(elem, typeof(*cq), elem); in rxe_cq_cleanup() local
|
/linux/drivers/infiniband/sw/rdmavt/ |
H A D | cq.c | 26 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/drivers/infiniband/hw/mthca/ |
H A D | mthca_cq.c | 169 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 D | vnic_cq.c | 10 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/net/ethernet/cisco/enic/ |
H A D | vnic_cq.c | 16 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/drivers/scsi/fnic/ |
H A D | vnic_cq.c | 12 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 D | efct_hw_queues.c | 15 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/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 37 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 D | restrack.c | 271 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 D | cq.c | 82 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/tee/optee/ |
H A D | call.c | 42 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/hw/bnxt_re/ |
H A D | qplib_fp.c | 162 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 1519 static void __clean_cq(struct bnxt_qplib_cq *cq, u64 qp) in __clean_cq() 2186 int bnxt_qplib_create_cq(struct bnxt_qplib_res *res, struct bnxt_qplib_cq *cq) in bnxt_qplib_create_cq() 2280 struct bnxt_qplib_cq *cq) in bnxt_qplib_resize_cq_complete() 2288 int bnxt_qplib_resize_cq(struct bnxt_qplib_res *res, struct bnxt_qplib_cq *cq, in bnxt_qplib_resize_cq() 2328 int bnxt_qplib_destroy_cq(struct bnxt_qplib_res *res, struct bnxt_qplib_cq *cq) in bnxt_qplib_destroy_cq() 2457 static int do_wa9060(struct bnxt_qplib_qp *qp, struct bnxt_qplib_cq *cq, in do_wa9060() [all …]
|
/linux/drivers/infiniband/ulp/iser/ |
H A D | iser_initiator.c | 145 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()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 58 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 D | siw_cq.c | 48 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/net/sunrpc/xprtrdma/ |
H A D | frwr_ops.c | 359 static void frwr_wc_fastreg(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_fastreg() 454 static void frwr_wc_localinv(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_localinv() 473 static void frwr_wc_localinv_wake(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_localinv_wake() 570 static void frwr_wc_localinv_done(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_localinv_done()
|
/linux/drivers/isdn/mISDN/ |
H A D | dsp_core.c | 191 struct mISDN_ctrl_req cq; in dsp_rx_off_member() local 258 struct mISDN_ctrl_req cq; in dsp_fill_empty() local 630 struct mISDN_ctrl_req cq; in get_features() local
|
H A D | dsp_hwec.c | 38 struct mISDN_ctrl_req cq; in dsp_hwec_enable() local 94 struct mISDN_ctrl_req cq; in dsp_hwec_disable() local
|
/linux/drivers/infiniband/hw/qedr/ |
H A D | qedr_roce_cm.c | 75 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 673 struct qedr_cq *cq = get_qedr_cq(ibcq); in qedr_gsi_poll_cq() local
|
/linux/include/linux/mlx5/ |
H A D | cq.h | 142 mlx5_cq_set_ci(struct mlx5_core_cq * cq) mlx5_cq_set_ci() argument 152 mlx5_cq_arm(struct mlx5_core_cq * cq,u32 cmd,void __iomem * uar_page,u32 cons_index) mlx5_cq_arm() argument 176 mlx5_cq_hold(struct mlx5_core_cq * cq) mlx5_cq_hold() argument 181 mlx5_cq_put(struct mlx5_core_cq * cq) mlx5_cq_put() argument [all...] |