/Linux-v6.6/drivers/iommu/ |
D | iommu.c | 62 struct iommu_domain *domain; member 1054 static int iommu_create_device_direct_mappings(struct iommu_domain *domain, in iommu_create_device_direct_mappings() 1962 void iommu_set_fault_handler(struct iommu_domain *domain, in iommu_set_fault_handler() 1976 struct iommu_domain *domain; in __iommu_domain_alloc() local 2010 void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free() 2035 static int __iommu_attach_device(struct iommu_domain *domain, in __iommu_attach_device() 2063 int iommu_attach_device(struct iommu_domain *domain, struct device *dev) in iommu_attach_device() 2091 int iommu_deferred_attach(struct device *dev, struct iommu_domain *domain) in iommu_deferred_attach() 2099 void iommu_detach_device(struct iommu_domain *domain, struct device *dev) in iommu_detach_device() 2121 struct iommu_domain *domain; in iommu_get_domain_for_dev() local [all …]
|
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()
|
D | sprd-iommu.c | 79 struct iommu_domain domain; member 130 sprd_iommu_pgt_size(struct iommu_domain *domain) in sprd_iommu_pgt_size() 243 static void sprd_iommu_domain_free(struct iommu_domain *domain) in sprd_iommu_domain_free() 251 static int sprd_iommu_attach_device(struct iommu_domain *domain, in sprd_iommu_attach_device() 288 static int sprd_iommu_map(struct iommu_domain *domain, unsigned long iova, in sprd_iommu_map() 325 static size_t sprd_iommu_unmap(struct iommu_domain *domain, unsigned long iova, in sprd_iommu_unmap() 348 static void 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()
|
D | fsl_pamu_domain.c | 172 static phys_addr_t fsl_pamu_iova_to_phys(struct iommu_domain *domain, in fsl_pamu_iova_to_phys() 186 static void fsl_pamu_domain_free(struct iommu_domain *domain) in fsl_pamu_domain_free() 233 static int fsl_pamu_attach_device(struct iommu_domain *domain, in fsl_pamu_attach_device() 288 struct iommu_domain *domain = iommu_get_domain_for_dev(dev); in fsl_pamu_set_platform_dma() local 318 int fsl_pamu_configure_l1_stash(struct iommu_domain *domain, u32 cpu) in fsl_pamu_configure_l1_stash()
|
D | iommu-sva.c | 61 struct iommu_domain *domain; in iommu_sva_bind_device() local 126 struct iommu_domain *domain = handle->domain; in iommu_sva_unbind_device() local 142 struct iommu_domain *domain = handle->domain; in iommu_sva_get_pasid() local
|
D | dma-iommu.c | 242 int iommu_dma_init_fq(struct iommu_domain *domain) in iommu_dma_init_fq() 308 int iommu_get_dma_cookie(struct iommu_domain *domain) in iommu_get_dma_cookie() 333 int iommu_get_msi_cookie(struct iommu_domain *domain, dma_addr_t base) in iommu_get_msi_cookie() 358 void iommu_put_dma_cookie(struct iommu_domain *domain) in iommu_put_dma_cookie() 481 struct iommu_domain *domain) in iova_reserve_iommu_regions() 569 static int iommu_dma_init_domain(struct iommu_domain *domain, dma_addr_t base, in iommu_dma_init_domain() 658 static dma_addr_t iommu_dma_alloc_iova(struct iommu_domain *domain, in iommu_dma_alloc_iova() 724 struct iommu_domain *domain = iommu_get_dma_domain(dev); in __iommu_dma_unmap() local 747 struct iommu_domain *domain = iommu_get_dma_domain(dev); in __iommu_dma_map() local 837 struct iommu_domain *domain = iommu_get_dma_domain(dev); in __iommu_dma_alloc_noncontiguous() local [all …]
|
/Linux-v6.6/drivers/base/ |
D | platform-msi.c | 52 static int platform_msi_init(struct irq_domain *domain, in platform_msi_init() 126 struct irq_domain *domain; in platform_msi_create_irq_domain() local 243 void *platform_msi_get_host_data(struct irq_domain *domain) in platform_msi_get_host_data() 277 struct irq_domain *domain; in __platform_msi_create_device_domain() local 321 void platform_msi_device_domain_free(struct irq_domain *domain, unsigned int virq, in platform_msi_device_domain_free() 345 int platform_msi_device_domain_alloc(struct irq_domain *domain, unsigned int virq, in platform_msi_device_domain_alloc()
|
/Linux-v6.6/include/linux/ |
D | iommu.h | 116 static inline bool iommu_is_dma_domain(struct iommu_domain *domain) in iommu_is_dma_domain() 544 static inline void iommu_flush_iotlb_all(struct iommu_domain *domain) in iommu_flush_iotlb_all() 550 static inline void iommu_iotlb_sync(struct iommu_domain *domain, in iommu_iotlb_sync() 613 static inline void iommu_iotlb_gather_add_page(struct iommu_domain *domain, in iommu_iotlb_gather_add_page() 670 struct iommu_domain *domain; member 756 static inline void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free() 760 static inline int iommu_attach_device(struct iommu_domain *domain, in iommu_attach_device() 766 static inline void iommu_detach_device(struct iommu_domain *domain, in iommu_detach_device() 776 static inline int iommu_map(struct iommu_domain *domain, unsigned long iova, in iommu_map() 782 static inline size_t iommu_unmap(struct iommu_domain *domain, in iommu_unmap() [all …]
|
/Linux-v6.6/drivers/pmdomain/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()
|
/Linux-v6.6/drivers/irqchip/ |
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
|
D | irq-ath79-misc.c | 34 struct irq_domain *domain = irq_desc_get_handler_data(desc); in ath79_misc_irq_handler() local 118 struct irq_domain *domain, int irq) in ath79_misc_intc_domain_init() 134 struct irq_domain *domain; in ath79_misc_intc_of_init() local 184 struct irq_domain *domain; in ath79_misc_irq_init() local
|
/Linux-v6.6/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
|
/Linux-v6.6/net/netlabel/ |
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()
|
/Linux-v6.6/drivers/firmware/arm_scmi/ |
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()
|
D | power.c | 44 __le32 domain; member 49 __le32 domain; member 102 u32 domain, struct power_dom_info *dom_info, in scmi_power_domain_attributes_get() 144 u32 domain, u32 state) in scmi_power_state_set() 166 u32 domain, u32 *state) in scmi_power_state_get() 194 u32 domain) in scmi_power_name_get() 210 u32 domain, bool enable) in scmi_power_request_notify() 299 int domain, ret; in scmi_power_protocol_init() local
|
D | reset.c | 94 u32 domain, struct reset_dom_info *dom_info, in scmi_reset_domain_attributes_get() 144 scmi_reset_name_get(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_name_get() 154 u32 domain) in scmi_reset_latency_get() 162 static int scmi_domain_reset(const struct scmi_protocol_handle *ph, u32 domain, in scmi_domain_reset() 197 u32 domain) in scmi_reset_domain_reset() 204 scmi_reset_domain_assert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_assert() 211 scmi_reset_domain_deassert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_deassert() 314 int domain, ret; in scmi_reset_protocol_init() local
|
/Linux-v6.6/arch/mips/sgi-ip27/ |
D | ip27-irq.c | 118 static int hub_domain_alloc(struct irq_domain *domain, unsigned int virq, in hub_domain_alloc() 157 static void hub_domain_free(struct irq_domain *domain, in hub_domain_free() 191 struct irq_domain *domain; in ip27_do_irq_mask0() local 231 struct irq_domain *domain; in ip27_do_irq_mask1() local 276 struct irq_domain *domain; in arch_init_irq() local
|
/Linux-v6.6/drivers/pmdomain/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
|
D | imx93-pd.c | 37 struct imx93_power_domain *domain = to_imx93_pd(genpd); in imx93_pd_on() local 64 struct imx93_power_domain *domain = to_imx93_pd(genpd); in imx93_pd_off() local 88 struct imx93_power_domain *domain = platform_get_drvdata(pdev); in imx93_pd_remove() local 105 struct imx93_power_domain *domain; in imx93_pd_probe() local
|
D | imx8mp-blk-ctrl.c | 175 struct imx8mp_blk_ctrl_domain *domain) in imx8mp_hsio_blk_ctrl_power_on() 194 struct imx8mp_blk_ctrl_domain *domain) in imx8mp_hsio_blk_ctrl_power_off() 306 struct imx8mp_blk_ctrl_domain *domain) in imx8mp_hdmi_blk_ctrl_power_on() 364 struct imx8mp_blk_ctrl_domain *domain) in imx8mp_hdmi_blk_ctrl_power_off() 525 struct imx8mp_blk_ctrl_domain *domain = to_imx8mp_blk_ctrl_domain(genpd); in imx8mp_blk_ctrl_power_on() local 572 struct imx8mp_blk_ctrl_domain *domain = to_imx8mp_blk_ctrl_domain(genpd); in imx8mp_blk_ctrl_power_off() local 655 struct imx8mp_blk_ctrl_domain *domain = &bc->domains[i]; in imx8mp_blk_ctrl_probe() local 771 struct imx8mp_blk_ctrl_domain *domain = &bc->domains[i]; in imx8mp_blk_ctrl_remove() local 805 struct imx8mp_blk_ctrl_domain *domain = &bc->domains[i]; in imx8mp_blk_ctrl_suspend() local
|
/Linux-v6.6/drivers/xen/xen-pciback/ |
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
|
D | passthrough.c | 21 unsigned int domain, in __xen_pcibk_get_pci_dev() 51 unsigned int domain, bus, devfn; in __xen_pcibk_add_pci_dev() local 125 unsigned int domain, bus; in __xen_pcibk_publish_pci_roots() local 179 unsigned int *domain, unsigned int *bus, in __xen_pcibk_get_pcifront_dev()
|
/Linux-v6.6/drivers/pmdomain/xilinx/ |
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() 189 static void zynqmp_gpd_detach_dev(struct generic_pm_domain *domain, in zynqmp_gpd_detach_dev()
|
/Linux-v6.6/arch/ia64/kernel/ |
D | irq_ia64.c | 101 static inline int find_unassigned_vector(cpumask_t domain) in find_unassigned_vector() 120 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) in __bind_irq_vector() 145 int bind_irq_vector(int irq, int vector, cpumask_t domain) in bind_irq_vector() 159 cpumask_t domain; in __clear_irq_vector() local 188 cpumask_t domain = CPU_MASK_NONE; in ia64_native_assign_irq_vector() local 265 cpumask_t domain; in __irq_prepare_move() local 387 cpumask_t domain = CPU_MASK_NONE; in create_irq() local
|
/Linux-v6.6/drivers/iommu/arm/arm-smmu/ |
D | qcom_iommu.c | 63 struct iommu_domain *domain; member 70 struct iommu_domain domain; member 226 static int qcom_iommu_init_domain(struct iommu_domain *domain, in qcom_iommu_init_domain() 356 static void qcom_iommu_domain_free(struct iommu_domain *domain) in qcom_iommu_domain_free() 375 static int qcom_iommu_attach_dev(struct iommu_domain *domain, struct device *dev) in qcom_iommu_attach_dev() 403 static int qcom_iommu_map(struct iommu_domain *domain, unsigned long iova, in qcom_iommu_map() 421 static size_t qcom_iommu_unmap(struct iommu_domain *domain, unsigned long iova, in qcom_iommu_unmap() 447 static void qcom_iommu_flush_iotlb_all(struct iommu_domain *domain) in qcom_iommu_flush_iotlb_all() 460 static void qcom_iommu_iotlb_sync(struct iommu_domain *domain, in qcom_iommu_iotlb_sync() 466 static phys_addr_t qcom_iommu_iova_to_phys(struct iommu_domain *domain, in qcom_iommu_iova_to_phys()
|