Home
last modified time | relevance | path

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

12345678910>>...65

/OK3568_Linux_fs/kernel/kernel/irq/
H A Dirqdomain.c28 static void irq_domain_check_hierarchy(struct irq_domain *domain);
136 struct irq_domain *domain; in __irq_domain_add() local
140 domain = kzalloc_node(sizeof(*domain) + (sizeof(unsigned int) * size), in __irq_domain_add()
142 if (!domain) in __irq_domain_add()
151 domain->fwnode = fwnode; in __irq_domain_add()
152 domain->name = kstrdup(fwid->name, GFP_KERNEL); in __irq_domain_add()
153 if (!domain->name) { in __irq_domain_add()
154 kfree(domain); in __irq_domain_add()
157 domain->flags |= IRQ_DOMAIN_NAME_ALLOCATED; in __irq_domain_add()
160 domain->fwnode = fwnode; in __irq_domain_add()
[all …]
H A Dmsi.c79 static void msi_check_level(struct irq_domain *domain, struct msi_msg *msg) in msi_check_level() argument
81 struct msi_domain_info *info = domain->host_data; in msi_check_level()
111 msi_check_level(irq_data->domain, msg); in msi_domain_set_affinity()
118 static int msi_domain_activate(struct irq_domain *domain, in msi_domain_activate() argument
124 msi_check_level(irq_data->domain, msg); in msi_domain_activate()
129 static void msi_domain_deactivate(struct irq_domain *domain, in msi_domain_deactivate() argument
138 static int msi_domain_alloc(struct irq_domain *domain, unsigned int virq, in msi_domain_alloc() argument
141 struct msi_domain_info *info = domain->host_data; in msi_domain_alloc()
146 if (irq_find_mapping(domain, hwirq) > 0) in msi_domain_alloc()
149 if (domain->parent) { in msi_domain_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_pm_domain.c39 struct mali_pm_domain *domain = NULL; in mali_pm_domain_create() local
42 domain = mali_pm_domain_get_from_mask(pmu_mask); in mali_pm_domain_create()
43 if (NULL != domain) return domain; in mali_pm_domain_create()
49 domain = (struct mali_pm_domain *)_mali_osk_malloc( in mali_pm_domain_create()
51 if (NULL != domain) { in mali_pm_domain_create()
52 domain->power_is_on = MALI_FALSE; in mali_pm_domain_create()
53 domain->pmu_mask = pmu_mask; in mali_pm_domain_create()
54 domain->use_count = 0; in mali_pm_domain_create()
55 _mali_osk_list_init(&domain->group_list); in mali_pm_domain_create()
56 _mali_osk_list_init(&domain->l2_cache_list); in mali_pm_domain_create()
[all …]
H A Dmali_pm_domain.h39 void mali_pm_domain_delete(struct mali_pm_domain *domain);
42 struct mali_pm_domain *domain,
44 void mali_pm_domain_add_group(struct mali_pm_domain *domain,
51 u32 mali_pm_domain_ref_get(struct mali_pm_domain *domain);
52 u32 mali_pm_domain_ref_put(struct mali_pm_domain *domain);
55 struct mali_pm_domain *domain) in mali_pm_domain_get_group_list() argument
57 MALI_DEBUG_ASSERT_POINTER(domain); in mali_pm_domain_get_group_list()
58 return &domain->group_list; in mali_pm_domain_get_group_list()
62 struct mali_pm_domain *domain) in mali_pm_domain_get_l2_cache_list() argument
64 MALI_DEBUG_ASSERT_POINTER(domain); in mali_pm_domain_get_l2_cache_list()
[all …]
/OK3568_Linux_fs/kernel/drivers/iommu/
H A Dipmmu-vmsa.c210 static u32 ipmmu_ctx_read_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_read_root() argument
213 return ipmmu_ctx_read(domain->mmu->root, domain->context_id, reg); in ipmmu_ctx_read_root()
216 static void ipmmu_ctx_write_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_root() argument
219 ipmmu_ctx_write(domain->mmu->root, domain->context_id, reg, data); in ipmmu_ctx_write_root()
222 static void ipmmu_ctx_write_all(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_all() argument
225 if (domain->mmu != domain->mmu->root) in ipmmu_ctx_write_all()
226 ipmmu_ctx_write(domain->mmu, domain->context_id, reg, data); in ipmmu_ctx_write_all()
228 ipmmu_ctx_write(domain->mmu->root, domain->context_id, reg, data); in ipmmu_ctx_write_all()
253 static void ipmmu_tlb_sync(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_sync() argument
257 while (ipmmu_ctx_read_root(domain, IMCTR) & IMCTR_FLUSH) { in ipmmu_tlb_sync()
[all …]
H A Dexynos-iommu.c236 struct iommu_domain *domain; /* domain this device is attached */ member
252 struct iommu_domain domain; /* generic domain data structure */ member
272 struct exynos_iommu_domain *domain; /* domain we belong to */ member
283 return container_of(dom, struct exynos_iommu_domain, domain); in to_exynos_domain()
443 if (data->domain) in exynos_sysmmu_irq()
444 ret = report_iommu_fault(&data->domain->domain, in exynos_sysmmu_irq()
680 if (data->domain) { in exynos_sysmmu_suspend()
698 if (data->domain) { in exynos_sysmmu_resume()
739 struct exynos_iommu_domain *domain; in exynos_iommu_domain_alloc() local
746 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in exynos_iommu_domain_alloc()
[all …]
H A Diommu.c47 struct iommu_domain *domain; member
88 static int __iommu_attach_device(struct iommu_domain *domain,
90 static int __iommu_attach_group(struct iommu_domain *domain,
92 static void __iommu_detach_group(struct iommu_domain *domain,
732 struct iommu_domain *domain = group->default_domain; in iommu_create_device_direct_mappings() local
738 if (!domain || domain->type != IOMMU_DOMAIN_DMA) in iommu_create_device_direct_mappings()
741 BUG_ON(!domain->pgsize_bitmap); in iommu_create_device_direct_mappings()
743 pg_size = 1UL << __ffs(domain->pgsize_bitmap); in iommu_create_device_direct_mappings()
752 if (domain->ops->apply_resv_region) in iommu_create_device_direct_mappings()
753 domain->ops->apply_resv_region(dev, domain, entry); in iommu_create_device_direct_mappings()
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/imx/
H A Dgpcv2.c133 struct imx_pgc_domain *domain = container_of(genpd, in imx_gpc_pu_pgc_sw_pxx_req() local
139 const bool has_regulator = !IS_ERR(domain->regulator); in imx_gpc_pu_pgc_sw_pxx_req()
143 regmap_update_bits(domain->regmap, GPC_PGC_CPU_MAPPING, in imx_gpc_pu_pgc_sw_pxx_req()
144 domain->bits.map, domain->bits.map); in imx_gpc_pu_pgc_sw_pxx_req()
147 ret = regulator_enable(domain->regulator); in imx_gpc_pu_pgc_sw_pxx_req()
149 dev_err(domain->dev, "failed to enable regulator\n"); in imx_gpc_pu_pgc_sw_pxx_req()
155 for (i = 0; i < domain->num_clks; i++) in imx_gpc_pu_pgc_sw_pxx_req()
156 clk_prepare_enable(domain->clk[i]); in imx_gpc_pu_pgc_sw_pxx_req()
159 regmap_update_bits(domain->regmap, GPC_PGC_CTRL(domain->pgc), in imx_gpc_pu_pgc_sw_pxx_req()
162 if (domain->bits.hsk) in imx_gpc_pu_pgc_sw_pxx_req()
[all …]
H A Dgpc.c130 static int imx_pgc_get_clocks(struct device *dev, struct imx_pm_domain *domain) in imx_pgc_get_clocks() argument
143 domain->clk[i] = clk; in imx_pgc_get_clocks()
145 domain->num_clks = i; in imx_pgc_get_clocks()
151 clk_put(domain->clk[i]); in imx_pgc_get_clocks()
156 static void imx_pgc_put_clocks(struct imx_pm_domain *domain) in imx_pgc_put_clocks() argument
160 for (i = domain->num_clks - 1; i >= 0; i--) in imx_pgc_put_clocks()
161 clk_put(domain->clk[i]); in imx_pgc_put_clocks()
164 static int imx_pgc_parse_dt(struct device *dev, struct imx_pm_domain *domain) in imx_pgc_parse_dt() argument
167 domain->supply = devm_regulator_get_optional(dev, "power"); in imx_pgc_parse_dt()
168 if (IS_ERR(domain->supply)) { in imx_pgc_parse_dt()
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/io-domain/
H A Drockchip-io-domain.su
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dkeystone-k2hk-clocks.dtsi59 reg-names = "control", "domain";
60 domain-id = <0>;
69 reg-names = "control", "domain";
70 domain-id = <4>;
79 reg-names = "control", "domain";
80 domain-id = <5>;
89 reg-names = "control", "domain";
90 domain-id = <9>;
99 reg-names = "control", "domain";
100 domain-id = <10>;
[all …]
H A Dkeystone-k2l-clocks.dtsi49 reg-names = "control", "domain";
51 domain-id = <0>;
60 reg-names = "control", "domain";
61 domain-id = <4>;
70 reg-names = "control", "domain";
71 domain-id = <9>;
80 reg-names = "control", "domain";
81 domain-id = <10>;
90 reg-names = "control", "domain";
91 domain-id = <11>;
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/include/linux/
H A Diommu.h257 int (*attach_dev)(struct iommu_domain *domain, struct device *dev);
258 void (*detach_dev)(struct iommu_domain *domain, struct device *dev);
259 int (*map)(struct iommu_domain *domain, unsigned long iova,
261 int (*map_pages)(struct iommu_domain *domain, unsigned long iova,
264 int (*map_sg)(struct iommu_domain *domain, unsigned long iova,
267 size_t (*unmap)(struct iommu_domain *domain, unsigned long iova,
269 size_t (*unmap_pages)(struct iommu_domain *domain, unsigned long iova,
272 void (*flush_iotlb_all)(struct iommu_domain *domain);
273 void (*iotlb_sync_map)(struct iommu_domain *domain, unsigned long iova,
275 void (*iotlb_sync)(struct iommu_domain *domain,
[all …]
H A Dirqdomain.h301 extern void irq_domain_update_bus_token(struct irq_domain *domain,
385 extern int irq_domain_associate(struct irq_domain *domain, unsigned int irq,
387 extern void irq_domain_associate_many(struct irq_domain *domain,
390 extern void irq_domain_disassociate(struct irq_domain *domain,
416 static inline unsigned int irq_linear_revmap(struct irq_domain *domain, in irq_linear_revmap() argument
419 return hwirq < domain->revmap_size ? domain->linear_revmap[hwirq] : 0; in irq_linear_revmap()
424 extern int irq_create_strict_mappings(struct irq_domain *domain,
458 int irq_reserve_ipi(struct irq_domain *domain, const struct cpumask *dest);
462 extern struct irq_data *irq_domain_get_irq_data(struct irq_domain *domain,
464 extern void irq_domain_set_info(struct irq_domain *domain, unsigned int virq,
[all …]
/OK3568_Linux_fs/kernel/drivers/dca/
H A Ddca-core.c44 struct dca_domain *domain; in dca_allocate_domain() local
46 domain = kzalloc(sizeof(*domain), GFP_NOWAIT); in dca_allocate_domain()
47 if (!domain) in dca_allocate_domain()
50 INIT_LIST_HEAD(&domain->dca_providers); in dca_allocate_domain()
51 domain->pci_rc = rc; in dca_allocate_domain()
53 return domain; in dca_allocate_domain()
56 static void dca_free_domain(struct dca_domain *domain) in dca_free_domain() argument
58 list_del(&domain->node); in dca_free_domain()
59 kfree(domain); in dca_free_domain()
81 struct dca_domain *domain; in unregister_dca_providers() local
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/mach-imx/
H A Drdc-sema.h41 #define RDC_PDAP_DW_SHIFT(domain) ((domain) << 1) argument
42 #define RDC_PDAP_DR_SHIFT(domain) (1 + RDC_PDAP_DW_SHIFT(domain)) argument
43 #define RDC_PDAP_DW_MASK(domain) (1 << RDC_PDAP_DW_SHIFT(domain)) argument
44 #define RDC_PDAP_DR_MASK(domain) (1 << RDC_PDAP_DR_SHIFT(domain)) argument
45 #define RDC_PDAP_DRW_MASK(domain) (RDC_PDAP_DW_MASK(domain) | \ argument
46 RDC_PDAP_DR_MASK(domain))
59 #define RDC_MRC_DW_SHIFT(domain) (domain) argument
60 #define RDC_MRC_DR_SHIFT(domain) (1 + RDC_MRC_DW_SHIFT(domain)) argument
61 #define RDC_MRC_DW_MASK(domain) (1 << RDC_MRC_DW_SHIFT(domain)) argument
62 #define RDC_MRC_DR_MASK(domain) (1 << RDC_MRC_DR_SHIFT(domain)) argument
[all …]
/OK3568_Linux_fs/kernel/drivers/iommu/intel/
H A Diommu.c299 #define for_each_domain_iommu(idx, domain) \ argument
301 if (domain->iommu_refcnt[idx])
329 static void domain_exit(struct dmar_domain *domain);
330 static void domain_remove_dev_info(struct dmar_domain *domain);
333 static int intel_iommu_attach_device(struct iommu_domain *domain,
335 static phys_addr_t intel_iommu_iova_to_phys(struct iommu_domain *domain,
492 struct dmar_domain *domain) in set_iommu_domain() argument
506 domains[did & 0xff] = domain; in set_iommu_domain()
545 static inline int domain_type_is_si(struct dmar_domain *domain) in domain_type_is_si() argument
547 return domain->flags & DOMAIN_FLAG_STATIC_IDENTITY; in domain_type_is_si()
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/dove/
H A Dpmu.c143 static int pmu_domain_power_off(struct generic_pm_domain *domain) in pmu_domain_power_off() argument
145 struct pmu_domain *pmu_dom = to_pmu_domain(domain); in pmu_domain_power_off()
177 static int pmu_domain_power_on(struct generic_pm_domain *domain) in pmu_domain_power_on() argument
179 struct pmu_domain *pmu_dom = to_pmu_domain(domain); in pmu_domain_power_on()
211 static void __pmu_domain_register(struct pmu_domain *domain, in __pmu_domain_register() argument
214 unsigned int val = readl_relaxed(domain->pmu->pmu_base + PMU_PWR); in __pmu_domain_register()
216 domain->base.power_off = pmu_domain_power_off; in __pmu_domain_register()
217 domain->base.power_on = pmu_domain_power_on; in __pmu_domain_register()
219 pm_genpd_init(&domain->base, NULL, !(val & domain->pwr_mask)); in __pmu_domain_register()
222 of_genpd_add_provider_simple(np, &domain->base); in __pmu_domain_register()
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dkyber.h16 TP_PROTO(struct request_queue *q, const char *domain, const char *type,
20 TP_ARGS(q, domain, type, percentile, numerator, denominator, samples),
24 __array( char, domain, DOMAIN_LEN )
34 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
43 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->domain,
50 TP_PROTO(struct request_queue *q, const char *domain,
53 TP_ARGS(q, domain, depth),
57 __array( char, domain, DOMAIN_LEN )
63 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
68 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->domain,
[all …]
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A Dirq-atmel-aic5.c88 struct irq_domain *domain = d->domain; in aic5_mask() local
89 struct irq_chip_generic *bgc = irq_get_domain_generic_chip(domain, 0); in aic5_mask()
105 struct irq_domain *domain = d->domain; in aic5_unmask() local
106 struct irq_chip_generic *bgc = irq_get_domain_generic_chip(domain, 0); in aic5_unmask()
122 struct irq_domain *domain = d->domain; in aic5_retrigger() local
123 struct irq_chip_generic *bgc = irq_get_domain_generic_chip(domain, 0); in aic5_retrigger()
136 struct irq_domain *domain = d->domain; in aic5_set_type() local
137 struct irq_chip_generic *bgc = irq_get_domain_generic_chip(domain, 0); in aic5_set_type()
157 struct irq_domain *domain = d->domain; in aic5_suspend() local
158 struct irq_domain_chip_generic *dgc = domain->gc; in aic5_suspend()
[all …]
/OK3568_Linux_fs/kernel/drivers/iommu/amd/
H A Diommu.c100 static void update_domain(struct protection_domain *domain);
102 static void update_and_flush_device_table(struct protection_domain *domain,
152 return container_of(dom, struct protection_domain, domain); in to_pdomain()
155 static void amd_iommu_domain_get_pgtable(struct protection_domain *domain, in amd_iommu_domain_get_pgtable() argument
158 u64 pt_root = atomic64_read(&domain->pt_root); in amd_iommu_domain_get_pgtable()
164 static void amd_iommu_domain_set_pt_root(struct protection_domain *domain, u64 root) in amd_iommu_domain_set_pt_root() argument
166 atomic64_set(&domain->pt_root, root); in amd_iommu_domain_set_pt_root()
169 static void amd_iommu_domain_clr_pt_root(struct protection_domain *domain) in amd_iommu_domain_clr_pt_root() argument
171 amd_iommu_domain_set_pt_root(domain, 0); in amd_iommu_domain_clr_pt_root()
174 static void amd_iommu_domain_set_pgtable(struct protection_domain *domain, in amd_iommu_domain_set_pgtable() argument
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/rockchip/
H A Dpower_domain.txt6 Required properties for power domain controller:
22 - #power-domain-cells: Number of cells in a power-domain specifier.
27 Required properties for power domain sub nodes:
28 - reg: index of the power domain, should use macros in:
29 "include/dt-bindings/power/px30-power.h" - for PX30 type power domain.
30 "include/dt-bindings/power/rv1126-power.h" - for RV1126 type power domain.
31 "include/dt-bindings/power/rk1808-power.h" - for RK1808 type power domain.
32 "include/dt-bindings/power/rk3036-power.h" - for RK3036 type power domain.
33 "include/dt-bindings/power/rk3066-power.h" - for RK3066 type power domain.
34 "include/dt-bindings/power/rk3128-power.h" - for RK3128 type power domain.
[all …]

12345678910>>...65