/linux-master/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_irq.c | 143 txgbe->gpio_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_GPIO); 151 txgbe->link_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_LINK); 189 sub_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_GPIO); 195 sub_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_LINK); 209 virq = irq_find_mapping(txgbe->misc.domain, hwirq); 213 irq_domain_remove(txgbe->misc.domain); 230 txgbe->misc.domain = irq_domain_add_simple(NULL, txgbe->misc.nirqs, 0, 232 if (!txgbe->misc.domain) 236 irq_create_mapping(txgbe->misc.domain, hwirq);
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_hw_engine.c | 39 enum xe_force_wake_domains domain; member in struct:engine_info 49 .domain = XE_FW_RENDER, 57 .domain = XE_FW_RENDER, 65 .domain = XE_FW_RENDER, 73 .domain = XE_FW_RENDER, 81 .domain = XE_FW_RENDER, 89 .domain = XE_FW_RENDER, 97 .domain = XE_FW_RENDER, 105 .domain = XE_FW_RENDER, 113 .domain [all...] |
/linux-master/drivers/gpu/host1x/ |
H A D | dev.c | 348 struct iommu_domain *domain = iommu_get_domain_for_dev(host->dev); local 358 domain = iommu_get_domain_for_dev(host->dev); 370 if (!host1x_wants_iommu(host) || domain) 371 return domain; 383 host->domain = iommu_domain_alloc(&platform_bus_type); 384 if (!host->domain) { 389 err = iommu_attach_group(host->domain, host->group); 397 geometry = &host->domain->geometry; 401 order = __ffs(host->domain->pgsize_bitmap); 405 domain 425 struct iommu_domain *domain; local [all...] |
/linux-master/drivers/iommu/iommufd/ |
H A D | io_pagetable.c | 390 * iova, uptr, and length must be aligned to iova_alignment. For domain backed 391 * page tables this will pin the pages and load them into the domain at iova. 392 * For non-domain page tables this will only setup a lazy reference and the 431 struct iommu_domain *domain; member in struct:iova_bitmap_fn_arg 442 struct iommu_domain *domain = arg->domain; local 444 const struct iommu_dirty_ops *ops = domain->dirty_ops; 452 ret = ops->read_and_clear_dirty(domain, iter.cur_iova, 465 iommu_read_and_clear_dirty(struct iommu_domain *domain, argument 469 const struct iommu_dirty_ops *ops = domain 527 iopt_read_and_clear_dirty_data(struct io_pagetable *iopt, struct iommu_domain *domain, unsigned long flags, struct iommu_hwpt_get_dirty_bitmap *bitmap) argument 545 iopt_clear_dirty_data(struct io_pagetable *iopt, struct iommu_domain *domain) argument 574 iopt_set_dirty_tracking(struct io_pagetable *iopt, struct iommu_domain *domain, bool enable) argument 868 iopt_unfill_domain(struct io_pagetable *iopt, struct iommu_domain *domain) argument 928 iopt_fill_domain(struct io_pagetable *iopt, struct iommu_domain *domain) argument 1012 iopt_table_add_domain(struct io_pagetable *iopt, struct iommu_domain *domain) argument 1094 struct iommu_domain *domain; local 1126 iopt_table_remove_domain(struct io_pagetable *iopt, struct iommu_domain *domain) argument [all...] |
/linux-master/drivers/iommu/ |
H A D | virtio-iommu.c | 63 struct iommu_domain domain; member in struct:viommu_domain 100 #define to_viommu_domain(domain) \ 101 container_of(domain, struct viommu_domain, domain) 338 * @vdomain: the domain 378 * Fill the domain with identity mappings, skipping the device's reserved 386 u64 iova = vdomain->domain.geometry.aperture_start; 387 u64 limit = vdomain->domain.geometry.aperture_end; 389 unsigned long granule = 1UL << __ffs(vdomain->domain.pgsize_bitmap); 429 * When reattaching a domain tha 660 viommu_domain_finalise(struct viommu_endpoint *vdev, struct iommu_domain *domain) argument 707 viommu_domain_free(struct iommu_domain *domain) argument 720 viommu_attach_dev(struct iommu_domain *domain, struct device *dev) argument 814 viommu_map_pages(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t pgsize, size_t pgcount, int prot, gfp_t gfp, size_t *mapped) argument 858 viommu_unmap_pages(struct iommu_domain *domain, unsigned long iova, size_t pgsize, size_t pgcount, struct iommu_iotlb_gather *gather) argument 887 viommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) argument 907 viommu_iotlb_sync(struct iommu_domain *domain, struct iommu_iotlb_gather *gather) argument 915 viommu_iotlb_sync_map(struct iommu_domain *domain, unsigned long iova, size_t size) argument 929 viommu_flush_iotlb_all(struct iommu_domain *domain) argument [all...] |
H A D | io-pgfault.c | 65 struct iommu_domain *domain; local 68 domain = iommu_get_domain_for_dev_pasid(dev, fault->prm.pasid, 0); 69 if (IS_ERR(domain)) 70 domain = NULL; 72 domain = iommu_get_domain_for_dev(dev); 75 if (!domain || !domain->iopf_handler) { 77 "iopf (pasid %d) without domain attached or handler installed\n", 83 return domain; 173 * Any valid page fault will be eventually routed to an iommu domain an [all...] |
/linux-master/sound/soc/ti/ |
H A D | j721e-evm.c | 176 struct j721e_audio_domain *domain = &priv->audio_domains[audio_domain]; local 203 if (domain->parent_clk_id == -1 || priv->hsdiv_rates[domain->parent_clk_id] != scki) { 205 "domain%u configuration for %u Hz: %s, %dxFS (SCKI: %u Hz)\n", 210 if (domain->parent_clk_id != clk_id) { 211 ret = clk_set_parent(domain->codec.target, 212 domain->codec.parent[clk_id]); 216 ret = clk_set_parent(domain->mcasp.target, 217 domain->mcasp.parent[clk_id]); 221 domain 257 struct j721e_audio_domain *domain = &priv->audio_domains[domain_id]; local 316 struct j721e_audio_domain *domain = &priv->audio_domains[domain_id]; local 382 struct j721e_audio_domain *domain = &priv->audio_domains[domain_id]; local 405 struct j721e_audio_domain *domain = &priv->audio_domains[domain_id]; local 620 struct j721e_audio_domain *domain; local 722 struct j721e_audio_domain *domain; local [all...] |
/linux-master/drivers/pci/pcie/ |
H A D | aer_inject.c | 44 u32 domain; member in struct:aer_error_inj 49 u32 domain; member in struct:aer_error 77 static void aer_error_init(struct aer_error *err, u32 domain, argument 82 err->domain = domain; 89 static struct aer_error *__find_aer_error(u32 domain, unsigned int bus, argument 95 if (domain == err->domain && 106 int domain = pci_domain_nr(dev->bus); local 107 if (domain < 223 int domain; local 255 int domain; local [all...] |
/linux-master/drivers/xen/xen-pciback/ |
H A D | xenbus.c | 76 /* If the driver domain started an op, make sure we complete it 120 "Error mapping other domain page in ours."); 204 unsigned int domain, unsigned int bus, 219 "%04x:%02x:%02x.%02x", domain, bus, 227 int domain, int bus, int slot, int func, 234 domain, bus, slot, func); 236 dev = pcistub_get_pci_dev_by_slot(pdev, domain, bus, slot, func); 243 domain, bus, slot, func); 265 * driver domain, that all devices under that bridge are not given 274 int domain, in 203 xen_pcibk_publish_pci_dev(struct xen_pcibk_device *pdev, unsigned int domain, unsigned int bus, unsigned int devfn, unsigned int devid) argument 226 xen_pcibk_export_device(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func, int devid) argument 273 xen_pcibk_remove_device(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func) argument 302 xen_pcibk_publish_pci_root(struct xen_pcibk_device *pdev, unsigned int domain, unsigned int bus) argument 367 int domain, bus, slot, func; local 565 int domain, bus, slot, func; local [all...] |
/linux-master/security/tomoyo/ |
H A D | domain.c | 3 * security/tomoyo/domain.c 16 /* The initial domain. */ 80 * tomoyo_update_domain - Update an entry for domain policy. 165 const struct tomoyo_domain_info *domain = r->domain; local 167 const struct list_head *list = &domain->acl_info_list; 184 if (!test_bit(i, domain->group)) 186 list = &domain->ns->acl_group[i++]; 285 * tomoyo_scan_transition - Try to find specific domain transition type. 288 * @domainname: The name of current domain 564 const struct tomoyo_domain_info *domain = tomoyo_domain(); local 704 struct tomoyo_domain_info *domain = NULL; local [all...] |
H A D | util.c | 604 * tomoyo_find_domain - Find a domain by the given name. 614 struct tomoyo_domain_info *domain; local 619 list_for_each_entry_rcu(domain, &tomoyo_domain_list, list, 621 if (!domain->is_deleted && 622 !tomoyo_pathcmp(&name, domain->domainname)) 623 return domain; 1014 * @domain: Pointer to "struct tomoyo_domain_info". NULL for tomoyo_domain(). 1020 struct tomoyo_domain_info *domain, const u8 index) 1025 if (!domain) 1026 domain 1019 tomoyo_init_request_info(struct tomoyo_request_info *r, struct tomoyo_domain_info *domain, const u8 index) argument 1047 struct tomoyo_domain_info *domain = r->domain; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | base.c | 42 u8 pstate, u8 domain, u32 input) 62 if (subd && boostS.domain == domain) { 82 const struct nvkm_domain *domain = clk->domains; local 86 while (domain && domain->name != nv_clk_src_max) { 87 if (domain->flags & NVKM_CLK_DOM_FLAG_VPSTATE) { 88 u32 freq = cstate->domain[domain->name]; 99 domain 41 nvkm_clk_adjust(struct nvkm_clk *clk, bool adjust, u8 pstate, u8 domain, u32 input) argument 229 const struct nvkm_domain *domain = clk->domains; local 405 const struct nvkm_domain *domain = clk->domains - 1; local [all...] |
/linux-master/drivers/pci/ |
H A D | xen-pcifront.c | 68 unsigned int domain, unsigned int bus, 73 sd->sd.domain = domain; 181 .domain = pci_domain_nr(bus), 217 .domain = pci_domain_nr(bus), 248 .domain = pci_domain_nr(dev->bus), 301 .domain = pci_domain_nr(dev->bus), 320 .domain = pci_domain_nr(dev->bus), 349 .domain = pci_domain_nr(dev->bus), 408 unsigned int domain, unsigne 67 pcifront_init_sd(struct pcifront_sd *sd, unsigned int domain, unsigned int bus, struct pcifront_device *pdev) argument 407 pcifront_scan_bus(struct pcifront_device *pdev, unsigned int domain, unsigned int bus, struct pci_bus *b) argument 437 pcifront_scan_root(struct pcifront_device *pdev, unsigned int domain, unsigned int bus) argument 515 pcifront_rescan_root(struct pcifront_device *pdev, unsigned int domain, unsigned int bus) argument 581 int domain = pdev->sh_info->aer_op.domain; local 809 unsigned int domain, bus; local 908 unsigned int domain, bus, slot, func; local [all...] |
/linux-master/drivers/iommu/arm/arm-smmu/ |
H A D | qcom_iommu.c | 63 struct iommu_domain *domain; member in struct:qcom_iommu_ctx 70 struct iommu_domain domain; member in struct:qcom_iommu_domain 77 return container_of(dom, struct qcom_iommu_domain, domain); 203 if (!report_iommu_fault(ctx->domain, ctx->dev, iova, 0)) { 216 static int qcom_iommu_init_domain(struct iommu_domain *domain, argument 220 struct qcom_iommu_domain *qcom_domain = to_qcom_iommu_domain(domain); 249 /* Update the domain's page sizes to reflect the page table format */ 250 domain->pgsize_bitmap = pgtbl_cfg.pgsize_bitmap; 251 domain->geometry.aperture_end = (1ULL << pgtbl_cfg.ias) - 1; 252 domain 344 qcom_iommu_domain_free(struct iommu_domain *domain) argument 363 qcom_iommu_attach_dev(struct iommu_domain *domain, struct device *dev) argument 394 struct iommu_domain *domain = iommu_get_domain_for_dev(dev); local 429 qcom_iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t pgsize, size_t pgcount, int prot, gfp_t gfp, size_t *mapped) argument 447 qcom_iommu_unmap(struct iommu_domain *domain, unsigned long iova, size_t pgsize, size_t pgcount, struct iommu_iotlb_gather *gather) argument 473 qcom_iommu_flush_iotlb_all(struct iommu_domain *domain) argument 486 qcom_iommu_iotlb_sync(struct iommu_domain *domain, struct iommu_iotlb_gather *gather) argument 492 qcom_iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) argument [all...] |
/linux-master/drivers/gpio/ |
H A D | gpio-uniphier.c | 29 struct irq_domain *domain; member in struct:uniphier_gpio_priv 171 * IRQ_TYPE_NONE is rejected by the parent irq domain. Set LEVEL_HIGH 243 static int uniphier_gpio_irq_domain_translate(struct irq_domain *domain, argument 257 static int uniphier_gpio_irq_domain_alloc(struct irq_domain *domain, argument 261 struct uniphier_gpio_priv *priv = domain->host_data; 270 ret = uniphier_gpio_irq_domain_translate(domain, arg, &hwirq, &type); 279 parent_fwspec.fwnode = domain->parent->fwnode; 285 ret = irq_domain_set_hwirq_and_chip(domain, virq, hwirq, 290 return irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); 293 static int uniphier_gpio_irq_domain_activate(struct irq_domain *domain, argument 303 uniphier_gpio_irq_domain_deactivate(struct irq_domain *domain, struct irq_data *data) argument [all...] |
/linux-master/sound/firewire/fireworks/ |
H A D | fireworks_stream.c | 82 err = amdtp_domain_add_stream(&efw->domain, stream, 142 err = amdtp_domain_init(&efw->domain); 205 amdtp_domain_stop(&efw->domain); 235 err = amdtp_domain_set_events_per_period(&efw->domain, 258 amdtp_domain_stop(&efw->domain); 288 err = amdtp_domain_start(&efw->domain, tx_init_skip_cycles, true, false); 292 if (!amdtp_domain_wait_ready(&efw->domain, READY_TIMEOUT_MS)) { 300 amdtp_domain_stop(&efw->domain); 311 amdtp_domain_stop(&efw->domain); 323 amdtp_domain_stop(&efw->domain); [all...] |
/linux-master/sound/firewire/digi00x/ |
H A D | digi00x-stream.c | 267 err = amdtp_domain_init(&dg00x->domain); 282 amdtp_domain_destroy(&dg00x->domain); 302 amdtp_domain_stop(&dg00x->domain); 323 err = amdtp_domain_set_events_per_period(&dg00x->domain, 345 amdtp_domain_stop(&dg00x->domain); 370 err = amdtp_domain_add_stream(&dg00x->domain, &dg00x->rx_stream, 375 err = amdtp_domain_add_stream(&dg00x->domain, &dg00x->tx_stream, 384 err = amdtp_domain_start(&dg00x->domain, 0, true, true); 388 if (!amdtp_domain_wait_ready(&dg00x->domain, READY_TIMEOUT_MS)) { 396 amdtp_domain_stop(&dg00x->domain); [all...] |
/linux-master/include/linux/ |
H A D | scmi_protocol.h | 137 * @info_get: get the information of a performance domain 138 * @limits_set: sets limits on the performance level of a domain 139 * @limits_get: gets limits on the performance level of a domain 140 * @level_set: sets the performance level of a domain 141 * @level_get: gets the performance level of a domain 150 * @est_power_get: gets the estimated power cost for a given performance domain 162 (const struct scmi_protocol_handle *ph, u32 domain); 163 int (*limits_set)(const struct scmi_protocol_handle *ph, u32 domain, 165 int (*limits_get)(const struct scmi_protocol_handle *ph, u32 domain, 167 int (*level_set)(const struct scmi_protocol_handle *ph, u32 domain, [all...] |
/linux-master/drivers/thermal/ti-soc-thermal/ |
H A D | omap3-thermal-data.c | 82 .domain = "cpu", 150 .domain = "cpu",
|
/linux-master/drivers/irqchip/ |
H A D | irq-mtk-sysirq.c | 80 /* No PPI should point to this domain */ 92 static int mtk_sysirq_domain_alloc(struct irq_domain *domain, unsigned int virq, argument 109 irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, 111 domain->host_data); 113 gic_fwspec.fwnode = domain->parent->fwnode; 114 return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &gic_fwspec); 126 struct irq_domain *domain, *domain_parent; local 210 domain = irq_domain_add_hierarchy(domain_parent, 0, intpol_num, node, 212 if (!domain) {
|
H A D | irq-mvebu-odmi.c | 78 static int odmi_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, argument 100 fwspec.fwnode = domain->parent->fwnode; 106 ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); 116 d = irq_domain_get_irq_data(domain->parent, virq); 119 irq_domain_set_hwirq_and_chip(domain, virq, hwirq, 125 static void odmi_irq_domain_free(struct irq_domain *domain, argument 128 struct irq_data *d = irq_domain_get_irq_data(domain, virq); 135 irq_domain_free_irqs_parent(domain, virq, nr_irqs);
|
/linux-master/drivers/xen/ |
H A D | pci.c | 261 domid_t domain; member in struct:xen_device_domain_owner 283 int domain = -ENODEV; local 288 domain = owner->domain; 290 return domain; 294 int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain) argument 308 owner->domain = domain;
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_object.h | 58 bool kernel, bool pinned, u32 domain, 72 extern void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain);
|
/linux-master/arch/mips/ath25/ |
H A D | ar5312.c | 80 struct irq_domain *domain = irq_desc_get_handler_data(desc); local 84 ret = generic_handle_domain_irq(domain, nr); 141 struct irq_domain *domain; local 146 domain = irq_domain_add_linear(NULL, AR5312_MISC_IRQ_COUNT, 148 if (!domain) 149 panic("Failed to add IRQ domain"); 151 irq = irq_create_mapping(domain, AR5312_MISC_IRQ_AHB_PROC); 157 ar5312_misc_irq_handler, domain); 159 ar5312_misc_irq_domain = domain;
|
H A D | ar2315.c | 76 struct irq_domain *domain = irq_desc_get_handler_data(desc); local 85 ret = generic_handle_domain_irq(domain, nr); 147 struct irq_domain *domain; local 152 domain = irq_domain_add_linear(NULL, AR2315_MISC_IRQ_COUNT, 154 if (!domain) 155 panic("Failed to add IRQ domain"); 157 irq = irq_create_mapping(domain, AR2315_MISC_IRQ_AHB); 163 ar2315_misc_irq_handler, domain); 165 ar2315_misc_irq_domain = domain;
|