/Linux-v5.15/kernel/irq/ |
D | irqdomain.c | 145 struct irq_domain *domain; in __irq_domain_add() local 248 void irq_domain_remove(struct irq_domain *domain) in irq_domain_remove() 275 void irq_domain_update_bus_token(struct irq_domain *domain, in irq_domain_update_bus_token() 331 struct irq_domain *domain; in irq_domain_create_simple() local 387 struct irq_domain *domain; in irq_domain_create_legacy() local 473 void irq_set_default_host(struct irq_domain *domain) in irq_set_default_host() 496 static bool irq_domain_is_nomap(struct irq_domain *domain) in irq_domain_is_nomap() 502 static void irq_domain_clear_mapping(struct irq_domain *domain, in irq_domain_clear_mapping() 516 static void irq_domain_set_mapping(struct irq_domain *domain, in irq_domain_set_mapping() 531 static void irq_domain_disassociate(struct irq_domain *domain, unsigned int irq) in irq_domain_disassociate() [all …]
|
D | msi.c | 215 static void msi_check_level(struct irq_domain *domain, struct msi_msg *msg) in msi_check_level() 256 static int msi_domain_activate(struct irq_domain *domain, in msi_domain_activate() 267 static void msi_domain_deactivate(struct irq_domain *domain, in msi_domain_deactivate() 276 static int msi_domain_alloc(struct irq_domain *domain, unsigned int virq, in msi_domain_alloc() 308 static void msi_domain_free(struct irq_domain *domain, unsigned int virq, in msi_domain_free() 334 static int msi_domain_ops_prepare(struct irq_domain *domain, struct device *dev, in msi_domain_ops_prepare() 347 static int msi_domain_ops_init(struct irq_domain *domain, in msi_domain_ops_init() 362 static int msi_domain_ops_check(struct irq_domain *domain, in msi_domain_ops_check() 429 struct irq_domain *domain; in msi_create_irq_domain() local 444 int msi_domain_prepare_irqs(struct irq_domain *domain, struct device *dev, in msi_domain_prepare_irqs() [all …]
|
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
|
/Linux-v5.15/drivers/vdpa/vdpa_user/ |
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() 103 static int vduse_domain_map_bounce_page(struct vduse_iova_domain *domain, in vduse_domain_map_bounce_page() 123 static void vduse_domain_unmap_bounce_page(struct vduse_iova_domain *domain, in vduse_domain_unmap_bounce_page() 161 static void vduse_domain_bounce(struct vduse_iova_domain *domain, in vduse_domain_bounce() 190 vduse_domain_get_coherent_page(struct vduse_iova_domain *domain, u64 iova) in vduse_domain_get_coherent_page() 211 vduse_domain_get_bounce_page(struct vduse_iova_domain *domain, u64 iova) in vduse_domain_get_bounce_page() 230 vduse_domain_free_bounce_pages(struct vduse_iova_domain *domain) in vduse_domain_free_bounce_pages() [all …]
|
/Linux-v5.15/include/linux/ |
D | irqdomain.h | 409 static inline struct irq_desc *irq_resolve_mapping(struct irq_domain *domain, in irq_resolve_mapping() 420 static inline unsigned int irq_find_mapping(struct irq_domain *domain, in irq_find_mapping() 431 static inline unsigned int irq_linear_revmap(struct irq_domain *domain, in irq_linear_revmap() 498 static inline int irq_domain_alloc_irqs(struct irq_domain *domain, in irq_domain_alloc_irqs() 533 static inline bool irq_domain_is_hierarchy(struct irq_domain *domain) in irq_domain_is_hierarchy() 538 static inline bool irq_domain_is_ipi(struct irq_domain *domain) in irq_domain_is_ipi() 544 static inline bool irq_domain_is_ipi_per_cpu(struct irq_domain *domain) in irq_domain_is_ipi_per_cpu() 549 static inline bool irq_domain_is_ipi_single(struct irq_domain *domain) in irq_domain_is_ipi_single() 554 static inline bool irq_domain_is_msi(struct irq_domain *domain) in irq_domain_is_msi() 559 static inline bool irq_domain_is_msi_remap(struct irq_domain *domain) in irq_domain_is_msi_remap() [all …]
|
D | iommu.h | 99 static inline bool iommu_is_dma_domain(struct iommu_domain *domain) in iommu_is_dma_domain() 511 static inline void iommu_flush_iotlb_all(struct iommu_domain *domain) in iommu_flush_iotlb_all() 517 static inline void iommu_iotlb_sync(struct iommu_domain *domain, in iommu_iotlb_sync() 580 static inline void iommu_iotlb_gather_add_page(struct iommu_domain *domain, in iommu_iotlb_gather_add_page() 713 static inline void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free() 717 static inline int iommu_attach_device(struct iommu_domain *domain, in iommu_attach_device() 723 static inline void iommu_detach_device(struct iommu_domain *domain, in iommu_detach_device() 733 static inline int iommu_map(struct iommu_domain *domain, unsigned long iova, in iommu_map() 739 static inline int iommu_map_atomic(struct iommu_domain *domain, in iommu_map_atomic() 746 static inline size_t iommu_unmap(struct iommu_domain *domain, in iommu_unmap() [all …]
|
D | dma-iommu.h | 58 static inline int iommu_dma_init_fq(struct iommu_domain *domain) in iommu_dma_init_fq() 63 static inline int iommu_get_dma_cookie(struct iommu_domain *domain) in iommu_get_dma_cookie() 68 static inline int iommu_get_msi_cookie(struct iommu_domain *domain, dma_addr_t base) in iommu_get_msi_cookie() 73 static inline void iommu_put_dma_cookie(struct iommu_domain *domain) in iommu_put_dma_cookie()
|
/Linux-v5.15/drivers/dca/ |
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 344 struct dca_domain *domain, *newdomain = NULL; in register_dca_provider() local 401 struct dca_domain *domain; in unregister_dca_provider() local
|
/Linux-v5.15/drivers/scsi/elx/libefc/ |
D | efc_domain.c | 17 struct efc_domain *domain = NULL; in efc_domain_cb() local 106 struct efc_domain *domain = container_of(arg, struct efc_domain, ref); in _efc_domain_free() 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() [all …]
|
D | efc_cmds.c | 207 struct efc_domain *domain, u8 *wwpn) in efc_cmd_nport_alloc() 312 efc_domain_get_mbox_status(struct efc_domain *domain, u8 *mqe, int status) in efc_domain_get_mbox_status() 329 efc_domain_free_resources(struct efc_domain *domain, int evt, void *data) in efc_domain_free_resources() 348 efc_domain_send_nport_evt(struct efc_domain *domain, in efc_domain_send_nport_evt() 364 struct efc_domain *domain = arg; in efc_domain_alloc_read_sparm64_cb() local 378 efc_domain_alloc_read_sparm64(struct efc_domain *domain) in efc_domain_alloc_read_sparm64() 405 struct efc_domain *domain = arg; in efc_domain_alloc_init_vfi_cb() local 418 efc_domain_alloc_init_vfi(struct efc_domain *domain) in efc_domain_alloc_init_vfi() 450 efc_cmd_domain_alloc(struct efc *efc, struct efc_domain *domain, u32 fcf) in efc_cmd_domain_alloc() 494 struct efc_domain *domain = arg; in efc_domain_attach_reg_vfi_cb() local [all …]
|
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 …]
|
/Linux-v5.15/drivers/iommu/ |
D | iommu.c | 48 struct iommu_domain *domain; member 765 struct iommu_domain *domain = group->default_domain; in iommu_create_device_direct_mappings() local 829 static bool iommu_is_attach_deferred(struct iommu_domain *domain, in iommu_is_attach_deferred() 1253 struct iommu_domain *domain = iommu_get_domain_for_dev(dev); in iommu_page_response() local 1742 struct iommu_domain *domain = data; in iommu_group_do_dma_attach() local 1759 struct iommu_domain *domain = data; in iommu_group_do_probe_finalize() local 1928 void iommu_set_fault_handler(struct iommu_domain *domain, in iommu_set_fault_handler() 1942 struct iommu_domain *domain; in __iommu_domain_alloc() local 1970 void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free() 1977 static int __iommu_attach_device(struct iommu_domain *domain, in __iommu_attach_device() [all …]
|
D | ipmmu-vmsa.c | 208 static u32 ipmmu_ctx_read_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_read_root() 214 static void ipmmu_ctx_write_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_root() 220 static void ipmmu_ctx_write_all(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_all() 251 static void ipmmu_tlb_sync(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_sync() 266 static void ipmmu_tlb_invalidate(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_invalidate() 280 static void ipmmu_utlb_enable(struct ipmmu_vmsa_domain *domain, in ipmmu_utlb_enable() 301 static void ipmmu_utlb_disable(struct ipmmu_vmsa_domain *domain, in ipmmu_utlb_disable() 312 struct ipmmu_vmsa_domain *domain = cookie; in ipmmu_tlb_flush_all() local 333 struct ipmmu_vmsa_domain *domain) in ipmmu_domain_allocate_context() 365 static void ipmmu_domain_setup_context(struct ipmmu_vmsa_domain *domain) in ipmmu_domain_setup_context() [all …]
|
D | s390-iommu.c | 25 struct iommu_domain domain; member 78 static void s390_domain_free(struct iommu_domain *domain) in s390_domain_free() 86 static int s390_iommu_attach_device(struct iommu_domain *domain, in s390_iommu_attach_device() 146 static void s390_iommu_detach_device(struct iommu_domain *domain, in s390_iommu_detach_device() 187 struct iommu_domain *domain; in s390_iommu_release_device() local 265 static int s390_iommu_map(struct iommu_domain *domain, unsigned long iova, in s390_iommu_map() 283 static phys_addr_t s390_iommu_iova_to_phys(struct iommu_domain *domain, in s390_iommu_iova_to_phys() 314 static size_t s390_iommu_unmap(struct iommu_domain *domain, in s390_iommu_unmap()
|
D | tegra-gart.c | 106 static int gart_iommu_attach_dev(struct iommu_domain *domain, in gart_iommu_attach_dev() 127 static void gart_iommu_detach_dev(struct iommu_domain *domain, in gart_iommu_detach_dev() 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() 264 static void gart_iommu_sync_map(struct iommu_domain *domain, unsigned long iova, in gart_iommu_sync_map() 270 static void gart_iommu_sync(struct iommu_domain *domain, in gart_iommu_sync()
|
D | apple-dart.c | 156 struct iommu_domain domain; member 310 static void apple_dart_domain_flush_tlb(struct apple_dart_domain *domain) in apple_dart_domain_flush_tlb() 323 static void apple_dart_flush_iotlb_all(struct iommu_domain *domain) in apple_dart_flush_iotlb_all() 328 static void apple_dart_iotlb_sync(struct iommu_domain *domain, in apple_dart_iotlb_sync() 334 static void apple_dart_iotlb_sync_map(struct iommu_domain *domain, in apple_dart_iotlb_sync_map() 340 static phys_addr_t apple_dart_iova_to_phys(struct iommu_domain *domain, in apple_dart_iova_to_phys() 352 static int apple_dart_map_pages(struct iommu_domain *domain, unsigned long iova, in apple_dart_map_pages() 367 static size_t apple_dart_unmap_pages(struct iommu_domain *domain, in apple_dart_unmap_pages() 379 apple_dart_setup_translation(struct apple_dart_domain *domain, in apple_dart_setup_translation() 396 static int apple_dart_finalize_domain(struct iommu_domain *domain, in apple_dart_finalize_domain() [all …]
|
/Linux-v5.15/drivers/iommu/intel/ |
D | iommu.c | 282 #define for_each_domain_iommu(idx, domain) \ argument 470 struct dmar_domain *domain) in set_iommu_domain() 523 static inline int domain_type_is_si(struct dmar_domain *domain) in domain_type_is_si() 528 static inline bool domain_use_first_level(struct dmar_domain *domain) in domain_use_first_level() 533 static inline int domain_pfn_supported(struct dmar_domain *domain, in domain_pfn_supported() 575 struct intel_iommu *domain_get_iommu(struct dmar_domain *domain) in domain_get_iommu() 598 static void domain_update_iommu_coherency(struct dmar_domain *domain) in domain_update_iommu_coherency() 655 static int domain_update_iommu_superpage(struct dmar_domain *domain, in domain_update_iommu_superpage() 685 static int domain_update_device_node(struct dmar_domain *domain) in domain_update_device_node() 716 static unsigned long domain_super_pgsize_bitmap(struct dmar_domain *domain) in domain_super_pgsize_bitmap() [all …]
|
/Linux-v5.15/drivers/media/platform/qcom/venus/ |
D | hfi_parser.c | 38 u32 codecs, u32 domain, func cb, void *data, in for_each_codec() 63 parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_alloc_mode() 94 parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_profile_level() 119 parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_caps() 145 parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_raw_formats() 195 static void parse_codecs_mask(u32 *codecs, u32 *domain, void *data) in parse_codecs_mask() 203 static void parser_init(struct venus_inst *inst, u32 *codecs, u32 *domain) in parser_init() 212 static void parser_fini(struct venus_inst *inst, u32 codecs, u32 domain) in parser_fini() 268 u32 *word = buf, *data, codecs = 0, domain = 0; in hfi_parser() local
|
/Linux-v5.15/drivers/iommu/amd/ |
D | iommu.c | 1238 static void __domain_flush_pages(struct protection_domain *domain, in __domain_flush_pages() 1269 static void domain_flush_pages(struct protection_domain *domain, in domain_flush_pages() 1313 void amd_iommu_domain_flush_tlb_pde(struct protection_domain *domain) in amd_iommu_domain_flush_tlb_pde() 1318 void amd_iommu_domain_flush_complete(struct protection_domain *domain) in amd_iommu_domain_flush_complete() 1335 static void domain_flush_np_cache(struct protection_domain *domain, in domain_flush_np_cache() 1352 static void domain_flush_devices(struct protection_domain *domain) in domain_flush_devices() 1424 static void free_gcr3_table(struct protection_domain *domain) in free_gcr3_table() 1436 static void set_dte_entry(u16 devid, struct protection_domain *domain, in set_dte_entry() 1517 struct protection_domain *domain) in do_attach() 1543 struct protection_domain *domain = dev_data->domain; in do_detach() local [all …]
|
/Linux-v5.15/drivers/irqchip/ |
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
|
/Linux-v5.15/drivers/firmware/arm_scmi/ |
D | perf.c | 64 __le32 domain; member 69 __le32 domain; member 80 __le32 domain; member 85 __le32 domain; member 114 __le32 domain; member 210 u32 domain, struct perf_dom_info *dom_info) in scmi_perf_domain_attributes_get() 260 scmi_perf_describe_levels_get(const struct scmi_protocol_handle *ph, u32 domain, in scmi_perf_describe_levels_get() 357 u32 domain, u32 max_perf, u32 min_perf) in scmi_perf_mb_limits_set() 380 u32 domain, u32 max_perf, u32 min_perf) in scmi_perf_limits_set() 396 u32 domain, u32 *max_perf, u32 *min_perf) in scmi_perf_mb_limits_get() [all …]
|
/Linux-v5.15/drivers/gpu/drm/etnaviv/ |
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()
|
/Linux-v5.15/arch/x86/platform/uv/ |
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() 189 struct irq_domain *domain = uv_get_irq_domain(); in uv_setup_irq() local
|
/Linux-v5.15/kernel/ |
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() 166 int node, struct async_domain *domain) in async_schedule_node_domain() 255 void async_synchronize_full_domain(struct async_domain *domain) in async_synchronize_full_domain() 270 void async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain *domain) in async_synchronize_cookie_domain()
|
/Linux-v5.15/drivers/xen/xen-pciback/ |
D | pci_stub.c | 41 int domain; member 156 static struct pcistub_device *pcistub_device_find_locked(int domain, int bus, in pcistub_device_find_locked() 174 static struct pcistub_device *pcistub_device_find(int domain, int bus, in pcistub_device_find() 212 int domain, int bus, in pcistub_get_pci_dev_by_slot() 488 int domain, int bus, unsigned int devfn) in pcistub_device_id_add_list() 1005 static inline int str_to_slot(const char *buf, int *domain, int *bus, in str_to_slot() 1042 static inline int str_to_quirk(const char *buf, int *domain, int *bus, int in str_to_quirk() 1062 static int pcistub_device_id_add(int domain, int bus, int slot, int func) in pcistub_device_id_add() 1102 static int pcistub_device_id_remove(int domain, int bus, int slot, int func) in pcistub_device_id_remove() 1131 static int pcistub_reg_add(int domain, int bus, int slot, int func, in pcistub_reg_add() [all …]
|