Home
last modified time | relevance | path

Searched refs:cn6xxx (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/cavium/liquidio/
Dcn66xx_device.c191 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_cn66xx_setup_pkt_ctl_regs() local
196 if (CFG_GET_OQ_MAX_Q(cn6xxx->conf) <= 4) in lio_cn66xx_setup_pkt_ctl_regs()
202 if (CFG_GET_IS_SLI_BP_ON(cn6xxx->conf)) in lio_cn66xx_setup_pkt_ctl_regs()
213 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_cn6xxx_setup_global_output_regs() local
219 if (CFG_GET_IS_SLI_BP_ON(cn6xxx->conf)) { in lio_cn6xxx_setup_global_output_regs()
259 (u32)CFG_GET_OQ_INTR_PKT(cn6xxx->conf)); in lio_cn6xxx_setup_global_output_regs()
262 CFG_GET_OQ_INTR_TIME(cn6xxx->conf)); in lio_cn6xxx_setup_global_output_regs()
522 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)chip; in lio_cn6xxx_enable_interrupt() local
523 u64 mask = cn6xxx->intr_mask64 | CN6XXX_INTR_DMA0_FORCE; in lio_cn6xxx_enable_interrupt()
526 writeq(mask, cn6xxx->intr_enb_reg64); in lio_cn6xxx_enable_interrupt()
[all …]
Dlio_ethtool.c167 struct octeon_config *conf6x = CHIP_FIELD(oct, cn6xxx, conf); in lio_ethtool_get_channels()
464 struct octeon_config *conf6x = CHIP_FIELD(oct, cn6xxx, conf); in lio_ethtool_get_ringparam()
621 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_get_intr_coalesce() local
634 CFG_GET_OQ_INTR_TIME(cn6xxx->conf); in lio_get_intr_coalesce()
636 CFG_GET_OQ_INTR_PKT(cn6xxx->conf); in lio_get_intr_coalesce()
805 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in oct_cfg_rx_intrcnt() local
821 CFG_SET_OQ_INTR_PKT(cn6xxx->conf, rx_max_coalesced_frames); in oct_cfg_rx_intrcnt()
830 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in oct_cfg_rx_intrtime() local
846 CFG_SET_OQ_INTR_TIME(cn6xxx->conf, rx_coalesce_usecs); in oct_cfg_rx_intrtime()
Docteon_device.c755 CFG_GET_NUM_DEF_TX_DESCS(CHIP_FIELD(oct, cn6xxx, conf)); in octeon_setup_instr_queues()
790 CFG_GET_NUM_DEF_RX_DESCS(CHIP_FIELD(oct, cn6xxx, conf)); in octeon_setup_output_queues()
792 CFG_GET_DEF_RX_BUF_SIZE(CHIP_FIELD(oct, cn6xxx, conf)); in octeon_setup_output_queues()
1094 CFG_GET_NUM_NIC_PORTS(CHIP_FIELD(oct, cn6xxx, conf)); in octeon_core_drv_init()
1183 (struct octeon_config *)(CHIP_FIELD(oct, cn6xxx, conf)); in octeon_get_conf()
Docteon_droq.c261 struct octeon_config *conf6x = CHIP_FIELD(oct, cn6xxx, conf); in octeon_init_droq()
842 struct octeon_cn6xxx *cn6xxx = in octeon_process_droq_poll_cmd() local
845 (&cn6xxx->lock_for_droq_int_enb_reg, flags); in octeon_process_droq_poll_cmd()
864 (&cn6xxx->lock_for_droq_int_enb_reg, flags); in octeon_process_droq_poll_cmd()
Dcn68xx_device.c90 max_oqs = CFG_GET_OQ_MAX_Q(CHIP_FIELD(oct, cn6xxx, conf)); in lio_cn68xx_setup_pkt_ctl_regs()
Drequest_manager.c80 conf = &(CFG_GET_IQ_CFG(CHIP_FIELD(oct, cn6xxx, conf))); in octeon_init_instr_queue()
176 CFG_GET_IQ_INSTR_TYPE(CHIP_FIELD(oct, cn6xxx, conf)); in octeon_delete_instr_queue()