Lines Matching refs:ciu3_info
2365 struct octeon_ciu3_info *ciu3_info = d->host_data; in octeon_irq_ciu3_xlat() local
2385 isc.u64 = cvmx_read_csr(ciu3_info->ciu3_addr + CIU3_ISC_CTL(hwirq)); in octeon_irq_ciu3_xlat()
2570 struct octeon_ciu3_info *ciu3_info = d->host_data; in octeon_irq_ciu3_mapx() local
2572 ciu3_info->node); in octeon_irq_ciu3_mapx()
2577 cd->ciu3_addr = ciu3_info->ciu3_addr; in octeon_irq_ciu3_mapx()
2578 cd->ciu_node = ciu3_info->node; in octeon_irq_ciu3_mapx()
2600 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_ip2() local
2603 ciu3_info = __this_cpu_read(octeon_ciu3_info); in octeon_irq_ciu3_ip2()
2604 ciu3_addr = ciu3_info->ciu3_addr; in octeon_irq_ciu3_ip2()
2616 domain = ciu3_info->domain[block]; in octeon_irq_ciu3_ip2()
2617 if (ciu3_info->intsn2hw[block]) in octeon_irq_ciu3_ip2()
2618 hw = ciu3_info->intsn2hw[block](domain, intsn); in octeon_irq_ciu3_ip2()
2666 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_mbox() local
2670 ciu3_info = __this_cpu_read(octeon_ciu3_info); in octeon_irq_ciu3_mbox()
2671 ciu3_addr = ciu3_info->ciu3_addr; in octeon_irq_ciu3_mbox()
2698 struct octeon_ciu3_info *ciu3_info; in octeon_ciu3_mbox_send() local
2707 ciu3_info = per_cpu(octeon_ciu3_info, cpu); in octeon_ciu3_mbox_send()
2708 isc_w1s_addr = ciu3_info->ciu3_addr + CIU3_ISC_W1S(intsn); in octeon_ciu3_mbox_send()
2719 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_mbox_set_enable() local
2726 ciu3_info = per_cpu(octeon_ciu3_info, cpu); in octeon_irq_ciu3_mbox_set_enable()
2727 isc_w1c_addr = ciu3_info->ciu3_addr + CIU3_ISC_W1C(intsn); in octeon_irq_ciu3_mbox_set_enable()
2728 isc_ctl_addr = ciu3_info->ciu3_addr + CIU3_ISC_CTL(intsn); in octeon_irq_ciu3_mbox_set_enable()
2770 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_mbox_ack() local
2781 ciu3_info = __this_cpu_read(octeon_ciu3_info); in octeon_irq_ciu3_mbox_ack()
2782 isc_w1c_addr = ciu3_info->ciu3_addr + CIU3_ISC_W1C(intsn); in octeon_irq_ciu3_mbox_ack()
2797 static int octeon_irq_ciu3_alloc_resources(struct octeon_ciu3_info *ciu3_info) in octeon_irq_ciu3_alloc_resources() argument
2799 u64 b = ciu3_info->ciu3_addr; in octeon_irq_ciu3_alloc_resources()
2805 __this_cpu_write(octeon_ciu3_info, ciu3_info); in octeon_irq_ciu3_alloc_resources()
2849 struct octeon_ciu3_info *ciu3_info; in octeon_irq_setup_secondary_ciu3() local
2851 ciu3_info = octeon_ciu3_info_per_node[cvmx_get_node_num()]; in octeon_irq_setup_secondary_ciu3()
2852 octeon_irq_ciu3_alloc_resources(ciu3_info); in octeon_irq_setup_secondary_ciu3()
2880 struct octeon_ciu3_info *ciu3_info; in octeon_irq_init_ciu3() local
2886 ciu3_info = kzalloc_node(sizeof(*ciu3_info), GFP_KERNEL, node); in octeon_irq_init_ciu3()
2888 if (!ciu3_info) in octeon_irq_init_ciu3()
2898 ciu3_info->ciu3_addr = base_addr; in octeon_irq_init_ciu3()
2899 ciu3_info->node = node; in octeon_irq_init_ciu3()
2927 ciu3_info); in octeon_irq_init_ciu3()
2929 ciu3_info->domain[i] = domain; in octeon_irq_init_ciu3()
2931 octeon_ciu3_info_per_node[node] = ciu3_info; in octeon_irq_init_ciu3()
2935 octeon_irq_ciu3_alloc_resources(ciu3_info); in octeon_irq_init_ciu3()
3002 struct octeon_ciu3_info *ciu3_info; in octeon_irq_get_block_domain() local
3004 ciu3_info = octeon_ciu3_info_per_node[node & CVMX_NODE_MASK]; in octeon_irq_get_block_domain()
3005 return ciu3_info->domain[block]; in octeon_irq_get_block_domain()