Searched refs:srn (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/ |
D | cn23xx_pf_device.c | 349 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.12.1/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_cn9k_pf.c | 115 q_no += conf->pf_ring_cfg.srn; in cn93_reset_iq() 220 conf->pf_ring_cfg.srn = CN98_SDP_MAC_PF_RING_CTL_SRN(val); in octep_init_config_cn93_pf() 224 conf->pf_ring_cfg.srn = CN93_SDP_MAC_PF_RING_CTL_SRN(val); in octep_init_config_cn93_pf() 229 conf->pf_ring_cfg.srn, conf->sriov_cfg.active_rings_per_vf, in octep_init_config_cn93_pf() 672 int srn, num_rings, i; in octep_enable_interrupts_cn93_pf() local 674 srn = CFG_GET_PORTS_PF_SRN(oct->conf); in octep_enable_interrupts_cn93_pf() 678 intr_mask |= (0x1ULL << (srn + i)); in octep_enable_interrupts_cn93_pf() 700 int srn, num_rings, i; in octep_disable_interrupts_cn93_pf() local 702 srn = CFG_GET_PORTS_PF_SRN(oct->conf); in octep_disable_interrupts_cn93_pf() 706 intr_mask |= (0x1ULL << (srn + i)); in octep_disable_interrupts_cn93_pf() [all …]
|
D | octep_cnxk_pf.c | 135 q_no += conf->pf_ring_cfg.srn; in cnxk_reset_iq() 244 conf->pf_ring_cfg.srn = CNXK_SDP_MAC_PF_RING_CTL_SRN(val); in octep_init_config_cnxk_pf() 248 conf->pf_ring_cfg.srn, conf->sriov_cfg.active_rings_per_vf, in octep_init_config_cnxk_pf() 697 int srn, num_rings, i; in octep_enable_interrupts_cnxk_pf() local 699 srn = CFG_GET_PORTS_PF_SRN(oct->conf); in octep_enable_interrupts_cnxk_pf() 703 intr_mask |= (0x1ULL << (srn + i)); in octep_enable_interrupts_cnxk_pf() 724 int srn, num_rings, i; in octep_disable_interrupts_cnxk_pf() local 726 srn = CFG_GET_PORTS_PF_SRN(oct->conf); in octep_disable_interrupts_cnxk_pf() 730 intr_mask |= (0x1ULL << (srn + i)); in octep_disable_interrupts_cnxk_pf() 851 u8 srn, num_rings, q; in octep_dump_registers_cnxk_pf() local [all …]
|
D | octep_config.h | 76 #define CFG_GET_PORTS_PF_SRN(cfg) ((cfg)->pf_ring_cfg.srn) 155 u16 srn; member
|