Home
last modified time | relevance | path

Searched refs:cn6xxx (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
H A Dcn66xx_device.c174 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_cn66xx_setup_pkt_ctl_regs() local
179 if (CFG_GET_OQ_MAX_Q(cn6xxx->conf) <= 4) in lio_cn66xx_setup_pkt_ctl_regs()
185 if (CFG_GET_IS_SLI_BP_ON(cn6xxx->conf)) in lio_cn66xx_setup_pkt_ctl_regs()
196 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_cn6xxx_setup_global_output_regs() local
202 if (CFG_GET_IS_SLI_BP_ON(cn6xxx->conf)) { in lio_cn6xxx_setup_global_output_regs()
239 (u32)CFG_GET_OQ_INTR_PKT(cn6xxx->conf)); in lio_cn6xxx_setup_global_output_regs()
242 CFG_GET_OQ_INTR_TIME(cn6xxx->conf)); in lio_cn6xxx_setup_global_output_regs()
473 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_cn6xxx_enable_interrupt() local
474 u64 mask = cn6xxx->intr_mask64 | CN6XXX_INTR_DMA0_FORCE; in lio_cn6xxx_enable_interrupt()
477 writeq(mask, cn6xxx in lio_cn6xxx_enable_interrupt()
483 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; lio_cn6xxx_disable_interrupt() local
537 struct octeon_cn6xxx *cn6xxx = lio_cn6xxx_process_droq_intr_regs() local
573 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; lio_cn6xxx_process_interrupt_regs() local
612 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)chip; lio_cn6xxx_setup_reg_address() local
652 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; lio_setup_cn66xx_octeon_device() local
[all...]
H A Docteon_droq.c246 struct octeon_config *conf6x = CHIP_CONF(oct, cn6xxx); in octeon_init_droq()
830 struct octeon_cn6xxx *cn6xxx = in octeon_enable_irq() local
836 (&cn6xxx->lock_for_droq_int_enb_reg, flags); in octeon_enable_irq()
847 (&cn6xxx->lock_for_droq_int_enb_reg, flags); in octeon_enable_irq()
H A Docteon_device.c874 CFG_GET_NUM_DEF_TX_DESCS(CHIP_CONF(oct, cn6xxx)); in octeon_setup_instr_queues()
918 CFG_GET_NUM_DEF_RX_DESCS(CHIP_CONF(oct, cn6xxx)); in octeon_setup_output_queues()
920 CFG_GET_DEF_RX_BUF_SIZE(CHIP_CONF(oct, cn6xxx)); in octeon_setup_output_queues()
1196 CFG_GET_NUM_NIC_PORTS(CHIP_CONF(oct, cn6xxx)); in octeon_core_drv_init()
1296 (struct octeon_config *)(CHIP_CONF(oct, cn6xxx)); in octeon_get_conf()
H A Dcn68xx_device.c77 max_oqs = CFG_GET_OQ_MAX_Q(CHIP_CONF(oct, cn6xxx)); in lio_cn68xx_setup_pkt_ctl_regs()
H A Dlio_ethtool.c504 struct octeon_config *conf6x = CHIP_CONF(oct, cn6xxx); in lio_ethtool_get_channels()
960 struct octeon_config *conf6x = CHIP_CONF(oct, cn6xxx); in lio_ethtool_get_ringparam()
2135 struct octeon_cn6xxx *cn6xxx = in lio_get_intr_coalesce() local
2140 CFG_GET_OQ_INTR_TIME(cn6xxx->conf); in lio_get_intr_coalesce()
2142 CFG_GET_OQ_INTR_PKT(cn6xxx->conf); in lio_get_intr_coalesce()
2228 struct octeon_cn6xxx *cn6xxx = in oct_cfg_rx_intrcnt() local
2238 CFG_SET_OQ_INTR_PKT(cn6xxx->conf, rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
2301 struct octeon_cn6xxx *cn6xxx = in oct_cfg_rx_intrtime() local
2314 CFG_SET_OQ_INTR_TIME(cn6xxx->conf, rx_coalesce_usecs); in oct_cfg_rx_intrtime()
H A Drequest_manager.c68 conf = &(CFG_GET_IQ_CFG(CHIP_CONF(oct, cn6xxx))); in octeon_init_instr_queue()
175 CFG_GET_IQ_INSTR_TYPE(CHIP_CONF(oct, cn6xxx)); in octeon_delete_instr_queue()
H A Dlio_main.c3509 cn6xxx)); in setup_nic_devices()
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
H A Dcn66xx_device.c174 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_cn66xx_setup_pkt_ctl_regs() local
179 if (CFG_GET_OQ_MAX_Q(cn6xxx->conf) <= 4) in lio_cn66xx_setup_pkt_ctl_regs()
185 if (CFG_GET_IS_SLI_BP_ON(cn6xxx->conf)) in lio_cn66xx_setup_pkt_ctl_regs()
196 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_cn6xxx_setup_global_output_regs() local
202 if (CFG_GET_IS_SLI_BP_ON(cn6xxx->conf)) { in lio_cn6xxx_setup_global_output_regs()
239 (u32)CFG_GET_OQ_INTR_PKT(cn6xxx->conf)); in lio_cn6xxx_setup_global_output_regs()
242 CFG_GET_OQ_INTR_TIME(cn6xxx->conf)); in lio_cn6xxx_setup_global_output_regs()
473 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_cn6xxx_enable_interrupt() local
474 u64 mask = cn6xxx->intr_mask64 | CN6XXX_INTR_DMA0_FORCE; in lio_cn6xxx_enable_interrupt()
477 writeq(mask, cn6xxx in lio_cn6xxx_enable_interrupt()
483 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; lio_cn6xxx_disable_interrupt() local
537 struct octeon_cn6xxx *cn6xxx = lio_cn6xxx_process_droq_intr_regs() local
573 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; lio_cn6xxx_process_interrupt_regs() local
612 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)chip; lio_cn6xxx_setup_reg_address() local
652 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; lio_setup_cn66xx_octeon_device() local
[all...]
H A Docteon_droq.c248 struct octeon_config *conf6x = CHIP_CONF(oct, cn6xxx); in octeon_init_droq()
833 struct octeon_cn6xxx *cn6xxx = in octeon_enable_irq() local
839 (&cn6xxx->lock_for_droq_int_enb_reg, flags); in octeon_enable_irq()
850 (&cn6xxx->lock_for_droq_int_enb_reg, flags); in octeon_enable_irq()
H A Docteon_device.c881 CFG_GET_NUM_DEF_TX_DESCS(CHIP_CONF(oct, cn6xxx)); in octeon_setup_instr_queues()
926 CFG_GET_NUM_DEF_RX_DESCS(CHIP_CONF(oct, cn6xxx)); in octeon_setup_output_queues()
928 CFG_GET_DEF_RX_BUF_SIZE(CHIP_CONF(oct, cn6xxx)); in octeon_setup_output_queues()
1209 CFG_GET_NUM_NIC_PORTS(CHIP_CONF(oct, cn6xxx)); in octeon_core_drv_init()
1312 (struct octeon_config *)(CHIP_CONF(oct, cn6xxx)); in octeon_get_conf()
H A Dcn68xx_device.c76 max_oqs = CFG_GET_OQ_MAX_Q(CHIP_CONF(oct, cn6xxx)); in lio_cn68xx_setup_pkt_ctl_regs()
H A Dlio_ethtool.c505 struct octeon_config *conf6x = CHIP_CONF(oct, cn6xxx); in lio_ethtool_get_channels()
963 struct octeon_config *conf6x = CHIP_CONF(oct, cn6xxx); in lio_ethtool_get_ringparam()
2143 struct octeon_cn6xxx *cn6xxx = in lio_get_intr_coalesce() local
2148 CFG_GET_OQ_INTR_TIME(cn6xxx->conf); in lio_get_intr_coalesce()
2150 CFG_GET_OQ_INTR_PKT(cn6xxx->conf); in lio_get_intr_coalesce()
2236 struct octeon_cn6xxx *cn6xxx = in oct_cfg_rx_intrcnt() local
2246 CFG_SET_OQ_INTR_PKT(cn6xxx->conf, rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
2309 struct octeon_cn6xxx *cn6xxx = in oct_cfg_rx_intrtime() local
2322 CFG_SET_OQ_INTR_TIME(cn6xxx->conf, rx_coalesce_usecs); in oct_cfg_rx_intrtime()
H A Drequest_manager.c59 conf = &(CFG_GET_IQ_CFG(CHIP_CONF(oct, cn6xxx))); in octeon_init_instr_queue()
166 CFG_GET_IQ_INSTR_TYPE(CHIP_CONF(oct, cn6xxx)); in octeon_delete_instr_queue()
H A Dlio_main.c3497 cn6xxx)); in setup_nic_devices()

Completed in 26 milliseconds