Lines Matching refs:cvmx_write_csr
313 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable()
322 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable()
345 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num() * 2), *pen); in octeon_irq_ciu_enable_local()
354 cvmx_write_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num() * 2 + 1), *pen); in octeon_irq_ciu_enable_local()
377 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num() * 2), *pen); in octeon_irq_ciu_disable_local()
386 cvmx_write_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num() * 2 + 1), *pen); in octeon_irq_ciu_disable_local()
417 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_disable_all()
419 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_disable_all()
450 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable_all()
452 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable_all()
477 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); in octeon_irq_ciu_enable_v2()
481 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); in octeon_irq_ciu_enable_v2()
498 cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1S(index), mask); in octeon_irq_ciu_enable_sum2()
514 cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1C(index), mask); in octeon_irq_ciu_disable_local_sum2()
527 cvmx_write_csr(CVMX_CIU_SUM2_PPX_IP4(index), mask); in octeon_irq_ciu_ack_sum2()
542 cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1C(coreid), mask); in octeon_irq_ciu_disable_all_sum2()
561 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); in octeon_irq_ciu_enable_local_v2()
565 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); in octeon_irq_ciu_enable_local_v2()
580 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1C(index), mask); in octeon_irq_ciu_disable_local_v2()
584 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1C(index), mask); in octeon_irq_ciu_disable_local_v2()
601 cvmx_write_csr(CVMX_CIU_INTX_SUM0(index), mask); in octeon_irq_ciu_ack()
603 cvmx_write_csr(CVMX_CIU_INT_SUM1, mask); in octeon_irq_ciu_ack()
625 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1C(index), mask); in octeon_irq_ciu_disable_all_v2()
632 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1C(index), mask); in octeon_irq_ciu_disable_all_v2()
655 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); in octeon_irq_ciu_enable_all_v2()
662 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); in octeon_irq_ciu_enable_all_v2()
696 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(cd->gpio_line), cfg.u64); in octeon_irq_gpio_setup()
729 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(cd->gpio_line), 0); in octeon_irq_ciu_disable_gpio_v2()
739 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(cd->gpio_line), 0); in octeon_irq_ciu_disable_gpio()
752 cvmx_write_csr(CVMX_GPIO_INT_CLR, mask); in octeon_irq_ciu_gpio_ack()
829 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_set_affinity()
831 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_set_affinity()
864 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); in octeon_irq_ciu_set_affinity_v2()
867 cvmx_write_csr(CVMX_CIU_INTX_EN0_W1C(index), mask); in octeon_irq_ciu_set_affinity_v2()
877 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); in octeon_irq_ciu_set_affinity_v2()
880 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1C(index), mask); in octeon_irq_ciu_set_affinity_v2()
907 cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1S(index), mask); in octeon_irq_ciu_set_affinity_sum2()
909 cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1C(index), mask); in octeon_irq_ciu_set_affinity_sum2()
1082 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_wd_enable()
1096 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(coreid * 2 + 1), 1ull << coreid); in octeon_irq_ciu1_wd_enable_v2()
1389 cvmx_write_csr(CVMX_CIU_INTX_EN0((coreid * 2)), 0); in octeon_irq_init_ciu_percpu()
1390 cvmx_write_csr(CVMX_CIU_INTX_EN0((coreid * 2 + 1)), 0); in octeon_irq_init_ciu_percpu()
1391 cvmx_write_csr(CVMX_CIU_INTX_EN1((coreid * 2)), 0); in octeon_irq_init_ciu_percpu()
1392 cvmx_write_csr(CVMX_CIU_INTX_EN1((coreid * 2 + 1)), 0); in octeon_irq_init_ciu_percpu()
1412 cvmx_write_csr(base + regx + ipx, 0); in octeon_irq_init_ciu2_percpu()
1661 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_wd_enable()
1678 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_enable()
1693 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_enable_local()
1709 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_disable_local()
1724 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_ack()
1740 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_disable_all()
1754 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_mbox_enable_all()
1768 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_mbox_disable_all()
1780 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_mbox_enable_local()
1791 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_mbox_disable_local()
1821 cvmx_write_csr(en_addr, mask); in octeon_irq_ciu2_set_affinity()
1840 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(cd->gpio_line), 0); in octeon_irq_ciu2_disable_gpio()
2142 cvmx_write_csr(host_data->en_reg, en); in octeon_irq_cib_enable()
2156 cvmx_write_csr(host_data->en_reg, en); in octeon_irq_cib_disable()
2263 cvmx_write_csr(host_data->en_reg, en); in octeon_irq_cib_handler()
2264 cvmx_write_csr(host_data->raw_reg, 1ull << i); in octeon_irq_cib_handler()
2272 cvmx_write_csr(host_data->raw_reg, 1ull << i); in octeon_irq_cib_handler()
2334 cvmx_write_csr(host_data->en_reg, 0); /* disable all IRQs */ in octeon_irq_init_cib()
2335 cvmx_write_csr(host_data->raw_reg, ~0); /* ack any outstanding */ in octeon_irq_init_cib()
2411 cvmx_write_csr(cd->ciu3_addr + CIU3_ISC_W1C(cd->intsn), isc_w1c.u64); in octeon_irq_ciu3_enable()
2417 cvmx_write_csr(isc_ctl_addr, isc_ctl.u64); in octeon_irq_ciu3_enable()
2434 cvmx_write_csr(cd->ciu3_addr + CIU3_ISC_W1C(cd->intsn), isc_w1c.u64); in octeon_irq_ciu3_disable()
2435 cvmx_write_csr(isc_ctl_addr, 0); in octeon_irq_ciu3_disable()
2459 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_ack()
2475 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_mask()
2499 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_mask_ack()
2528 cvmx_write_csr(cd->ciu3_addr + CIU3_ISC_W1C(cd->intsn), isc_w1c.u64); in octeon_irq_ciu3_set_affinity()
2534 cvmx_write_csr(isc_ctl_addr, isc_ctl.u64); in octeon_irq_ciu3_set_affinity()
2622 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_ip2()
2677 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_mbox()
2703 cvmx_write_csr(isc_w1s_addr, isc_w1s.u64); in octeon_ciu3_mbox_send()
2723 cvmx_write_csr(isc_w1c_addr, isc_ctl.u64); in octeon_irq_ciu3_mbox_set_enable()
2724 cvmx_write_csr(isc_ctl_addr, 0); in octeon_irq_ciu3_mbox_set_enable()
2731 cvmx_write_csr(isc_ctl_addr, isc_ctl.u64); in octeon_irq_ciu3_mbox_set_enable()
2773 cvmx_write_csr(isc_w1c_addr, isc_w1c.u64); in octeon_irq_ciu3_mbox_ack()
2809 cvmx_write_csr(b + CIU3_IDT_CTL(idt_ip2), 0); in octeon_irq_ciu3_alloc_resources()
2810 cvmx_write_csr(b + CIU3_IDT_PP(idt_ip2, 0), 1ull << core); in octeon_irq_ciu3_alloc_resources()
2811 cvmx_write_csr(b + CIU3_IDT_IO(idt_ip2), 0); in octeon_irq_ciu3_alloc_resources()
2814 cvmx_write_csr(b + CIU3_IDT_CTL(idt_ip3), 1); in octeon_irq_ciu3_alloc_resources()
2815 cvmx_write_csr(b + CIU3_IDT_PP(idt_ip3, 0), 1ull << core); in octeon_irq_ciu3_alloc_resources()
2816 cvmx_write_csr(b + CIU3_IDT_IO(idt_ip3), 0); in octeon_irq_ciu3_alloc_resources()
2819 cvmx_write_csr(b + CIU3_IDT_CTL(idt_ip4), 2); in octeon_irq_ciu3_alloc_resources()
2820 cvmx_write_csr(b + CIU3_IDT_PP(idt_ip4, 0), 0); in octeon_irq_ciu3_alloc_resources()
2821 cvmx_write_csr(b + CIU3_IDT_IO(idt_ip4), 0); in octeon_irq_ciu3_alloc_resources()
2823 cvmx_write_csr(b + CIU3_IDT_CTL(unused_idt2), 0); in octeon_irq_ciu3_alloc_resources()
2824 cvmx_write_csr(b + CIU3_IDT_PP(unused_idt2, 0), 0); in octeon_irq_ciu3_alloc_resources()
2825 cvmx_write_csr(b + CIU3_IDT_IO(unused_idt2), 0); in octeon_irq_ciu3_alloc_resources()
2830 cvmx_write_csr(b + CIU3_ISC_W1C(intsn), 2); in octeon_irq_ciu3_alloc_resources()
2831 cvmx_write_csr(b + CIU3_ISC_CTL(intsn), 0); in octeon_irq_ciu3_alloc_resources()