Home
last modified time | relevance | path

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

12345678910>>...57

/linux/kernel/irq/
A Dirqdomain.c551 domain->ops->unmap(domain, irq); in irq_domain_disassociate()
578 irq_data->domain = domain; in irq_domain_associate()
874 domain = irq_data->domain; in irq_dispose_mapping()
1120 struct irq_domain *domain = data->domain; in irq_domain_insert_irq() local
1143 struct irq_domain *domain = data->domain; in irq_domain_remove_irq() local
1162 irq_data->domain = domain; in irq_domain_insert_irq_data()
1280 irq_data->domain = domain; in irq_domain_alloc_irq_data()
1306 if (irq_data->domain == domain) in irq_domain_get_irq_data()
1588 root_irq_data->domain = domain; in irq_domain_push_irq()
1758 struct irq_domain *domain = irqd->domain; in __irq_domain_activate_irq() local
[all …]
A Dmsi.c249 msi_check_level(irq_data->domain, msg); in msi_domain_set_affinity()
262 msi_check_level(irq_data->domain, msg); in msi_domain_activate()
284 if (irq_find_mapping(domain, hwirq) > 0) in msi_domain_alloc()
287 if (domain->parent) { in msi_domain_alloc()
429 struct irq_domain *domain; in msi_create_irq_domain() local
438 if (domain && !domain->name && info->chip) in msi_create_irq_domain()
439 domain->name = info->chip->name; in msi_create_irq_domain()
441 return domain; in msi_create_irq_domain()
451 ret = ops->msi_check(domain, info, dev); in msi_domain_prepare_irqs()
516 switch(domain->bus_token) { in msi_check_reservation_mode()
[all …]
/linux/drivers/vdpa/vdpa_user/
A Diova_domain.c259 vduse_iotlb_del_range(domain, 0, domain->bounce_size - 1); in vduse_domain_reset_bounce_map()
276 ret = vduse_iotlb_add_range(domain, 0, domain->bounce_size - 1, in vduse_domain_init_bounce_map()
425 if (!domain) in vduse_domain_mmap_fault()
468 kfree(domain); in vduse_domain_release()
481 fput(domain->file); in vduse_domain_destroy()
496 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in vduse_domain_create()
497 if (!domain) in vduse_domain_create()
501 if (!domain->iotlb) in vduse_domain_create()
516 domain, O_RDWR); in vduse_domain_create()
527 return domain; in vduse_domain_create()
[all …]
/linux/drivers/scsi/elx/libefc/
A Defc_domain.c22 domain = data; in efc_domain_cb()
37 domain = efc->domain; in efc_domain_cb()
38 if (!domain) { in efc_domain_cb()
95 if (efc->domain && domain->req_accept_frames) { in efc_domain_cb()
129 kref_put(&domain->ref, domain->release); in efc_domain_free()
137 domain = kzalloc(sizeof(*domain), GFP_ATOMIC); in efc_domain_alloc()
138 if (!domain) in efc_domain_alloc()
142 domain->drvsm.app = domain; in efc_domain_alloc()
151 efc->domain = domain; in efc_domain_alloc()
392 if (domain->is_loop && !domain->is_nlport) { in __efc_domain_wait_alloc()
[all …]
A Defc_cmds.c227 if (domain) { in efc_cmd_nport_alloc()
339 if (domain->dma.virt) { in efc_domain_free_resources()
341 domain->dma.size, domain->dma.virt, in efc_domain_free_resources()
459 if (!domain || !domain->nport) { in efc_cmd_domain_alloc()
461 domain, domain ? domain->nport : NULL); in efc_cmd_domain_alloc()
475 domain->fcf = fcf; in efc_cmd_domain_alloc()
484 domain->dma.size, domain->dma.virt, in efc_cmd_domain_alloc()
518 if (!domain) { in efc_cmd_domain_attach()
526 domain->fcf_indicator, domain->dma, in efc_cmd_domain_attach()
527 domain->nport->indicator, domain->nport->sli_wwpn, in efc_cmd_domain_attach()
[all …]
A Defc_nport.c93 nport->efc = domain->efc; in efc_nport_alloc()
95 nport->domain = domain; in efc_nport_alloc()
122 domain->nport = nport; in efc_nport_alloc()
127 kref_get(&domain->ref); in efc_nport_alloc()
142 domain = nport->domain; in efc_nport_free()
150 domain->nport = NULL; in efc_nport_free()
159 kref_put(&domain->ref, domain->release); in efc_nport_free()
275 struct efc_domain *domain = nport->domain; in __efc_nport_common() local
324 struct efc_domain *domain = nport->domain; in __efc_nport_allocated() local
543 struct efc_domain *domain = nport->domain; in __efc_nport_wait_shutdown() local
[all …]
/linux/drivers/iommu/
A Dipmmu-vmsa.c227 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()
449 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context()
454 ret = ipmmu_domain_allocate_context(domain->mmu->root, domain); in ipmmu_domain_init_context()
461 domain); in ipmmu_domain_init_context()
577 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in ipmmu_domain_alloc()
578 if (!domain) in ipmmu_domain_alloc()
596 kfree(domain); in ipmmu_domain_free()
668 if (!domain) in ipmmu_map()
679 return domain->iop->unmap(domain->iop, iova, size, gather); in ipmmu_unmap()
[all …]
A Dexynos-iommu.c441 if (data->domain) in exynos_sysmmu_irq()
442 ret = report_iommu_fault(&data->domain->domain, in exynos_sysmmu_irq()
740 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in exynos_iommu_domain_alloc()
741 if (!domain) in exynos_iommu_domain_alloc()
767 domain->domain.geometry.aperture_start = 0; in exynos_iommu_domain_alloc()
768 domain->domain.geometry.aperture_end = ~0UL; in exynos_iommu_domain_alloc()
769 domain->domain.geometry.force_aperture = true; in exynos_iommu_domain_alloc()
771 return &domain->domain; in exynos_iommu_domain_alloc()
778 kfree(domain); in exynos_iommu_domain_alloc()
819 kfree(domain); in exynos_iommu_domain_free()
[all …]
A Diommu.c772 if (!domain || !iommu_is_dma_domain(domain)) in iommu_create_device_direct_mappings()
1256 if (!domain || !domain->ops->page_response) in iommu_page_response()
1973 domain->ops->domain_free(domain); in iommu_domain_free()
1985 ret = domain->ops->attach_dev(domain, dev); in __iommu_attach_device()
2248 domain->ops->detach_dev(domain, dev); in __iommu_detach_device()
2283 domain = group->domain; in iommu_get_domain_for_dev()
2328 group->domain = domain; in __iommu_attach_group()
2394 return domain->ops->iova_to_phys(domain, iova); in iommu_iova_to_phys()
2773 return domain->ops->enable_nesting(domain); in iommu_enable_nesting()
3013 domain->ops->aux_detach_dev(domain, dev); in iommu_aux_detach_device()
[all …]
/linux/drivers/soc/imx/
A Dgpcv2.c253 domain->bits.pxx, domain->bits.pxx); in imx_pgc_power_up()
282 domain->bits.hskreq, domain->bits.hskreq); in imx_pgc_power_up()
300 clk_bulk_disable_unprepare(domain->num_clks, domain->clks); in imx_pgc_power_up()
305 clk_bulk_disable_unprepare(domain->num_clks, domain->clks); in imx_pgc_power_up()
354 domain->bits.pxx, domain->bits.pxx); in imx_pgc_power_down()
370 clk_bulk_disable_unprepare(domain->num_clks, domain->clks); in imx_pgc_power_down()
385 clk_bulk_disable_unprepare(domain->num_clks, domain->clks); in imx_pgc_power_down()
886 domain->voltage, domain->voltage); in imx_pgc_domain_probe()
889 domain->num_clks = devm_clk_bulk_get_all(domain->dev, &domain->clks); in imx_pgc_domain_probe()
891 return dev_err_probe(domain->dev, domain->num_clks, in imx_pgc_domain_probe()
[all …]
A Dgpc.c143 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()
161 clk_put(domain->clk[i]); in imx_pgc_put_clocks()
170 domain->supply = NULL; in imx_pgc_parse_dt()
193 if (domain->base.power_on) in imx_pgc_power_domain_probe()
194 domain->base.power_on(&domain->base); in imx_pgc_power_domain_probe()
209 imx_pgc_put_clocks(domain); in imx_pgc_power_domain_probe()
368 domain->regmap = regmap; in imx_gpc_old_dt_init()
380 domain->base.power_on(&domain->base); in imx_gpc_old_dt_init()
[all …]
/linux/arch/arm/boot/dts/
A Dkeystone-k2hk-clocks.dtsi60 domain-id = <0>;
70 domain-id = <4>;
80 domain-id = <5>;
90 domain-id = <9>;
100 domain-id = <10>;
110 domain-id = <11>;
120 domain-id = <12>;
130 domain-id = <13>;
140 domain-id = <14>;
150 domain-id = <15>;
[all …]
A Dkeystone-k2l-clocks.dtsi51 domain-id = <0>;
61 domain-id = <4>;
71 domain-id = <9>;
81 domain-id = <10>;
91 domain-id = <11>;
101 domain-id = <17>;
111 domain-id = <17>;
121 domain-id = <18>;
131 domain-id = <19>;
141 domain-id = <21>;
[all …]
A Dkeystone-clocks.dtsi167 domain-id = <0>;
178 domain-id = <0>;
188 domain-id = <0>;
199 domain-id = <1>;
209 domain-id = <1>;
219 domain-id = <2>;
229 domain-id = <2>;
239 domain-id = <2>;
249 domain-id = <3>;
259 domain-id = <6>;
[all …]
/linux/drivers/dca/
A Ddca-core.c46 domain = kzalloc(sizeof(*domain), GFP_NOWAIT); in dca_allocate_domain()
47 if (!domain) in dca_allocate_domain()
53 return domain; in dca_allocate_domain()
59 kfree(domain); in dca_free_domain()
118 return domain; in dca_find_domain()
131 if (!domain) { in dca_get_domain()
136 return domain; in dca_get_domain()
148 if (!domain) in dca_find_provider_by_dev()
192 if (!domain) { in dca_add_requester()
359 if (!domain) { in register_dca_provider()
[all …]
/linux/include/linux/
A Diommu.h101 return domain->type & __IOMMU_DOMAIN_DMA_API; in iommu_is_dma_domain()
261 void (*flush_iotlb_all)(struct iommu_domain *domain);
264 void (*iotlb_sync)(struct iommu_domain *domain,
271 int (*enable_nesting)(struct iommu_domain *domain);
279 struct iommu_domain *domain,
306 int (*sva_bind_gpasid)(struct iommu_domain *domain,
513 if (domain->ops->flush_iotlb_all) in iommu_flush_iotlb_all()
514 domain->ops->flush_iotlb_all(domain); in iommu_flush_iotlb_all()
520 if (domain->ops->iotlb_sync) in iommu_iotlb_sync()
521 domain->ops->iotlb_sync(domain, iotlb_gather); in iommu_iotlb_sync()
[all …]
A Dirqdomain.h416 return __irq_resolve_mapping(domain, hwirq, NULL); in irq_resolve_mapping()
429 if (__irq_resolve_mapping(domain, hwirq, &irq)) in irq_find_mapping()
438 return irq_find_mapping(domain, hwirq); in irq_linear_revmap()
520 extern void irq_domain_free_irqs_top(struct irq_domain *domain,
539 return domain->flags & IRQ_DOMAIN_FLAG_HIERARCHY; in irq_domain_is_hierarchy()
542 static inline bool irq_domain_is_ipi(struct irq_domain *domain) in irq_domain_is_ipi() argument
544 return domain->flags & in irq_domain_is_ipi()
550 return domain->flags & IRQ_DOMAIN_FLAG_IPI_PER_CPU; in irq_domain_is_ipi_per_cpu()
555 return domain->flags & IRQ_DOMAIN_FLAG_IPI_SINGLE; in irq_domain_is_ipi_single()
560 return domain->flags & IRQ_DOMAIN_FLAG_MSI; in irq_domain_is_msi()
[all …]
/linux/Documentation/devicetree/bindings/power/
A Dpower-domain.yaml20 their PM domains provided by PM domain providers. A PM domain provider can be
24 \#power-domain-cells property in the PM domain provider node.
30 domain-idle-states:
35 domain-idle-state bindings, specified in ./domain-idle-state.yaml.
52 "#power-domain-cells":
70 - "#power-domain-cells"
79 #power-domain-cells = <1>;
89 #power-domain-cells = <1>;
96 #power-domain-cells = <1>;
107 #power-domain-cells = <0>;
[all …]
A Dmediatek,power-controller.yaml31 '#power-domain-cells':
41 "^power-domain@[0-9a-f]+$":
49 '#power-domain-cells':
87 domain-supply:
99 "^power-domain@[0-9a-f]+$":
102 Represents a power domain child within a power domain parent node.
106 '#power-domain-cells':
138 domain-supply:
153 Represents a power domain child within a power domain parent node.
157 '#power-domain-cells':
[all …]
/linux/include/trace/events/
A Dkyber.h16 TP_PROTO(dev_t dev, const char *domain, const char *type,
24 __array( char, domain, DOMAIN_LEN )
34 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
52 TP_ARGS(dev, domain, depth),
56 __array( char, domain, DOMAIN_LEN )
62 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
73 TP_PROTO(dev_t dev, const char *domain),
75 TP_ARGS(dev, domain),
79 __array( char, domain, DOMAIN_LEN )
84 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
[all …]
/linux/drivers/soc/dove/
A Dpmu.c219 pm_genpd_init(&domain->base, NULL, !(val & domain->pwr_mask)); in __pmu_domain_register()
270 struct irq_domain *domain; in dove_init_pmu_irq() local
279 if (!domain) { in dove_init_pmu_irq()
300 pmu->irq_domain = domain; in dove_init_pmu_irq()
328 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in dove_init_pmu_legacy()
329 if (domain) { in dove_init_pmu_legacy()
330 domain->pmu = pmu; in dove_init_pmu_legacy()
412 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in dove_init_pmu()
413 if (!domain) in dove_init_pmu()
416 domain->pmu = pmu; in dove_init_pmu()
[all …]
/linux/drivers/iommu/intel/
A Diommu.c760 domain->domain.geometry.aperture_end = __DOMAIN_MAX_ADDR(domain->gaw - 1); in domain_update_iommu_cap()
762 domain->domain.geometry.aperture_end = __DOMAIN_MAX_ADDR(domain->gaw); in domain_update_iommu_cap()
764 domain->domain.pgsize_bitmap |= domain_super_pgsize_bitmap(domain); in domain_update_iommu_cap()
1016 domain = info->domain; in pgtable_walk()
2014 memset(domain, 0, sizeof(*domain)); in alloc_domain()
2340 data.domain = domain; in domain_context_mapping()
2711 info->domain = domain; in dmar_insert_one_dev_info()
4580 domain = info->domain; in __dmar_remove_one_dev_info()
4655 domain = &dmar_domain->domain; in intel_iommu_domain_alloc()
4673 if (domain != &si_domain->domain) in intel_iommu_domain_free()
[all …]
/linux/drivers/irqchip/
A Dirq-atmel-aic5.c88 struct irq_domain *domain = d->domain; in aic5_mask() local
105 struct irq_domain *domain = d->domain; in aic5_unmask() local
122 struct irq_domain *domain = d->domain; in aic5_retrigger() local
136 struct irq_domain *domain = d->domain; in aic5_set_type() local
157 struct irq_domain *domain = d->domain; in aic5_suspend() local
187 struct irq_domain *domain = d->domain; in aic5_resume() local
223 struct irq_domain *domain = d->domain; in aic5_pm_shutdown() local
343 if (IS_ERR(domain)) in aic5_of_init()
344 return PTR_ERR(domain); in aic5_of_init()
346 aic5_domain = domain; in aic5_of_init()
[all …]
/linux/drivers/iommu/amd/
A Diommu.c501 if (!report_iommu_fault(&dev_data->domain->domain, in amd_iommu_report_page_fault()
1345 if (domain && !domain->dev_iommu[i]) in amd_iommu_domain_flush_complete()
1548 dev_data->domain = domain; in do_attach()
1565 struct protection_domain *domain = dev_data->domain; in do_detach() local
1709 domain = dev_data->domain; in detach_device()
1890 if (!domain) in protection_domain_free()
1933 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in protection_domain_alloc()
1977 domain->domain.geometry.aperture_start = 0; in amd_iommu_domain_alloc()
1978 domain->domain.geometry.aperture_end = ~0ULL; in amd_iommu_domain_alloc()
1979 domain->domain.geometry.force_aperture = true; in amd_iommu_domain_alloc()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_display_power.h281 #define for_each_power_domain(domain, mask) \ argument
282 for ((domain) = 0; (domain) < POWER_DOMAIN_NUM; (domain)++) \
283 for_each_if(BIT_ULL(domain) & (mask))
326 enum intel_display_power_domain domain);
332 enum intel_display_power_domain domain);
335 enum intel_display_power_domain domain);
337 enum intel_display_power_domain domain,
342 enum intel_display_power_domain domain,
346 enum intel_display_power_domain domain, in intel_display_power_put_async() argument
357 enum intel_display_power_domain domain, in intel_display_power_put() argument
[all …]

Completed in 111 milliseconds

12345678910>>...57