Lines Matching refs:un
87 csio_wr_reg32(hw, DBPRIO_F | QID_V(flq->un.fl.flid) | in csio_wr_ring_fldb()
119 struct csio_dma_buf *buf = &flq->un.fl.bufs[0]; in csio_wr_fill_fl()
121 int sreg = flq->un.fl.sreg; in csio_wr_fill_fl()
253 q->un.iq.genbit = 1; in csio_wr_alloc_q()
276 q->un.iq.flq_idx = flq_idx; in csio_wr_alloc_q()
278 flq = wrm->q_arr[q->un.iq.flq_idx]; in csio_wr_alloc_q()
279 flq->un.fl.bufs = kzalloc(flq->credits * in csio_wr_alloc_q()
282 if (!flq->un.fl.bufs) { in csio_wr_alloc_q()
289 flq->un.fl.packen = 0; in csio_wr_alloc_q()
290 flq->un.fl.offset = 0; in csio_wr_alloc_q()
291 flq->un.fl.sreg = sreg; in csio_wr_alloc_q()
304 q->un.iq.flq_idx = -1; in csio_wr_alloc_q()
308 q->un.iq.iq_intx_handler = iq_intx_handler; in csio_wr_alloc_q()
486 iqp.fl0packen = flq->un.fl.packen ? 1 : 0; in csio_wr_iq_create()
767 q->un.iq.genbit = 1; in csio_wr_cleanup_iq_ftr()
985 csio_wr_reg32(hw, DBPRIO_V(prio) | QID_V(q->un.eq.physeqid) | in csio_wr_issue()
1049 struct csio_q *flq = hw->wrm.q_arr[q->un.iq.flq_idx]; in csio_wr_process_fl()
1056 if (flq->un.fl.offset > 0) { in csio_wr_process_fl()
1058 flq->un.fl.offset = 0; in csio_wr_process_fl()
1069 buf = &flq->un.fl.bufs[flq->cidx]; in csio_wr_process_fl()
1075 flb.offset = flq->un.fl.offset; in csio_wr_process_fl()
1085 flb.defer_free = flq->un.fl.packen ? 0 : 1; in csio_wr_process_fl()
1090 if (flq->un.fl.packen) in csio_wr_process_fl()
1091 flq->un.fl.offset += ALIGN(lastlen, sge->csio_fl_align); in csio_wr_process_fl()
1108 return (q->un.iq.genbit == (ftr->u.type_gen >> IQWRF_GEN_SHIFT)); in csio_is_new_iqwr()
1135 wrm->q_arr[q->un.iq.flq_idx] : NULL; in csio_wr_process_iq()
1179 q_completed->un.iq.iq_intx_handler); in csio_wr_process_iq()
1182 q_completed->un.iq.iq_intx_handler(hw, NULL, in csio_wr_process_iq()
1205 q->un.iq.genbit ^= 0x1; in csio_wr_process_iq()
1246 INGRESSQID_V(q->un.iq.physiqid) | in csio_wr_process_iq()
1624 if (!q->un.fl.bufs) in csio_wrm_exit()
1627 buf = &q->un.fl.bufs[j]; in csio_wrm_exit()
1634 kfree(q->un.fl.bufs); in csio_wrm_exit()