Lines Matching refs:cvmx_write_csr
323 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable()
332 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable()
355 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num() * 2), *pen); in octeon_irq_ciu_enable_local()
364 cvmx_write_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num() * 2 + 1), *pen); in octeon_irq_ciu_enable_local()
387 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num() * 2), *pen); in octeon_irq_ciu_disable_local()
396 cvmx_write_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num() * 2 + 1), *pen); in octeon_irq_ciu_disable_local()
427 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_disable_all()
429 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_disable_all()
460 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable_all()
462 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable_all()
487 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); in octeon_irq_ciu_enable_v2()
491 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); in octeon_irq_ciu_enable_v2()
508 cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1S(index), mask); in octeon_irq_ciu_enable_sum2()
524 cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1C(index), mask); in octeon_irq_ciu_disable_local_sum2()
537 cvmx_write_csr(CVMX_CIU_SUM2_PPX_IP4(index), mask); in octeon_irq_ciu_ack_sum2()
552 cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1C(coreid), mask); in octeon_irq_ciu_disable_all_sum2()
571 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); in octeon_irq_ciu_enable_local_v2()
575 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); in octeon_irq_ciu_enable_local_v2()
590 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1C(index), mask); in octeon_irq_ciu_disable_local_v2()
594 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1C(index), mask); in octeon_irq_ciu_disable_local_v2()
611 cvmx_write_csr(CVMX_CIU_INTX_SUM0(index), mask); in octeon_irq_ciu_ack()
613 cvmx_write_csr(CVMX_CIU_INT_SUM1, mask); in octeon_irq_ciu_ack()
635 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1C(index), mask); in octeon_irq_ciu_disable_all_v2()
642 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1C(index), mask); in octeon_irq_ciu_disable_all_v2()
665 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); in octeon_irq_ciu_enable_all_v2()
672 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); in octeon_irq_ciu_enable_all_v2()
706 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(cd->gpio_line), cfg.u64); in octeon_irq_gpio_setup()
739 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(cd->gpio_line), 0); in octeon_irq_ciu_disable_gpio_v2()
749 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(cd->gpio_line), 0); in octeon_irq_ciu_disable_gpio()
762 cvmx_write_csr(CVMX_GPIO_INT_CLR, mask); in octeon_irq_ciu_gpio_ack()
839 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_set_affinity()
841 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_set_affinity()
874 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); in octeon_irq_ciu_set_affinity_v2()
877 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1C(index), mask); in octeon_irq_ciu_set_affinity_v2()
887 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); in octeon_irq_ciu_set_affinity_v2()
890 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1C(index), mask); in octeon_irq_ciu_set_affinity_v2()
917 cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1S(index), mask); in octeon_irq_ciu_set_affinity_sum2()
919 cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1C(index), mask); in octeon_irq_ciu_set_affinity_sum2()
1092 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_wd_enable()
1106 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(coreid * 2 + 1), 1ull << coreid); in octeon_irq_ciu1_wd_enable_v2()
1399 cvmx_write_csr(CVMX_CIU_INTX_EN0((coreid * 2)), 0); in octeon_irq_init_ciu_percpu()
1400 cvmx_write_csr(CVMX_CIU_INTX_EN0((coreid * 2 + 1)), 0); in octeon_irq_init_ciu_percpu()
1401 cvmx_write_csr(CVMX_CIU_INTX_EN1((coreid * 2)), 0); in octeon_irq_init_ciu_percpu()
1402 cvmx_write_csr(CVMX_CIU_INTX_EN1((coreid * 2 + 1)), 0); in octeon_irq_init_ciu_percpu()
1422 cvmx_write_csr(base + regx + ipx, 0); in octeon_irq_init_ciu2_percpu()
1671 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_wd_enable()
1688 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_enable()
1703 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_enable_local()
1719 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_disable_local()
1734 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_ack()
1750 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_disable_all()
1764 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_mbox_enable_all()
1778 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_mbox_disable_all()
1790 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_mbox_enable_local()
1801 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_mbox_disable_local()
1831 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_set_affinity()
1850 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(cd->gpio_line), 0); in octeon_irq_ciu2_disable_gpio()
2152 cvmx_write_csr(host_data->en_reg, en); in octeon_irq_cib_enable()
2166 cvmx_write_csr(host_data->en_reg, en); in octeon_irq_cib_disable()
2273 cvmx_write_csr(host_data->en_reg, en); in octeon_irq_cib_handler()
2274 cvmx_write_csr(host_data->raw_reg, 1ull << i); in octeon_irq_cib_handler()
2282 cvmx_write_csr(host_data->raw_reg, 1ull << i); in octeon_irq_cib_handler()
2342 cvmx_write_csr(host_data->en_reg, 0); /* disable all IRQs */ in octeon_irq_init_cib()
2343 cvmx_write_csr(host_data->raw_reg, ~0); /* ack any outstanding */ in octeon_irq_init_cib()
2419 cvmx_write_csr(cd->ciu3_addr + CIU3_ISC_W1C(cd->intsn), isc_w1c.u64); in octeon_irq_ciu3_enable()
2425 cvmx_write_csr(isc_ctl_addr, isc_ctl.u64); in octeon_irq_ciu3_enable()
2442 cvmx_write_csr(cd->ciu3_addr + CIU3_ISC_W1C(cd->intsn), isc_w1c.u64); in octeon_irq_ciu3_disable()
2443 cvmx_write_csr(isc_ctl_addr, 0); in octeon_irq_ciu3_disable()
2467 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_ack()
2483 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_mask()
2507 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_mask_ack()
2536 cvmx_write_csr(cd->ciu3_addr + CIU3_ISC_W1C(cd->intsn), isc_w1c.u64); in octeon_irq_ciu3_set_affinity()
2542 cvmx_write_csr(isc_ctl_addr, isc_ctl.u64); in octeon_irq_ciu3_set_affinity()
2630 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_ip2()
2685 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_mbox()
2711 cvmx_write_csr(isc_w1s_addr, isc_w1s.u64); in octeon_ciu3_mbox_send()
2731 cvmx_write_csr(isc_w1c_addr, isc_ctl.u64); in octeon_irq_ciu3_mbox_set_enable()
2732 cvmx_write_csr(isc_ctl_addr, 0); in octeon_irq_ciu3_mbox_set_enable()
2739 cvmx_write_csr(isc_ctl_addr, isc_ctl.u64); in octeon_irq_ciu3_mbox_set_enable()
2781 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_mbox_ack()
2817 cvmx_write_csr(b + CIU3_IDT_CTL(idt_ip2), 0); in octeon_irq_ciu3_alloc_resources()
2818 cvmx_write_csr(b + CIU3_IDT_PP(idt_ip2, 0), 1ull << core); in octeon_irq_ciu3_alloc_resources()
2819 cvmx_write_csr(b + CIU3_IDT_IO(idt_ip2), 0); in octeon_irq_ciu3_alloc_resources()
2822 cvmx_write_csr(b + CIU3_IDT_CTL(idt_ip3), 1); in octeon_irq_ciu3_alloc_resources()
2823 cvmx_write_csr(b + CIU3_IDT_PP(idt_ip3, 0), 1ull << core); in octeon_irq_ciu3_alloc_resources()
2824 cvmx_write_csr(b + CIU3_IDT_IO(idt_ip3), 0); in octeon_irq_ciu3_alloc_resources()
2827 cvmx_write_csr(b + CIU3_IDT_CTL(idt_ip4), 2); in octeon_irq_ciu3_alloc_resources()
2828 cvmx_write_csr(b + CIU3_IDT_PP(idt_ip4, 0), 0); in octeon_irq_ciu3_alloc_resources()
2829 cvmx_write_csr(b + CIU3_IDT_IO(idt_ip4), 0); in octeon_irq_ciu3_alloc_resources()
2831 cvmx_write_csr(b + CIU3_IDT_CTL(unused_idt2), 0); in octeon_irq_ciu3_alloc_resources()
2832 cvmx_write_csr(b + CIU3_IDT_PP(unused_idt2, 0), 0); in octeon_irq_ciu3_alloc_resources()
2833 cvmx_write_csr(b + CIU3_IDT_IO(unused_idt2), 0); in octeon_irq_ciu3_alloc_resources()
2838 cvmx_write_csr(b + CIU3_ISC_W1C(intsn), 2); in octeon_irq_ciu3_alloc_resources()
2839 cvmx_write_csr(b + CIU3_ISC_CTL(intsn), 0); in octeon_irq_ciu3_alloc_resources()