Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 25 of 131) sorted by relevance

123456

/arch/arm/boot/dts/
Dkeystone-k2hk-clocks.dtsi62 reg-names = "control", "domain";
63 domain-id = <0>;
72 reg-names = "control", "domain";
73 domain-id = <4>;
82 reg-names = "control", "domain";
83 domain-id = <5>;
92 reg-names = "control", "domain";
93 domain-id = <9>;
102 reg-names = "control", "domain";
103 domain-id = <10>;
[all …]
Dkeystone-k2l-clocks.dtsi52 reg-names = "control", "domain";
54 domain-id = <0>;
63 reg-names = "control", "domain";
64 domain-id = <4>;
73 reg-names = "control", "domain";
74 domain-id = <9>;
83 reg-names = "control", "domain";
84 domain-id = <10>;
93 reg-names = "control", "domain";
94 domain-id = <11>;
[all …]
Dkeystone-clocks.dtsi169 reg-names = "control", "domain";
170 domain-id = <0>;
180 reg-names = "control", "domain";
181 domain-id = <0>;
190 reg-names = "control", "domain";
191 domain-id = <0>;
201 reg-names = "control", "domain";
202 domain-id = <1>;
211 reg-names = "control", "domain";
212 domain-id = <1>;
[all …]
Dkeystone-k2e-clocks.dtsi44 reg-names = "control", "domain";
45 domain-id = <0>;
54 reg-names = "control", "domain";
55 domain-id = <5>;
64 reg-names = "control", "domain";
65 domain-id = <18>;
74 reg-names = "control", "domain";
75 domain-id = <29>;
/arch/x86/include/asm/
Dirqdomain.h40 extern int mp_irqdomain_alloc(struct irq_domain *domain, unsigned int virq,
42 extern void mp_irqdomain_free(struct irq_domain *domain, unsigned int virq,
44 extern void mp_irqdomain_activate(struct irq_domain *domain,
46 extern void mp_irqdomain_deactivate(struct irq_domain *domain,
48 extern int mp_irqdomain_ioapic_idx(struct irq_domain *domain);
52 extern void arch_init_msi_domain(struct irq_domain *domain);
54 static inline void arch_init_msi_domain(struct irq_domain *domain) { } in arch_init_msi_domain() argument
58 extern void arch_init_htirq_domain(struct irq_domain *domain);
60 static inline void arch_init_htirq_domain(struct irq_domain *domain) { } in arch_init_htirq_domain() argument
Ddevice.h19 void add_dma_domain(struct dma_domain *domain);
20 void del_dma_domain(struct dma_domain *domain);
/arch/ia64/kernel/
Dirq_ia64.c80 .domain = CPU_MASK_NONE
106 static inline int find_unassigned_vector(cpumask_t domain) in find_unassigned_vector() argument
111 cpumask_and(&mask, &domain, cpu_online_mask); in find_unassigned_vector()
117 cpumask_and(&mask, &domain, &vector_table[vector]); in find_unassigned_vector()
125 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) in __bind_irq_vector() argument
134 cpumask_and(&mask, &domain, cpu_online_mask); in __bind_irq_vector()
137 if ((cfg->vector == vector) && cpumask_equal(&cfg->domain, &domain)) in __bind_irq_vector()
144 cfg->domain = domain; in __bind_irq_vector()
146 cpumask_or(&vector_table[vector], &vector_table[vector], &domain); in __bind_irq_vector()
150 int bind_irq_vector(int irq, int vector, cpumask_t domain) in bind_irq_vector() argument
[all …]
/arch/arm/include/asm/
Ddomain.h90 unsigned int domain; in get_domain() local
94 : "=r" (domain) in get_domain()
97 return domain; in get_domain()
121 unsigned int domain = get_domain(); \
122 domain &= ~domain_mask(dom); \
123 domain = domain | domain_val(dom, type); \
124 set_domain(domain); \
/arch/x86/kvm/
Diommu.c77 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_iommu_map_pages() local
81 if (!domain) in kvm_iommu_map_pages()
98 if (iommu_iova_to_phys(domain, gfn_to_gpa(gfn))) { in kvm_iommu_map_pages()
129 r = iommu_map(domain, gfn_to_gpa(gfn), pfn_to_hpa(pfn), in kvm_iommu_map_pages()
174 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_assign_device() local
179 if (!domain) in kvm_assign_device()
185 r = iommu_attach_device(domain, &pdev->dev); in kvm_assign_device()
215 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_deassign_device() local
218 if (!domain) in kvm_deassign_device()
224 iommu_detach_device(domain, &pdev->dev); in kvm_deassign_device()
[all …]
/arch/x86/kernel/apic/
Dmsi.c72 struct irq_domain *domain; in native_setup_msi_irqs() local
79 domain = irq_remapping_get_irq_domain(&info); in native_setup_msi_irqs()
80 if (domain == NULL) in native_setup_msi_irqs()
81 domain = msi_default_domain; in native_setup_msi_irqs()
82 if (domain == NULL) in native_setup_msi_irqs()
85 return pci_msi_domain_alloc_irqs(domain, dev, nvec, type); in native_setup_msi_irqs()
99 int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec, in pci_msi_prepare() argument
200 static int dmar_msi_init(struct irq_domain *domain, in dmar_msi_init() argument
204 irq_domain_set_info(domain, virq, arg->dmar_id, info->chip, NULL, in dmar_msi_init()
236 struct irq_domain *domain = dmar_get_irq_domain(); in dmar_alloc_hwirq() local
[all …]
Dhtirq.c63 static int htirq_domain_alloc(struct irq_domain *domain, unsigned int virq, in htirq_domain_alloc() argument
79 if (irq_find_mapping(domain, hwirq) > 0) in htirq_domain_alloc()
86 ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, info); in htirq_domain_alloc()
99 irq_domain_set_info(domain, virq, hwirq, &ht_irq_chip, ht_cfg, in htirq_domain_alloc()
105 static void htirq_domain_free(struct irq_domain *domain, unsigned int virq, in htirq_domain_free() argument
108 struct irq_data *irq_data = irq_domain_get_irq_data(domain, virq); in htirq_domain_free()
112 irq_domain_free_irqs_top(domain, virq, nr_irqs); in htirq_domain_free()
115 static void htirq_domain_activate(struct irq_domain *domain, in htirq_domain_activate() argument
137 static void htirq_domain_deactivate(struct irq_domain *domain, in htirq_domain_deactivate() argument
Dvector.c26 cpumask_var_t domain; member
84 if (!zalloc_cpumask_var_node(&data->domain, GFP_KERNEL, node)) in alloc_apic_chip_data()
90 free_cpumask_var(data->domain); in alloc_apic_chip_data()
103 free_cpumask_var(data->domain); in free_apic_chip_data()
156 if (cpumask_subset(vector_cpumask, d->domain)) { in __assign_irq_vector()
157 if (cpumask_equal(vector_cpumask, d->domain)) in __assign_irq_vector()
163 cpumask_andnot(d->old_domain, d->domain, vector_cpumask); in __assign_irq_vector()
193 cpumask_copy(d->old_domain, d->domain); in __assign_irq_vector()
222 cpumask_copy(d->domain, vector_cpumask); in __assign_irq_vector()
229 BUG_ON(apic->cpu_mask_to_apicid_and(mask, d->domain, in __assign_irq_vector()
[all …]
/arch/arm/mach-davinci/
Dpsc.c77 void davinci_psc_config(unsigned int domain, unsigned int ctlr, in davinci_psc_config() argument
107 pdstat = __raw_readl(psc_base + PDSTAT + 4 * domain); in davinci_psc_config()
109 pdctl = __raw_readl(psc_base + PDCTL + 4 * domain); in davinci_psc_config()
111 __raw_writel(pdctl, psc_base + PDCTL + 4 * domain); in davinci_psc_config()
113 ptcmd = 1 << domain; in davinci_psc_config()
118 } while ((((epcpr >> domain) & 1) == 0)); in davinci_psc_config()
120 pdctl = __raw_readl(psc_base + PDCTL + 4 * domain); in davinci_psc_config()
122 __raw_writel(pdctl, psc_base + PDCTL + 4 * domain); in davinci_psc_config()
124 ptcmd = 1 << domain; in davinci_psc_config()
130 } while (!(((ptstat >> domain) & 1) == 0)); in davinci_psc_config()
/arch/x86/platform/uv/
Duv_irq.c80 static int uv_domain_alloc(struct irq_domain *domain, unsigned int virq, in uv_domain_alloc() argument
85 struct irq_data *irq_data = irq_domain_get_irq_data(domain, virq); in uv_domain_alloc()
96 ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); in uv_domain_alloc()
105 irq_domain_set_info(domain, virq, virq, &uv_irq_chip, chip_data, in uv_domain_alloc()
114 static void uv_domain_free(struct irq_domain *domain, unsigned int virq, in uv_domain_free() argument
117 struct irq_data *irq_data = irq_domain_get_irq_data(domain, virq); in uv_domain_free()
123 irq_domain_free_irqs_top(domain, virq, nr_irqs); in uv_domain_free()
130 static void uv_domain_activate(struct irq_domain *domain, in uv_domain_activate() argument
140 static void uv_domain_deactivate(struct irq_domain *domain, in uv_domain_deactivate() argument
184 struct irq_domain *domain = uv_get_irq_domain(); in uv_setup_irq() local
[all …]
/arch/mips/ralink/
Dirq.c104 struct irq_domain *domain = irq_desc_get_handler_data(desc); in ralink_intc_irq_handler() local
105 generic_handle_irq(irq_find_mapping(domain, __ffs(pending))); in ralink_intc_irq_handler()
152 struct irq_domain *domain; in intc_of_init() local
181 domain = irq_domain_add_legacy(node, RALINK_INTC_IRQ_COUNT, in intc_of_init()
183 if (!domain) in intc_of_init()
188 irq_set_chained_handler_and_data(irq, ralink_intc_irq_handler, domain); in intc_of_init()
191 rt_perfcount_irq = irq_create_mapping(domain, 9); in intc_of_init()
/arch/x86/pci/
Dacpi.c201 seg = info->sd.domain; in setup_mcfg_map()
230 pci_mmconfig_delete(info->sd.domain, in teardown_mcfg_map()
329 int domain = root->segment; in pci_acpi_scan_root() local
335 root->segment = domain = 0; in pci_acpi_scan_root()
337 if (domain && !pci_domains_supported) { in pci_acpi_scan_root()
340 domain, busnum); in pci_acpi_scan_root()
344 bus = pci_find_bus(domain, busnum); in pci_acpi_scan_root()
351 .domain = domain, in pci_acpi_scan_root()
364 domain, busnum); in pci_acpi_scan_root()
366 info->sd.domain = domain; in pci_acpi_scan_root()
Dcommon.c40 int raw_pci_read(unsigned int domain, unsigned int bus, unsigned int devfn, in raw_pci_read() argument
43 if (domain == 0 && reg < 256 && raw_pci_ops) in raw_pci_read()
44 return raw_pci_ops->read(domain, bus, devfn, reg, len, val); in raw_pci_read()
46 return raw_pci_ext_ops->read(domain, bus, devfn, reg, len, val); in raw_pci_read()
50 int raw_pci_write(unsigned int domain, unsigned int bus, unsigned int devfn, in raw_pci_write() argument
53 if (domain == 0 && reg < 256 && raw_pci_ops) in raw_pci_write()
54 return raw_pci_ops->write(domain, bus, devfn, reg, len, val); in raw_pci_write()
56 return raw_pci_ext_ops->write(domain, bus, devfn, reg, len, val); in raw_pci_write()
647 void add_dma_domain(struct dma_domain *domain) in add_dma_domain() argument
650 list_add(&domain->node, &dma_domain_list); in add_dma_domain()
[all …]
/arch/nios2/kernel/
Dirq.c77 struct irq_domain *domain; in init_IRQ() local
86 domain = irq_domain_add_linear(node, NIOS2_CPU_NR_IRQS, &irq_ops, NULL); in init_IRQ()
87 BUG_ON(!domain); in init_IRQ()
89 irq_set_default_host(domain); in init_IRQ()
/arch/powerpc/perf/
Dhv-24x7.c30 static bool domain_is_valid(unsigned domain) in domain_is_valid() argument
32 switch (domain) { in domain_is_valid()
44 static bool is_physical_domain(unsigned domain) in is_physical_domain() argument
46 switch (domain) { in is_physical_domain()
57 static const char *domain_name(unsigned domain) in domain_name() argument
59 if (!domain_is_valid(domain)) in domain_name()
62 switch (domain) { in domain_name()
71 WARN_ON_ONCE(domain); in domain_name()
75 static bool catalog_entry_domain_is_valid(unsigned domain) in catalog_entry_domain_is_valid() argument
77 return is_physical_domain(domain); in catalog_entry_domain_is_valid()
[all …]
/arch/mips/ath25/
Dar2315.c79 struct irq_domain *domain = irq_desc_get_handler_data(desc); in ar2315_misc_irq_handler() local
82 misc_irq = irq_find_mapping(domain, nr); in ar2315_misc_irq_handler()
151 struct irq_domain *domain; in ar2315_arch_init_irq() local
156 domain = irq_domain_add_linear(NULL, AR2315_MISC_IRQ_COUNT, in ar2315_arch_init_irq()
158 if (!domain) in ar2315_arch_init_irq()
161 irq = irq_create_mapping(domain, AR2315_MISC_IRQ_AHB); in ar2315_arch_init_irq()
165 ar2315_misc_irq_handler, domain); in ar2315_arch_init_irq()
167 ar2315_misc_irq_domain = domain; in ar2315_arch_init_irq()
Dar5312.c83 struct irq_domain *domain = irq_desc_get_handler_data(desc); in ar5312_misc_irq_handler() local
86 misc_irq = irq_find_mapping(domain, nr); in ar5312_misc_irq_handler()
146 struct irq_domain *domain; in ar5312_arch_init_irq() local
151 domain = irq_domain_add_linear(NULL, AR5312_MISC_IRQ_COUNT, in ar5312_arch_init_irq()
153 if (!domain) in ar5312_arch_init_irq()
156 irq = irq_create_mapping(domain, AR5312_MISC_IRQ_AHB_PROC); in ar5312_arch_init_irq()
160 ar5312_misc_irq_handler, domain); in ar5312_arch_init_irq()
162 ar5312_misc_irq_domain = domain; in ar5312_arch_init_irq()
/arch/arm/mach-zx/
Dzx296702-pm-domain.c38 static int normal_power_off(struct generic_pm_domain *domain) in normal_power_off() argument
40 struct zx_pm_domain *zpd = (struct zx_pm_domain *)domain; in normal_power_off()
67 pr_err("Error: %s %s fail\n", __func__, domain->name); in normal_power_off()
74 static int normal_power_on(struct generic_pm_domain *domain) in normal_power_on() argument
76 struct zx_pm_domain *zpd = (struct zx_pm_domain *)domain; in normal_power_on()
88 pr_err("Error: %s %s fail\n", __func__, domain->name); in normal_power_on()
/arch/arm/mach-imx/
D3ds_debugboard.c63 static struct irq_domain *domain; variable
104 generic_handle_irq(irq_find_mapping(domain, expio_irq)); in mxc_expio_irq_handler()
192 domain = irq_domain_add_legacy(NULL, MXC_MAX_EXP_IO_LINES, irq_base, 0, in mxc_expio_init()
194 WARN_ON(!domain); in mxc_expio_init()
208 smsc911x_resources[1].start = irq_find_mapping(domain, EXPIO_INT_ENET); in mxc_expio_init()
209 smsc911x_resources[1].end = irq_find_mapping(domain, EXPIO_INT_ENET); in mxc_expio_init()
/arch/powerpc/platforms/powernv/
Dopal-irqchip.c37 struct irq_domain *domain; member
65 virq = irq_find_mapping(opal_event_irqchip.domain, in opal_handle_events()
203 opal_event_irqchip.domain = irq_domain_add_linear(dn, MAX_NUM_EVENTS, in opal_event_init()
206 if (!opal_event_irqchip.domain) { in opal_event_init()
262 if (WARN_ON_ONCE(!opal_event_irqchip.domain)) in opal_event_request()
265 return irq_create_mapping(opal_event_irqchip.domain, opal_event_nr); in opal_event_request()
/arch/arm/mach-ux500/
Dpm_domains.c18 static int pd_power_off(struct generic_pm_domain *domain) in pd_power_off() argument
30 static int pd_power_on(struct generic_pm_domain *domain) in pd_power_on() argument

123456