/openbmc/linux/kernel/irq/ |
H A D | irqdomain.c | 222 domain->root = domain; in __irq_domain_create() 561 domain->ops->unmap(domain, irq); in irq_domain_disassociate() 589 irq_data->domain = domain; in irq_domain_associate_locked() 909 domain = irq_data->domain; in irq_dispose_mapping() 1200 irq_data->domain = domain; in irq_domain_insert_irq_data() 1318 irq_data->domain = domain; in irq_domain_alloc_irq_data() 1344 if (irq_data->domain == domain) in irq_domain_get_irq_data() 1617 if (domain->parent != irq_data->domain) in irq_domain_push_irq() 1635 irq_data->domain = domain; in irq_domain_push_irq() 1701 if (WARN_ON(irq_data->domain != domain)) in irq_domain_pop_irq() [all …]
|
H 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() 1335 if (!domain) in __msi_domain_alloc_locked() [all …]
|
/openbmc/linux/drivers/vdpa/vdpa_user/ |
H 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 …]
|
/openbmc/linux/drivers/scsi/elx/libefc/ |
H 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 …]
|
H 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 …]
|
/openbmc/linux/drivers/pmdomain/imx/ |
H A D | imx93-pd.c | 43 ret = clk_bulk_prepare_enable(domain->num_clks, domain->clks); in imx93_pd_on() 82 clk_bulk_disable_unprepare(domain->num_clks, domain->clks); in imx93_pd_off() 93 if (!domain->init_off) in imx93_pd_remove() 94 clk_bulk_disable_unprepare(domain->num_clks, domain->clks); in imx93_pd_remove() 109 domain = devm_kzalloc(dev, sizeof(*domain), GFP_KERNEL); in imx93_pd_probe() 110 if (!domain) in imx93_pd_probe() 117 domain->num_clks = devm_clk_bulk_get_all(dev, &domain->clks); in imx93_pd_probe() 124 domain->dev = dev; in imx93_pd_probe() 129 ret = clk_bulk_prepare_enable(domain->num_clks, domain->clks); in imx93_pd_probe() 137 ret = pm_genpd_init(&domain->genpd, NULL, domain->init_off); in imx93_pd_probe() [all …]
|
H 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 …]
|
H 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 …]
|
/openbmc/linux/drivers/iommu/ |
H 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() 433 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context() 438 ret = ipmmu_domain_allocate_context(domain->mmu->root, domain); in ipmmu_domain_init_context() 445 domain); in ipmmu_domain_init_context() 561 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in ipmmu_domain_alloc() 562 if (!domain) in ipmmu_domain_alloc() 580 kfree(domain); in ipmmu_domain_free() [all …]
|
H A D | iommu-sva.c | 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() 90 if (!domain) { in iommu_sva_bind_device() 98 domain->users = 1; in iommu_sva_bind_device() 102 handle->domain = domain; in iommu_sva_bind_device() 107 iommu_domain_free(domain); in iommu_sva_bind_device() 126 struct iommu_domain *domain = handle->domain; in iommu_sva_unbind_device() local 142 struct iommu_domain *domain = handle->domain; in iommu_sva_get_pasid() local [all …]
|
/openbmc/u-boot/arch/arm/include/asm/mach-imx/ |
H A D | rdc-sema.h | 40 #define RDC_PDAP_DW_SHIFT(domain) ((domain) << 1) argument 41 #define RDC_PDAP_DR_SHIFT(domain) (1 + RDC_PDAP_DW_SHIFT(domain)) argument 42 #define RDC_PDAP_DW_MASK(domain) (1 << RDC_PDAP_DW_SHIFT(domain)) argument 43 #define RDC_PDAP_DR_MASK(domain) (1 << RDC_PDAP_DR_SHIFT(domain)) argument 44 #define RDC_PDAP_DRW_MASK(domain) (RDC_PDAP_DW_MASK(domain) | \ argument 58 #define RDC_MRC_DW_SHIFT(domain) (domain) argument 59 #define RDC_MRC_DR_SHIFT(domain) (1 + RDC_MRC_DW_SHIFT(domain)) argument 60 #define RDC_MRC_DW_MASK(domain) (1 << RDC_MRC_DW_SHIFT(domain)) argument 61 #define RDC_MRC_DR_MASK(domain) (1 << RDC_MRC_DR_SHIFT(domain)) argument 62 #define RDC_MRC_DRW_MASK(domain) (RDC_MRC_DW_MASK(domain) | \ argument [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | keystone-k2hk-clocks.dtsi | 63 domain-id = <0>; 73 domain-id = <4>; 83 domain-id = <5>; 93 domain-id = <9>; 103 domain-id = <10>; 113 domain-id = <11>; 123 domain-id = <12>; 133 domain-id = <13>; 143 domain-id = <14>; 153 domain-id = <15>; [all …]
|
H A D | keystone-k2l-clocks.dtsi | 54 domain-id = <0>; 64 domain-id = <4>; 74 domain-id = <9>; 84 domain-id = <10>; 94 domain-id = <11>; 104 domain-id = <17>; 114 domain-id = <17>; 124 domain-id = <18>; 134 domain-id = <19>; 144 domain-id = <21>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/keystone/ |
H 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 …]
|
H 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | fsl,imx8-acm.yaml | 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 74 - description: power domain of IMX_SC_R_SAI_1 75 - description: power domain of IMX_SC_R_SAI_2 76 - description: power domain of IMX_SC_R_SAI_3 77 - description: power domain of IMX_SC_R_SAI_4 78 - description: power domain of IMX_SC_R_SAI_5 80 - description: power domain of IMX_SC_R_MQS_0 [all …]
|
/openbmc/linux/drivers/dca/ |
H 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() 357 if (!domain) { in register_dca_provider() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | kyber.h | 16 TP_PROTO(dev_t dev, const char *domain, const char *type, 24 __array( char, domain, DOMAIN_LEN ) 34 strscpy(__entry->domain, domain, sizeof(__entry->domain)); 52 TP_ARGS(dev, domain, depth), 56 __array( char, domain, DOMAIN_LEN ) 62 strscpy(__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 strscpy(__entry->domain, domain, sizeof(__entry->domain)); [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/ |
H 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 …]
|
H 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 …]
|
/openbmc/linux/include/linux/ |
H 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 …]
|
H A D | iommu.h | 118 return domain->type & __IOMMU_DOMAIN_DMA_API; in iommu_is_dma_domain() 348 void (*flush_iotlb_all)(struct iommu_domain *domain); 351 void (*iotlb_sync)(struct iommu_domain *domain, 358 int (*enable_nesting)(struct iommu_domain *domain); 362 void (*free)(struct iommu_domain *domain); 546 if (domain->ops->flush_iotlb_all) in iommu_flush_iotlb_all() 547 domain->ops->flush_iotlb_all(domain); in iommu_flush_iotlb_all() 553 if (domain->ops->iotlb_sync) in iommu_iotlb_sync() 554 domain->ops->iotlb_sync(domain, iotlb_gather); in iommu_iotlb_sync() 624 iommu_iotlb_sync(domain, gather); in iommu_iotlb_gather_add_page() [all …]
|
/openbmc/linux/drivers/soc/dove/ |
H 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 …]
|
/openbmc/linux/drivers/irqchip/ |
H 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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_power.h | 191 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 218 enum intel_display_power_domain domain, in intel_display_power_put_async_delay() argument 230 enum intel_display_power_domain domain, in intel_display_power_put() argument 238 enum intel_display_power_domain domain, in intel_display_power_put_async() argument 246 enum intel_display_power_domain domain, in intel_display_power_put_async_delay() argument [all …]
|