Lines Matching refs:cn23xx

43 	struct octeon_cn23xx_pf *cn23xx = (struct octeon_cn23xx_pf *)oct->chip;  in cn23xx_dump_pf_initialized_regs()  local
137 CVM_CAST64((long)(cn23xx->intr_enb_reg64)), in cn23xx_dump_pf_initialized_regs()
138 CVM_CAST64(readq(cn23xx->intr_enb_reg64))); in cn23xx_dump_pf_initialized_regs()
142 CVM_CAST64((long)(cn23xx->intr_sum_reg64)), in cn23xx_dump_pf_initialized_regs()
143 CVM_CAST64(readq(cn23xx->intr_sum_reg64))); in cn23xx_dump_pf_initialized_regs()
402 struct octeon_cn23xx_pf *cn23xx = (struct octeon_cn23xx_pf *)oct->chip; in cn23xx_pf_setup_global_input_regs() local
463 intr_threshold = CFG_GET_IQ_INTR_PKT(cn23xx->conf) & in cn23xx_pf_setup_global_input_regs()
481 struct octeon_cn23xx_pf *cn23xx = (struct octeon_cn23xx_pf *)oct->chip; in cn23xx_pf_setup_global_output_regs() local
486 if (CFG_GET_IS_SLI_BP_ON(cn23xx->conf)) { in cn23xx_pf_setup_global_output_regs()
535 oct, (u32)CFG_GET_OQ_INTR_TIME(cn23xx->conf)); in cn23xx_pf_setup_global_output_regs()
538 (CFG_GET_OQ_INTR_PKT(cn23xx->conf) | in cn23xx_pf_setup_global_output_regs()
632 struct octeon_cn23xx_pf *cn23xx = (struct octeon_cn23xx_pf *)oct->chip; in cn23xx_setup_oq_regs() local
669 oct, (u32)CFG_GET_OQ_INTR_TIME(cn23xx->conf)); in cn23xx_setup_oq_regs()
670 cnt_threshold = (u32)CFG_GET_OQ_INTR_PKT(cn23xx->conf); in cn23xx_setup_oq_regs()
1008 struct octeon_cn23xx_pf *cn23xx = (struct octeon_cn23xx_pf *)oct->chip; in cn23xx_interrupt_handler() local
1012 intr64 = readq(cn23xx->intr_sum_reg64); in cn23xx_interrupt_handler()
1035 writeq(intr64, cn23xx->intr_sum_reg64); in cn23xx_interrupt_handler()
1103 struct octeon_cn23xx_pf *cn23xx = (struct octeon_cn23xx_pf *)oct->chip; in cn23xx_enable_pf_interrupt() local
1109 writeq(cn23xx->intr_mask64, cn23xx->intr_enb_reg64); in cn23xx_enable_pf_interrupt()
1111 intr_val = readq(cn23xx->intr_enb_reg64); in cn23xx_enable_pf_interrupt()
1113 writeq(intr_val, cn23xx->intr_enb_reg64); in cn23xx_enable_pf_interrupt()
1117 intr_val = readq(cn23xx->intr_enb_reg64); in cn23xx_enable_pf_interrupt()
1119 writeq(intr_val, cn23xx->intr_enb_reg64); in cn23xx_enable_pf_interrupt()
1126 struct octeon_cn23xx_pf *cn23xx = (struct octeon_cn23xx_pf *)oct->chip; in cn23xx_disable_pf_interrupt() local
1131 writeq(0, cn23xx->intr_enb_reg64); in cn23xx_disable_pf_interrupt()
1133 intr_val = readq(cn23xx->intr_enb_reg64); in cn23xx_disable_pf_interrupt()
1135 writeq(intr_val, cn23xx->intr_enb_reg64); in cn23xx_disable_pf_interrupt()
1139 intr_val = readq(cn23xx->intr_enb_reg64); in cn23xx_disable_pf_interrupt()
1141 writeq(intr_val, cn23xx->intr_enb_reg64); in cn23xx_disable_pf_interrupt()
1203 struct octeon_cn23xx_pf *cn23xx = (struct octeon_cn23xx_pf *)oct->chip; in cn23xx_setup_reg_address() local
1235 cn23xx->intr_mask64 = CN23XX_INTR_MASK; in cn23xx_setup_reg_address()
1237 cn23xx->intr_mask64 |= CN23XX_INTR_PKT_TIME; in cn23xx_setup_reg_address()
1239 cn23xx->intr_mask64 |= CN23XX_INTR_VF_MBOX; in cn23xx_setup_reg_address()
1241 cn23xx->intr_sum_reg64 = in cn23xx_setup_reg_address()
1244 cn23xx->intr_enb_reg64 = in cn23xx_setup_reg_address()
1251 struct octeon_cn23xx_pf *cn23xx = (struct octeon_cn23xx_pf *)oct->chip; in cn23xx_sriov_config() local
1256 cn23xx->conf = in cn23xx_sriov_config()