| /linux/kernel/irq/ |
| H A D | irqdomain.c | 30 static int irq_domain_alloc_irqs_locked(struct irq_domain *domain, int irq_base, 33 static void irq_domain_check_hierarchy(struct irq_domain *domain); 34 static void irq_domain_free_one_irq(struct irq_domain *domain, unsigned int virq); 74 * identifying an irq domain 77 * @name: Optional user provided domain name 87 * domain struct. in __irq_domain_alloc_fwnode() 145 static int alloc_name(struct irq_domain *domain, char *base, enum irq_domain_bus_token bus_token) in alloc_name() 148 domain->name = kasprintf(GFP_KERNEL, "%s", base); in alloc_name() 150 domain->name = kasprintf(GFP_KERNEL, "%s-%d", base, bus_token); in alloc_name() 151 if (!domain in alloc_name() 143 alloc_name(struct irq_domain * domain,char * base,enum irq_domain_bus_token bus_token) alloc_name() argument 156 alloc_fwnode_name(struct irq_domain * domain,const struct fwnode_handle * fwnode,enum irq_domain_bus_token bus_token,const char * suffix) alloc_fwnode_name() argument 180 alloc_unknown_name(struct irq_domain * domain,enum irq_domain_bus_token bus_token) alloc_unknown_name() argument 196 irq_domain_set_name(struct irq_domain * domain,const struct irq_domain_info * info) irq_domain_set_name() argument 239 struct irq_domain *domain; __irq_domain_create() local 289 __irq_domain_publish(struct irq_domain * domain) __irq_domain_publish() argument 299 irq_domain_free(struct irq_domain * domain) irq_domain_free() argument 323 struct irq_domain *domain; __irq_domain_instantiate() local 398 irq_domain_remove(struct irq_domain * domain) irq_domain_remove() argument 426 irq_domain_update_bus_token(struct irq_domain * domain,enum irq_domain_bus_token bus_token) irq_domain_update_bus_token() argument 490 struct irq_domain *domain = __irq_domain_instantiate(&info, true, false); irq_domain_create_simple() local 512 struct irq_domain *domain = __irq_domain_instantiate(&info, false, true); irq_domain_create_legacy() local 570 irq_set_default_domain(struct irq_domain * domain) irq_set_default_domain() argument 593 irq_domain_is_nomap(struct irq_domain * domain) irq_domain_is_nomap() argument 599 irq_domain_clear_mapping(struct irq_domain * domain,irq_hw_number_t hwirq) irq_domain_clear_mapping() argument 613 irq_domain_set_mapping(struct irq_domain * domain,irq_hw_number_t hwirq,struct irq_data * irq_data) irq_domain_set_mapping() argument 632 irq_domain_disassociate(struct irq_domain * domain,unsigned int irq) irq_domain_disassociate() argument 668 irq_domain_associate_locked(struct irq_domain * domain,unsigned int virq,irq_hw_number_t hwirq) irq_domain_associate_locked() argument 710 irq_domain_associate(struct irq_domain * domain,unsigned int virq,irq_hw_number_t hwirq) irq_domain_associate() argument 723 irq_domain_associate_many(struct irq_domain * domain,unsigned int irq_base,irq_hw_number_t hwirq_base,int count) irq_domain_associate_many() argument 749 irq_create_direct_mapping(struct irq_domain * domain) irq_create_direct_mapping() argument 781 irq_create_mapping_affinity_locked(struct irq_domain * domain,irq_hw_number_t hwirq,const struct irq_affinity_desc * affinity) irq_create_mapping_affinity_locked() argument 820 irq_create_mapping_affinity(struct irq_domain * domain,irq_hw_number_t hwirq,const struct irq_affinity_desc * affinity) irq_create_mapping_affinity() argument 884 struct irq_domain *domain; fwspec_to_domain() local 900 struct irq_domain *domain = fwspec_to_domain(fwspec); irq_populate_fwspec_info() local 914 struct irq_domain *domain; irq_create_fwspec_mapping() local 1025 struct irq_domain *domain; irq_dispose_mapping() local 1052 __irq_resolve_mapping(struct irq_domain * domain,irq_hw_number_t hwirq,unsigned int * irq) __irq_resolve_mapping() argument 1324 struct irq_domain *domain = data->domain; irq_domain_insert_irq() local 1343 struct irq_domain *domain = data->domain; irq_domain_remove_irq() local 1351 irq_domain_insert_irq_data(struct irq_domain * domain,struct irq_data * child) irq_domain_insert_irq_data() argument 1407 irq_domain_disconnect_hierarchy(struct irq_domain * domain,unsigned int virq) irq_domain_disconnect_hierarchy() argument 1470 irq_domain_alloc_irq_data(struct irq_domain * domain,unsigned int virq,unsigned int nr_irqs) irq_domain_alloc_irq_data() argument 1499 irq_domain_get_irq_data(struct irq_domain * domain,unsigned int virq) irq_domain_get_irq_data() argument 1521 irq_domain_set_hwirq_and_chip(struct irq_domain * domain,unsigned int virq,irq_hw_number_t hwirq,const struct irq_chip * chip,void * chip_data) irq_domain_set_hwirq_and_chip() argument 1550 irq_domain_set_info(struct irq_domain * domain,unsigned int virq,irq_hw_number_t hwirq,const struct irq_chip * chip,void * chip_data,irq_flow_handler_t handler,void * handler_data,const char * handler_name) irq_domain_set_info() argument 1567 irq_domain_free_irqs_common(struct irq_domain * domain,unsigned int virq,unsigned int nr_irqs) irq_domain_free_irqs_common() argument 1588 irq_domain_free_irqs_top(struct irq_domain * domain,unsigned int virq,unsigned int nr_irqs) irq_domain_free_irqs_top() argument 1601 irq_domain_free_irqs_hierarchy(struct irq_domain * domain,unsigned int irq_base,unsigned int nr_irqs) irq_domain_free_irqs_hierarchy() argument 1616 irq_domain_alloc_irqs_hierarchy(struct irq_domain * domain,unsigned int irq_base,unsigned int nr_irqs,void * arg) irq_domain_alloc_irqs_hierarchy() argument 1627 irq_domain_alloc_irqs_locked(struct irq_domain * domain,int irq_base,unsigned int nr_irqs,int node,void * arg,bool realloc,const struct irq_affinity_desc * affinity) irq_domain_alloc_irqs_locked() argument 1695 __irq_domain_alloc_irqs(struct irq_domain * domain,int irq_base,unsigned int nr_irqs,int node,void * arg,bool realloc,const struct irq_affinity_desc * affinity) __irq_domain_alloc_irqs() argument 1748 irq_domain_push_irq(struct irq_domain * domain,int virq,void * arg) irq_domain_push_irq() argument 1829 irq_domain_pop_irq(struct irq_domain * domain,int virq) irq_domain_pop_irq() argument 1898 struct irq_domain *domain; irq_domain_free_irqs() local 1918 irq_domain_free_one_irq(struct irq_domain * domain,unsigned int virq) irq_domain_free_one_irq() argument 1933 irq_domain_alloc_irqs_parent(struct irq_domain * domain,unsigned int irq_base,unsigned int nr_irqs,void * arg) irq_domain_alloc_irqs_parent() argument 1951 irq_domain_free_irqs_parent(struct irq_domain * domain,unsigned int irq_base,unsigned int nr_irqs) irq_domain_free_irqs_parent() argument 1964 struct irq_domain *domain = irq_data->domain; __irq_domain_deactivate_irq() local 1978 struct irq_domain *domain = irqd->domain; __irq_domain_activate_irq() local 2029 irq_domain_check_hierarchy(struct irq_domain * domain) irq_domain_check_hierarchy() argument 2041 irq_domain_get_irq_data(struct irq_domain * domain,unsigned int virq) irq_domain_get_irq_data() argument 2061 irq_domain_set_info(struct irq_domain * domain,unsigned int virq,irq_hw_number_t hwirq,const struct irq_chip * chip,void * chip_data,irq_flow_handler_t handler,void * handler_data,const char * handler_name) irq_domain_set_info() argument 2071 irq_domain_alloc_irqs_locked(struct irq_domain * domain,int irq_base,unsigned int nr_irqs,int node,void * arg,bool realloc,const struct irq_affinity_desc * affinity) irq_domain_alloc_irqs_locked() argument 2078 irq_domain_check_hierarchy(struct irq_domain * domain) irq_domain_check_hierarchy() argument 2079 irq_domain_free_one_irq(struct irq_domain * domain,unsigned int virq) irq_domain_free_one_irq() argument [all...] |
| H A D | msi.c | 41 * @domid: ID of the domain on which management operations should be done 56 /* The maximum domain size */ 62 static int msi_domain_prepare_irqs(struct irq_domain *domain, struct device *dev, 145 * @domid: The id of the interrupt domain to which the desriptor is added 186 (dev->msi.domain && in msi_ctrl_valid() 187 !dev->msi.data->__domains[ctrl->domid].domain))) in msi_ctrl_valid() 223 * @domid: Id of the domain to operate on 332 * If @dev::msi::domain is set and is a global MSI domain, copy the in msi_setup_device_data() 333 * pointer into the domain arra in msi_setup_device_data() 603 struct irq_domain *domain; msi_get_device_domain() local 623 struct irq_domain *domain; msi_domain_get_hwsize() local 640 msi_check_level(struct irq_domain * domain,struct msi_msg * msg) msi_check_level() argument 681 msi_domain_activate(struct irq_domain * domain,struct irq_data * irq_data,bool early) msi_domain_activate() argument 692 msi_domain_deactivate(struct irq_domain * domain,struct irq_data * irq_data) msi_domain_deactivate() argument 701 msi_domain_alloc(struct irq_domain * domain,unsigned int virq,unsigned int nr_irqs,void * arg) msi_domain_alloc() argument 733 msi_domain_free(struct irq_domain * domain,unsigned int virq,unsigned int nr_irqs) msi_domain_free() argument 746 msi_domain_translate(struct irq_domain * domain,struct irq_fwspec * fwspec,irq_hw_number_t * hwirq,unsigned int * type) msi_domain_translate() argument 792 msi_domain_ops_prepare(struct irq_domain * domain,struct device * dev,int nvec,msi_alloc_info_t * arg) msi_domain_ops_prepare() argument 799 msi_domain_ops_teardown(struct irq_domain * domain,msi_alloc_info_t * arg) msi_domain_ops_teardown() argument 809 msi_domain_ops_init(struct irq_domain * domain,struct msi_domain_info * info,unsigned int virq,irq_hw_number_t hwirq,msi_alloc_info_t * arg) msi_domain_ops_init() argument 870 struct irq_domain *domain; __msi_create_irq_domain() local 968 msi_parent_init_dev_msi_info(struct device * dev,struct irq_domain * domain,struct irq_domain * msi_parent_domain,struct msi_domain_info * msi_child_info) msi_parent_init_dev_msi_info() argument 1034 struct irq_domain *domain, *parent = dev->msi.domain; msi_create_device_irq_domain() local 1117 struct irq_domain *domain; msi_remove_device_irq_domain() local 1148 struct irq_domain *domain; msi_match_device_irq_domain() local 1159 msi_domain_prepare_irqs(struct irq_domain * domain,struct device * dev,int nvec,msi_alloc_info_t * arg) msi_domain_prepare_irqs() argument 1179 msi_check_reservation_mode(struct irq_domain * domain,struct msi_domain_info * info,struct device * dev) msi_check_reservation_mode() argument 1209 msi_handle_pci_fail(struct irq_domain * domain,struct msi_desc * desc,int allocated) msi_handle_pci_fail() argument 1235 msi_init_virq(struct irq_domain * domain,int virq,unsigned int vflags) msi_init_virq() argument 1274 populate_alloc_info(struct irq_domain * domain,struct device * dev,unsigned int nirqs,msi_alloc_info_t * arg) populate_alloc_info() argument 1292 __msi_domain_alloc_irqs(struct device * dev,struct irq_domain * domain,struct msi_ctrl * ctrl) __msi_domain_alloc_irqs() argument 1373 struct irq_domain *domain; __msi_domain_alloc_locked() local 1483 struct irq_domain *domain; __msi_domain_alloc_irq_at() local 1576 msi_device_domain_alloc_wired(struct irq_domain * domain,unsigned int hwirq,unsigned int type) msi_device_domain_alloc_wired() argument 1597 __msi_domain_free_irqs(struct device * dev,struct irq_domain * domain,struct msi_ctrl * ctrl) __msi_domain_free_irqs() argument 1630 struct irq_domain *domain; msi_domain_free_locked() local 1726 msi_device_domain_free_wired(struct irq_domain * domain,unsigned int virq) msi_device_domain_free_wired() argument 1747 msi_get_domain_info(struct irq_domain * domain) msi_get_domain_info() argument 1770 struct irq_domain *domain = dev_get_msi_domain(dev); msi_device_has_isolated_msi() local [all...] |
| /linux/drivers/vdpa/vdpa_user/ |
| H A D | iova_domain.c | 20 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 in vduse_domain_set_map() 89 vduse_domain_clear_map(struct vduse_iova_domain * domain,struct vhost_iotlb * iotlb) vduse_domain_clear_map() argument 103 vduse_domain_map_bounce_page(struct vduse_iova_domain * domain,u64 iova,u64 size,u64 paddr) vduse_domain_map_bounce_page() argument 142 vduse_domain_unmap_bounce_page(struct vduse_iova_domain * domain,u64 iova,u64 size) vduse_domain_unmap_bounce_page() argument 184 vduse_domain_bounce(struct vduse_iova_domain * domain,dma_addr_t iova,size_t size,enum dma_data_direction dir) vduse_domain_bounce() argument 219 vduse_domain_get_coherent_page(struct vduse_iova_domain * domain,u64 iova) vduse_domain_get_coherent_page() argument 240 vduse_domain_get_bounce_page(struct vduse_iova_domain * domain,u64 iova) vduse_domain_get_bounce_page() argument 259 vduse_domain_free_kernel_bounce_pages(struct vduse_iova_domain * domain) vduse_domain_free_kernel_bounce_pages() argument 280 vduse_domain_add_user_bounce_pages(struct vduse_iova_domain * domain,struct page ** pages,int count) vduse_domain_add_user_bounce_pages() argument 326 vduse_domain_remove_user_bounce_pages(struct vduse_iova_domain * domain) vduse_domain_remove_user_bounce_pages() argument 368 vduse_domain_reset_bounce_map(struct vduse_iova_domain * domain) vduse_domain_reset_bounce_map() argument 383 vduse_domain_init_bounce_map(struct vduse_iova_domain * domain) vduse_domain_init_bounce_map() argument 427 vduse_domain_sync_single_for_device(struct vduse_iova_domain * domain,dma_addr_t dma_addr,size_t size,enum dma_data_direction dir) vduse_domain_sync_single_for_device() argument 437 vduse_domain_sync_single_for_cpu(struct vduse_iova_domain * domain,dma_addr_t dma_addr,size_t size,enum dma_data_direction dir) vduse_domain_sync_single_for_cpu() argument 447 vduse_domain_map_page(struct vduse_iova_domain * domain,struct page * page,unsigned long offset,size_t size,enum dma_data_direction dir,unsigned long attrs) vduse_domain_map_page() argument 481 vduse_domain_unmap_page(struct vduse_iova_domain * domain,dma_addr_t dma_addr,size_t size,enum dma_data_direction dir,unsigned long attrs) vduse_domain_unmap_page() argument 496 vduse_domain_alloc_coherent(struct vduse_iova_domain * domain,size_t size,void * orig) vduse_domain_alloc_coherent() argument 523 vduse_domain_free_coherent(struct vduse_iova_domain * domain,size_t size,dma_addr_t dma_addr,unsigned long attrs) vduse_domain_free_coherent() argument 548 struct vduse_iova_domain *domain = vmf->vma->vm_private_data; vduse_domain_mmap_fault() local 574 struct vduse_iova_domain *domain = file->private_data; vduse_domain_mmap() local 585 struct vduse_iova_domain *domain = file->private_data; vduse_domain_release() local 607 vduse_domain_destroy(struct vduse_iova_domain * domain) vduse_domain_destroy() argument 615 struct vduse_iova_domain *domain; vduse_domain_create() local [all...] |
| /linux/drivers/scsi/elx/libefc/ |
| H A D | efc_domain.c | 8 * 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 D | efc_cmds.c | 132 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/drivers/iommu/intel/ |
| H A D | cache.c | 42 /* Assign a cache tag with specified type to domain. */ 43 int cache_tag_assign(struct dmar_domain *domain, u16 did, struct device *dev, in cache_tag_assign() argument 67 spin_lock_irqsave(&domain->cache_lock, flags); in cache_tag_assign() 68 prev = &domain->cache_tags; in cache_tag_assign() 69 list_for_each_entry(temp, &domain->cache_tags, node) { in cache_tag_assign() 72 spin_unlock_irqrestore(&domain->cache_lock, flags); in cache_tag_assign() 86 spin_unlock_irqrestore(&domain->cache_lock, flags); in cache_tag_assign() 92 /* Unassign a cache tag with specified type from domain. */ 93 static void cache_tag_unassign(struct dmar_domain *domain, u16 did, in cache_tag_unassign() argument 102 spin_lock_irqsave(&domain->cache_lock, flags); in cache_tag_unassign() [all …]
|
| H A D | nested.c | 21 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 D | svm.c | 55 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() 148 intel_svm_set_dev_pasid(struct iommu_domain * domain,struct device * dev,ioasid_t pasid,struct iommu_domain * old) intel_svm_set_dev_pasid() argument 194 intel_svm_domain_free(struct iommu_domain * domain) intel_svm_domain_free() argument 210 struct dmar_domain *domain; intel_svm_domain_alloc() local [all...] |
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | fsl,imx8-acm.yaml | 64 - 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 D | imx93-pd.c | 37 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 …]
|
| H A D | gpcv2.c | 316 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 …]
|
| H A D | gpc.c | 71 /* Gate off domain when powered down */ in imx6_pm_domain_power_off() 75 /* Request GPC to power down domain */ in imx6_pm_domain_power_off() 103 /* Enable reset clocks for all devices in the domain */ in imx6_pm_domain_power_on() 107 /* Gate off domain when powered down */ in imx6_pm_domain_power_on() 111 /* Request GPC to power up domain */ in imx6_pm_domain_power_on() 119 pr_err("powerup request on domain %s timed out\n", genpd->name); in imx6_pm_domain_power_on() 124 /* Disable reset clocks for all devices in the domain */ in imx6_pm_domain_power_on() 131 static int imx_pgc_get_clocks(struct device *dev, struct imx_pm_domain *domain) in imx_pgc_get_clocks() argument 144 domain->clk[i] = clk; in imx_pgc_get_clocks() 146 domain in imx_pgc_get_clocks() 157 imx_pgc_put_clocks(struct imx_pm_domain * domain) imx_pgc_put_clocks() argument 165 imx_pgc_parse_dt(struct device * dev,struct imx_pm_domain * domain) imx_pgc_parse_dt() argument 182 struct imx_pm_domain *domain = pdev->dev.platform_data; imx_pgc_power_domain_probe() local 217 struct imx_pm_domain *domain = pdev->dev.platform_data; imx_pgc_power_domain_remove() local 361 struct imx_pm_domain *domain; imx_gpc_old_dt_init() local 454 struct imx_pm_domain *domain; imx_gpc_probe() local [all...] |
| /linux/Documentation/devicetree/bindings/power/ |
| H A D | power-domain.yaml | 4 $id: http://devicetree.org/schemas/power/power-domain.yaml# 20 This device tree binding can be used to bind PM domain consumer devices with 21 their PM domains provided by PM domain providers. A PM domain provider can be 24 phandle arguments (so called PM domain specifiers) of length specified by the 25 \#power-domain-cells property in the PM domain provider node. 29 pattern: "^(power-controller|power-domain|performance-domain)([@-].*)?$" 31 domain [all...] |
| /linux/arch/arm/boot/dts/ti/keystone/ |
| H A D | keystone-k2hk-clocks.dtsi | 59 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 D | keystone-k2l-clocks.dtsi | 49 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/drivers/pmdomain/xilinx/ |
| H A D | zynqmp-pm-domains.c | 3 * 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 D | dev-energymodel.yaml | 23 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/iommu/ |
| H A D | ipmmu-vmsa.c | 211 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/net/netlabel/ |
| H A D | netlabel_domainhash.c | 3 * 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/include/linux/sched/ |
| H A D | sd_flags.h | 13 * 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 up to the NUMA reclaim level. [all …]
|
| /linux/drivers/dca/ |
| H A D | dca-core.c | 45 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/arch/arm64/boot/dts/apple/ |
| H A D | s8001-pmgr.dtsi | 12 #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 D | t8112-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>; 65 #power-domain-cells = <0>; 74 #power-domain-cells = <0>; 83 #power-domain-cells = <0>; 92 #power-domain-cells = <0>; [all …]
|
| H A D | t8011-pmgr.dtsi | 12 #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 …]
|
| /linux/drivers/soc/dove/ |
| H A D | pmu.c | 131 * 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 …]
|