Lines Matching refs:pen
259 unsigned long *pen; in octeon_irq_ciu_enable() local
268 pen = &per_cpu(octeon_irq_ciu0_en_mirror, cpu); in octeon_irq_ciu_enable()
269 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable()
275 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable()
277 pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu); in octeon_irq_ciu_enable()
278 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable()
284 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable()
291 unsigned long *pen; in octeon_irq_ciu_enable_local() local
300 pen = this_cpu_ptr(&octeon_irq_ciu0_en_mirror); in octeon_irq_ciu_enable_local()
301 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable_local()
307 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num() * 2), *pen); in octeon_irq_ciu_enable_local()
309 pen = this_cpu_ptr(&octeon_irq_ciu1_en_mirror); in octeon_irq_ciu_enable_local()
310 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable_local()
316 cvmx_write_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num() * 2 + 1), *pen); in octeon_irq_ciu_enable_local()
323 unsigned long *pen; in octeon_irq_ciu_disable_local() local
332 pen = this_cpu_ptr(&octeon_irq_ciu0_en_mirror); in octeon_irq_ciu_disable_local()
333 __clear_bit(cd->bit, pen); in octeon_irq_ciu_disable_local()
339 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num() * 2), *pen); in octeon_irq_ciu_disable_local()
341 pen = this_cpu_ptr(&octeon_irq_ciu1_en_mirror); in octeon_irq_ciu_disable_local()
342 __clear_bit(cd->bit, pen); in octeon_irq_ciu_disable_local()
348 cvmx_write_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num() * 2 + 1), *pen); in octeon_irq_ciu_disable_local()
356 unsigned long *pen; in octeon_irq_ciu_disable_all() local
367 pen = &per_cpu(octeon_irq_ciu0_en_mirror, cpu); in octeon_irq_ciu_disable_all()
369 pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu); in octeon_irq_ciu_disable_all()
372 __clear_bit(cd->bit, pen); in octeon_irq_ciu_disable_all()
379 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_disable_all()
381 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_disable_all()
389 unsigned long *pen; in octeon_irq_ciu_enable_all() local
400 pen = &per_cpu(octeon_irq_ciu0_en_mirror, cpu); in octeon_irq_ciu_enable_all()
402 pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu); in octeon_irq_ciu_enable_all()
405 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable_all()
412 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable_all()
414 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable_all()
738 unsigned long *pen; in octeon_irq_ciu_set_affinity() local
762 pen = &per_cpu(octeon_irq_ciu0_en_mirror, cpu); in octeon_irq_ciu_set_affinity()
764 pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu); in octeon_irq_ciu_set_affinity()
768 __set_bit(cd->bit, pen); in octeon_irq_ciu_set_affinity()
770 __clear_bit(cd->bit, pen); in octeon_irq_ciu_set_affinity()
779 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_set_affinity()
781 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_set_affinity()
809 unsigned long *pen = &per_cpu(octeon_irq_ciu0_en_mirror, cpu); in octeon_irq_ciu_set_affinity_v2() local
813 set_bit(cd->bit, pen); in octeon_irq_ciu_set_affinity_v2()
816 clear_bit(cd->bit, pen); in octeon_irq_ciu_set_affinity_v2()
822 unsigned long *pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu); in octeon_irq_ciu_set_affinity_v2() local
826 set_bit(cd->bit, pen); in octeon_irq_ciu_set_affinity_v2()
829 clear_bit(cd->bit, pen); in octeon_irq_ciu_set_affinity_v2()
1009 unsigned long *pen; in octeon_irq_ciu_wd_enable() local
1015 pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu); in octeon_irq_ciu_wd_enable()
1016 __set_bit(coreid, pen); in octeon_irq_ciu_wd_enable()
1022 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_wd_enable()