/linux/kernel/irq/ |
H A D | irqdomain.c | 131 static int alloc_name(struct irq_domain *domain, char *base, enum irq_domain_bus_token bus_token) in alloc_name() 144 static int alloc_fwnode_name(struct irq_domain *domain, const struct fwnode_handle *fwnode, in alloc_fwnode_name() 168 static int alloc_unknown_name(struct irq_domain *domain, enum irq_domain_bus_token bus_token) in alloc_unknown_name() 184 static int irq_domain_set_name(struct irq_domain *domain, const struct irq_domain_info *info) in irq_domain_set_name() 227 struct irq_domain *domain; in __irq_domain_create() local 277 static void __irq_domain_publish(struct irq_domain *domain) in __irq_domain_publish() 287 static void irq_domain_free(struct irq_domain *domain) in irq_domain_free() 311 struct irq_domain *domain; in __irq_domain_instantiate() local 386 void irq_domain_remove(struct irq_domain *domain) in irq_domain_remove() 414 void irq_domain_update_bus_token(struct irq_domain *domain, in irq_domain_update_bus_token() [all …]
|
H A D | msi.c | 603 struct irq_domain *domain; in msi_get_device_domain() local 623 struct irq_domain *domain; in msi_domain_get_hwsize() local 640 static void msi_check_level(struct irq_domain *domain, struct msi_msg *msg) in msi_check_level() 681 static int msi_domain_activate(struct irq_domain *domain, in msi_domain_activate() 692 static void msi_domain_deactivate(struct irq_domain *domain, in msi_domain_deactivate() 701 static int msi_domain_alloc(struct irq_domain *domain, unsigned int virq, in msi_domain_alloc() 733 static void msi_domain_free(struct irq_domain *domain, unsigned int virq, in msi_domain_free() 746 static int msi_domain_translate(struct irq_domain *domain, struct irq_fwspec *fwspec, in msi_domain_translate() 792 static int msi_domain_ops_prepare(struct irq_domain *domain, struct device *dev, in msi_domain_ops_prepare() 799 static void msi_domain_ops_teardown(struct irq_domain *domain, msi_alloc_info_t *arg) in msi_domain_ops_teardown() [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() 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() 160 static void vduse_domain_bounce(struct vduse_iova_domain *domain, in vduse_domain_bounce() 194 vduse_domain_get_coherent_page(struct vduse_iova_domain *domain, u64 iova) in vduse_domain_get_coherent_page() 215 vduse_domain_get_bounce_page(struct vduse_iova_domain *domain, u64 iova) in vduse_domain_get_bounce_page() 234 vduse_domain_free_kernel_bounce_pages(struct vduse_iova_domain *domain) in vduse_domain_free_kernel_bounce_pages() [all …]
|
/linux/include/linux/ |
H A D | irqdomain.h | 455 static inline unsigned int irq_create_mapping(struct irq_domain *domain, irq_hw_number_t hwirq) in irq_create_mapping() 471 static inline struct irq_desc *irq_resolve_mapping(struct irq_domain *domain, in irq_resolve_mapping() 484 static inline unsigned int irq_find_mapping(struct irq_domain *domain, in irq_find_mapping() 581 static inline int irq_domain_alloc_irqs(struct irq_domain *domain, unsigned int nr_irqs, in irq_domain_alloc_irqs() 605 static inline bool irq_domain_is_hierarchy(struct irq_domain *domain) in irq_domain_is_hierarchy() 610 static inline bool irq_domain_is_ipi(struct irq_domain *domain) in irq_domain_is_ipi() 615 static inline bool irq_domain_is_ipi_per_cpu(struct irq_domain *domain) in irq_domain_is_ipi_per_cpu() 620 static inline bool irq_domain_is_ipi_single(struct irq_domain *domain) in irq_domain_is_ipi_single() 625 static inline bool irq_domain_is_msi(struct irq_domain *domain) in irq_domain_is_msi() 630 static inline bool irq_domain_is_msi_parent(struct irq_domain *domain) in irq_domain_is_msi_parent() [all …]
|
/linux/drivers/iommu/intel/ |
H A D | cache.c | 43 int cache_tag_assign(struct dmar_domain *domain, u16 did, struct device *dev, in cache_tag_assign() 93 static void cache_tag_unassign(struct dmar_domain *domain, u16 did, in cache_tag_unassign() 117 static int domain_qi_batch_alloc(struct dmar_domain *domain) in domain_qi_batch_alloc() 135 static int __cache_tag_assign_domain(struct dmar_domain *domain, u16 did, in __cache_tag_assign_domain() 156 static void __cache_tag_unassign_domain(struct dmar_domain *domain, u16 did, in __cache_tag_unassign_domain() 167 static int __cache_tag_assign_parent_domain(struct dmar_domain *domain, u16 did, in __cache_tag_assign_parent_domain() 188 static void __cache_tag_unassign_parent_domain(struct dmar_domain *domain, u16 did, in __cache_tag_unassign_parent_domain() 199 static u16 domain_get_id_for_dev(struct dmar_domain *domain, struct device *dev) in domain_get_id_for_dev() 222 int cache_tag_assign_domain(struct dmar_domain *domain, in cache_tag_assign_domain() 246 void cache_tag_unassign_domain(struct dmar_domain *domain, in cache_tag_unassign_domain() [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 72 struct dmar_domain *domain = container_of(mn, struct dmar_domain, notifier); in intel_mm_release() local 101 struct dmar_domain *domain = container_of(mn, struct dmar_domain, notifier); in intel_mm_free_notifier() local 148 static int intel_svm_set_dev_pasid(struct iommu_domain *domain, in intel_svm_set_dev_pasid() 189 static void intel_svm_domain_free(struct iommu_domain *domain) in intel_svm_domain_free() 205 struct dmar_domain *domain; in intel_svm_domain_alloc() local
|
H A D | nested.c | 21 static int intel_nested_attach_dev(struct iommu_domain *domain, in intel_nested_attach_dev() 84 static void intel_nested_domain_free(struct iommu_domain *domain) in intel_nested_domain_free() 96 static int intel_nested_cache_invalidate_user(struct iommu_domain *domain, in intel_nested_cache_invalidate_user() 140 struct dmar_domain *domain, in domain_setup_nested() 151 static int intel_nested_set_dev_pasid(struct iommu_domain *domain, in intel_nested_set_dev_pasid() 210 struct dmar_domain *domain; in intel_iommu_domain_alloc_nested() local
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_force_wake.c | 34 struct xe_force_wake_domain *domain = &fw->domains[id]; in init_domain() local 96 static void __domain_ctl(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_ctl() 104 static int __domain_wait(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_wait() 129 static void domain_wake(struct xe_gt *gt, struct xe_force_wake_domain *domain) in domain_wake() 135 struct xe_force_wake_domain *domain) in domain_wake_wait() 140 static void domain_sleep(struct xe_gt *gt, struct xe_force_wake_domain *domain) in domain_sleep() 146 struct xe_force_wake_domain *domain) in domain_sleep_wait() 176 struct xe_force_wake_domain *domain; in xe_force_wake_get() local 227 struct xe_force_wake_domain *domain; in xe_force_wake_put() local
|
/linux/drivers/dca/ |
H A D | dca-core.c | 45 struct dca_domain *domain; in dca_allocate_domain() local 57 static void dca_free_domain(struct dca_domain *domain) in dca_free_domain() 82 struct dca_domain *domain; in unregister_dca_providers() local 115 struct dca_domain *domain; in dca_find_domain() local 127 struct dca_domain *domain; in dca_get_domain() local 144 struct dca_domain *domain; in dca_find_provider_by_dev() local 177 struct dca_domain *domain; in dca_add_requester() local 343 struct dca_domain *domain, *newdomain = NULL; in register_dca_provider() local 400 struct dca_domain *domain; in unregister_dca_provider() local
|
/linux/drivers/scsi/elx/libefc/ |
H A D | efc_cmds.c | 207 struct efc_domain *domain, u8 *wwpn) in efc_cmd_nport_alloc() 317 efc_domain_get_mbox_status(struct efc_domain *domain, u8 *mqe, int 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() 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() 455 efc_cmd_domain_alloc(struct efc *efc, struct efc_domain *domain, u32 fcf) in efc_cmd_domain_alloc() 499 struct efc_domain *domain = arg; in efc_domain_attach_reg_vfi_cb() local [all …]
|
H A 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 …]
|
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 …]
|
/linux/drivers/irqchip/ |
H A D | irq-gic-its-msi-parent.c | 60 static int its_pci_msi_prepare(struct irq_domain *domain, struct device *dev, in its_pci_msi_prepare() 104 static int its_v5_pci_msi_prepare(struct irq_domain *domain, struct device *dev, in its_v5_pci_msi_prepare() 145 static int of_pmsi_get_dev_id(struct irq_domain *domain, struct device *dev, in of_pmsi_get_dev_id() 177 static int of_v5_pmsi_get_msi_info(struct irq_domain *domain, struct device *dev, in of_v5_pmsi_get_msi_info() 229 static int its_pmsi_prepare(struct irq_domain *domain, struct device *dev, in its_pmsi_prepare() 254 static int its_v5_pmsi_prepare(struct irq_domain *domain, struct device *dev, in its_v5_pmsi_prepare() 281 static void its_msi_teardown(struct irq_domain *domain, msi_alloc_info_t *info) in its_msi_teardown() 289 static bool its_init_dev_msi_info(struct device *dev, struct irq_domain *domain, in its_init_dev_msi_info() 332 static bool its_v5_init_dev_msi_info(struct device *dev, struct irq_domain *domain, in its_v5_init_dev_msi_info()
|
H A D | irq-atmel-aic5.c | 87 struct irq_domain *domain = d->domain; in aic5_mask() local 103 struct irq_domain *domain = d->domain; in aic5_unmask() local 119 struct irq_domain *domain = d->domain; in aic5_retrigger() local 131 struct irq_domain *domain = d->domain; in aic5_set_type() local 150 struct irq_domain *domain = d->domain; in aic5_suspend() local 179 struct irq_domain *domain = d->domain; in aic5_resume() local 214 struct irq_domain *domain = d->domain; in aic5_pm_shutdown() local 233 static void __init aic5_hw_init(struct irq_domain *domain) in aic5_hw_init() 319 struct irq_domain *domain; in aic5_of_init() local
|
/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() 217 static void ipmmu_ctx_write_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_root() 223 static void ipmmu_ctx_write_all(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_all() 254 static void ipmmu_tlb_sync(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_sync() 265 static void ipmmu_tlb_invalidate(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_invalidate() 279 static void ipmmu_utlb_enable(struct ipmmu_vmsa_domain *domain, in ipmmu_utlb_enable() 300 static void ipmmu_utlb_disable(struct ipmmu_vmsa_domain *domain, in ipmmu_utlb_disable() 311 struct ipmmu_vmsa_domain *domain = cookie; in ipmmu_tlb_flush_all() local 332 struct ipmmu_vmsa_domain *domain) in ipmmu_domain_allocate_context() 364 static void ipmmu_domain_setup_context(struct ipmmu_vmsa_domain *domain) in ipmmu_domain_setup_context() [all …]
|
H A D | iommu.c | 64 struct iommu_domain *domain; member 1131 static int iommu_create_device_direct_mappings(struct iommu_domain *domain, in iommu_create_device_direct_mappings() 1631 struct iommu_domain *domain; in __iommu_alloc_identity_domain() local 1985 void iommu_set_fault_handler(struct iommu_domain *domain, in iommu_set_fault_handler() 1998 static void iommu_domain_init(struct iommu_domain *domain, unsigned int type, in iommu_domain_init() 2012 struct iommu_domain *domain; in __iommu_paging_domain_alloc_flags() local 2055 void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free() 2091 static int __iommu_attach_device(struct iommu_domain *domain, in __iommu_attach_device() 2119 int iommu_attach_device(struct iommu_domain *domain, struct device *dev) in iommu_attach_device() 2145 int iommu_deferred_attach(struct device *dev, struct iommu_domain *domain) in iommu_deferred_attach() [all …]
|
H A D | dma-iommu.c | 332 int iommu_dma_init_fq(struct iommu_domain *domain) in iommu_dma_init_fq() 368 int iommu_get_dma_cookie(struct iommu_domain *domain) in iommu_get_dma_cookie() 397 int iommu_get_msi_cookie(struct iommu_domain *domain, dma_addr_t base) in iommu_get_msi_cookie() 423 void iommu_put_dma_cookie(struct iommu_domain *domain) in iommu_put_dma_cookie() 441 void iommu_put_msi_cookie(struct iommu_domain *domain) in iommu_put_msi_cookie() 553 struct iommu_domain *domain) in iova_reserve_iommu_regions() 660 static int iommu_dma_init_domain(struct iommu_domain *domain, struct device *dev) in iommu_dma_init_domain() 744 static dma_addr_t iommu_dma_alloc_iova(struct iommu_domain *domain, in iommu_dma_alloc_iova() 790 static void iommu_dma_free_iova(struct iommu_domain *domain, dma_addr_t iova, in iommu_dma_free_iova() 810 struct iommu_domain *domain = iommu_get_dma_domain(dev); in __iommu_dma_unmap() local [all …]
|
/linux/drivers/xen/xen-pciback/ |
H A D | pci_stub.c | 45 int domain; member 176 static struct pcistub_device *pcistub_device_find_locked(int domain, int bus, in pcistub_device_find_locked() 194 static struct pcistub_device *pcistub_device_find(int domain, int bus, in pcistub_device_find() 233 int domain = (sbdf >> 16) & 0xffff; in pcistub_get_gsi_from_sbdf() local 248 int domain, int bus, in pcistub_get_pci_dev_by_slot() 530 int domain, int bus, unsigned int devfn) in pcistub_device_id_add_list() 1047 static inline int str_to_slot(const char *buf, int *domain, int *bus, in str_to_slot() 1084 static inline int str_to_quirk(const char *buf, int *domain, int *bus, int in str_to_quirk() 1104 static int pcistub_device_id_add(int domain, int bus, int slot, int func) in pcistub_device_id_add() 1144 static int pcistub_device_id_remove(int domain, int bus, int slot, int func) in pcistub_device_id_remove() [all …]
|
/linux/drivers/pmdomain/bcm/ |
H A D | raspberrypi-power.c | 24 u32 domain; member 43 u32 domain; member 51 static int rpi_firmware_set_power(struct generic_pm_domain *domain, bool on) in rpi_firmware_set_power() 76 static int rpi_domain_off(struct generic_pm_domain *domain) in rpi_domain_off() 81 static int rpi_domain_on(struct generic_pm_domain *domain) in rpi_domain_on() 126 int xlate_index, int domain, in rpi_init_old_power_domain()
|
/linux/drivers/firmware/arm_scmi/ |
H A D | perf.c | 86 __le32 domain; member 91 __le32 domain; member 102 __le32 domain; member 107 __le32 domain; member 242 int domain; in scmi_perf_xa_destroy() local 513 scmi_perf_domain_lookup(const struct scmi_protocol_handle *ph, u32 domain) in scmi_perf_domain_lookup() 524 scmi_perf_info_get(const struct scmi_protocol_handle *ph, u32 domain) in scmi_perf_info_get() 536 u32 domain, u32 max_perf, u32 min_perf) in scmi_perf_msg_limits_set() 577 u32 domain, u32 max_perf, u32 min_perf) in scmi_perf_limits_set() 616 u32 domain, u32 *max_perf, u32 *min_perf) in scmi_perf_msg_limits_get() [all …]
|
/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() 205 static bool x86_init_dev_msi_info(struct device *dev, struct irq_domain *domain, in x86_init_dev_msi_info() 280 int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec, in pci_msi_prepare() 323 static int dmar_msi_init(struct irq_domain *domain, in dmar_msi_init() 367 struct irq_domain *domain = dmar_get_irq_domain(); in dmar_alloc_hwirq() local
|
/linux/kernel/ |
H A D | async.c | 76 struct async_domain *domain; member 89 static async_cookie_t lowest_in_progress(struct async_domain *domain) in lowest_in_progress() 152 struct async_domain *domain, in __async_schedule_node_domain() 201 int node, struct async_domain *domain) in async_schedule_node_domain() 295 void async_synchronize_full_domain(struct async_domain *domain) in async_synchronize_full_domain() 310 void async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain *domain) in async_synchronize_cookie_domain()
|
/linux/tools/testing/selftests/net/ |
H A D | msg_zerocopy.c | 186 static bool do_sendmsg(int fd, struct msghdr *msg, bool do_zerocopy, int domain) in do_sendmsg() 298 static void setup_sockaddr(int domain, const char *str_addr, in setup_sockaddr() 326 static int do_setup_tx(int domain, int type, int protocol) in do_setup_tx() 396 static bool do_recv_completion(int fd, int domain) in do_recv_completion() 466 static void do_recv_completions(int fd, int domain) in do_recv_completions() 473 static void do_recv_remaining_completions(int fd, int domain) in do_recv_remaining_completions() 488 static void do_tx(int domain, int type, int protocol) in do_tx() 580 static int do_setup_rx(int domain, int type, int protocol) in do_setup_rx() 661 static void do_rx(int domain, int type, int protocol) in do_rx() 686 static void do_test(int domain, int type, int protocol) in do_test()
|
/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() 107 static void uv_domain_free(struct irq_domain *domain, unsigned int virq, in uv_domain_free() 122 static int uv_domain_activate(struct irq_domain *domain, in uv_domain_activate() 133 static void uv_domain_deactivate(struct irq_domain *domain, in uv_domain_deactivate() 185 struct irq_domain *domain = uv_get_irq_domain(); in uv_setup_irq() local
|
/linux/net/netlabel/ |
H A D | netlabel_domainhash.c | 137 static struct netlbl_dom_map *netlbl_domhsh_search(const char *domain, in netlbl_domhsh_search() 172 static struct netlbl_dom_map *netlbl_domhsh_search_def(const char *domain, in netlbl_domhsh_search_def() 660 int netlbl_domhsh_remove_af4(const char *domain, in netlbl_domhsh_remove_af4() 729 int netlbl_domhsh_remove_af6(const char *domain, in netlbl_domhsh_remove_af6() 794 int netlbl_domhsh_remove(const char *domain, u16 family, in netlbl_domhsh_remove() 857 struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain, u16 family) in netlbl_domhsh_getentry() 875 struct netlbl_dommap_def *netlbl_domhsh_getentry_af4(const char *domain, in netlbl_domhsh_getentry_af4() 905 struct netlbl_dommap_def *netlbl_domhsh_getentry_af6(const char *domain, in netlbl_domhsh_getentry_af6()
|