/openbmc/linux/kernel/irq/ |
H A D | irqdomain.c | 137 struct irq_domain *domain; in __irq_domain_create() local 257 struct irq_domain *domain; in __irq_domain_add() local 359 struct irq_domain *domain; in irq_domain_create_simple() local 415 struct irq_domain *domain; in irq_domain_create_legacy() local 790 struct irq_domain *domain; in irq_create_fwspec_mapping() local 904 struct irq_domain *domain; in irq_dispose_mapping() local 1137 struct irq_domain *domain; in irq_domain_create_hierarchy() local 1162 struct irq_domain *domain = data->domain; in irq_domain_insert_irq() local 1181 struct irq_domain *domain = data->domain; in irq_domain_remove_irq() local 1736 struct irq_domain *domain; in irq_domain_free_irqs() local [all …]
|
H A D | msi.c | 586 struct irq_domain *domain; in msi_get_device_domain() local 606 struct irq_domain *domain; in msi_domain_get_hwsize() local 664 static int msi_domain_activate(struct irq_domain *domain, in msi_domain_activate() 813 struct irq_domain *domain; in __msi_create_irq_domain() local 947 struct irq_domain *domain, *parent = dev->msi.domain; in msi_create_device_irq_domain() local 1015 struct irq_domain *domain; in msi_remove_device_irq_domain() local 1048 struct irq_domain *domain; in msi_match_device_irq_domain() local 1328 struct irq_domain *domain; in __msi_domain_alloc_locked() local 1464 struct irq_domain *domain; in msi_domain_alloc_irq_at() local 1539 struct irq_domain *domain; in msi_domain_free_locked() local [all …]
|
H A D | irq_sim.c | 18 struct irq_domain *domain; member 117 static int irq_sim_domain_map(struct irq_domain *domain, in irq_sim_domain_map() 136 static void irq_sim_domain_unmap(struct irq_domain *domain, unsigned int virq) in irq_sim_domain_unmap() 203 void irq_domain_remove_sim(struct irq_domain *domain) in irq_domain_remove_sim() 217 struct irq_domain *domain = data; in devm_irq_domain_remove_sim() local 237 struct irq_domain *domain; in devm_irq_domain_create_sim() local
|
/openbmc/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() 45 static void vduse_iotlb_del_range(struct vduse_iova_domain *domain, in vduse_iotlb_del_range() 59 int vduse_domain_set_map(struct vduse_iova_domain *domain, in vduse_domain_set_map() 89 void vduse_domain_clear_map(struct vduse_iova_domain *domain, in vduse_domain_clear_map() 160 static void vduse_domain_bounce(struct vduse_iova_domain *domain, in vduse_domain_bounce() 409 void vduse_domain_unmap_page(struct vduse_iova_domain *domain, in vduse_domain_unmap_page() 487 struct vduse_iova_domain *domain = vmf->vma->vm_private_data; in vduse_domain_mmap_fault() local 513 struct vduse_iova_domain *domain = file->private_data; in vduse_domain_mmap() local 524 struct vduse_iova_domain *domain = file->private_data; in vduse_domain_release() local 546 void vduse_domain_destroy(struct vduse_iova_domain *domain) in vduse_domain_destroy() [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
|
/openbmc/linux/include/linux/ |
H A D | irqdomain.h | 425 static inline unsigned int irq_find_mapping(struct irq_domain *domain, in irq_find_mapping() 504 static inline int irq_domain_alloc_irqs(struct irq_domain *domain, in irq_domain_alloc_irqs() 539 static inline bool irq_domain_is_hierarchy(struct irq_domain *domain) in irq_domain_is_hierarchy() 544 static inline bool irq_domain_is_ipi(struct irq_domain *domain) in irq_domain_is_ipi() 555 static inline bool irq_domain_is_ipi_single(struct irq_domain *domain) in irq_domain_is_ipi_single() 560 static inline bool irq_domain_is_msi(struct irq_domain *domain) in irq_domain_is_msi() 565 static inline bool irq_domain_is_msi_parent(struct irq_domain *domain) in irq_domain_is_msi_parent() 576 static inline int irq_domain_alloc_irqs(struct irq_domain *domain, in irq_domain_alloc_irqs() 585 static inline bool irq_domain_is_hierarchy(struct irq_domain *domain) in irq_domain_is_hierarchy() 590 static inline bool irq_domain_is_ipi(struct irq_domain *domain) in irq_domain_is_ipi() [all …]
|
/openbmc/linux/drivers/dca/ |
H A D | dca-core.c | 44 struct dca_domain *domain; in dca_allocate_domain() local 56 static void dca_free_domain(struct dca_domain *domain) in dca_free_domain() 81 struct dca_domain *domain; in unregister_dca_providers() local 114 struct dca_domain *domain; in dca_find_domain() local 126 struct dca_domain *domain; in dca_get_domain() local 143 struct dca_domain *domain; in dca_find_provider_by_dev() local 176 struct dca_domain *domain; in dca_add_requester() local 342 struct dca_domain *domain, *newdomain = NULL; in register_dca_provider() local 399 struct dca_domain *domain; in unregister_dca_provider() local
|
/openbmc/linux/drivers/scsi/elx/libefc/ |
H A D | efc_domain.c | 17 struct efc_domain *domain = NULL; in efc_domain_cb() local 116 efc_domain_free(struct efc_domain *domain) in efc_domain_free() 135 struct efc_domain *domain; in efc_domain_alloc() local 174 struct efc_domain *domain = ctx->app; in __efc_domain_common() local 196 struct efc_domain *domain = ctx->app; in __efc_domain_common_shutdown() local 824 __efc_domain_attach_internal(struct efc_domain *domain, u32 s_id) in __efc_domain_attach_internal() 834 efc_domain_attach(struct efc_domain *domain, u32 s_id) in efc_domain_attach() 840 efc_domain_post_event(struct efc_domain *domain, in efc_domain_post_event() 858 efct_domain_process_pending(struct efc_domain *domain) in efct_domain_process_pending() 907 struct efc_domain *domain = efc->domain; in efc_dispatch_frame() local [all …]
|
H A D | efc_cmds.c | 207 struct efc_domain *domain, u8 *wwpn) in efc_cmd_nport_alloc() 334 efc_domain_free_resources(struct efc_domain *domain, int evt, void *data) in efc_domain_free_resources() 353 efc_domain_send_nport_evt(struct efc_domain *domain, in efc_domain_send_nport_evt() 369 struct efc_domain *domain = arg; in efc_domain_alloc_read_sparm64_cb() local 383 efc_domain_alloc_read_sparm64(struct efc_domain *domain) in efc_domain_alloc_read_sparm64() 410 struct efc_domain *domain = arg; in efc_domain_alloc_init_vfi_cb() local 423 efc_domain_alloc_init_vfi(struct efc_domain *domain) in efc_domain_alloc_init_vfi() 499 struct efc_domain *domain = arg; in efc_domain_attach_reg_vfi_cb() local 552 struct efc_domain *domain = arg; in efc_domain_free_unreg_vfi_cb() local 567 efc_domain_free_unreg_vfi(struct efc_domain *domain) in efc_domain_free_unreg_vfi() [all …]
|
H A D | efc_nport.c | 45 efc_nport_find_wwn(struct efc_domain *domain, uint64_t wwnn, uint64_t wwpn) in efc_nport_find_wwn() 66 efc_nport_alloc(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn, in efc_nport_alloc() 137 struct efc_domain *domain; in efc_nport_free() local 164 efc_nport_find(struct efc_domain *domain, u32 d_id) in efc_nport_find() 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 598 efc_vport_nport_alloc(struct efc_domain *domain, struct efc_vport *vport) in efc_vport_nport_alloc() 621 efc_vport_start(struct efc_domain *domain) in efc_vport_start() 643 efc_nport_vport_new(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn, in efc_nport_vport_new() [all …]
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_parser.c | 41 u32 codecs, u32 domain, func cb, void *data, in for_each_codec() 66 parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_alloc_mode() 100 parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_profile_level() 128 parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_caps() 157 parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_raw_formats() 210 static void parse_codecs_mask(u32 *codecs, u32 *domain, void *data) in parse_codecs_mask() 218 static void parser_init(struct venus_inst *inst, u32 *codecs, u32 *domain) in parser_init() 227 static void parser_fini(struct venus_inst *inst, u32 codecs, u32 domain) in parser_fini() 285 u32 *word = buf, *data, codecs = 0, domain = 0; in hfi_parser() local
|
/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 243 static void __init aic5_hw_init(struct irq_domain *domain) in aic5_hw_init() 331 struct irq_domain *domain; in aic5_of_init() local
|
/openbmc/linux/drivers/iommu/ |
H A D | tegra-gart.c | 106 static int gart_iommu_attach_dev(struct iommu_domain *domain, in gart_iommu_attach_dev() 129 struct iommu_domain *domain = iommu_get_domain_for_dev(dev); in gart_iommu_set_platform_dma() local 146 struct iommu_domain *domain; in gart_iommu_domain_alloc() local 161 static void gart_iommu_domain_free(struct iommu_domain *domain) in gart_iommu_domain_free() 180 static int gart_iommu_map(struct iommu_domain *domain, unsigned long iova, in gart_iommu_map() 209 static size_t gart_iommu_unmap(struct iommu_domain *domain, unsigned long iova, in gart_iommu_unmap() 225 static phys_addr_t gart_iommu_iova_to_phys(struct iommu_domain *domain, in gart_iommu_iova_to_phys() 255 static void gart_iommu_sync_map(struct iommu_domain *domain, unsigned long iova, in gart_iommu_sync_map() 261 static void gart_iommu_sync(struct iommu_domain *domain, in gart_iommu_sync()
|
H A D | ipmmu-vmsa.c | 212 static u32 ipmmu_ctx_read_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_read_root() 255 static void ipmmu_tlb_sync(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_sync() 280 static void ipmmu_utlb_enable(struct ipmmu_vmsa_domain *domain, in ipmmu_utlb_enable() 300 struct ipmmu_vmsa_domain *domain = cookie; in ipmmu_tlb_flush_all() local 321 struct ipmmu_vmsa_domain *domain) in ipmmu_domain_allocate_context() 556 struct ipmmu_vmsa_domain *domain; in ipmmu_domain_alloc() local 572 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_domain_free() local 588 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_attach_device() local 634 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_map() local 644 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_unmap() local [all …]
|
H A D | s390-iommu.c | 20 struct iommu_domain domain; member 76 static void s390_domain_free(struct iommu_domain *domain) in s390_domain_free() 104 static int s390_iommu_attach_device(struct iommu_domain *domain, in s390_iommu_attach_device() 208 static void s390_iommu_flush_iotlb_all(struct iommu_domain *domain) in s390_iommu_flush_iotlb_all() 221 static void s390_iommu_iotlb_sync(struct iommu_domain *domain, in s390_iommu_iotlb_sync() 240 static void s390_iommu_iotlb_sync_map(struct iommu_domain *domain, in s390_iommu_iotlb_sync_map() 314 static int s390_iommu_map_pages(struct iommu_domain *domain, in s390_iommu_map_pages() 347 static phys_addr_t s390_iommu_iova_to_phys(struct iommu_domain *domain, in s390_iommu_iova_to_phys() 380 static size_t s390_iommu_unmap_pages(struct iommu_domain *domain, in s390_iommu_unmap_pages()
|
H A D | dma-iommu.h | 27 static inline int iommu_dma_init_fq(struct iommu_domain *domain) in iommu_dma_init_fq() 32 static inline int iommu_get_dma_cookie(struct iommu_domain *domain) in iommu_get_dma_cookie() 37 static inline void iommu_put_dma_cookie(struct iommu_domain *domain) in iommu_put_dma_cookie()
|
/openbmc/linux/kernel/ |
H A D | async.c | 74 struct async_domain *domain; member 87 static async_cookie_t lowest_in_progress(struct async_domain *domain) in lowest_in_progress() 150 struct async_domain *domain, in __async_schedule_node_domain() 199 int node, struct async_domain *domain) in async_schedule_node_domain() 293 void async_synchronize_full_domain(struct async_domain *domain) in async_synchronize_full_domain() 308 void async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain *domain) in async_synchronize_cookie_domain()
|
/openbmc/linux/arch/x86/kernel/apic/ |
H A D | msi.c | 152 struct irq_domain *domain = dev_get_msi_domain(&dev->dev); in pci_dev_has_default_msi_parent_domain() local 175 static int x86_msi_prepare(struct irq_domain *domain, struct device *dev, in x86_msi_prepare() 206 static bool x86_init_dev_msi_info(struct device *dev, struct irq_domain *domain, in x86_init_dev_msi_info() 284 int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec, in pci_msi_prepare() 327 static int dmar_msi_init(struct irq_domain *domain, in dmar_msi_init() 371 struct irq_domain *domain = dmar_get_irq_domain(); in dmar_alloc_hwirq() local
|
/openbmc/linux/drivers/pci/msi/ |
H A D | irqdomain.c | 13 struct irq_domain *domain; in pci_msi_setup_msi_irqs() local 24 struct irq_domain *domain; in pci_msi_teardown_msi_irqs() local 205 static void pci_msix_prepare_desc(struct irq_domain *domain, msi_alloc_info_t *arg, in pci_msix_prepare_desc() 242 struct irq_domain *domain = dev_get_msi_domain(&pdev->dev); in pci_create_device_domain() local 328 struct irq_domain *domain; in pci_msi_domain_supports() local 400 struct irq_domain *domain = dev_get_msi_domain(&pdev->dev); in pci_create_ims_domain() local 451 u32 pci_msi_domain_get_msi_rid(struct irq_domain *domain, struct pci_dev *pdev) in pci_msi_domain_get_msi_rid()
|
/openbmc/linux/drivers/iommu/intel/ |
H A D | iommu.c | 1358 domain_lookup_dev_info(struct dmar_domain *domain, in domain_lookup_dev_info() 1511 struct dmar_domain *domain, u64 addr, in domain_flush_pasid_iotlb() 1528 struct dmar_domain *domain, in iommu_flush_iotlb_psi() 1590 struct dmar_domain *domain, in __mapping_notify_one() 1775 struct dmar_domain *domain; in alloc_domain() local 1874 static void domain_exit(struct dmar_domain *domain) in domain_exit() 2080 struct dmar_domain *domain; member 2344 struct dmar_domain *domain, in domain_setup_first_level() 3952 struct dmar_domain *domain = info->domain; in dmar_remove_one_dev_info() local 4042 struct iommu_domain *domain; in intel_iommu_domain_alloc() local [all …]
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_perfmon.c | 41 const struct etnaviv_pm_domain *domain, in perf_reg_read() 58 const struct etnaviv_pm_domain *domain, in pipe_perf_reg_read() 77 const struct etnaviv_pm_domain *domain, in pipe_reg_read() 96 const struct etnaviv_pm_domain *domain, in hi_total_cycle_read() 110 const struct etnaviv_pm_domain *domain, in hi_total_idle_cycle_read() 479 const struct etnaviv_pm_domain *domain = NULL; in pm_domain() local 500 struct drm_etnaviv_pm_domain *domain) in etnaviv_pm_query_dom()
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | perf.c | 83 __le32 domain; member 88 __le32 domain; member 99 __le32 domain; member 104 __le32 domain; member 227 int domain; in scmi_perf_xa_destroy() local 748 u32 domain, int message_id, in scmi_perf_level_limits_notify() 814 int idx, ret, domain; in scmi_dvfs_device_opps_add() local 849 int domain; in scmi_dvfs_transition_latency_get() local 921 u32 domain, unsigned long *freq, in scmi_dvfs_est_power_get() 954 int domain; in scmi_fast_switch_possible() local [all …]
|
/openbmc/linux/arch/x86/platform/uv/ |
H A D | uv_irq.c | 75 static int uv_domain_alloc(struct irq_domain *domain, unsigned int virq, in uv_domain_alloc() 109 static void uv_domain_free(struct irq_domain *domain, unsigned int virq, in uv_domain_free() 125 static int uv_domain_activate(struct irq_domain *domain, in uv_domain_activate() 136 static void uv_domain_deactivate(struct irq_domain *domain, in uv_domain_deactivate() 188 struct irq_domain *domain = uv_get_irq_domain(); in uv_setup_irq() local
|
/openbmc/linux/drivers/iommu/amd/ |
H A D | iommu.c | 1680 struct protection_domain *domain) in do_attach() 1786 struct protection_domain *domain) in attach_device() 1863 struct protection_domain *domain; in detach_device() local 2093 struct protection_domain *domain; in protection_domain_alloc() local 2160 struct protection_domain *domain; in amd_iommu_domain_alloc() local 2182 struct protection_domain *domain; in amd_iommu_domain_free() local 2204 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_attach_device() local 2239 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iotlb_sync_map() local 2250 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_map_pages() local 2297 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_unmap_pages() local [all …]
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | pci_stub.c | 42 int domain; member 175 static struct pcistub_device *pcistub_device_find(int domain, int bus, in pcistub_device_find() 211 int domain, int bus, in pcistub_get_pci_dev_by_slot() 487 int domain, int bus, unsigned int devfn) in pcistub_device_id_add_list() 1175 int domain, bus, slot, func; in new_slot_store() local 1194 int domain, bus, slot, func; in remove_slot_store() local 1267 int domain, bus, slot, func; in irq_handler_state_store() local 1305 int domain, bus, slot, func, reg, size, mask; in quirks_store() local 1369 int domain, bus, slot, func; in permissive_store() local 1433 int domain, bus, slot, func; in allow_interrupt_control_store() local [all …]
|