• Home
  • Raw
  • Download

Lines Matching refs:cn6xxx

191 	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()
531 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)chip; in lio_cn6xxx_disable_interrupt() local
534 writeq(0, cn6xxx->intr_enb_reg64); in lio_cn6xxx_disable_interrupt()
588 struct octeon_cn6xxx *cn6xxx = in lio_cn6xxx_process_droq_intr_regs() local
593 (&cn6xxx->lock_for_droq_int_enb_reg); in lio_cn6xxx_process_droq_intr_regs()
607 spin_unlock(&cn6xxx->lock_for_droq_int_enb_reg); in lio_cn6xxx_process_droq_intr_regs()
628 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_cn6xxx_process_interrupt_regs() local
631 intr64 = readq(cn6xxx->intr_sum_reg64); in lio_cn6xxx_process_interrupt_regs()
657 writeq(intr64, cn6xxx->intr_sum_reg64); in lio_cn6xxx_process_interrupt_regs()
667 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)chip; in lio_cn6xxx_setup_reg_address() local
699 cn6xxx->intr_sum_reg64 = bar0_pciaddr + CN6XXX_SLI_INT_SUM64; in lio_cn6xxx_setup_reg_address()
700 cn6xxx->intr_mask64 = CN6XXX_INTR_MASK; in lio_cn6xxx_setup_reg_address()
701 cn6xxx->intr_enb_reg64 = in lio_cn6xxx_setup_reg_address()
707 struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)oct->chip; in lio_setup_cn66xx_octeon_device() local
719 spin_lock_init(&cn6xxx->lock_for_droq_int_enb_reg); in lio_setup_cn66xx_octeon_device()
742 cn6xxx->conf = (struct octeon_config *) in lio_setup_cn66xx_octeon_device()
744 if (!cn6xxx->conf) { in lio_setup_cn66xx_octeon_device()