/drivers/iommu/ |
D | iommu.c | 47 struct iommu_domain *domain; member 748 struct iommu_domain *domain = group->default_domain; in iommu_create_device_direct_mappings() local 800 static bool iommu_is_attach_deferred(struct iommu_domain *domain, in iommu_is_attach_deferred() 1224 struct iommu_domain *domain = iommu_get_domain_for_dev(dev); in iommu_page_response() local 1723 struct iommu_domain *domain = data; in iommu_group_do_dma_attach() local 1740 struct iommu_domain *domain = data; in iommu_group_do_probe_finalize() local 1909 void iommu_set_fault_handler(struct iommu_domain *domain, in iommu_set_fault_handler() 1923 struct iommu_domain *domain; in __iommu_domain_alloc() local 1946 void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free() 1952 static int __iommu_attach_device(struct iommu_domain *domain, in __iommu_attach_device() [all …]
|
D | ipmmu-vmsa.c | 210 static u32 ipmmu_ctx_read_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_read_root() 216 static void ipmmu_ctx_write_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_root() 222 static void ipmmu_ctx_write_all(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_all() 253 static void ipmmu_tlb_sync(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_sync() 268 static void ipmmu_tlb_invalidate(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_invalidate() 282 static void ipmmu_utlb_enable(struct ipmmu_vmsa_domain *domain, in ipmmu_utlb_enable() 303 static void ipmmu_utlb_disable(struct ipmmu_vmsa_domain *domain, in ipmmu_utlb_disable() 314 struct ipmmu_vmsa_domain *domain = cookie; in ipmmu_tlb_flush_all() local 335 struct ipmmu_vmsa_domain *domain) in ipmmu_domain_allocate_context() 367 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() 138 static void s390_iommu_detach_device(struct iommu_domain *domain, in s390_iommu_detach_device() 179 struct iommu_domain *domain; in s390_iommu_release_device() local 257 static int s390_iommu_map(struct iommu_domain *domain, unsigned long iova, in s390_iommu_map() 275 static phys_addr_t s390_iommu_iova_to_phys(struct iommu_domain *domain, in s390_iommu_iova_to_phys() 306 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 | dma-iommu.c | 85 int iommu_get_dma_cookie(struct iommu_domain *domain) in iommu_get_dma_cookie() 110 int iommu_get_msi_cookie(struct iommu_domain *domain, dma_addr_t base) in iommu_get_msi_cookie() 137 void iommu_put_dma_cookie(struct iommu_domain *domain) in iommu_put_dma_cookie() 247 struct iommu_domain *domain) in iova_reserve_iommu_regions() 287 struct iommu_domain *domain; in iommu_dma_flush_iotlb_all() local 310 static int iommu_dma_init_domain(struct iommu_domain *domain, dma_addr_t base, in iommu_dma_init_domain() 380 struct iommu_domain *domain) in iommu_dma_deferred_attach() 400 struct iommu_domain *domain; in iommu_dma_reserve_iova() local 427 struct iommu_domain *domain; in iommu_dma_enable_best_fit_algo() local 473 static dma_addr_t iommu_dma_alloc_iova(struct iommu_domain *domain, in iommu_dma_alloc_iova() [all …]
|
D | fsl_pamu_domain.c | 297 struct fsl_dma_domain *domain; in iommu_alloc_dma_domain() local 379 static phys_addr_t fsl_pamu_iova_to_phys(struct iommu_domain *domain, in fsl_pamu_iova_to_phys() 396 static void fsl_pamu_domain_free(struct iommu_domain *domain) in fsl_pamu_domain_free() 494 static void fsl_pamu_window_disable(struct iommu_domain *domain, u32 wnd_nr) in fsl_pamu_window_disable() 524 static int fsl_pamu_window_enable(struct iommu_domain *domain, u32 wnd_nr, in fsl_pamu_window_enable() 604 struct iommu_domain *domain = &dma_domain->iommu_domain; in handle_attach_device() local 647 static int fsl_pamu_attach_device(struct iommu_domain *domain, in fsl_pamu_attach_device() 684 static void fsl_pamu_detach_device(struct iommu_domain *domain, in fsl_pamu_detach_device() 715 static int configure_domain_geometry(struct iommu_domain *domain, void *data) in configure_domain_geometry() 805 static int fsl_pamu_set_windows(struct iommu_domain *domain, u32 w_count) in fsl_pamu_set_windows() [all …]
|
/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
|
/drivers/iommu/intel/ |
D | iommu.c | 299 #define for_each_domain_iommu(idx, domain) \ argument 492 struct dmar_domain *domain) in set_iommu_domain() 545 static inline int domain_type_is_si(struct dmar_domain *domain) in domain_type_is_si() 550 static inline bool domain_use_first_level(struct dmar_domain *domain) in domain_use_first_level() 555 static inline int domain_pfn_supported(struct dmar_domain *domain, in domain_pfn_supported() 619 struct intel_iommu *domain_get_iommu(struct dmar_domain *domain) in domain_get_iommu() 642 static void domain_update_iommu_coherency(struct dmar_domain *domain) in domain_update_iommu_coherency() 699 static int domain_update_iommu_superpage(struct dmar_domain *domain, in domain_update_iommu_superpage() 730 static int domain_update_device_node(struct dmar_domain *domain) in domain_update_device_node() 759 static void domain_update_iommu_cap(struct dmar_domain *domain) in domain_update_iommu_cap() [all …]
|
/drivers/media/platform/qcom/venus/ |
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() 250 u32 *word = buf, *data, codecs = 0, domain = 0; in hfi_parser() local
|
/drivers/iommu/amd/ |
D | iommu.c | 155 static void amd_iommu_domain_get_pgtable(struct protection_domain *domain, in amd_iommu_domain_get_pgtable() 164 static void amd_iommu_domain_set_pt_root(struct protection_domain *domain, u64 root) in amd_iommu_domain_set_pt_root() 169 static void amd_iommu_domain_clr_pt_root(struct protection_domain *domain) in amd_iommu_domain_clr_pt_root() 174 static void amd_iommu_domain_set_pgtable(struct protection_domain *domain, in amd_iommu_domain_set_pgtable() 1308 static void __domain_flush_pages(struct protection_domain *domain, in __domain_flush_pages() 1339 static void domain_flush_pages(struct protection_domain *domain, in domain_flush_pages() 1346 static void domain_flush_tlb_pde(struct protection_domain *domain) in domain_flush_tlb_pde() 1351 static void domain_flush_complete(struct protection_domain *domain) in domain_flush_complete() 1368 static void domain_flush_np_cache(struct protection_domain *domain, in domain_flush_np_cache() 1385 static void domain_flush_devices(struct protection_domain *domain) in domain_flush_devices() [all …]
|
/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 …]
|
D | power.c | 42 __le32 domain; member 47 __le32 domain; member 100 u32 domain, struct power_dom_info *dom_info) in scmi_power_domain_attributes_get() 129 u32 domain, u32 state) in scmi_power_state_set() 151 u32 domain, u32 *state) in scmi_power_state_get() 178 u32 domain) in scmi_power_name_get() 194 u32 domain, bool enable) in scmi_power_request_notify() 283 int domain; in scmi_power_protocol_init() local
|
D | reset.c | 92 u32 domain, struct reset_dom_info *dom_info) in scmi_reset_domain_attributes_get() 130 u32 domain) in scmi_reset_name_get() 140 u32 domain) in scmi_reset_latency_get() 148 static int scmi_domain_reset(const struct scmi_protocol_handle *ph, u32 domain, in scmi_domain_reset() 179 u32 domain) in scmi_reset_domain_reset() 186 scmi_reset_domain_assert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_assert() 193 scmi_reset_domain_deassert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_deassert() 296 int domain; in scmi_reset_protocol_init() local
|
D | scmi_pm_domain.c | 20 u32 domain; member 25 static int scmi_pd_power(struct generic_pm_domain *domain, bool power_on) in scmi_pd_power() 45 static int scmi_pd_power_on(struct generic_pm_domain *domain) in scmi_pd_power_on() 50 static int scmi_pd_power_off(struct generic_pm_domain *domain) in scmi_pd_power_off()
|
/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
|
D | irq-ti-sci-intr.c | 57 static int ti_sci_intr_irq_domain_translate(struct irq_domain *domain, in ti_sci_intr_irq_domain_translate() 108 static void ti_sci_intr_irq_domain_free(struct irq_domain *domain, in ti_sci_intr_irq_domain_free() 134 static int ti_sci_intr_alloc_parent_irq(struct irq_domain *domain, in ti_sci_intr_alloc_parent_irq() 194 static int ti_sci_intr_irq_domain_alloc(struct irq_domain *domain, in ti_sci_intr_irq_domain_alloc() 226 struct irq_domain *parent_domain, *domain; in ti_sci_intr_irq_domain_probe() local
|
/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 …]
|
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
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_perfmon.c | 41 const struct etnaviv_pm_domain *domain, in perf_reg_read() 50 const struct etnaviv_pm_domain *domain, in pipe_reg_read() 74 const struct etnaviv_pm_domain *domain, in hi_total_cycle_read() 88 const struct etnaviv_pm_domain *domain, in hi_total_idle_cycle_read() 447 const struct etnaviv_pm_domain *domain = NULL; in pm_domain() local 468 struct drm_etnaviv_pm_domain *domain) in etnaviv_pm_query_dom()
|
/drivers/soc/dove/ |
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 270 struct irq_domain *domain; in dove_init_pmu_irq() local 326 struct pmu_domain *domain; in dove_init_pmu_legacy() local 410 struct pmu_domain *domain; in dove_init_pmu() local
|
/drivers/soc/bcm/ |
D | raspberrypi-power.c | 24 u32 domain; member 43 u32 domain; member 64 static int rpi_domain_off(struct generic_pm_domain *domain) in rpi_domain_off() 72 static int rpi_domain_on(struct generic_pm_domain *domain) in rpi_domain_on() 119 int xlate_index, int domain, in rpi_init_old_power_domain()
|
/drivers/soc/imx/ |
D | gpc.c | 130 static int imx_pgc_get_clocks(struct device *dev, struct imx_pm_domain *domain) in imx_pgc_get_clocks() 156 static void imx_pgc_put_clocks(struct imx_pm_domain *domain) in imx_pgc_put_clocks() 164 static int imx_pgc_parse_dt(struct device *dev, struct imx_pm_domain *domain) in imx_pgc_parse_dt() 181 struct imx_pm_domain *domain = pdev->dev.platform_data; in imx_pgc_power_domain_probe() local 216 struct imx_pm_domain *domain = pdev->dev.platform_data; in imx_pgc_power_domain_remove() local 363 struct imx_pm_domain *domain; in imx_gpc_old_dt_init() local 459 struct imx_pm_domain *domain; in imx_gpc_probe() local
|
/drivers/base/ |
D | platform-msi.c | 54 static int platform_msi_init(struct irq_domain *domain, in platform_msi_init() 181 struct irq_domain *domain; in platform_msi_create_irq_domain() local 306 void *platform_msi_get_host_data(struct irq_domain *domain) in platform_msi_get_host_data() 332 struct irq_domain *domain; in __platform_msi_create_device_domain() local 367 void platform_msi_domain_free(struct irq_domain *domain, unsigned int virq, in platform_msi_domain_free() 396 int platform_msi_domain_alloc(struct irq_domain *domain, unsigned int virq, in platform_msi_domain_alloc()
|
/drivers/iommu/arm/arm-smmu/ |
D | qcom_iommu.c | 65 struct iommu_domain *domain; member 72 struct iommu_domain domain; member 228 static int qcom_iommu_init_domain(struct iommu_domain *domain, in qcom_iommu_init_domain() 358 static void qcom_iommu_domain_free(struct iommu_domain *domain) in qcom_iommu_domain_free() 379 static int qcom_iommu_attach_dev(struct iommu_domain *domain, struct device *dev) in qcom_iommu_attach_dev() 412 static void qcom_iommu_detach_dev(struct iommu_domain *domain, struct device *dev) in qcom_iommu_detach_dev() 434 static int qcom_iommu_map(struct iommu_domain *domain, unsigned long iova, in qcom_iommu_map() 451 static size_t qcom_iommu_unmap(struct iommu_domain *domain, unsigned long iova, in qcom_iommu_unmap() 476 static void qcom_iommu_flush_iotlb_all(struct iommu_domain *domain) in qcom_iommu_flush_iotlb_all() 489 static void qcom_iommu_iotlb_sync(struct iommu_domain *domain, in qcom_iommu_iotlb_sync() [all …]
|
/drivers/soc/xilinx/ |
D | zynqmp_pm_domains.c | 72 static int zynqmp_gpd_power_on(struct generic_pm_domain *domain) in zynqmp_gpd_power_on() 101 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() 185 static void zynqmp_gpd_detach_dev(struct generic_pm_domain *domain, in zynqmp_gpd_detach_dev()
|