Home
last modified time | relevance | path

Searched full:domain (Results 1 – 25 of 2047) sorted by relevance

12345678910>>...82

/linux/drivers/vdpa/vdpa_user/
H A Diova_domain.c26 static int vduse_iotlb_add_range(struct vduse_iova_domain *domain, in vduse_iotlb_add_range() argument
41 ret = vhost_iotlb_add_range_ctx(domain->iotlb, start, last, in vduse_iotlb_add_range()
51 static void vduse_iotlb_del_range(struct vduse_iova_domain *domain, in vduse_iotlb_del_range() argument
57 while ((map = vhost_iotlb_itree_first(domain->iotlb, start, last))) { in vduse_iotlb_del_range()
61 vhost_iotlb_map_free(domain->iotlb, map); in vduse_iotlb_del_range()
65 int vduse_domain_set_map(struct vduse_iova_domain *domain, in vduse_domain_set_map() argument
73 spin_lock(&domain->iotlb_lock); in vduse_domain_set_map()
74 vduse_iotlb_del_range(domain, start, last); in vduse_domain_set_map()
79 ret = vduse_iotlb_add_range(domain, map->start, map->last, in vduse_domain_set_map()
86 spin_unlock(&domain->iotlb_lock); in vduse_domain_set_map()
[all …]
/linux/drivers/scsi/elx/libefc/
H A Defc_domain.c8 * domain_sm Domain State Machine: States
17 struct efc_domain *domain = NULL; in efc_domain_cb() local
22 domain = data; in efc_domain_cb()
24 /* Accept domain callback events from the user driver */ in efc_domain_cb()
34 efc_log_debug(efc, "Domain found: wwn %016llX\n", fcf_wwn); in efc_domain_cb()
36 /* lookup domain, or allocate a new one */ 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()
[all …]
H A 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()
237 /* domain NULL and wwpn non-NULL */ 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()
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A 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/drivers/pmdomain/imx/
H A Dimx93-pd.c36 struct imx93_power_domain *domain = to_imx93_pd(genpd); in imx93_pd_on() local
37 void __iomem *addr = domain->addr; in imx93_pd_on()
41 ret = clk_bulk_prepare_enable(domain->num_clks, domain->clks); in imx93_pd_on()
43 dev_err(domain->dev, "failed to enable clocks for domain: %s\n", genpd->name); in imx93_pd_on()
54 dev_err(domain->dev, "pd_on timeout: name: %s, stat: %x\n", genpd->name, val); in imx93_pd_on()
63 struct imx93_power_domain *domain = to_imx93_pd(genpd); in imx93_pd_off() local
64 void __iomem *addr = domain->addr; in imx93_pd_off()
76 dev_err(domain->dev, "pd_off timeout: name: %s, stat: %x\n", genpd->name, val); in imx93_pd_off()
80 clk_bulk_disable_unprepare(domain->num_clks, domain->clks); in imx93_pd_off()
87 struct imx93_power_domain *domain = platform_get_drvdata(pdev); in imx93_pd_remove() local
[all …]
H A Dgpcv2.c316 struct imx_pgc_domain *domain = to_imx_pgc_domain(genpd); in imx_pgc_power_up() local
320 ret = pm_runtime_get_sync(domain->dev); in imx_pgc_power_up()
322 pm_runtime_put_noidle(domain->dev); in imx_pgc_power_up()
326 if (!IS_ERR(domain->regulator)) { in imx_pgc_power_up()
327 ret = regulator_enable(domain->regulator); in imx_pgc_power_up()
329 dev_err(domain->dev, in imx_pgc_power_up()
336 reset_control_assert(domain->reset); in imx_pgc_power_up()
338 /* Enable reset clocks for all devices in the domain */ in imx_pgc_power_up()
339 ret = clk_bulk_prepare_enable(domain->num_clks, domain->clks); in imx_pgc_power_up()
341 dev_err(domain->dev, "failed to enable reset clocks\n"); in imx_pgc_power_up()
[all …]
/linux/drivers/iommu/intel/
H A Dnested.c21 static int intel_nested_attach_dev(struct iommu_domain *domain, in intel_nested_attach_dev() argument
25 struct dmar_domain *dmar_domain = to_dmar_domain(domain); in intel_nested_attach_dev()
33 * Stage-1 domain cannot work alone, it is nested on a s2_domain. in intel_nested_attach_dev()
37 ret = paging_domain_compatible(&dmar_domain->s2_domain->domain, dev); in intel_nested_attach_dev()
39 dev_err_ratelimited(dev, "s2 domain is not compatible\n"); in intel_nested_attach_dev()
45 dev_err_ratelimited(dev, "Failed to attach domain to iommu\n"); in intel_nested_attach_dev()
53 ret = iopf_for_domain_set(domain, dev); in intel_nested_attach_dev()
62 info->domain = dmar_domain; in intel_nested_attach_dev()
70 iopf_for_domain_remove(domain, dev); in intel_nested_attach_dev()
79 static void intel_nested_domain_free(struct iommu_domain *domain) in intel_nested_domain_free() argument
[all …]
H A Dsvm.c55 struct dmar_domain *domain = container_of(mn, struct dmar_domain, notifier); in intel_arch_invalidate_secondary_tlbs() local
58 cache_tag_flush_all(domain); in intel_arch_invalidate_secondary_tlbs()
67 cache_tag_flush_range(domain, start, end - 1, 0); in intel_arch_invalidate_secondary_tlbs()
72 struct dmar_domain *domain = container_of(mn, struct dmar_domain, notifier); in intel_mm_release() local
89 spin_lock_irqsave(&domain->lock, flags); in intel_mm_release()
90 list_for_each_entry(dev_pasid, &domain->dev_pasids, link_domain) { in intel_mm_release()
95 spin_unlock_irqrestore(&domain->lock, flags); in intel_mm_release()
101 struct dmar_domain *domain = container_of(mn, struct dmar_domain, notifier); in intel_mm_free_notifier() local
103 kfree(domain->qi_batch); in intel_mm_free_notifier()
104 kfree(domain); in intel_mm_free_notifier()
[all …]
/linux/arch/arm/boot/dts/ti/keystone/
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 …]
H A Dkeystone-clocks.dtsi166 reg-names = "control", "domain";
167 domain-id = <0>;
177 reg-names = "control", "domain";
178 domain-id = <0>;
187 reg-names = "control", "domain";
188 domain-id = <0>;
198 reg-names = "control", "domain";
199 domain-id = <1>;
208 reg-names = "control", "domain";
209 domain-id = <1>;
[all …]
/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c3 * ZynqMP Generic PM domain support
28 * @gpd: Generic power domain
29 * @node_id: PM node ID corresponding to device inside PM domain
30 * @requested: The PM node mapped to the PM domain has been requested
65 * zynqmp_gpd_power_on() - Power on PM domain
66 * @domain: Generic PM domain
68 * This function is called before devices inside a PM domain are resumed, to
69 * power on PM domain.
73 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()
[all …]
/linux/Documentation/netlink/specs/
H A Ddev-energymodel.yaml23 The performance state is inefficient. There is in this perf-domain,
28 name: perf-domain-flags
31 name: perf-domain-microwatts
35 name: perf-domain-skip-inefficiencies
39 name: perf-domain-artificial
46 name: perf-domain
54 name: perf-domain-id
57 A unique ID number for each performance domain.
62 Bitmask of performance domain flags.
63 enum: perf-domain-flags
[all …]
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_pwr.c131 static const char *get_domain_name(u8 domain) in get_domain_name() argument
133 switch (domain) { in get_domain_name()
148 static u32 get_domain_base(u8 domain) in get_domain_base() argument
150 switch (domain) { in get_domain_base()
165 static u32 get_domain_ready_reg(u32 domain) in get_domain_ready_reg() argument
167 return get_domain_base(domain) + (PWR_L2_READY - PWR_L2_PRESENT); in get_domain_ready_reg()
170 static u32 get_domain_pwrtrans_reg(u32 domain) in get_domain_pwrtrans_reg() argument
172 return get_domain_base(domain) + (PWR_L2_PWRTRANS - PWR_L2_PRESENT); in get_domain_pwrtrans_reg()
175 static bool is_valid_domain(u32 domain) in is_valid_domain() argument
177 return get_domain_base(domain) != 0; in is_valid_domain()
[all …]
/linux/include/linux/sched/
H A Dsd_flags.h13 * SHARED_CHILD: These flags are meant to be set from the base domain upwards.
14 * If a domain has this flag set, all of its children should have it set. This
16 * domain share the same resource), or because they are tied to a scheduling
20 * In those cases it doesn't make sense to have the flag set for a domain but
26 * SHARED_PARENT: These flags are meant to be set from the highest domain
27 * downwards. If a domain has this flag set, all of its parents should have it
29 * certain level (e.g. domain starts spanning CPUs outside of the base CPU's
38 * NEEDS_GROUPS: These flags are only relevant if the domain they are set on has
48 * SHARED_CHILD: Set from the base domain up to cpuset.sched_relax_domain_level.
56 * SHARED_CHILD: Set from the base domain u
[all...]
/linux/net/netlabel/
H A Dnetlabel_domainhash.c3 * NetLabel Domain Hash Table
5 * This file manages the domain hash table that NetLabel uses to determine
6 * which network labeling protocol to use for a given domain. The NetLabel
40 /* Domain hash table */
51 * Domain Hash Table Helper Functions
55 * netlbl_domhsh_free_entry - Frees a domain hash table entry
90 kfree(ptr->domain); in netlbl_domhsh_free_entry()
95 * netlbl_domhsh_hash - Hashing function for the domain hash table
96 * @key: the domain name to hash
99 * This is the hashing function for the domain hash table, it returns the
[all …]
/linux/drivers/iommu/
H A Dipmmu-vmsa.c211 static u32 ipmmu_ctx_read_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_read_root() argument
214 return ipmmu_ctx_read(domain->mmu->root, domain->context_id, reg); in ipmmu_ctx_read_root()
217 static void ipmmu_ctx_write_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_root() argument
220 ipmmu_ctx_write(domain->mmu->root, domain->context_id, reg, data); in ipmmu_ctx_write_root()
223 static void ipmmu_ctx_write_all(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_all() argument
226 if (domain->mmu != domain->mmu->root) in ipmmu_ctx_write_all()
227 ipmmu_ctx_write(domain->mmu, domain->context_id, reg, data); in ipmmu_ctx_write_all()
229 ipmmu_ctx_write(domain->mmu->root, domain->context_id, reg, data); in ipmmu_ctx_write_all()
254 static void ipmmu_tlb_sync(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_sync() argument
260 false, domain, IMCTR)) in ipmmu_tlb_sync()
[all …]
/linux/drivers/dca/
H A Ddca-core.c45 struct dca_domain *domain; in dca_allocate_domain() local
47 domain = kzalloc_obj(*domain, GFP_NOWAIT); in dca_allocate_domain()
48 if (!domain) in dca_allocate_domain()
51 INIT_LIST_HEAD(&domain->dca_providers); in dca_allocate_domain()
52 domain->pci_rc = rc; in dca_allocate_domain()
54 return domain; in dca_allocate_domain()
57 static void dca_free_domain(struct dca_domain *domain) in dca_free_domain() argument
59 list_del(&domain->node); in dca_free_domain()
60 kfree(domain); in dca_free_domain()
82 struct dca_domain *domain; in unregister_dca_providers() local
[all …]
/linux/include/trace/events/
H A 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/arch/arm64/boot/dts/apple/
H A Ds8001-pmgr.dtsi12 #power-domain-cells = <0>;
21 #power-domain-cells = <0>;
30 #power-domain-cells = <0>;
39 #power-domain-cells = <0>;
47 #power-domain-cells = <0>;
56 #power-domain-cells = <0>;
65 #power-domain-cells = <0>;
74 #power-domain-cells = <0>;
82 #power-domain-cells = <0>;
90 #power-domain-cells = <0>;
[all …]
H A Dt8011-pmgr.dtsi12 #power-domain-cells = <0>;
21 #power-domain-cells = <0>;
30 #power-domain-cells = <0>;
39 #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>;
91 #power-domain-cells = <0>;
[all …]
H A 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 …]
H A Ds5l8960x-pmgr.dtsi12 #power-domain-cells = <0>;
21 #power-domain-cells = <0>;
30 #power-domain-cells = <0>;
39 #power-domain-cells = <0>;
48 #power-domain-cells = <0>;
57 #power-domain-cells = <0>;
66 #power-domain-cells = <0>;
75 #power-domain-cells = <0>;
84 #power-domain-cells = <0>;
92 #power-domain-cells = <0>;
[all …]
H A Dt8012-pmgr.dtsi12 #power-domain-cells = <0>;
21 #power-domain-cells = <0>;
30 #power-domain-cells = <0>;
39 #power-domain-cells = <0>;
47 #power-domain-cells = <0>;
56 #power-domain-cells = <0>;
64 #power-domain-cells = <0>;
73 #power-domain-cells = <0>;
82 #power-domain-cells = <0>;
90 #power-domain-cells = <0>;
[all …]
/linux/drivers/soc/dove/
H A Dpmu.c131 * This deals with the "old" Marvell sequence of bringing a power domain
143 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()
[all …]

12345678910>>...82