Lines Matching refs:q_no
893 txpciq.s.q_no = iq_no; in octeon_setup_instr_queues()
952 u32 q_no; in octeon_set_io_queues_off() local
958 for (q_no = 0; q_no < oct->sriov_info.rings_per_vf; q_no++) { in octeon_set_io_queues_off()
960 oct, CN23XX_VF_SLI_IQ_PKT_CONTROL64(q_no)); in octeon_set_io_queues_off()
966 oct, CN23XX_SLI_IQ_PKT_CONTROL64(q_no)); in octeon_set_io_queues_off()
972 q_no); in octeon_set_io_queues_off()
978 CN23XX_SLI_IQ_PKT_CONTROL64(q_no), in octeon_set_io_queues_off()
982 oct, CN23XX_SLI_IQ_PKT_CONTROL64(q_no)); in octeon_set_io_queues_off()
985 "unable to reset qno %u\n", q_no); in octeon_set_io_queues_off()
994 u32 q_no, in octeon_set_droq_pkt_op() argument
1004 reg_val = reg_val | (1 << q_no); in octeon_set_droq_pkt_op()
1006 reg_val = reg_val & (~(1 << q_no)); in octeon_set_droq_pkt_op()
1266 int octeon_get_tx_qsize(struct octeon_device *oct, u32 q_no) in octeon_get_tx_qsize() argument
1269 if (oct && (q_no < MAX_OCTEON_INSTR_QUEUES(oct)) && in octeon_get_tx_qsize()
1270 (oct->io_qmask.iq & BIT_ULL(q_no))) in octeon_get_tx_qsize()
1271 return oct->instr_queue[q_no]->max_count; in octeon_get_tx_qsize()
1276 int octeon_get_rx_qsize(struct octeon_device *oct, u32 q_no) in octeon_get_rx_qsize() argument
1278 if (oct && (q_no < MAX_OCTEON_OUTPUT_QUEUES(oct)) && in octeon_get_rx_qsize()
1279 (oct->io_qmask.oq & BIT_ULL(q_no))) in octeon_get_rx_qsize()
1280 return oct->droq[q_no]->max_count; in octeon_get_rx_qsize()