Home
last modified time | relevance | path

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

12345678910>>...65

/linux-6.6.21/kernel/irq/ !
Dirqdomain.c28 static int irq_domain_alloc_irqs_locked(struct irq_domain *domain, int irq_base,
31 static void irq_domain_check_hierarchy(struct irq_domain *domain);
137 struct irq_domain *domain; in __irq_domain_create() local
146 domain = kzalloc_node(struct_size(domain, revmap, size), in __irq_domain_create()
148 if (!domain) in __irq_domain_create()
157 domain->fwnode = fwnode; in __irq_domain_create()
158 domain->name = kstrdup(fwid->name, GFP_KERNEL); in __irq_domain_create()
159 if (!domain->name) { in __irq_domain_create()
160 kfree(domain); in __irq_domain_create()
163 domain->flags |= IRQ_DOMAIN_NAME_ALLOCATED; in __irq_domain_create()
[all …]
Dmsi.c168 (dev->msi.domain && in msi_ctrl_valid()
169 !dev->msi.data->__domains[ctrl->domid].domain))) in msi_ctrl_valid()
319 if (dev->msi.domain && !irq_domain_is_msi_parent(dev->msi.domain)) in msi_setup_device_data()
320 md->__domains[MSI_DEFAULT_DOMAIN].domain = dev->msi.domain; in msi_setup_device_data()
586 struct irq_domain *domain; in msi_get_device_domain() local
593 domain = dev->msi.data->__domains[domid].domain; in msi_get_device_domain()
594 if (!domain) in msi_get_device_domain()
597 if (WARN_ON_ONCE(irq_domain_is_msi_parent(domain))) in msi_get_device_domain()
600 return domain; in msi_get_device_domain()
606 struct irq_domain *domain; in msi_domain_get_hwsize() local
[all …]
/linux-6.6.21/drivers/vdpa/vdpa_user/ !
Diova_domain.c20 static int vduse_iotlb_add_range(struct vduse_iova_domain *domain, in vduse_iotlb_add_range() argument
35 ret = vhost_iotlb_add_range_ctx(domain->iotlb, start, last, in vduse_iotlb_add_range()
45 static void vduse_iotlb_del_range(struct vduse_iova_domain *domain, in vduse_iotlb_del_range() argument
51 while ((map = vhost_iotlb_itree_first(domain->iotlb, start, last))) { in vduse_iotlb_del_range()
55 vhost_iotlb_map_free(domain->iotlb, map); in vduse_iotlb_del_range()
59 int vduse_domain_set_map(struct vduse_iova_domain *domain, in vduse_domain_set_map() argument
67 spin_lock(&domain->iotlb_lock); in vduse_domain_set_map()
68 vduse_iotlb_del_range(domain, start, last); in vduse_domain_set_map()
73 ret = vduse_iotlb_add_range(domain, map->start, map->last, in vduse_domain_set_map()
80 spin_unlock(&domain->iotlb_lock); in vduse_domain_set_map()
[all …]
/linux-6.6.21/drivers/scsi/elx/libefc/ !
Defc_domain.c17 struct efc_domain *domain = NULL; in efc_domain_cb() local
22 domain = data; in efc_domain_cb()
37 domain = efc->domain; in efc_domain_cb()
38 if (!domain) { in efc_domain_cb()
39 domain = efc_domain_alloc(efc, fcf_wwn); in efc_domain_cb()
40 if (!domain) { in efc_domain_cb()
45 efc_sm_transition(&domain->drvsm, __efc_domain_init, in efc_domain_cb()
48 efc_domain_post_event(domain, EFC_EVT_DOMAIN_FOUND, drec); in efc_domain_cb()
53 domain_trace(domain, "EFC_HW_DOMAIN_LOST:\n"); in efc_domain_cb()
55 efc_domain_post_event(domain, EFC_EVT_DOMAIN_LOST, NULL); in efc_domain_cb()
[all …]
Defc_cmds.c132 nport->indicator, nport->domain->indicator); in efc_nport_alloc_init_vpi()
207 struct efc_domain *domain, u8 *wwpn) in efc_cmd_nport_alloc() argument
227 if (domain) { in efc_cmd_nport_alloc()
278 nport->domain->indicator, false); in efc_cmd_nport_attach()
317 efc_domain_get_mbox_status(struct efc_domain *domain, u8 *mqe, int status) in efc_domain_get_mbox_status() argument
319 struct efc *efc = domain->efc; in efc_domain_get_mbox_status()
325 domain->indicator, status, in efc_domain_get_mbox_status()
334 efc_domain_free_resources(struct efc_domain *domain, int evt, void *data) in efc_domain_free_resources() argument
336 struct efc *efc = domain->efc; in efc_domain_free_resources()
339 if (domain->dma.virt) { in efc_domain_free_resources()
[all …]
/linux-6.6.21/drivers/pmdomain/imx/ !
Dimx93-pd.c37 struct imx93_power_domain *domain = to_imx93_pd(genpd); in imx93_pd_on() local
38 void __iomem *addr = domain->addr; in imx93_pd_on()
42 ret = clk_bulk_prepare_enable(domain->num_clks, domain->clks); in imx93_pd_on()
44 dev_err(domain->dev, "failed to enable clocks for domain: %s\n", genpd->name); in imx93_pd_on()
55 dev_err(domain->dev, "pd_on timeout: name: %s, stat: %x\n", genpd->name, val); in imx93_pd_on()
64 struct imx93_power_domain *domain = to_imx93_pd(genpd); in imx93_pd_off() local
65 void __iomem *addr = domain->addr; in imx93_pd_off()
77 dev_err(domain->dev, "pd_off timeout: name: %s, stat: %x\n", genpd->name, val); in imx93_pd_off()
81 clk_bulk_disable_unprepare(domain->num_clks, domain->clks); in imx93_pd_off()
88 struct imx93_power_domain *domain = platform_get_drvdata(pdev); in imx93_pd_remove() local
[all …]
Dgpcv2.c318 struct imx_pgc_domain *domain = to_imx_pgc_domain(genpd); in imx_pgc_power_up() local
322 ret = pm_runtime_get_sync(domain->dev); in imx_pgc_power_up()
324 pm_runtime_put_noidle(domain->dev); in imx_pgc_power_up()
328 if (!IS_ERR(domain->regulator)) { in imx_pgc_power_up()
329 ret = regulator_enable(domain->regulator); in imx_pgc_power_up()
331 dev_err(domain->dev, in imx_pgc_power_up()
338 reset_control_assert(domain->reset); in imx_pgc_power_up()
341 ret = clk_bulk_prepare_enable(domain->num_clks, domain->clks); in imx_pgc_power_up()
343 dev_err(domain->dev, "failed to enable reset clocks\n"); in imx_pgc_power_up()
350 if (domain->bits.pxx) { in imx_pgc_power_up()
[all …]
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 …]
/linux-6.6.21/drivers/iommu/ !
Dipmmu-vmsa.c212 static u32 ipmmu_ctx_read_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_read_root() argument
215 return ipmmu_ctx_read(domain->mmu->root, domain->context_id, reg); in ipmmu_ctx_read_root()
218 static void ipmmu_ctx_write_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_root() argument
221 ipmmu_ctx_write(domain->mmu->root, domain->context_id, reg, data); in ipmmu_ctx_write_root()
224 static void ipmmu_ctx_write_all(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_all() argument
227 if (domain->mmu != domain->mmu->root) in ipmmu_ctx_write_all()
228 ipmmu_ctx_write(domain->mmu, domain->context_id, reg, data); in ipmmu_ctx_write_all()
230 ipmmu_ctx_write(domain->mmu->root, domain->context_id, reg, data); in ipmmu_ctx_write_all()
255 static void ipmmu_tlb_sync(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_sync() argument
261 false, domain, IMCTR)) in ipmmu_tlb_sync()
[all …]
Diommu-sva.c61 struct iommu_domain *domain; in iommu_sva_bind_device() local
76 domain = iommu_get_domain_for_dev_pasid(dev, mm->pasid, in iommu_sva_bind_device()
78 if (IS_ERR(domain)) { in iommu_sva_bind_device()
79 ret = PTR_ERR(domain); in iommu_sva_bind_device()
83 if (domain) { in iommu_sva_bind_device()
84 domain->users++; in iommu_sva_bind_device()
89 domain = iommu_sva_domain_alloc(dev, mm); in iommu_sva_bind_device()
90 if (!domain) { in iommu_sva_bind_device()
95 ret = iommu_attach_device_pasid(domain, dev, mm->pasid); in iommu_sva_bind_device()
98 domain->users = 1; in iommu_sva_bind_device()
[all …]
/linux-6.6.21/arch/arm/boot/dts/ti/keystone/ !
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 …]
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 …]
/linux-6.6.21/Documentation/devicetree/bindings/clock/ !
Dfsl,imx8-acm.yaml64 - description: power domain of IMX_SC_R_AUDIO_CLK_0
65 - description: power domain of IMX_SC_R_AUDIO_CLK_1
66 - description: power domain of IMX_SC_R_MCLK_OUT_0
67 - description: power domain of IMX_SC_R_MCLK_OUT_1
68 - description: power domain of IMX_SC_R_AUDIO_PLL_0
69 - description: power domain of IMX_SC_R_AUDIO_PLL_1
70 - description: power domain of IMX_SC_R_ASRC_0
71 - description: power domain of IMX_SC_R_ASRC_1
72 - description: power domain of IMX_SC_R_ESAI_0
73 - description: power domain of IMX_SC_R_SAI_0
[all …]
/linux-6.6.21/drivers/dca/ !
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 …]
/linux-6.6.21/Documentation/devicetree/bindings/power/ !
Dmediatek,power-controller.yaml17 IP cores belonging to a power domain should contain a 'power-domains'
18 property that is a phandle for SCPSYS node representing the domain.
35 '#power-domain-cells':
45 "^power-domain@[0-9a-f]+$":
46 $ref: "#/$defs/power-domain-node"
48 "^power-domain@[0-9a-f]+$":
49 $ref: "#/$defs/power-domain-node"
51 "^power-domain@[0-9a-f]+$":
52 $ref: "#/$defs/power-domain-node"
54 "^power-domain@[0-9a-f]+$":
[all …]
Dpower-domain.yaml4 $id: http://devicetree.org/schemas/power/power-domain.yaml#
19 This device tree binding can be used to bind PM domain consumer devices with
20 their PM domains provided by PM domain providers. A PM domain provider can be
23 phandle arguments (so called PM domain specifiers) of length specified by the
24 \#power-domain-cells property in the PM domain provider node.
28 pattern: "^(power-controller|power-domain)([@-].*)?$"
30 domain-idle-states:
36 power-domain provider. The idle state definitions are compatible with the
37 domain-idle-state bindings, specified in ./domain-idle-state.yaml.
39 Note that, the domain-idle-state property reflects the idle states of this
[all …]
/linux-6.6.21/include/trace/events/ !
Dkyber.h16 TP_PROTO(dev_t dev, const char *domain, const char *type,
20 TP_ARGS(dev, domain, type, percentile, numerator, denominator, samples),
24 __array( char, domain, DOMAIN_LEN )
34 strscpy(__entry->domain, domain, sizeof(__entry->domain));
43 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->domain,
50 TP_PROTO(dev_t dev, const char *domain, unsigned int depth),
52 TP_ARGS(dev, domain, depth),
56 __array( char, domain, DOMAIN_LEN )
62 strscpy(__entry->domain, domain, sizeof(__entry->domain));
67 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->domain,
[all …]
/linux-6.6.21/include/linux/ !
Dirqdomain.h301 extern void irq_domain_update_bus_token(struct irq_domain *domain,
392 extern int irq_domain_associate(struct irq_domain *domain, unsigned int irq,
394 extern void irq_domain_associate_many(struct irq_domain *domain,
410 extern struct irq_desc *__irq_resolve_mapping(struct irq_domain *domain,
414 static inline struct irq_desc *irq_resolve_mapping(struct irq_domain *domain, in irq_resolve_mapping() argument
417 return __irq_resolve_mapping(domain, hwirq, NULL); in irq_resolve_mapping()
425 static inline unsigned int irq_find_mapping(struct irq_domain *domain, in irq_find_mapping() argument
430 if (__irq_resolve_mapping(domain, hwirq, &irq)) in irq_find_mapping()
436 static inline unsigned int irq_linear_revmap(struct irq_domain *domain, in irq_linear_revmap() argument
439 return irq_find_mapping(domain, hwirq); in irq_linear_revmap()
[all …]
Diommu.h116 static inline bool iommu_is_dma_domain(struct iommu_domain *domain) in iommu_is_dma_domain() argument
118 return domain->type & __IOMMU_DOMAIN_DMA_API; in iommu_is_dma_domain()
333 int (*attach_dev)(struct iommu_domain *domain, struct device *dev);
334 int (*set_dev_pasid)(struct iommu_domain *domain, struct device *dev,
337 int (*map)(struct iommu_domain *domain, unsigned long iova,
339 int (*map_pages)(struct iommu_domain *domain, unsigned long iova,
342 size_t (*unmap)(struct iommu_domain *domain, unsigned long iova,
344 size_t (*unmap_pages)(struct iommu_domain *domain, unsigned long iova,
348 void (*flush_iotlb_all)(struct iommu_domain *domain);
349 void (*iotlb_sync_map)(struct iommu_domain *domain, unsigned long iova,
[all …]
/linux-6.6.21/drivers/soc/dove/ !
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 …]
/linux-6.6.21/drivers/irqchip/ !
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 …]
/linux-6.6.21/arch/arm64/boot/dts/apple/ !
Dt8103-pmgr.dtsi13 #power-domain-cells = <0>;
22 #power-domain-cells = <0>;
31 #power-domain-cells = <0>;
40 #power-domain-cells = <0>;
48 #power-domain-cells = <0>;
56 #power-domain-cells = <0>;
64 #power-domain-cells = <0>;
72 #power-domain-cells = <0>;
81 #power-domain-cells = <0>;
90 #power-domain-cells = <0>;
[all …]
Dt8112-pmgr.dtsi13 #power-domain-cells = <0>;
22 #power-domain-cells = <0>;
31 #power-domain-cells = <0>;
40 #power-domain-cells = <0>;
48 #power-domain-cells = <0>;
56 #power-domain-cells = <0>;
65 #power-domain-cells = <0>;
74 #power-domain-cells = <0>;
83 #power-domain-cells = <0>;
92 #power-domain-cells = <0>;
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/display/ !
Dintel_display_power.h188 intel_display_power_domain_str(enum intel_display_power_domain domain);
191 enum intel_display_power_domain domain);
193 enum intel_display_power_domain domain);
195 enum intel_display_power_domain domain);
198 enum intel_display_power_domain domain);
200 enum intel_display_power_domain domain,
206 enum intel_display_power_domain domain,
210 enum intel_display_power_domain domain, in intel_display_power_put_async() argument
213 __intel_display_power_put_async(i915, domain, wakeref, -1); in intel_display_power_put_async()
218 enum intel_display_power_domain domain, in intel_display_power_put_async_delay() argument
[all …]
/linux-6.6.21/drivers/pmdomain/xilinx/ !
Dzynqmp-pm-domains.c73 static int zynqmp_gpd_power_on(struct generic_pm_domain *domain) in zynqmp_gpd_power_on() argument
75 struct zynqmp_pm_domain *pd = to_zynqmp_pm_domain(domain); in zynqmp_gpd_power_on()
83 dev_err(&domain->dev, in zynqmp_gpd_power_on()
89 dev_dbg(&domain->dev, "set requirement to 0x%x for PM node id %d\n", in zynqmp_gpd_power_on()
104 static int zynqmp_gpd_power_off(struct generic_pm_domain *domain) in zynqmp_gpd_power_off() argument
106 struct zynqmp_pm_domain *pd = to_zynqmp_pm_domain(domain); in zynqmp_gpd_power_off()
114 dev_dbg(&domain->dev, "PM node id %d is already released\n", in zynqmp_gpd_power_off()
119 list_for_each_entry_safe(pdd, tmp, &domain->dev_list, list_node) { in zynqmp_gpd_power_off()
124 domain->name); in zynqmp_gpd_power_off()
133 dev_err(&domain->dev, in zynqmp_gpd_power_off()
[all …]

12345678910>>...65