| /linux/drivers/vdpa/vdpa_user/ |
| H A D | iova_domain.c | 26 static int vduse_iotlb_add_range(struct vduse_iova_domain *domain, in vduse_iotlb_add_range() 51 static void vduse_iotlb_del_range(struct vduse_iova_domain *domain, in vduse_iotlb_del_range() 65 int vduse_domain_set_map(struct vduse_iova_domain *domain, in vduse_domain_set_map() 95 void vduse_domain_clear_map(struct vduse_iova_domain *domain, in vduse_domain_clear_map() 109 static int vduse_domain_map_bounce_page(struct vduse_iova_domain *domain, in vduse_domain_map_bounce_page() 148 static void vduse_domain_unmap_bounce_page(struct vduse_iova_domain *domain, in vduse_domain_unmap_bounce_page() 190 static void vduse_domain_bounce(struct vduse_iova_domain *domain, in vduse_domain_bounce() 225 vduse_domain_get_coherent_page(struct vduse_iova_domain *domain, u64 iova) in vduse_domain_get_coherent_page() 246 vduse_domain_get_bounce_page(struct vduse_iova_domain *domain, u64 iova) in vduse_domain_get_bounce_page() 265 vduse_domain_free_kernel_bounce_pages(struct vduse_iova_domain *domain) in vduse_domain_free_kernel_bounce_pages() [all …]
|
| /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/iommu/intel/ |
| 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() 190 static void intel_svm_domain_free(struct iommu_domain *domain) in intel_svm_domain_free() 206 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() 79 static void intel_nested_domain_free(struct iommu_domain *domain) in intel_nested_domain_free() 91 static int intel_nested_cache_invalidate_user(struct iommu_domain *domain, in intel_nested_cache_invalidate_user() 135 struct dmar_domain *domain, in domain_setup_nested() 145 static int intel_nested_set_dev_pasid(struct iommu_domain *domain, in intel_nested_set_dev_pasid() 204 struct dmar_domain *domain; in intel_iommu_domain_alloc_nested() local
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_pwr.c | 131 static const char *get_domain_name(u8 domain) in get_domain_name() 148 static u32 get_domain_base(u8 domain) in get_domain_base() 165 static u32 get_domain_ready_reg(u32 domain) in get_domain_ready_reg() 170 static u32 get_domain_pwrtrans_reg(u32 domain) in get_domain_pwrtrans_reg() 175 static bool is_valid_domain(u32 domain) in is_valid_domain() 185 static u8 get_domain_subdomain(struct panthor_device *ptdev, u32 domain) in get_domain_subdomain() 193 static int panthor_pwr_domain_wait_transition(struct panthor_device *ptdev, u32 domain, in panthor_pwr_domain_wait_transition() 229 static int panthor_pwr_domain_transition(struct panthor_device *ptdev, u32 cmd, u32 domain, in panthor_pwr_domain_transition() 295 static int retract_domain(struct panthor_device *ptdev, u32 domain) in retract_domain() 351 static int delegate_domain(struct panthor_device *ptdev, u32 domain) in delegate_domain() [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() 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 | s390-iommu.c | 28 struct iommu_domain domain; member 275 static void dma_cleanup_tables(struct s390_domain *domain) in dma_cleanup_tables() 436 static unsigned long *dma_walk_region_tables(struct s390_domain *domain, in dma_walk_region_tables() 451 static unsigned long *dma_walk_cpu_trans(struct s390_domain *domain, in dma_walk_cpu_trans() 514 static inline u64 max_tbl_size(struct s390_domain *domain) in max_tbl_size() 579 static void s390_domain_free(struct iommu_domain *domain) in s390_domain_free() 591 struct iommu_domain *domain) in zdev_s390_domain_update() 600 static u64 get_iota_region_flag(struct s390_domain *domain) in get_iota_region_flag() 633 struct iommu_domain *domain, u8 *status) in s390_iommu_domain_reg_ioat() 672 static int blocking_domain_attach_device(struct iommu_domain *domain, in blocking_domain_attach_device() [all …]
|
| H A D | dma-iommu.c | 333 int iommu_dma_init_fq(struct iommu_domain *domain) in iommu_dma_init_fq() 369 int iommu_get_dma_cookie(struct iommu_domain *domain) in iommu_get_dma_cookie() 398 int iommu_get_msi_cookie(struct iommu_domain *domain, dma_addr_t base) in iommu_get_msi_cookie() 424 void iommu_put_dma_cookie(struct iommu_domain *domain) in iommu_put_dma_cookie() 442 void iommu_put_msi_cookie(struct iommu_domain *domain) in iommu_put_msi_cookie() 554 struct iommu_domain *domain) in iova_reserve_iommu_regions() 653 struct iommu_domain *domain) in iommu_domain_supports_fq() 670 static int iommu_dma_init_domain(struct iommu_domain *domain, struct device *dev) in iommu_dma_init_domain() 760 static dma_addr_t iommu_dma_alloc_iova(struct iommu_domain *domain, in iommu_dma_alloc_iova() 806 static void iommu_dma_free_iova(struct iommu_domain *domain, dma_addr_t iova, in iommu_dma_free_iova() [all …]
|
| H A D | sprd-iommu.c | 78 struct iommu_domain domain; member 129 sprd_iommu_pgt_size(struct iommu_domain *domain) in sprd_iommu_pgt_size() 241 static void sprd_iommu_domain_free(struct iommu_domain *domain) in sprd_iommu_domain_free() 249 static int sprd_iommu_attach_device(struct iommu_domain *domain, in sprd_iommu_attach_device() 287 static int sprd_iommu_map(struct iommu_domain *domain, unsigned long iova, in sprd_iommu_map() 324 static size_t sprd_iommu_unmap(struct iommu_domain *domain, unsigned long iova, in sprd_iommu_unmap() 347 static int sprd_iommu_sync_map(struct iommu_domain *domain, in sprd_iommu_sync_map() 363 static void sprd_iommu_sync(struct iommu_domain *domain, in sprd_iommu_sync() 369 static phys_addr_t sprd_iommu_iova_to_phys(struct iommu_domain *domain, in sprd_iommu_iova_to_phys()
|
| /linux/drivers/irqchip/ |
| 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/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/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() 658 int netlbl_domhsh_remove_af4(const char *domain, in netlbl_domhsh_remove_af4() 727 int netlbl_domhsh_remove_af6(const char *domain, in netlbl_domhsh_remove_af6() 792 int netlbl_domhsh_remove(const char *domain, u16 family, in netlbl_domhsh_remove() 855 struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain, u16 family) in netlbl_domhsh_getentry() 873 struct netlbl_dommap_def *netlbl_domhsh_getentry_af4(const char *domain, in netlbl_domhsh_getentry_af4() 903 struct netlbl_dommap_def *netlbl_domhsh_getentry_af6(const char *domain, in netlbl_domhsh_getentry_af6()
|
| /linux/drivers/soc/dove/ |
| H A D | pmu.c | 143 static int pmu_domain_power_off(struct generic_pm_domain *domain) in pmu_domain_power_off() 177 static int pmu_domain_power_on(struct generic_pm_domain *domain) in pmu_domain_power_on() 211 static void __pmu_domain_register(struct pmu_domain *domain, in __pmu_domain_register() 230 struct irq_domain *domain = pmu->irq_domain; in pmu_irq_handler() local 269 struct irq_domain *domain; in dove_init_pmu_irq() local 325 struct pmu_domain *domain; in dove_init_pmu_legacy() local 409 struct pmu_domain *domain; in dove_init_pmu() local
|
| /linux/kernel/irq/ |
| H A D | irq_sim.c | 18 struct irq_domain *domain; member 145 static int irq_sim_domain_map(struct irq_domain *domain, in irq_sim_domain_map() 164 static void irq_sim_domain_unmap(struct irq_domain *domain, unsigned int virq) in irq_sim_domain_unmap() 238 void irq_domain_remove_sim(struct irq_domain *domain) in irq_domain_remove_sim() 252 struct irq_domain *domain = data; in devm_irq_domain_remove_sim() local 284 struct irq_domain *domain; in devm_irq_domain_create_sim_full() local
|
| /linux/arch/mips/sgi-ip27/ |
| H A D | ip27-irq.c | 120 static int hub_domain_alloc(struct irq_domain *domain, unsigned int virq, in hub_domain_alloc() 159 static void hub_domain_free(struct irq_domain *domain, in hub_domain_free() 193 struct irq_domain *domain; in ip27_do_irq_mask0() local 233 struct irq_domain *domain; in ip27_do_irq_mask1() local 278 struct irq_domain *domain; in arch_init_irq() local
|
| /linux/drivers/pmdomain/imx/ |
| H A D | imx93-pd.c | 36 struct imx93_power_domain *domain = to_imx93_pd(genpd); in imx93_pd_on() local 63 struct imx93_power_domain *domain = to_imx93_pd(genpd); in imx93_pd_off() local 87 struct imx93_power_domain *domain = platform_get_drvdata(pdev); in imx93_pd_remove() local 99 struct imx93_power_domain *domain; in imx93_pd_probe() local
|
| /linux/drivers/xen/xen-pciback/ |
| H A D | xenbus.c | 204 unsigned int domain, unsigned int bus, in xen_pcibk_publish_pci_dev() 227 int domain, int bus, int slot, int func, in xen_pcibk_export_device() 274 int domain, int bus, int slot, int func) in xen_pcibk_remove_device() 303 unsigned int domain, unsigned int bus) in xen_pcibk_publish_pci_root() 367 int domain, bus, slot, func; in xen_pcibk_reconfigure() local 565 int domain, bus, slot, func; in xen_pcibk_setup_backend() local
|
| /linux/drivers/pmdomain/xilinx/ |
| H A D | zynqmp-pm-domains.c | 73 static int zynqmp_gpd_power_on(struct generic_pm_domain *domain) in zynqmp_gpd_power_on() 104 static int zynqmp_gpd_power_off(struct generic_pm_domain *domain) in zynqmp_gpd_power_off() 152 static int zynqmp_gpd_attach_dev(struct generic_pm_domain *domain, in zynqmp_gpd_attach_dev() 183 static void zynqmp_gpd_detach_dev(struct generic_pm_domain *domain, in zynqmp_gpd_detach_dev()
|