Lines Matching refs:ciu3_info

2337 	struct octeon_ciu3_info *ciu3_info = d->host_data;  in octeon_irq_ciu3_xlat()  local
2357 isc.u64 = cvmx_read_csr(ciu3_info->ciu3_addr + CIU3_ISC_CTL(hwirq)); in octeon_irq_ciu3_xlat()
2542 struct octeon_ciu3_info *ciu3_info = d->host_data; in octeon_irq_ciu3_mapx() local
2544 ciu3_info->node); in octeon_irq_ciu3_mapx()
2549 cd->ciu3_addr = ciu3_info->ciu3_addr; in octeon_irq_ciu3_mapx()
2550 cd->ciu_node = ciu3_info->node; in octeon_irq_ciu3_mapx()
2572 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_ip2() local
2575 ciu3_info = __this_cpu_read(octeon_ciu3_info); in octeon_irq_ciu3_ip2()
2576 ciu3_addr = ciu3_info->ciu3_addr; in octeon_irq_ciu3_ip2()
2588 domain = ciu3_info->domain[block]; in octeon_irq_ciu3_ip2()
2589 if (ciu3_info->intsn2hw[block]) in octeon_irq_ciu3_ip2()
2590 hw = ciu3_info->intsn2hw[block](domain, intsn); in octeon_irq_ciu3_ip2()
2635 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_mbox() local
2639 ciu3_info = __this_cpu_read(octeon_ciu3_info); in octeon_irq_ciu3_mbox()
2640 ciu3_addr = ciu3_info->ciu3_addr; in octeon_irq_ciu3_mbox()
2667 struct octeon_ciu3_info *ciu3_info; in octeon_ciu3_mbox_send() local
2676 ciu3_info = per_cpu(octeon_ciu3_info, cpu); in octeon_ciu3_mbox_send()
2677 isc_w1s_addr = ciu3_info->ciu3_addr + CIU3_ISC_W1S(intsn); in octeon_ciu3_mbox_send()
2688 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_mbox_set_enable() local
2695 ciu3_info = per_cpu(octeon_ciu3_info, cpu); in octeon_irq_ciu3_mbox_set_enable()
2696 isc_w1c_addr = ciu3_info->ciu3_addr + CIU3_ISC_W1C(intsn); in octeon_irq_ciu3_mbox_set_enable()
2697 isc_ctl_addr = ciu3_info->ciu3_addr + CIU3_ISC_CTL(intsn); in octeon_irq_ciu3_mbox_set_enable()
2739 struct octeon_ciu3_info *ciu3_info; in octeon_irq_ciu3_mbox_ack() local
2750 ciu3_info = __this_cpu_read(octeon_ciu3_info); in octeon_irq_ciu3_mbox_ack()
2751 isc_w1c_addr = ciu3_info->ciu3_addr + CIU3_ISC_W1C(intsn); in octeon_irq_ciu3_mbox_ack()
2766 static int octeon_irq_ciu3_alloc_resources(struct octeon_ciu3_info *ciu3_info) in octeon_irq_ciu3_alloc_resources() argument
2768 u64 b = ciu3_info->ciu3_addr; in octeon_irq_ciu3_alloc_resources()
2774 __this_cpu_write(octeon_ciu3_info, ciu3_info); in octeon_irq_ciu3_alloc_resources()
2818 struct octeon_ciu3_info *ciu3_info; in octeon_irq_setup_secondary_ciu3() local
2820 ciu3_info = octeon_ciu3_info_per_node[cvmx_get_node_num()]; in octeon_irq_setup_secondary_ciu3()
2821 octeon_irq_ciu3_alloc_resources(ciu3_info); in octeon_irq_setup_secondary_ciu3()
2849 struct octeon_ciu3_info *ciu3_info; in octeon_irq_init_ciu3() local
2855 ciu3_info = kzalloc_node(sizeof(*ciu3_info), GFP_KERNEL, node); in octeon_irq_init_ciu3()
2857 if (!ciu3_info) in octeon_irq_init_ciu3()
2867 ciu3_info->ciu3_addr = base_addr; in octeon_irq_init_ciu3()
2868 ciu3_info->node = node; in octeon_irq_init_ciu3()
2896 ciu3_info); in octeon_irq_init_ciu3()
2898 ciu3_info->domain[i] = domain; in octeon_irq_init_ciu3()
2900 octeon_ciu3_info_per_node[node] = ciu3_info; in octeon_irq_init_ciu3()
2904 octeon_irq_ciu3_alloc_resources(ciu3_info); in octeon_irq_init_ciu3()
2971 struct octeon_ciu3_info *ciu3_info; in octeon_irq_get_block_domain() local
2973 ciu3_info = octeon_ciu3_info_per_node[node & CVMX_NODE_MASK]; in octeon_irq_get_block_domain()
2974 return ciu3_info->domain[block]; in octeon_irq_get_block_domain()