cons_idx 129 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c chain->cons_idx = get_hw_cons_idx(chain); cons_idx 133 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c if (chain->cons_idx == MASKED_IDX(chain, prod_idx + 1)) { cons_idx 288 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c chain->cons_idx = HINIC_API_CMD_STATUS_GET(status, CONS_IDX); cons_idx 307 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c if (chain->cons_idx == chain->prod_idx) { cons_idx 806 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c chain->cons_idx = 0; cons_idx 177 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h u32 cons_idx; cons_idx 601 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c static void cmdq_sync_cmd_handler(struct hinic_cmdq *cmdq, u16 cons_idx, cons_idx 604 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c u16 prod_idx = cons_idx; cons_idx 724 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c HINIC_CMDQ_CTXT_BLOCK_INFO_SET(atomic_read(&wq->cons_idx), CI); cons_idx 57 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c #define GET_CURR_AEQ_ELEM(eq) GET_AEQ_ELEM(eq, (eq)->cons_idx) cons_idx 59 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c #define GET_CURR_CEQ_ELEM(eq) GET_CEQ_ELEM(eq, (eq)->cons_idx) cons_idx 203 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c val |= HINIC_EQ_CI_SET(eq->cons_idx, IDX) | cons_idx 266 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c eq->cons_idx++; cons_idx 268 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c if (eq->cons_idx == eq->q_len) { cons_idx 269 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c eq->cons_idx = 0; cons_idx 330 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c eq->cons_idx++; cons_idx 332 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c if (eq->cons_idx == eq->q_len) { cons_idx 333 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c eq->cons_idx = 0; cons_idx 679 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c eq->cons_idx = 0; cons_idx 776 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c eq->cons_idx = hinic_hwif_read_reg(eq->hwif, EQ_PROD_IDX_REG_ADDR(eq)); cons_idx 180 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h u32 cons_idx; cons_idx 101 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c ci_start = atomic_read(&wq->cons_idx); cons_idx 158 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c ci_start = atomic_read(&wq->cons_idx); cons_idx 711 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c unsigned int *wqe_size, u16 *cons_idx) cons_idx 720 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c hw_wqe = hinic_read_wqe(sq->wq, sizeof(*ctrl), cons_idx); cons_idx 724 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c *skb = sq->saved_skb[*cons_idx]; cons_idx 749 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c unsigned int wqe_size, u16 *cons_idx) cons_idx 753 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c hw_wqe = hinic_read_wqe(sq->wq, wqe_size, cons_idx); cons_idx 754 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c *skb = sq->saved_skb[*cons_idx]; cons_idx 837 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c struct sk_buff **skb, u16 *cons_idx) cons_idx 844 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c hw_wqe = hinic_read_wqe(rq->wq, wqe_size, cons_idx); cons_idx 848 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c cqe = rq->cqe[*cons_idx]; cons_idx 856 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c *skb = rq->saved_skb[*cons_idx]; cons_idx 873 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c u16 *cons_idx) cons_idx 882 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c *cons_idx = RQ_MASKED_IDX(rq, *cons_idx + num_wqebbs); cons_idx 884 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c *skb = rq->saved_skb[*cons_idx]; cons_idx 886 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c hw_wqe = hinic_read_wqe_direct(wq, *cons_idx); cons_idx 897 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c void hinic_rq_put_wqe(struct hinic_rq *rq, u16 cons_idx, cons_idx 900 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c struct hinic_rq_cqe *cqe = rq->cqe[cons_idx]; cons_idx 921 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c u16 cons_idx, struct hinic_sge *sge) cons_idx 923 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c struct hinic_rq_cqe *cqe = rq->cqe[cons_idx]; cons_idx 187 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h unsigned int wqe_size, u16 *cons_idx); cons_idx 191 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h unsigned int *wqe_size, u16 *cons_idx); cons_idx 206 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h struct sk_buff **skb, u16 *cons_idx); cons_idx 211 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h u16 *cons_idx); cons_idx 213 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h void hinic_rq_put_wqe(struct hinic_rq *rq, u16 cons_idx, cons_idx 217 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h u16 cons_idx, struct hinic_sge *sge); cons_idx 564 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_set(&wq->cons_idx, 0); cons_idx 668 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_set(&wq[i].cons_idx, 0); cons_idx 807 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_add(num_wqebbs, &wq->cons_idx); cons_idx 821 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c u16 *cons_idx) cons_idx 831 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c curr_cons_idx = atomic_read(&wq->cons_idx); cons_idx 839 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c *cons_idx = curr_cons_idx; cons_idx 844 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c copy_wqe_to_shadow(wq, shadow_addr, num_wqebbs, *cons_idx); cons_idx 848 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c return WQ_PAGE_ADDR(wq, *cons_idx) + WQE_PAGE_OFF(wq, *cons_idx); cons_idx 858 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c struct hinic_hw_wqe *hinic_read_wqe_direct(struct hinic_wq *wq, u16 cons_idx) cons_idx 860 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c return WQ_PAGE_ADDR(wq, cons_idx) + WQE_PAGE_OFF(wq, cons_idx); cons_idx 44 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.h atomic_t cons_idx; cons_idx 104 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.h u16 *cons_idx); cons_idx 106 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.h struct hinic_hw_wqe *hinic_read_wqe_direct(struct hinic_wq *wq, u16 cons_idx); cons_idx 91 include/linux/qed/qed_chain.h u16 cons_idx; cons_idx 97 include/linux/qed/qed_chain.h u32 cons_idx; cons_idx 200 include/linux/qed/qed_chain.h return p_chain->u.chain16.cons_idx; cons_idx 205 include/linux/qed/qed_chain.h return p_chain->u.chain32.cons_idx; cons_idx 214 include/linux/qed/qed_chain.h (u32)p_chain->u.chain16.cons_idx); cons_idx 217 include/linux/qed/qed_chain.h p_chain->u.chain16.cons_idx / p_chain->elem_per_page; cons_idx 228 include/linux/qed/qed_chain.h (u64)p_chain->u.chain32.cons_idx); cons_idx 231 include/linux/qed/qed_chain.h p_chain->u.chain32.cons_idx / p_chain->elem_per_page; cons_idx 335 include/linux/qed/qed_chain.h p_chain->u.chain16.cons_idx++; cons_idx 337 include/linux/qed/qed_chain.h p_chain->u.chain32.cons_idx++; cons_idx 338 include/linux/qed/qed_chain.h test_and_skip(p_chain, cons_idx); cons_idx 430 include/linux/qed/qed_chain.h if ((p_chain->u.chain16.cons_idx & cons_idx 432 include/linux/qed/qed_chain.h p_cons_idx = &p_chain->u.chain16.cons_idx; cons_idx 437 include/linux/qed/qed_chain.h p_chain->u.chain16.cons_idx++; cons_idx 439 include/linux/qed/qed_chain.h if ((p_chain->u.chain32.cons_idx & cons_idx 441 include/linux/qed/qed_chain.h p_cons_idx = &p_chain->u.chain32.cons_idx; cons_idx 446 include/linux/qed/qed_chain.h p_chain->u.chain32.cons_idx++; cons_idx 467 include/linux/qed/qed_chain.h p_chain->u.chain16.cons_idx = 0; cons_idx 470 include/linux/qed/qed_chain.h p_chain->u.chain32.cons_idx = 0;