Lines Matching refs:q_no
901 txpciq.s.q_no = iq_no; in octeon_setup_instr_queues()
962 u32 q_no; in octeon_set_io_queues_off() local
968 for (q_no = 0; q_no < oct->sriov_info.rings_per_vf; q_no++) { in octeon_set_io_queues_off()
970 oct, CN23XX_VF_SLI_IQ_PKT_CONTROL64(q_no)); in octeon_set_io_queues_off()
976 oct, CN23XX_SLI_IQ_PKT_CONTROL64(q_no)); in octeon_set_io_queues_off()
982 q_no); in octeon_set_io_queues_off()
988 CN23XX_SLI_IQ_PKT_CONTROL64(q_no), in octeon_set_io_queues_off()
992 oct, CN23XX_SLI_IQ_PKT_CONTROL64(q_no)); in octeon_set_io_queues_off()
995 "unable to reset qno %u\n", q_no); in octeon_set_io_queues_off()
1005 u32 q_no, in octeon_set_droq_pkt_op() argument
1015 reg_val = reg_val | (1 << q_no); in octeon_set_droq_pkt_op()
1017 reg_val = reg_val & (~(1 << q_no)); in octeon_set_droq_pkt_op()
1281 int octeon_get_tx_qsize(struct octeon_device *oct, u32 q_no) in octeon_get_tx_qsize() argument
1284 if (oct && (q_no < MAX_OCTEON_INSTR_QUEUES(oct)) && in octeon_get_tx_qsize()
1285 (oct->io_qmask.iq & BIT_ULL(q_no))) in octeon_get_tx_qsize()
1286 return oct->instr_queue[q_no]->max_count; in octeon_get_tx_qsize()
1292 int octeon_get_rx_qsize(struct octeon_device *oct, u32 q_no) in octeon_get_rx_qsize() argument
1294 if (oct && (q_no < MAX_OCTEON_OUTPUT_QUEUES(oct)) && in octeon_get_rx_qsize()
1295 (oct->io_qmask.oq & BIT_ULL(q_no))) in octeon_get_rx_qsize()
1296 return oct->droq[q_no]->max_count; in octeon_get_rx_qsize()