/linux-6.3-rc2/kernel/irq/ |
A D | irqdomain.c | 227 domain->root = domain; in __irq_domain_create() 566 domain->ops->unmap(domain, irq); in irq_domain_disassociate() 594 irq_data->domain = domain; in irq_domain_associate_locked() 914 domain = irq_data->domain; in irq_dispose_mapping() 1205 irq_data->domain = domain; in irq_domain_insert_irq_data() 1323 irq_data->domain = domain; in irq_domain_alloc_irq_data() 1349 if (irq_data->domain == domain) in irq_domain_get_irq_data() 1622 if (domain->parent != irq_data->domain) in irq_domain_push_irq() 1640 irq_data->domain = domain; in irq_domain_push_irq() 1706 if (WARN_ON(irq_data->domain != domain)) in irq_domain_pop_irq() [all …]
|
A D | msi.c | 593 domain = dev->msi.data->__domains[domid].domain; in msi_get_device_domain() 594 if (!domain) in msi_get_device_domain() 609 if (domain) { in msi_domain_get_hwsize() 833 if (domain) in __msi_create_irq_domain() 947 struct irq_domain *domain, *parent = dev->msi.domain; in msi_create_device_irq_domain() local 989 if (!domain) in msi_create_device_irq_domain() 993 dev->msi.data->__domains[domid].domain = domain; in msi_create_device_irq_domain() 1021 if (!domain || !irq_domain_is_msi_device(domain)) in msi_remove_device_irq_domain() 1053 if (domain && irq_domain_is_msi_device(domain)) { in msi_match_device_irq_domain() 1345 if (!domain) in __msi_domain_alloc_locked() [all …]
|
/linux-6.3-rc2/drivers/vdpa/vdpa_user/ |
A D | iova_domain.c | 326 vduse_iotlb_del_range(domain, 0, domain->bounce_size - 1); in vduse_domain_reset_bounce_map() 343 ret = vduse_iotlb_add_range(domain, 0, domain->bounce_size - 1, in vduse_domain_init_bounce_map() 491 if (!domain) in vduse_domain_mmap_fault() 535 kfree(domain); in vduse_domain_release() 548 fput(domain->file); in vduse_domain_destroy() 564 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in vduse_domain_create() 565 if (!domain) in vduse_domain_create() 569 if (!domain->iotlb) in vduse_domain_create() 584 domain, O_RDWR); in vduse_domain_create() 602 return domain; in vduse_domain_create() [all …]
|
/linux-6.3-rc2/drivers/scsi/elx/libefc/ |
A D | efc_domain.c | 22 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 D | efc_cmds.c | 227 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 …]
|
/linux-6.3-rc2/drivers/soc/imx/ |
A D | imx93-pd.c | 42 ret = clk_bulk_prepare_enable(domain->num_clks, domain->clks); in imx93_pd_on() 81 clk_bulk_disable_unprepare(domain->num_clks, domain->clks); in imx93_pd_off() 92 if (!domain->init_off) in imx93_pd_remove() 93 clk_bulk_disable_unprepare(domain->num_clks, domain->clks); in imx93_pd_remove() 108 domain = devm_kzalloc(dev, sizeof(*domain), GFP_KERNEL); in imx93_pd_probe() 109 if (!domain) in imx93_pd_probe() 116 domain->num_clks = devm_clk_bulk_get_all(dev, &domain->clks); in imx93_pd_probe() 123 domain->dev = dev; in imx93_pd_probe() 128 ret = clk_bulk_prepare_enable(domain->num_clks, domain->clks); in imx93_pd_probe() 136 ret = pm_genpd_init(&domain->genpd, NULL, domain->init_off); in imx93_pd_probe() [all …]
|
A D | gpcv2.c | 352 regmap_update_bits(domain->regmap, domain->regs->pup, in imx_pgc_power_up() 353 domain->bits.pxx, domain->bits.pxx); in imx_pgc_power_up() 381 regmap_update_bits(domain->regmap, domain->regs->hsk, in imx_pgc_power_up() 382 domain->bits.hskreq, domain->bits.hskreq); in imx_pgc_power_up() 432 regmap_clear_bits(domain->regmap, domain->regs->hsk, in imx_pgc_power_down() 453 regmap_update_bits(domain->regmap, domain->regs->pdn, in imx_pgc_power_down() 454 domain->bits.pxx, domain->bits.pxx); in imx_pgc_power_down() 1327 domain->voltage, domain->voltage); in imx_pgc_domain_probe() 1330 domain->num_clks = devm_clk_bulk_get_all(domain->dev, &domain->clks); in imx_pgc_domain_probe() 1332 return dev_err_probe(domain->dev, domain->num_clks, in imx_pgc_domain_probe() [all …]
|
A D | gpc.c | 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() 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-6.3-rc2/drivers/iommu/ |
A D | ipmmu-vmsa.c | 215 return ipmmu_ctx_read(domain->mmu->root, domain->context_id, reg); in ipmmu_ctx_read_root() 221 ipmmu_ctx_write(domain->mmu->root, domain->context_id, reg, data); in ipmmu_ctx_write_root() 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() 437 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context() 442 ret = ipmmu_domain_allocate_context(domain->mmu->root, domain); in ipmmu_domain_init_context() 449 domain); in ipmmu_domain_init_context() 565 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in ipmmu_domain_alloc() 566 if (!domain) in ipmmu_domain_alloc() 584 kfree(domain); in ipmmu_domain_free() [all …]
|
A D | iommu-sva.c | 114 if (IS_ERR(domain)) { in iommu_sva_bind_device() 115 ret = PTR_ERR(domain); in iommu_sva_bind_device() 119 if (domain) { in iommu_sva_bind_device() 120 domain->users++; in iommu_sva_bind_device() 126 if (!domain) { in iommu_sva_bind_device() 134 domain->users = 1; in iommu_sva_bind_device() 138 handle->domain = domain; in iommu_sva_bind_device() 143 iommu_domain_free(domain); in iommu_sva_bind_device() 162 struct iommu_domain *domain = handle->domain; in iommu_sva_unbind_device() local 178 struct iommu_domain *domain = handle->domain; in iommu_sva_get_pasid() local [all …]
|
A D | exynos-iommu.c | 584 ret = report_iommu_fault(&data->domain->domain, data->master, in exynos_sysmmu_irq() 909 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in exynos_iommu_domain_alloc() 910 if (!domain) in exynos_iommu_domain_alloc() 936 domain->domain.geometry.aperture_start = 0; in exynos_iommu_domain_alloc() 937 domain->domain.geometry.aperture_end = ~0UL; in exynos_iommu_domain_alloc() 938 domain->domain.geometry.force_aperture = true; in exynos_iommu_domain_alloc() 940 return &domain->domain; in exynos_iommu_domain_alloc() 947 kfree(domain); in exynos_iommu_domain_alloc() 988 kfree(domain); in exynos_iommu_domain_free() 1041 if (owner->domain) in exynos_iommu_attach_device() [all …]
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | keystone-k2hk-clocks.dtsi | 60 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 D | keystone-k2l-clocks.dtsi | 51 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 D | keystone-clocks.dtsi | 167 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-6.3-rc2/drivers/dca/ |
A D | dca-core.c | 46 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-6.3-rc2/Documentation/devicetree/bindings/power/ |
A D | mediatek,power-controller.yaml | 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]+$": 54 "^power-domain@[0-9a-f]+$": 62 power-domain-node: 70 '#power-domain-cells': 111 domain-supply: [all …]
|
A D | power-domain.yaml | 20 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: 37 domain-idle-state bindings, specified in ./domain-idle-state.yaml. 53 "#power-domain-cells": 71 - "#power-domain-cells" 80 #power-domain-cells = <1>; 90 #power-domain-cells = <1>; 97 #power-domain-cells = <1>; 108 #power-domain-cells = <0>; [all …]
|
/linux-6.3-rc2/include/trace/events/ |
A D | kyber.h | 16 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-6.3-rc2/include/linux/ |
A D | irqdomain.h | 417 return __irq_resolve_mapping(domain, hwirq, NULL); in irq_resolve_mapping() 430 if (__irq_resolve_mapping(domain, hwirq, &irq)) in irq_find_mapping() 439 return irq_find_mapping(domain, hwirq); in irq_linear_revmap() 522 extern void irq_domain_free_irqs_top(struct irq_domain *domain, 541 return domain->flags & IRQ_DOMAIN_FLAG_HIERARCHY; in irq_domain_is_hierarchy() 546 return domain->flags & in irq_domain_is_ipi() 552 return domain->flags & IRQ_DOMAIN_FLAG_IPI_PER_CPU; in irq_domain_is_ipi_per_cpu() 557 return domain->flags & IRQ_DOMAIN_FLAG_IPI_SINGLE; in irq_domain_is_ipi_single() 562 return domain->flags & IRQ_DOMAIN_FLAG_MSI; in irq_domain_is_msi() 567 return domain->flags & IRQ_DOMAIN_FLAG_MSI_PARENT; in irq_domain_is_msi_parent() [all …]
|
A D | iommu.h | 118 return domain->type & __IOMMU_DOMAIN_DMA_API; in iommu_is_dma_domain() 335 void (*flush_iotlb_all)(struct iommu_domain *domain); 338 void (*iotlb_sync)(struct iommu_domain *domain, 345 int (*enable_nesting)(struct iommu_domain *domain); 349 void (*free)(struct iommu_domain *domain); 541 if (domain->ops->flush_iotlb_all) in iommu_flush_iotlb_all() 542 domain->ops->flush_iotlb_all(domain); in iommu_flush_iotlb_all() 548 if (domain->ops->iotlb_sync) in iommu_iotlb_sync() 549 domain->ops->iotlb_sync(domain, iotlb_gather); in iommu_iotlb_sync() 619 iommu_iotlb_sync(domain, gather); in iommu_iotlb_gather_add_page() [all …]
|
/linux-6.3-rc2/drivers/soc/dove/ |
A D | pmu.c | 219 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-6.3-rc2/drivers/irqchip/ |
A D | irq-atmel-aic5.c | 88 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-6.3-rc2/arch/arm64/boot/dts/apple/ |
A D | t8103-pmgr.dtsi | 13 #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 …]
|
/linux-6.3-rc2/drivers/firmware/arm_scmi/ |
A D | perf.c | 76 __le32 domain; member 81 __le32 domain; member 92 __le32 domain; member 97 __le32 domain; member 253 u32 domain; member 264 msg->domain = cpu_to_le32(p->domain); in iter_perf_levels_prepare_message() 314 .domain = domain, in scmi_perf_describe_levels_get() 349 limits->domain = cpu_to_le32(domain); in scmi_perf_mb_limits_set() 440 lvl->domain = cpu_to_le32(domain); in scmi_perf_mb_level_set() 519 notify->domain = cpu_to_le32(domain); in scmi_perf_level_limits_notify() [all …]
|
/linux-6.3-rc2/drivers/soc/xilinx/ |
A D | zynqmp_pm_domains.c | 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() 106 struct zynqmp_pm_domain *pd = to_zynqmp_pm_domain(domain); in zynqmp_gpd_power_off() 124 domain->name); in zynqmp_gpd_power_off() 133 dev_err(&domain->dev, in zynqmp_gpd_power_off() 155 struct zynqmp_pm_domain *pd = to_zynqmp_pm_domain(domain); in zynqmp_gpd_attach_dev() 165 if (domain->device_count) in zynqmp_gpd_attach_dev() 172 domain->name, pd->node_id, ret); in zynqmp_gpd_attach_dev() 178 dev_dbg(&domain->dev, "%s requested PM node id %d\n", in zynqmp_gpd_attach_dev() 196 if (domain->device_count) in zynqmp_gpd_detach_dev() [all …]
|