/drivers/infiniband/hw/mlx4/ |
D | cq.c | 42 static void mlx4_ib_cq_comp(struct mlx4_cq *cq) in mlx4_ib_cq_comp() 48 static void mlx4_ib_cq_event(struct mlx4_cq *cq, enum mlx4_event type) in mlx4_ib_cq_event() 73 static void *get_cqe(struct mlx4_ib_cq *cq, int n) in get_cqe() 78 static void *get_sw_cqe(struct mlx4_ib_cq *cq, int n) in get_sw_cqe() 87 static struct mlx4_cqe *next_cqe_sw(struct mlx4_ib_cq *cq) in next_cqe_sw() 92 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in mlx4_ib_modify_cq() 178 struct mlx4_ib_cq *cq; in mlx4_ib_create_cq() local 288 static int mlx4_alloc_resize_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, in mlx4_alloc_resize_buf() 312 static int mlx4_alloc_resize_umem(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, in mlx4_alloc_resize_umem() 341 static int mlx4_ib_get_outstanding_cqes(struct mlx4_ib_cq *cq) in mlx4_ib_get_outstanding_cqes() [all …]
|
/drivers/infiniband/core/ |
D | cq.c | 29 static int __ib_process_cq(struct ib_cq *cq, int budget, struct ib_wc *wcs, in __ib_process_cq() 73 int ib_process_cq_direct(struct ib_cq *cq, int budget) in ib_process_cq_direct() 81 static void ib_cq_completion_direct(struct ib_cq *cq, void *private) in ib_cq_completion_direct() 88 struct ib_cq *cq = container_of(iop, struct ib_cq, iop); in ib_poll_handler() local 101 static void ib_cq_completion_softirq(struct ib_cq *cq, void *private) in ib_cq_completion_softirq() 108 struct ib_cq *cq = container_of(work, struct ib_cq, work); in ib_cq_poll_work() local 118 static void ib_cq_completion_workqueue(struct ib_cq *cq, void *private) in ib_cq_completion_workqueue() 143 struct ib_cq *cq; in ib_alloc_cq() local 198 void ib_free_cq(struct ib_cq *cq) in ib_free_cq()
|
/drivers/infiniband/hw/mlx5/ |
D | cq.c | 39 static void mlx5_ib_cq_comp(struct mlx5_core_cq *cq) in mlx5_ib_cq_comp() 48 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() 497 static void mlx5_ib_poll_sw_comp(struct mlx5_ib_cq *cq, int num_entries, in mlx5_ib_poll_sw_comp() 517 static int mlx5_poll_one(struct mlx5_ib_cq *cq, in mlx5_poll_one() 648 static int poll_soft_wc(struct mlx5_ib_cq *cq, int num_entries, in poll_soft_wc() 676 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_poll_cq() local 714 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_arm_cq() local [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_cq.c | 40 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 92 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() 206 int mlx4_en_set_cq_moder(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_set_cq_moder() 212 void mlx4_en_arm_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_arm_cq()
|
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() 292 struct mlx4_cq *cq, unsigned vector, int collapsed, in mlx4_cq_alloc() 370 void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq) in mlx4_cq_free()
|
/drivers/infiniband/sw/rxe/ |
D | rxe_cq.c | 38 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, struct ib_udata *udata) in rxe_cq_resize_queue() 131 int rxe_cq_post(struct rxe_cq *cq, struct rxe_cqe *cqe, int solicited) in rxe_cq_post() 169 void rxe_cq_disable(struct rxe_cq *cq) in rxe_cq_disable() 180 struct rxe_cq *cq = container_of(arg, typeof(*cq), pelem); in rxe_cq_cleanup() local
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_cq.c | 66 struct pvrdma_cq *cq = to_vcq(ibcq); in pvrdma_req_notify_cq() local 109 struct pvrdma_cq *cq; in pvrdma_create_cq() local 233 static void pvrdma_free_cq(struct pvrdma_dev *dev, struct pvrdma_cq *cq) in pvrdma_free_cq() 251 int pvrdma_destroy_cq(struct ib_cq *cq) in pvrdma_destroy_cq() 289 int pvrdma_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in pvrdma_modify_cq() 294 static inline struct pvrdma_cqe *get_cqe(struct pvrdma_cq *cq, int i) in get_cqe() 302 void _pvrdma_flush_cqe(struct pvrdma_qp *qp, struct pvrdma_cq *cq) in _pvrdma_flush_cqe() 346 static int pvrdma_poll_one(struct pvrdma_cq *cq, struct pvrdma_qp **cur_qp, in pvrdma_poll_one() 412 struct pvrdma_cq *cq = to_vcq(ibcq); in pvrdma_poll_cq() local
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cq.c | 71 static void mlx5_add_cq_to_tasklet(struct mlx5_core_cq *cq) in mlx5_add_cq_to_tasklet() 91 struct mlx5_core_cq *cq; in mlx5_cq_completion() local 116 struct mlx5_core_cq *cq; in mlx5_cq_event() local 137 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_create_cq() 196 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq) in mlx5_core_destroy_cq() 233 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_query_cq() 244 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_modify_cq() 255 struct mlx5_core_cq *cq, in mlx5_core_modify_cq_moderation()
|
D | en_rx.c | 52 static inline void mlx5e_read_cqe_slot(struct mlx5e_cq *cq, u32 cqcc, in mlx5e_read_cqe_slot() 61 struct mlx5e_cq *cq, u32 cqcc) in mlx5e_read_title_slot() 69 static inline void mlx5e_read_mini_arr_slot(struct mlx5e_cq *cq, u32 cqcc) in mlx5e_read_mini_arr_slot() 75 static inline void mlx5e_cqes_update_owner(struct mlx5e_cq *cq, u32 cqcc, int n) in mlx5e_cqes_update_owner() 99 struct mlx5e_cq *cq, u32 cqcc) in mlx5e_decompress_cqe() 116 struct mlx5e_cq *cq, u32 cqcc) in mlx5e_decompress_cqe_no_hash() 124 struct mlx5e_cq *cq, in mlx5e_decompress_cqes_cont() 151 struct mlx5e_cq *cq, in mlx5e_decompress_cqes_start() 486 static inline void mlx5e_poll_ico_single_cqe(struct mlx5e_cq *cq, in mlx5e_poll_ico_single_cqe() 514 static void mlx5e_poll_ico_cq(struct mlx5e_cq *cq, struct mlx5e_rq *rq) in mlx5e_poll_ico_cq() [all …]
|
D | en_txrx.c | 92 struct mlx5e_cq *cq = container_of(mcq, struct mlx5e_cq, mcq); in mlx5e_completion_event() local 100 struct mlx5e_cq *cq = container_of(mcq, struct mlx5e_cq, mcq); in mlx5e_cq_error_event() local
|
/drivers/infiniband/sw/rdmavt/ |
D | cq.c | 63 void rvt_cq_enter(struct rvt_cq *cq, struct ib_wc *entry, bool solicited) in rvt_cq_enter() 146 struct rvt_cq *cq = container_of(work, struct rvt_cq, comptask); in send_complete() local 191 struct rvt_cq *cq; in rvt_create_cq() local 301 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_destroy_cq() local 329 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_req_notify_cq() local 358 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_resize_cq() local 474 struct rvt_cq *cq = ibcq_to_rvtcq(ibcq); in rvt_poll_cq() local
|
/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 35 static int destroy_cq(struct c4iw_rdev *rdev, struct t4_cq *cq, in destroy_cq() 73 static int create_cq(struct c4iw_rdev *rdev, struct t4_cq *cq, in create_cq() 177 static void insert_recv_cqe(struct t4_wq *wq, struct t4_cq *cq) in insert_recv_cqe() 194 int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count) in c4iw_flush_rq() 209 static void insert_sq_cqe(struct t4_wq *wq, struct t4_cq *cq, in insert_sq_cqe() 235 struct t4_cq *cq = &chp->cq; in c4iw_flush_sq() local 262 static void flush_completed_wrs(struct t4_wq *wq, struct t4_cq *cq) in flush_completed_wrs() 441 void c4iw_count_rcqes(struct t4_cq *cq, struct t4_wq *wq, int *count) in c4iw_count_rcqes() 476 static int poll_cq(struct t4_wq *wq, struct t4_cq *cq, struct t4_cqe *cqe, in poll_cq() 1031 int c4iw_resize_cq(struct ib_cq *cq, int cqe, struct ib_udata *udata) in c4iw_resize_cq()
|
D | t4.h | 576 static inline void write_gts(struct t4_cq *cq, u32 val) in write_gts() 585 static inline int t4_clear_cq_armed(struct t4_cq *cq) in t4_clear_cq_armed() 590 static inline int t4_arm_cq(struct t4_cq *cq, int se) in t4_arm_cq() 606 static inline void t4_swcq_produce(struct t4_cq *cq) in t4_swcq_produce() 619 static inline void t4_swcq_consume(struct t4_cq *cq) in t4_swcq_consume() 627 static inline void t4_hwcq_consume(struct t4_cq *cq) in t4_hwcq_consume() 643 static inline int t4_valid_cqe(struct t4_cq *cq, struct t4_cqe *cqe) in t4_valid_cqe() 648 static inline int t4_cq_notempty(struct t4_cq *cq) in t4_cq_notempty() 653 static inline int t4_next_hw_cqe(struct t4_cq *cq, struct t4_cqe **cqe) in t4_next_hw_cqe() 679 static inline struct t4_cqe *t4_next_sw_cqe(struct t4_cq *cq) in t4_next_sw_cqe() [all …]
|
/drivers/infiniband/hw/mthca/ |
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() 224 struct mthca_cq *cq; in mthca_cq_completion() local 241 struct mthca_cq *cq; in mthca_cq_event() local 278 void mthca_cq_clean(struct mthca_dev *dev, struct mthca_cq *cq, u32 qpn, in mthca_cq_clean() 330 void mthca_cq_resize_copy_cqes(struct mthca_cq *cq) in mthca_cq_resize_copy_cqes() 377 static void handle_error_cqe(struct mthca_dev *dev, struct mthca_cq *cq, in handle_error_cqe() 484 struct mthca_cq *cq, in mthca_poll_one() 663 struct mthca_cq *cq = to_mcq(ibcq); in mthca_poll_cq() local [all …]
|
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 113 struct bnxt_qplib_cq *cq) in bnxt_qplib_find_buddy_cq() 127 struct bnxt_qplib_cq *cq) in bnxt_qplib_lock_buddy_cq() 140 struct bnxt_qplib_cq *cq) in bnxt_qplib_unlock_buddy_cq() 201 struct bnxt_qplib_cq *cq = nq_work->cq; in bnxt_qpn_cqn_sched_task() local 284 struct bnxt_qplib_cq *cq; in bnxt_qplib_service_nq() local 1110 static void __clean_cq(struct bnxt_qplib_cq *cq, u64 qp) in __clean_cq() 1638 static void bnxt_qplib_arm_cq_enable(struct bnxt_qplib_cq *cq) in bnxt_qplib_arm_cq_enable() 1650 static void bnxt_qplib_arm_cq(struct bnxt_qplib_cq *cq, u32 arm_type) in bnxt_qplib_arm_cq() 1668 int bnxt_qplib_create_cq(struct bnxt_qplib_res *res, struct bnxt_qplib_cq *cq) in bnxt_qplib_create_cq() 1736 int bnxt_qplib_destroy_cq(struct bnxt_qplib_res *res, struct bnxt_qplib_cq *cq) in bnxt_qplib_destroy_cq() [all …]
|
/drivers/scsi/fnic/ |
D | vnic_cq.c | 24 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()
|
/drivers/scsi/snic/ |
D | vnic_cq.c | 24 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()
|
/drivers/net/ethernet/cisco/enic/ |
D | vnic_cq.c | 29 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()
|
/drivers/infiniband/hw/cxgb3/ |
D | cxio_hal.c | 71 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() 191 int cxio_resize_cq(struct cxio_rdev *rdev_p, struct t3_cq *cq) in cxio_resize_cq() 321 int cxio_destroy_cq(struct cxio_rdev *rdev_p, struct t3_cq *cq) in cxio_destroy_cq() 348 static void insert_recv_cqe(struct t3_wq *wq, struct t3_cq *cq) in insert_recv_cqe() 366 int cxio_flush_rq(struct t3_wq *wq, struct t3_cq *cq, int count) in cxio_flush_rq() 384 static void insert_sq_cqe(struct t3_wq *wq, struct t3_cq *cq, in insert_sq_cqe() 405 int cxio_flush_sq(struct t3_wq *wq, struct t3_cq *cq, int count) in cxio_flush_sq() 426 void cxio_flush_hw_cq(struct t3_cq *cq) in cxio_flush_hw_cq() 462 void cxio_count_scqes(struct t3_cq *cq, struct t3_wq *wq, int *count) in cxio_count_scqes() [all …]
|
/drivers/tee/optee/ |
D | call.c | 30 static void optee_cq_wait_init(struct optee_call_queue *cq, in optee_cq_wait_init() 55 static void optee_cq_wait_for_completion(struct optee_call_queue *cq, in optee_cq_wait_for_completion() 70 static void optee_cq_complete_one(struct optee_call_queue *cq) in optee_cq_complete_one() 82 static void optee_cq_wait_final(struct optee_call_queue *cq, in optee_cq_wait_final()
|
/drivers/infiniband/hw/qedr/ |
D | verbs.c | 726 struct qedr_cq *cq, struct ib_udata *udata) in qedr_copy_cq_uresp() 743 static void consume_cqe(struct qedr_cq *cq) in consume_cqe() 804 static inline void qedr_init_cq_params(struct qedr_cq *cq, in qedr_init_cq_params() 823 static void doorbell_cq(struct qedr_cq *cq, u32 cons, u8 flags) in doorbell_cq() 837 struct qedr_cq *cq = get_qedr_cq(ibcq); in qedr_arm_cq() local 883 struct qedr_cq *cq; in qedr_create_cq() local 1008 struct qedr_cq *cq = get_qedr_cq(ibcq); in qedr_resize_cq() local 1023 struct qedr_cq *cq = get_qedr_cq(ibcq); in qedr_destroy_cq() local 3183 static int is_valid_cqe(struct qedr_cq *cq, union rdma_cqe *cqe) in is_valid_cqe() 3210 static union rdma_cqe *get_cqe(struct qedr_cq *cq) in get_cqe() [all …]
|
/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 561 void iser_login_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_login_rsp() 654 void iser_task_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_task_rsp() 706 void iser_cmd_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_cmd_comp() 712 void iser_ctrl_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_ctrl_comp() 728 void iser_dataout_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_dataout_comp()
|
/drivers/isdn/mISDN/ |
D | dsp_hwec.c | 55 struct mISDN_ctrl_req cq; in dsp_hwec_enable() local 109 struct mISDN_ctrl_req cq; in dsp_hwec_disable() local
|
D | dsp_core.c | 192 struct mISDN_ctrl_req cq; in dsp_rx_off_member() local 259 struct mISDN_ctrl_req cq; in dsp_fill_empty() local 631 struct mISDN_ctrl_req cq; in get_features() local
|
/drivers/infiniband/hw/i40iw/ |
D | i40iw_hw.c | 122 static void i40iw_cqp_ce_handler(struct i40iw_device *iwdev, struct i40iw_sc_cq *cq, bool arm) in i40iw_cqp_ce_handler() 186 struct i40iw_sc_cq *cq) in i40iw_puda_ce_handler() 218 struct i40iw_sc_cq *cq; in i40iw_process_ceq() local 285 struct i40iw_sc_cq *cq = NULL; in i40iw_process_aeq() local
|