/linux-master/security/landlock/ |
H A D | cred.c | 20 struct landlock_ruleset *const old_dom = landlock_cred(old)->domain; 24 landlock_cred(new)->domain = old_dom; 31 struct landlock_ruleset *const dom = landlock_cred(cred)->domain;
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_display_power.h | 22 * Keep the pipe, transcoder, port (DDI_LANES,DDI_IO,AUX) domain instances 23 * consecutive, so that the pipe,transcoder,port -> power domain macros 187 intel_display_power_domain_str(enum intel_display_power_domain domain); 190 enum intel_display_power_domain domain); 192 enum intel_display_power_domain domain); 194 enum intel_display_power_domain domain); 197 enum intel_display_power_domain domain); 199 enum intel_display_power_domain domain, 205 enum intel_display_power_domain domain, 209 enum intel_display_power_domain domain, 208 intel_display_power_put_async(struct drm_i915_private *i915, enum intel_display_power_domain domain, intel_wakeref_t wakeref) argument 216 intel_display_power_put_async_delay(struct drm_i915_private *i915, enum intel_display_power_domain domain, intel_wakeref_t wakeref, int delay_ms) argument 228 intel_display_power_put(struct drm_i915_private *i915, enum intel_display_power_domain domain, intel_wakeref_t wakeref) argument 236 intel_display_power_put_async(struct drm_i915_private *i915, enum intel_display_power_domain domain, intel_wakeref_t wakeref) argument 244 intel_display_power_put_async_delay(struct drm_i915_private *i915, enum intel_display_power_domain domain, intel_wakeref_t wakeref, int delay_ms) argument [all...] |
/linux-master/drivers/iommu/ |
H A D | fsl_pamu_domain.h | 13 /* list of devices associated with the domain */ 20 /* domain-device relationship */ 22 struct list_head link; /* link to domain siblings */ 25 struct fsl_dma_domain *domain; /* pointer to domain */ member in struct:device_domain_info
|
H A D | exynos-iommu.c | 238 struct iommu_domain *domain; /* domain this device is attached */ member in struct:exynos_iommu_owner 245 * been attached to this domain and page tables of IO address space defined by 246 * it. It is usually referenced by 'domain' pointer. 254 struct iommu_domain domain; /* generic domain data structure */ member in struct:exynos_iommu_domain 297 struct exynos_iommu_domain *domain; /* domain we belong to */ member in struct:sysmmu_drvdata 298 struct list_head domain_node; /* node for domain clients list */ 424 return container_of(dom, struct exynos_iommu_domain, domain); 894 struct exynos_iommu_domain *domain; local 945 struct exynos_iommu_domain *domain = to_exynos_domain(iommu_domain); local 987 struct exynos_iommu_domain *domain; local 1037 struct exynos_iommu_domain *domain = to_exynos_domain(iommu_domain); local 1076 alloc_lv2entry(struct exynos_iommu_domain *domain, sysmmu_pte_t *sent, sysmmu_iova_t iova, short *pgcounter) argument 1134 lv1set_section(struct exynos_iommu_domain *domain, sysmmu_pte_t *sent, sysmmu_iova_t iova, phys_addr_t paddr, int prot, short *pgcnt) argument 1236 struct exynos_iommu_domain *domain = to_exynos_domain(iommu_domain); local 1276 exynos_iommu_tlb_invalidate_entry(struct exynos_iommu_domain *domain, sysmmu_iova_t iova, size_t size) argument 1294 struct exynos_iommu_domain *domain = to_exynos_domain(iommu_domain); local 1373 struct exynos_iommu_domain *domain = to_exynos_domain(iommu_domain); local [all...] |
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efc_cmds.h | 13 struct efc_domain *domain, u8 *wwpn); 19 efc_cmd_domain_alloc(struct efc *efc, struct efc_domain *domain, u32 fcf); 21 efc_cmd_domain_attach(struct efc *efc, struct efc_domain *domain, u32 fc_id); 23 efc_cmd_domain_free(struct efc *efc, struct efc_domain *domain);
|
H A D | efc_nport.c | 45 efc_nport_find_wwn(struct efc_domain *domain, uint64_t wwnn, uint64_t wwpn) argument 50 list_for_each_entry(nport, &domain->nport_list, list_entry) { 66 efc_nport_alloc(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn, argument 71 if (domain->efc->enable_ini) 76 nport = efc_nport_find_wwn(domain, wwnn, wwpn); 78 efc_log_err(domain->efc, 93 nport->efc = domain->efc; 95 nport->domain = domain; 97 nport->instance_index = domain 137 struct efc_domain *domain; local 164 efc_nport_find(struct efc_domain *domain, u32 d_id) argument 275 struct efc_domain *domain = nport->domain; local 324 struct efc_domain *domain = nport->domain; local 543 struct efc_domain *domain = nport->domain; local 598 efc_vport_nport_alloc(struct efc_domain *domain, struct efc_vport *vport) argument 621 efc_vport_start(struct efc_domain *domain) argument 643 efc_nport_vport_new(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn, u32 fc_id, bool ini, bool tgt, void *tgt_data, void *ini_data) argument 681 efc_nport_vport_del(struct efc *efc, struct efc_domain *domain, u64 wwpn, uint64_t wwnn) argument [all...] |
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_perfmon.h | 17 u8 domain; member in struct:etnaviv_perfmon_request 27 struct drm_etnaviv_pm_domain *domain);
|
H A D | etnaviv_perfmon.c | 19 const struct etnaviv_pm_domain *domain, 41 const struct etnaviv_pm_domain *domain, 44 gpu_write(gpu, domain->profile_config, signal->data); 46 return gpu_read(gpu, domain->profile_read); 58 const struct etnaviv_pm_domain *domain, 67 value += perf_reg_read(gpu, domain, signal); 77 const struct etnaviv_pm_domain *domain, 96 const struct etnaviv_pm_domain *domain, 110 const struct etnaviv_pm_domain *domain, 479 const struct etnaviv_pm_domain *domain local 40 perf_reg_read(struct etnaviv_gpu *gpu, const struct etnaviv_pm_domain *domain, const struct etnaviv_pm_signal *signal) argument 57 pipe_perf_reg_read(struct etnaviv_gpu *gpu, const struct etnaviv_pm_domain *domain, const struct etnaviv_pm_signal *signal) argument 76 pipe_reg_read(struct etnaviv_gpu *gpu, const struct etnaviv_pm_domain *domain, const struct etnaviv_pm_signal *signal) argument 95 hi_total_cycle_read(struct etnaviv_gpu *gpu, const struct etnaviv_pm_domain *domain, const struct etnaviv_pm_signal *signal) argument 109 hi_total_idle_cycle_read(struct etnaviv_gpu *gpu, const struct etnaviv_pm_domain *domain, const struct etnaviv_pm_signal *signal) argument 499 etnaviv_pm_query_dom(struct etnaviv_gpu *gpu, struct drm_etnaviv_pm_domain *domain) argument [all...] |
/linux-master/net/netlabel/ |
H A D | netlabel_domainhash.h | 5 * This file manages the domain hash table that NetLabel uses to determine 6 * which network labeling protocol to use for a given domain. The NetLabel 59 char *domain; member in struct:netlbl_dom_map 71 /* Manipulate the domain hash table */ 78 int netlbl_domhsh_remove_af4(const char *domain, 82 int netlbl_domhsh_remove_af6(const char *domain, 86 int netlbl_domhsh_remove(const char *domain, u16 family, 89 struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain, u16 family); 90 struct netlbl_dommap_def *netlbl_domhsh_getentry_af4(const char *domain, 93 struct netlbl_dommap_def *netlbl_domhsh_getentry_af6(const char *domain, [all...] |
/linux-master/drivers/pmdomain/imx/ |
H A D | gpcv2.c | 318 struct imx_pgc_domain *domain = to_imx_pgc_domain(genpd); local 322 ret = pm_runtime_get_sync(domain->dev); 324 pm_runtime_put_noidle(domain->dev); 328 if (!IS_ERR(domain->regulator)) { 329 ret = regulator_enable(domain->regulator); 331 dev_err(domain->dev, 338 reset_control_assert(domain->reset); 340 /* Enable reset clocks for all devices in the domain */ 341 ret = clk_bulk_prepare_enable(domain->num_clks, domain 428 struct imx_pgc_domain *domain = to_imx_pgc_domain(genpd); local 1326 struct imx_pgc_domain *domain = pdev->dev.platform_data; local 1389 struct imx_pgc_domain *domain = pdev->dev.platform_data; local 1485 struct imx_pgc_domain *domain; local [all...] |
H A D | gpc.c | 71 /* Gate off domain when powered down */ 75 /* Request GPC to power down domain */ 103 /* Enable reset clocks for all devices in the domain */ 107 /* Gate off domain when powered down */ 111 /* Request GPC to power up domain */ 119 pr_err("powerup request on domain %s timed out\n", genpd->name); 124 /* Disable reset clocks for all devices in the domain */ 131 static int imx_pgc_get_clocks(struct device *dev, struct imx_pm_domain *domain) argument 144 domain->clk[i] = clk; 146 domain 157 imx_pgc_put_clocks(struct imx_pm_domain *domain) argument 165 imx_pgc_parse_dt(struct device *dev, struct imx_pm_domain *domain) argument 182 struct imx_pm_domain *domain = pdev->dev.platform_data; local 217 struct imx_pm_domain *domain = pdev->dev.platform_data; local 362 struct imx_pm_domain *domain; local 456 struct imx_pm_domain *domain; local [all...] |
/linux-master/drivers/pmdomain/xilinx/ |
H A D | zynqmp-pm-domains.c | 3 * ZynqMP Generic PM domain support 28 * @gpd: Generic power domain 29 * @node_id: PM node ID corresponding to device inside PM domain 30 * @requested: The PM node mapped to the PM domain has been requested 65 * zynqmp_gpd_power_on() - Power on PM domain 66 * @domain: Generic PM domain 68 * This function is called before devices inside a PM domain are resumed, to 69 * power on PM domain. 73 static int zynqmp_gpd_power_on(struct generic_pm_domain *domain) argument 104 zynqmp_gpd_power_off(struct generic_pm_domain *domain) argument 152 zynqmp_gpd_attach_dev(struct generic_pm_domain *domain, struct device *dev) argument 189 zynqmp_gpd_detach_dev(struct generic_pm_domain *domain, struct device *dev) argument [all...] |
/linux-master/kernel/irq/ |
H A D | msi.c | 24 * @domid: ID of the domain on which management operations should be done 39 /* The maximum domain size */ 127 * @domid: The id of the interrupt domain to which the desriptor is added 168 (dev->msi.domain && 169 !dev->msi.data->__domains[ctrl->domid].domain))) 205 * @domid: Id of the domain to operate on 314 * If @dev::msi::domain is set and is a global MSI domain, copy the 315 * pointer into the domain array so all code can operate on domain 586 struct irq_domain *domain; local 606 struct irq_domain *domain; local 623 msi_check_level(struct irq_domain *domain, struct msi_msg *msg) argument 664 msi_domain_activate(struct irq_domain *domain, struct irq_data *irq_data, bool early) argument 675 msi_domain_deactivate(struct irq_domain *domain, struct irq_data *irq_data) argument 684 msi_domain_alloc(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs, void *arg) argument 716 msi_domain_free(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs) argument 729 msi_domain_translate(struct irq_domain *domain, struct irq_fwspec *fwspec, irq_hw_number_t *hwirq, unsigned int *type) argument 757 msi_domain_ops_prepare(struct irq_domain *domain, struct device *dev, int nvec, msi_alloc_info_t *arg) argument 770 msi_domain_ops_init(struct irq_domain *domain, struct msi_domain_info *info, unsigned int virq, irq_hw_number_t hwirq, msi_alloc_info_t *arg) argument 828 struct irq_domain *domain; local 899 msi_parent_init_dev_msi_info(struct device *dev, struct irq_domain *domain, struct irq_domain *msi_parent_domain, struct msi_domain_info *msi_child_info) argument 965 struct irq_domain *domain, *parent = dev->msi.domain; local 1045 struct irq_domain *domain; local 1078 struct irq_domain *domain; local 1091 msi_domain_prepare_irqs(struct irq_domain *domain, struct device *dev, int nvec, msi_alloc_info_t *arg) argument 1100 msi_domain_populate_irqs(struct irq_domain *domain, struct device *dev, int virq_base, int nvec, msi_alloc_info_t *arg) argument 1182 msi_check_reservation_mode(struct irq_domain *domain, struct msi_domain_info *info, struct device *dev) argument 1212 msi_handle_pci_fail(struct irq_domain *domain, struct msi_desc *desc, int allocated) argument 1238 msi_init_virq(struct irq_domain *domain, int virq, unsigned int vflags) argument 1277 __msi_domain_alloc_irqs(struct device *dev, struct irq_domain *domain, struct msi_ctrl *ctrl) argument 1358 struct irq_domain *domain; local 1471 struct irq_domain *domain; local 1568 msi_device_domain_alloc_wired(struct irq_domain *domain, unsigned int hwirq, unsigned int type) argument 1591 __msi_domain_free_irqs(struct device *dev, struct irq_domain *domain, struct msi_ctrl *ctrl) argument 1624 struct irq_domain *domain; local 1725 msi_device_domain_free_wired(struct irq_domain *domain, unsigned int virq) argument 1747 msi_get_domain_info(struct irq_domain *domain) argument 1770 struct irq_domain *domain = dev_get_msi_domain(dev); local [all...] |
H A D | irq_sim.c | 19 struct irq_domain *domain; member in struct:irq_sim_work_ctx 112 irqnum = irq_find_mapping(work_ctx->domain, offset); 117 static int irq_sim_domain_map(struct irq_domain *domain, argument 120 struct irq_sim_work_ctx *work_ctx = domain->host_data; 136 static void irq_sim_domain_unmap(struct irq_domain *domain, unsigned int virq) argument 141 irqd = irq_domain_get_irq_data(domain, virq); 158 * @fwnode: struct fwnode_handle to be associated with this domain. 177 work_ctx->domain = irq_domain_create_linear(fwnode, num_irqs, 180 if (!work_ctx->domain) 187 return no_free_ptr(work_ctx)->domain; 197 irq_domain_remove_sim(struct irq_domain *domain) argument 211 struct irq_domain *domain = data; local 231 struct irq_domain *domain; local [all...] |
/linux-master/drivers/base/ |
H A D | platform-msi.c | 54 static int platform_msi_init(struct irq_domain *domain, argument 59 return irq_domain_set_hwirq_and_chip(domain, virq, hwirq, 113 * platform_msi_create_irq_domain - Create a platform MSI interrupt domain 115 * @info: MSI domain info 116 * @parent: Parent irq domain 118 * Updates the domain and chip ops and creates a platform MSI 119 * interrupt domain. 122 * A domain pointer or NULL in case of failure. 128 struct irq_domain *domain; local 137 domain 233 platform_msi_get_host_data(struct irq_domain *domain) argument 267 struct irq_domain *domain; local 311 platform_msi_device_domain_free(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs) argument 335 platform_msi_device_domain_alloc(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs) argument 406 struct irq_domain *domain = dev->msi.domain; local 435 struct irq_domain *domain = dev->msi.domain; local [all...] |
H A D | map.c | 32 int kobj_map(struct kobj_map *domain, dev_t dev, unsigned long range, argument 56 mutex_lock(domain->lock); 58 struct probe **s = &domain->probes[index % 255]; 64 mutex_unlock(domain->lock); 68 void kobj_unmap(struct kobj_map *domain, dev_t dev, unsigned long range) argument 78 mutex_lock(domain->lock); 81 for (s = &domain->probes[index % 255]; *s; s = &(*s)->next) { 91 mutex_unlock(domain->lock); 95 struct kobject *kobj_lookup(struct kobj_map *domain, dev_t dev, int *index) argument 102 mutex_lock(domain [all...] |
/linux-master/drivers/soc/dove/ |
H A D | pmu.c | 131 * This deals with the "old" Marvell sequence of bringing a power domain 143 static int pmu_domain_power_off(struct generic_pm_domain *domain) argument 145 struct pmu_domain *pmu_dom = to_pmu_domain(domain); 177 static int pmu_domain_power_on(struct generic_pm_domain *domain) argument 179 struct pmu_domain *pmu_dom = to_pmu_domain(domain); 211 static void __pmu_domain_register(struct pmu_domain *domain, argument 214 unsigned int val = readl_relaxed(domain->pmu->pmu_base + PMU_PWR); 216 domain->base.power_off = pmu_domain_power_off; 217 domain->base.power_on = pmu_domain_power_on; 219 pm_genpd_init(&domain 230 struct irq_domain *domain = pmu->irq_domain; local 270 struct irq_domain *domain; local 326 struct pmu_domain *domain; local 410 struct pmu_domain *domain; local [all...] |
/linux-master/drivers/irqchip/ |
H A D | irq-ath79-misc.c | 34 struct irq_domain *domain = irq_desc_get_handler_data(desc); local 36 void __iomem *base = domain->host_data; 53 generic_handle_domain_irq(domain, bit); 118 struct irq_domain *domain, int irq) 120 void __iomem *base = domain->host_data; 122 ath79_perfcount_irq = irq_create_mapping(domain, ATH79_MISC_PERF_IRQ); 128 irq_set_chained_handler_and_data(irq, ath79_misc_irq_handler, domain); 134 struct irq_domain *domain; local 150 domain = irq_domain_add_linear(node, ATH79_MISC_IRQ_COUNT, 152 if (!domain) { 117 ath79_misc_intc_domain_init( struct irq_domain *domain, int irq) argument 184 struct irq_domain *domain; local [all...] |
H A D | irq-ingenic.c | 23 struct irq_domain *domain; member in struct:ingenic_intc_data 37 struct irq_domain *domain = intc->domain; local 43 gc = irq_get_domain_generic_chip(domain, i * 32); 52 generic_handle_domain_irq(domain, bit + (i * 32)); 66 struct irq_domain *domain; local 93 domain = irq_domain_add_linear(node, num_chips * 32, 95 if (!domain) { 100 intc->domain = domain; [all...] |
H A D | irq-atmel-aic5.c | 88 struct irq_domain *domain = d->domain; local 89 struct irq_chip_generic *bgc = irq_get_domain_generic_chip(domain, 0); 105 struct irq_domain *domain = d->domain; local 106 struct irq_chip_generic *bgc = irq_get_domain_generic_chip(domain, 0); 122 struct irq_domain *domain = d->domain; local 123 struct irq_chip_generic *bgc = irq_get_domain_generic_chip(domain, 0); 136 struct irq_domain *domain local 157 struct irq_domain *domain = d->domain; local 187 struct irq_domain *domain = d->domain; local 223 struct irq_domain *domain = d->domain; local 243 aic5_hw_init(struct irq_domain *domain) argument 331 struct irq_domain *domain; local [all...] |
/linux-master/drivers/media/platform/qcom/venus/ |
H A D | hfi_parser.c | 28 cap->domain = VIDC_SESSION_TYPE_DEC; 35 cap->domain = VIDC_SESSION_TYPE_ENC; 41 u32 codecs, u32 domain, func cb, void *data, 49 if (cap->valid && cap->domain == domain) 51 if (cap->codec & codecs && cap->domain == domain) 66 parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data) argument 81 codecs, domain, fill_buf_mode, type, 1); 100 parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, voi argument 40 for_each_codec(struct hfi_plat_caps *caps, unsigned int caps_num, u32 codecs, u32 domain, func cb, void *data, unsigned int size) argument 128 parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data) argument 157 parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data) argument 210 parse_codecs_mask(u32 *codecs, u32 *domain, void *data) argument 218 parser_init(struct venus_inst *inst, u32 *codecs, u32 *domain) argument 227 parser_fini(struct venus_inst *inst, u32 codecs, u32 domain) argument 285 u32 *word = buf, *data, codecs = 0, domain = 0; local [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_reset.h | 111 static inline bool amdgpu_reset_get_reset_domain(struct amdgpu_reset_domain *domain) argument 113 return kref_get_unless_zero(&domain->refcount) != 0; 116 static inline void amdgpu_reset_put_reset_domain(struct amdgpu_reset_domain *domain) argument 118 if (domain) 119 kref_put(&domain->refcount, amdgpu_reset_destroy_reset_domain); 122 static inline bool amdgpu_reset_domain_schedule(struct amdgpu_reset_domain *domain, argument 125 return queue_work(domain->wq, work);
|
/linux-master/drivers/pci/msi/ |
H A D | irqdomain.c | 13 struct irq_domain *domain; local 15 domain = dev_get_msi_domain(&dev->dev); 16 if (domain && irq_domain_is_hierarchy(domain)) 24 struct irq_domain *domain; local 26 domain = dev_get_msi_domain(&dev->dev); 27 if (domain && irq_domain_is_hierarchy(domain)) { 104 * pci_msi_create_irq_domain - Create a MSI interrupt domain 106 * @info: MSI domain inf 205 pci_msix_prepare_desc(struct irq_domain *domain, msi_alloc_info_t *arg, struct msi_desc *desc) argument 242 struct irq_domain *domain = dev_get_msi_domain(&pdev->dev); local 328 struct irq_domain *domain; local 392 pci_msi_domain_get_msi_rid(struct irq_domain *domain, struct pci_dev *pdev) argument [all...] |
/linux-master/drivers/media/platform/nvidia/tegra-vde/ |
H A D | iommu.c | 29 end = vde->domain->geometry.aperture_end; 39 size = iommu_map_sgtable(vde->domain, addr, sgt, 57 iommu_unmap(vde->domain, addr, size); 81 vde->domain = iommu_domain_alloc(&platform_bus_type); 82 if (!vde->domain) { 91 order = __ffs(vde->domain->pgsize_bitmap); 94 err = iommu_attach_group(vde->domain, vde->group); 132 iommu_detach_group(vde->domain, vde->group); 137 iommu_domain_free(vde->domain); 146 if (vde->domain) { [all...] |
/linux-master/drivers/soundwire/ |
H A D | irq.c | 34 bus->domain = irq_domain_create_linear(fwnode, SDW_MAX_DEVICES, 36 if (!bus->domain) { 37 dev_err(bus->dev, "Failed to add IRQ domain\n"); 46 irq_domain_remove(bus->domain); 51 slave->irq = irq_create_mapping(slave->bus->domain, slave->dev_num); 58 irq_dispose_mapping(irq_find_mapping(slave->bus->domain, slave->dev_num));
|