ccq 257 drivers/infiniband/hw/i40iw/i40iw.h struct i40iw_ccq ccq; ccq 682 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static void i40iw_sc_ccq_arm(struct i40iw_sc_cq *ccq) ccq 691 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(ccq->cq_uk.shadow_area, 32, &temp_val); ccq 704 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(ccq->cq_uk.shadow_area, 32, temp_val); ccq 708 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (ccq->dev->is_pf) ccq 709 drivers/infiniband/hw/i40iw/i40iw_ctrl.c i40iw_wr32(ccq->dev->hw, I40E_PFPE_CQARM, ccq->cq_uk.cq_id); ccq 711 drivers/infiniband/hw/i40iw/i40iw_ctrl.c i40iw_wr32(ccq->dev->hw, I40E_VFPE_CQARM1, ccq->cq_uk.cq_id); ccq 720 drivers/infiniband/hw/i40iw/i40iw_ctrl.c struct i40iw_sc_cq *ccq, ccq 730 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (ccq->cq_uk.avoid_mem_cflct) ccq 731 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cqe = (u64 *)I40IW_GET_CURRENT_EXTENDED_CQ_ELEMENT(&ccq->cq_uk); ccq 733 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cqe = (u64 *)I40IW_GET_CURRENT_CQ_ELEMENT(&ccq->cq_uk); ccq 737 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (polarity != ccq->cq_uk.polarity) ccq 758 drivers/infiniband/hw/i40iw/i40iw_ctrl.c I40IW_RING_MOVE_HEAD(ccq->cq_uk.cq_ring, ret_code); ccq 759 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (I40IW_RING_GETCURRENT_HEAD(ccq->cq_uk.cq_ring) == 0) ccq 760 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ccq->cq_uk.polarity ^= 1; ccq 763 drivers/infiniband/hw/i40iw/i40iw_ctrl.c I40IW_RING_MOVE_TAIL(ccq->cq_uk.cq_ring); ccq 764 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(ccq->cq_uk.shadow_area, ccq 766 drivers/infiniband/hw/i40iw/i40iw_ctrl.c I40IW_RING_GETCURRENT_HEAD(ccq->cq_uk.cq_ring)); ccq 769 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ccq->dev->cqp_cmd_stats[OP_COMPLETED_COMMANDS]++; ccq 786 drivers/infiniband/hw/i40iw/i40iw_ctrl.c struct i40iw_sc_cq *ccq; ccq 791 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ccq = cqp->dev->ccq; ccq 796 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (i40iw_sc_ccq_get_cqe_info(ccq, &info)) { ccq 1976 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->dev->ccq = cq; ccq 1984 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static enum i40iw_status_code i40iw_sc_ccq_create_done(struct i40iw_sc_cq *ccq) ccq 1988 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cqp = ccq->dev->cqp; ccq 1999 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static enum i40iw_status_code i40iw_sc_ccq_create(struct i40iw_sc_cq *ccq, ccq 2009 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cqp = ccq->dev->cqp; ccq 2013 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 0, ccq->cq_uk.cq_size); ccq 2014 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 8, RS_64_1(ccq, 1)); ccq 2016 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->shadow_read_threshold, I40IW_CQPSQ_CQ_SHADOW_READ_THRESHOLD)); ccq 2017 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 32, (ccq->virtual_map ? 0 : ccq->cq_pa)); ccq 2018 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 40, ccq->shadow_area_pa); ccq 2020 drivers/infiniband/hw/i40iw/i40iw_ctrl.c (ccq->virtual_map ? ccq->first_pm_pbl_idx : 0)); ccq 2022 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->tph_val, I40IW_CQPSQ_TPHVAL)); ccq 2024 drivers/infiniband/hw/i40iw/i40iw_ctrl.c header = ccq->cq_uk.cq_id | ccq 2025 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64((ccq->ceq_id_valid ? ccq->ceq_id : 0), I40IW_CQPSQ_CQ_CEQID) | ccq 2027 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->pbl_chunk_size, I40IW_CQPSQ_CQ_LPBLSIZE) | ccq 2029 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->virtual_map, I40IW_CQPSQ_CQ_VIRTMAP) | ccq 2030 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->ceqe_mask, I40IW_CQPSQ_CQ_ENCEQEMASK) | ccq 2031 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->ceq_id_valid, I40IW_CQPSQ_CQ_CEQIDVALID) | ccq 2032 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->tph_en, I40IW_CQPSQ_TPHEN) | ccq 2033 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->cq_uk.avoid_mem_cflct, I40IW_CQPSQ_CQ_AVOIDMEMCNFLCT) | ccq 2043 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ret_code = i40iw_sc_ccq_create_done(ccq); ccq 2058 drivers/infiniband/hw/i40iw/i40iw_ctrl.c static enum i40iw_status_code i40iw_sc_ccq_destroy(struct i40iw_sc_cq *ccq, ccq 2068 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cqp = ccq->dev->cqp; ccq 2072 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 0, ccq->cq_uk.cq_size); ccq 2073 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 8, RS_64_1(ccq, 1)); ccq 2074 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 40, ccq->shadow_area_pa); ccq 2076 drivers/infiniband/hw/i40iw/i40iw_ctrl.c header = ccq->cq_uk.cq_id | ccq 2077 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64((ccq->ceq_id_valid ? ccq->ceq_id : 0), I40IW_CQPSQ_CQ_CEQID) | ccq 2079 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->ceqe_mask, I40IW_CQPSQ_CQ_ENCEQEMASK) | ccq 2080 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->ceq_id_valid, I40IW_CQPSQ_CQ_CEQIDVALID) | ccq 2081 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->tph_en, I40IW_CQPSQ_TPHEN) | ccq 2082 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(ccq->cq_uk.avoid_mem_cflct, I40IW_CQPSQ_CQ_AVOIDMEMCNFLCT) | ccq 374 drivers/infiniband/hw/i40iw/i40iw_main.c struct i40iw_ccq *ccq = &iwdev->ccq; ccq 378 drivers/infiniband/hw/i40iw/i40iw_main.c status = dev->ccq_ops->ccq_destroy(dev->ccq, 0, true); ccq 381 drivers/infiniband/hw/i40iw/i40iw_main.c i40iw_free_dma_mem(dev->hw, &ccq->mem_cq); ccq 639 drivers/infiniband/hw/i40iw/i40iw_main.c struct i40iw_ccq *ccq = &iwdev->ccq; ccq 642 drivers/infiniband/hw/i40iw/i40iw_main.c dev->ccq = &ccq->sc_cq; ccq 643 drivers/infiniband/hw/i40iw/i40iw_main.c dev->ccq->dev = dev; ccq 645 drivers/infiniband/hw/i40iw/i40iw_main.c ccq->shadow_area.size = sizeof(struct i40iw_cq_shadow_area); ccq 646 drivers/infiniband/hw/i40iw/i40iw_main.c ccq->mem_cq.size = sizeof(struct i40iw_cqe) * IW_CCQ_SIZE; ccq 647 drivers/infiniband/hw/i40iw/i40iw_main.c status = i40iw_allocate_dma_mem(dev->hw, &ccq->mem_cq, ccq 648 drivers/infiniband/hw/i40iw/i40iw_main.c ccq->mem_cq.size, I40IW_CQ0_ALIGNMENT); ccq 651 drivers/infiniband/hw/i40iw/i40iw_main.c status = i40iw_obj_aligned_mem(iwdev, &mem, ccq->shadow_area.size, ccq 655 drivers/infiniband/hw/i40iw/i40iw_main.c ccq->sc_cq.back_cq = (void *)ccq; ccq 657 drivers/infiniband/hw/i40iw/i40iw_main.c info.cq_base = ccq->mem_cq.va; ccq 658 drivers/infiniband/hw/i40iw/i40iw_main.c info.cq_pa = ccq->mem_cq.pa; ccq 665 drivers/infiniband/hw/i40iw/i40iw_main.c status = dev->ccq_ops->ccq_init(dev->ccq, &info); ccq 667 drivers/infiniband/hw/i40iw/i40iw_main.c status = dev->ccq_ops->ccq_create(dev->ccq, 0, true, true); ccq 670 drivers/infiniband/hw/i40iw/i40iw_main.c i40iw_free_dma_mem(dev->hw, &ccq->mem_cq); ccq 1697 drivers/infiniband/hw/i40iw/i40iw_main.c dev->ccq_ops->ccq_arm(dev->ccq); ccq 489 drivers/infiniband/hw/i40iw/i40iw_type.h struct i40iw_sc_cq *ccq; ccq 116 drivers/s390/cio/qdio_main.c unsigned int ccq = 0; ccq 123 drivers/s390/cio/qdio_main.c ccq = do_eqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count, ccq 126 drivers/s390/cio/qdio_main.c switch (ccq) { ccq 139 drivers/s390/cio/qdio_main.c DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS again:%2d", ccq); ccq 142 drivers/s390/cio/qdio_main.c DBF_ERROR("%4x ccq:%3d", SCH_NO(q), ccq); ccq 165 drivers/s390/cio/qdio_main.c unsigned int ccq = 0; ccq 176 drivers/s390/cio/qdio_main.c ccq = do_sqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count); ccq 178 drivers/s390/cio/qdio_main.c switch (ccq) { ccq 186 drivers/s390/cio/qdio_main.c DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "SQBS again:%2d", ccq); ccq 190 drivers/s390/cio/qdio_main.c DBF_ERROR("%4x ccq:%3d", SCH_NO(q), ccq);