ceq 1474 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static enum i40iw_status_code i40iw_sc_ceq_init(struct i40iw_sc_ceq *ceq, ceq 1491 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->size = sizeof(*ceq); ceq 1492 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->ceqe_base = (struct i40iw_ceqe *)info->ceqe_base; ceq 1493 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->ceq_id = info->ceq_id; ceq 1494 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->dev = info->dev; ceq 1495 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->elem_cnt = info->elem_cnt; ceq 1496 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->ceq_elem_pa = info->ceqe_pa; ceq 1497 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->virtual_map = info->virtual_map; ceq 1499 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->pbl_chunk_size = (ceq->virtual_map ? info->pbl_chunk_size : 0); ceq 1500 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->first_pm_pbl_idx = (ceq->virtual_map ? info->first_pm_pbl_idx : 0); ceq 1501 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->pbl_list = (ceq->virtual_map ? info->pbl_list : NULL); ceq 1503 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->tph_en = info->tph_en; ceq 1504 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->tph_val = info->tph_val; ceq 1505 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->polarity = 1; ceq 1506 drivers/infiniband/hw/i40iw/i40iw_ctrl.c I40IW_RING_INIT(ceq->ceq_ring, ceq->elem_cnt); ceq 1507 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->dev->ceq[info->ceq_id] = ceq; ceq 1518 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static enum i40iw_status_code i40iw_sc_ceq_create(struct i40iw_sc_ceq *ceq, ceq 1526 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cqp = ceq->dev->cqp; ceq 1530 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 16, ceq->elem_cnt); ceq 1531 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 32, (ceq->virtual_map ? 0 : ceq->ceq_elem_pa)); ceq 1532 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 48, (ceq->virtual_map ? ceq->first_pm_pbl_idx : 0)); ceq 1533 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 56, LS_64(ceq->tph_val, I40IW_CQPSQ_TPHVAL)); ceq 1535 drivers/infiniband/hw/i40iw/i40iw_ctrl.c header = ceq->ceq_id | ceq 1537 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ceq->pbl_chunk_size, I40IW_CQPSQ_CEQ_LPBLSIZE) | ceq 1538 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ceq->virtual_map, I40IW_CQPSQ_CEQ_VMAP) | ceq 1539 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ceq->tph_en, I40IW_CQPSQ_TPHEN) | ceq 1556 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static enum i40iw_status_code i40iw_sc_cceq_create_done(struct i40iw_sc_ceq *ceq) ceq 1560 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cqp = ceq->dev->cqp; ceq 1568 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static enum i40iw_status_code i40iw_sc_cceq_destroy_done(struct i40iw_sc_ceq *ceq) ceq 1572 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cqp = ceq->dev->cqp; ceq 1582 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static enum i40iw_status_code i40iw_sc_cceq_create(struct i40iw_sc_ceq *ceq, u64 scratch) ceq 1586 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ret_code = i40iw_sc_ceq_create(ceq, scratch, true); ceq 1588 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ret_code = i40iw_sc_cceq_create_done(ceq); ceq 1598 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static enum i40iw_status_code i40iw_sc_ceq_destroy(struct i40iw_sc_ceq *ceq, ceq 1606 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cqp = ceq->dev->cqp; ceq 1610 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 16, ceq->elem_cnt); ceq 1611 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 48, ceq->first_pm_pbl_idx); ceq 1612 drivers/infiniband/hw/i40iw/i40iw_ctrl.c header = ceq->ceq_id | ceq 1614 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ceq->pbl_chunk_size, I40IW_CQPSQ_CEQ_LPBLSIZE) | ceq 1615 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ceq->virtual_map, I40IW_CQPSQ_CEQ_VMAP) | ceq 1616 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ceq->tph_en, I40IW_CQPSQ_TPHEN) | ceq 1632 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static void *i40iw_sc_process_ceq(struct i40iw_sc_dev *dev, struct i40iw_sc_ceq *ceq) ceq 1639 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceqe = (u64 *)I40IW_GET_CURRENT_CEQ_ELEMENT(ceq); ceq 1642 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (polarity != ceq->polarity) ceq 1647 drivers/infiniband/hw/i40iw/i40iw_ctrl.c I40IW_RING_MOVE_TAIL(ceq->ceq_ring); ceq 1648 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (I40IW_RING_GETCURRENT_TAIL(ceq->ceq_ring) == 0) ceq 1649 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ceq->polarity ^= 1; ceq 4051 drivers/infiniband/hw/i40iw/i40iw_ctrl.c status = i40iw_sc_ceq_destroy(pcmdinfo->in.u.ceq_destroy.ceq, ceq 4076 drivers/infiniband/hw/i40iw/i40iw_ctrl.c status = i40iw_sc_ceq_create(pcmdinfo->in.u.ceq_create.ceq, ceq 214 drivers/infiniband/hw/i40iw/i40iw_hw.c void i40iw_process_ceq(struct i40iw_device *iwdev, struct i40iw_ceq *ceq) ceq 221 drivers/infiniband/hw/i40iw/i40iw_hw.c sc_ceq = &ceq->sc_ceq; ceq 488 drivers/infiniband/hw/i40iw/i40iw_type.h struct i40iw_sc_ceq *ceq[I40IW_CEQ_MAX_COUNT]; ceq 1273 drivers/infiniband/hw/i40iw/i40iw_type.h struct i40iw_sc_ceq *ceq; ceq 1278 drivers/infiniband/hw/i40iw/i40iw_type.h struct i40iw_sc_ceq *ceq; ceq 82 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c container_of((eq) - (eq)->q_id, struct hinic_ceqs, ceq[0]) ceq 374 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c struct hinic_eq *ceq = (struct hinic_eq *)ceq_data; ceq 376 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c eq_irq_handler(ceq); ceq 409 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c struct hinic_eq *ceq = data; ceq 412 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c hinic_msix_attr_cnt_clear(ceq->hwif, ceq->msix_entry.entry); ceq 414 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c tasklet_schedule(&ceq->ceq_tasklet); ceq 862 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c err = init_eq(&ceqs->ceq[q_id], hwif, HINIC_CEQ, q_id, q_len, ceq 874 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c remove_eq(&ceqs->ceq[i]); ceq 888 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c remove_eq(&ceqs->ceq[q_id]); ceq 223 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h struct hinic_eq ceq[HINIC_MAX_CEQS];