Lines Matching refs:ciu3_info
2363 struct octeon_ciu3_info *ciu3_info = d->host_data; in octeon_irq_ciu3_xlat() local
2383 isc.u64 = cvmx_read_csr(ciu3_info->ciu3_addr + CIU3_ISC_CTL(hwirq)); in octeon_irq_ciu3_xlat()
2568 struct octeon_ciu3_info *ciu3_info = d->host_data; in octeon_irq_ciu3_mapx() local
2570 ciu3_info->node); in octeon_irq_ciu3_mapx()
2575 cd->ciu3_addr = ciu3_info->ciu3_addr; in octeon_irq_ciu3_mapx()
2576 cd->ciu_node = ciu3_info->node; in octeon_irq_ciu3_mapx()
2598 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_ip2() local
2601 ciu3_info = __this_cpu_read(octeon_ciu3_info); in octeon_irq_ciu3_ip2()
2602 ciu3_addr = ciu3_info->ciu3_addr; in octeon_irq_ciu3_ip2()
2614 domain = ciu3_info->domain[block]; in octeon_irq_ciu3_ip2()
2615 if (ciu3_info->intsn2hw[block]) in octeon_irq_ciu3_ip2()
2616 hw = ciu3_info->intsn2hw[block](domain, intsn); in octeon_irq_ciu3_ip2()
2664 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_mbox() local
2668 ciu3_info = __this_cpu_read(octeon_ciu3_info); in octeon_irq_ciu3_mbox()
2669 ciu3_addr = ciu3_info->ciu3_addr; in octeon_irq_ciu3_mbox()
2696 struct octeon_ciu3_info *ciu3_info; in octeon_ciu3_mbox_send() local
2705 ciu3_info = per_cpu(octeon_ciu3_info, cpu); in octeon_ciu3_mbox_send()
2706 isc_w1s_addr = ciu3_info->ciu3_addr + CIU3_ISC_W1S(intsn); in octeon_ciu3_mbox_send()
2717 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_mbox_set_enable() local
2724 ciu3_info = per_cpu(octeon_ciu3_info, cpu); in octeon_irq_ciu3_mbox_set_enable()
2725 isc_w1c_addr = ciu3_info->ciu3_addr + CIU3_ISC_W1C(intsn); in octeon_irq_ciu3_mbox_set_enable()
2726 isc_ctl_addr = ciu3_info->ciu3_addr + CIU3_ISC_CTL(intsn); in octeon_irq_ciu3_mbox_set_enable()
2768 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_mbox_ack() local
2779 ciu3_info = __this_cpu_read(octeon_ciu3_info); in octeon_irq_ciu3_mbox_ack()
2780 isc_w1c_addr = ciu3_info->ciu3_addr + CIU3_ISC_W1C(intsn); in octeon_irq_ciu3_mbox_ack()
2795 static int octeon_irq_ciu3_alloc_resources(struct octeon_ciu3_info *ciu3_info) in octeon_irq_ciu3_alloc_resources() argument
2797 u64 b = ciu3_info->ciu3_addr; in octeon_irq_ciu3_alloc_resources()
2803 __this_cpu_write(octeon_ciu3_info, ciu3_info); in octeon_irq_ciu3_alloc_resources()
2847 struct octeon_ciu3_info *ciu3_info; in octeon_irq_setup_secondary_ciu3() local
2849 ciu3_info = octeon_ciu3_info_per_node[cvmx_get_node_num()]; in octeon_irq_setup_secondary_ciu3()
2850 octeon_irq_ciu3_alloc_resources(ciu3_info); in octeon_irq_setup_secondary_ciu3()
2878 struct octeon_ciu3_info *ciu3_info; in octeon_irq_init_ciu3() local
2884 ciu3_info = kzalloc_node(sizeof(*ciu3_info), GFP_KERNEL, node); in octeon_irq_init_ciu3()
2886 if (!ciu3_info) in octeon_irq_init_ciu3()
2893 ciu3_info->ciu3_addr = base_addr = (u64)phys_to_virt(res.start); in octeon_irq_init_ciu3()
2894 ciu3_info->node = node; in octeon_irq_init_ciu3()
2922 ciu3_info); in octeon_irq_init_ciu3()
2924 ciu3_info->domain[i] = domain; in octeon_irq_init_ciu3()
2926 octeon_ciu3_info_per_node[node] = ciu3_info; in octeon_irq_init_ciu3()
2930 octeon_irq_ciu3_alloc_resources(ciu3_info); in octeon_irq_init_ciu3()
2997 struct octeon_ciu3_info *ciu3_info; in octeon_irq_get_block_domain() local
2999 ciu3_info = octeon_ciu3_info_per_node[node & CVMX_NODE_MASK]; in octeon_irq_get_block_domain()
3000 return ciu3_info->domain[block]; in octeon_irq_get_block_domain()