Home
last modified time | relevance | path

Searched refs:srn (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_pf_device.c349 u32 q_no, srn, ern; in cn23xx_reset_io_queues() local
352 srn = oct->sriov_info.pf_srn; in cn23xx_reset_io_queues()
353 ern = srn + oct->sriov_info.num_pf_rings; in cn23xx_reset_io_queues()
359 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_reset_io_queues()
367 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_reset_io_queues()
405 u32 q_no, ern, srn; in cn23xx_pf_setup_global_input_regs() local
411 srn = oct->sriov_info.pf_srn; in cn23xx_pf_setup_global_input_regs()
412 ern = srn + oct->sriov_info.num_pf_rings; in cn23xx_pf_setup_global_input_regs()
443 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_pf_setup_global_input_regs()
478 u32 q_no, ern, srn; in cn23xx_pf_setup_global_output_regs() local
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_cn9k_pf.c112 q_no += conf->pf_ring_cfg.srn; in cn93_reset_iq()
214 conf->pf_ring_cfg.srn = CN93_SDP_MAC_PF_RING_CTL_SRN(val); in octep_init_config_cn93_pf()
218 conf->pf_ring_cfg.srn, conf->sriov_cfg.active_rings_per_vf, in octep_init_config_cn93_pf()
544 int srn, num_rings, i; in octep_enable_interrupts_cn93_pf() local
546 srn = CFG_GET_PORTS_PF_SRN(oct->conf); in octep_enable_interrupts_cn93_pf()
550 intr_mask |= (0x1ULL << (srn + i)); in octep_enable_interrupts_cn93_pf()
563 int srn, num_rings, i; in octep_disable_interrupts_cn93_pf() local
565 srn = CFG_GET_PORTS_PF_SRN(oct->conf); in octep_disable_interrupts_cn93_pf()
569 intr_mask |= (0x1ULL << (srn + i)); in octep_disable_interrupts_cn93_pf()
682 u8 srn, num_rings, q; in octep_dump_registers_cn93_pf() local
[all …]
Doctep_config.h69 #define CFG_GET_PORTS_PF_SRN(cfg) ((cfg)->pf_ring_cfg.srn)
146 u16 srn; member