flq 1848 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u8 flq; flq 1887 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c flq = HDRSTARTFLQ_G(value); flq 1889 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ctx_info[CTXT_FLM].end = (CUDBG_MAX_FL_QIDS >> flq) * SGE_CTXT_SIZE; flq 3013 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c struct sge_fl *flq = (struct sge_fl *)q; \ flq 3014 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c QDESC_GET(flq, flq->desc, type, label); \ flq 261 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h static inline void cudbg_fill_qdesc_flq(const struct sge_fl *flq, flq 266 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h entry->qid = flq->cntxt_id; flq 268 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h entry->num_desc = flq->size; flq 269 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h entry->data_size = flq->size * sizeof(__be64); flq 270 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h memcpy(entry->data, flq->desc, entry->data_size); flq 80 drivers/scsi/csiostor/csio_wr.c csio_wr_ring_fldb(struct csio_hw *hw, struct csio_q *flq) flq 87 drivers/scsi/csiostor/csio_wr.c if (flq->inc_idx >= 8) { flq 88 drivers/scsi/csiostor/csio_wr.c csio_wr_reg32(hw, DBPRIO_F | QID_V(flq->un.fl.flid) | flq 89 drivers/scsi/csiostor/csio_wr.c PIDX_T5_V(flq->inc_idx / 8) | DBTYPE_F, flq 91 drivers/scsi/csiostor/csio_wr.c flq->inc_idx &= 7; flq 115 drivers/scsi/csiostor/csio_wr.c csio_wr_fill_fl(struct csio_hw *hw, struct csio_q *flq) flq 119 drivers/scsi/csiostor/csio_wr.c __be64 *d = (__be64 *)(flq->vstart); flq 120 drivers/scsi/csiostor/csio_wr.c struct csio_dma_buf *buf = &flq->un.fl.bufs[0]; flq 122 drivers/scsi/csiostor/csio_wr.c int sreg = flq->un.fl.sreg; flq 123 drivers/scsi/csiostor/csio_wr.c int n = flq->credits; flq 151 drivers/scsi/csiostor/csio_wr.c csio_wr_update_fl(struct csio_hw *hw, struct csio_q *flq, uint16_t n) flq 154 drivers/scsi/csiostor/csio_wr.c flq->inc_idx += n; flq 155 drivers/scsi/csiostor/csio_wr.c flq->pidx += n; flq 156 drivers/scsi/csiostor/csio_wr.c if (unlikely(flq->pidx >= flq->credits)) flq 157 drivers/scsi/csiostor/csio_wr.c flq->pidx -= (uint16_t)flq->credits; flq 159 drivers/scsi/csiostor/csio_wr.c CSIO_INC_STATS(flq, n_flq_refill); flq 191 drivers/scsi/csiostor/csio_wr.c struct csio_q *q, *flq; flq 280 drivers/scsi/csiostor/csio_wr.c flq = wrm->q_arr[q->un.iq.flq_idx]; flq 281 drivers/scsi/csiostor/csio_wr.c flq->un.fl.bufs = kcalloc(flq->credits, flq 284 drivers/scsi/csiostor/csio_wr.c if (!flq->un.fl.bufs) { flq 291 drivers/scsi/csiostor/csio_wr.c flq->un.fl.packen = 0; flq 292 drivers/scsi/csiostor/csio_wr.c flq->un.fl.offset = 0; flq 293 drivers/scsi/csiostor/csio_wr.c flq->un.fl.sreg = sreg; flq 296 drivers/scsi/csiostor/csio_wr.c if (csio_wr_fill_fl(hw, flq)) flq 304 drivers/scsi/csiostor/csio_wr.c flq->pidx = flq->inc_idx = flq->credits - 8; flq 386 drivers/scsi/csiostor/csio_wr.c struct csio_q *flq = hw->wrm.q_arr[flq_idx]; flq 394 drivers/scsi/csiostor/csio_wr.c csio_wr_ring_fldb(hw, flq); flq 486 drivers/scsi/csiostor/csio_wr.c struct csio_q *flq = hw->wrm.q_arr[flq_idx]; flq 489 drivers/scsi/csiostor/csio_wr.c iqp.fl0packen = flq->un.fl.packen ? 1 : 0; flq 1021 drivers/scsi/csiostor/csio_wr.c csio_wr_inval_flq_buf(struct csio_hw *hw, struct csio_q *flq) flq 1023 drivers/scsi/csiostor/csio_wr.c flq->cidx++; flq 1024 drivers/scsi/csiostor/csio_wr.c if (flq->cidx == flq->credits) { flq 1025 drivers/scsi/csiostor/csio_wr.c flq->cidx = 0; flq 1026 drivers/scsi/csiostor/csio_wr.c CSIO_INC_STATS(flq, n_qwrap); flq 1054 drivers/scsi/csiostor/csio_wr.c struct csio_q *flq = hw->wrm.q_arr[q->un.iq.flq_idx]; flq 1056 drivers/scsi/csiostor/csio_wr.c CSIO_DB_ASSERT(flq != NULL); flq 1061 drivers/scsi/csiostor/csio_wr.c if (flq->un.fl.offset > 0) { flq 1062 drivers/scsi/csiostor/csio_wr.c csio_wr_inval_flq_buf(hw, flq); flq 1063 drivers/scsi/csiostor/csio_wr.c flq->un.fl.offset = 0; flq 1074 drivers/scsi/csiostor/csio_wr.c buf = &flq->un.fl.bufs[flq->cidx]; flq 1080 drivers/scsi/csiostor/csio_wr.c flb.offset = flq->un.fl.offset; flq 1087 drivers/scsi/csiostor/csio_wr.c csio_wr_inval_flq_buf(hw, flq); flq 1090 drivers/scsi/csiostor/csio_wr.c flb.defer_free = flq->un.fl.packen ? 0 : 1; flq 1095 drivers/scsi/csiostor/csio_wr.c if (flq->un.fl.packen) flq 1096 drivers/scsi/csiostor/csio_wr.c flq->un.fl.offset += ALIGN(lastlen, sge->csio_fl_align); flq 1098 drivers/scsi/csiostor/csio_wr.c csio_wr_inval_flq_buf(hw, flq); flq 1139 drivers/scsi/csiostor/csio_wr.c struct csio_q *flq = csio_iq_has_fl(q) ? flq 1236 drivers/scsi/csiostor/csio_wr.c if (flq) { flq 1237 drivers/scsi/csiostor/csio_wr.c uint32_t avail = csio_wr_avail_qcredits(flq); flq 1243 drivers/scsi/csiostor/csio_wr.c csio_wr_update_fl(hw, flq, (flq->credits - 8) - avail); flq 1244 drivers/scsi/csiostor/csio_wr.c csio_wr_ring_fldb(hw, flq);