/linux-master/tools/power/cpupower/utils/helpers/ |
H A D | pci.c | 14 * domain: domain 26 struct pci_dev *pci_acc_init(struct pci_access **pacc, int domain, int bus, argument 37 filter_nb_link.domain = domain; 55 /* Typically one wants to get a specific slot(device)/func of the root domain
|
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efc_nport.h | 16 efc_nport_find(struct efc_domain *domain, u32 d_id); 18 efc_nport_alloc(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn, 48 efc_vport_start(struct efc_domain *domain);
|
H A D | efc_domain.h | 8 * Declare driver's domain handler exported interface 17 efc_domain_free(struct efc_domain *domain); 42 efc_domain_attach(struct efc_domain *domain, u32 s_id); 44 efc_domain_post_event(struct efc_domain *domain, enum efc_sm_event event, 47 __efc_domain_attach_internal(struct efc_domain *domain, u32 s_id);
|
/linux-master/arch/x86/platform/uv/ |
H A D | uv_irq.c | 75 static int uv_domain_alloc(struct irq_domain *domain, unsigned int virq, argument 80 struct irq_data *irq_data = irq_domain_get_irq_data(domain, virq); 91 ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); 100 irq_domain_set_info(domain, virq, virq, &uv_irq_chip, chip_data, 109 static void uv_domain_free(struct irq_domain *domain, unsigned int virq, argument 112 struct irq_data *irq_data = irq_domain_get_irq_data(domain, virq); 118 irq_domain_free_irqs_top(domain, virq, nr_irqs); 125 static int uv_domain_activate(struct irq_domain *domain, argument 136 static void uv_domain_deactivate(struct irq_domain *domain, argument 188 struct irq_domain *domain local [all...] |
/linux-master/net/tipc/ |
H A D | addr.c | 41 bool tipc_in_scope(bool legacy_format, u32 domain, u32 addr) argument 43 if (!domain || (domain == addr)) 47 if (domain == tipc_cluster_mask(addr)) /* domain <Z.C.0> */ 49 if (domain == (addr & TIPC_ZONE_CLUSTER_MASK)) /* domain <Z.C.0> */ 51 if (domain == (addr & TIPC_ZONE_MASK)) /* domain <Z.0.0> */
|
/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 400 struct irq_domain *domain = dev_get_msi_domain(&pdev->dev); local 451 pci_msi_domain_get_msi_rid(struct irq_domain *domain, struct pci_dev *pdev) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | if0002.h | 21 __u8 domain; member in struct:nvif_perfmon_query_signal_v0 31 __u8 domain; member in struct:nvif_perfmon_query_source_v0
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | ctrl.c | 74 const struct nvkm_domain *domain; local 94 domain = clk->domains; 96 while (domain->name != nv_clk_src_max) { 97 if (domain->mname && ++j == args->v0.index) 99 domain++; 102 if (domain->name == nv_clk_src_max) 111 lo = pstate->base.domain[domain->name]; 114 lo = min(lo, cstate->domain[domain [all...] |
/linux-master/drivers/pmdomain/arm/ |
H A D | scpi_pm_domain.c | 3 * SCPI Generic power domain support. 19 u32 domain; member in struct:scpi_pm_domain 44 ret = pd->ops->device_set_power_state(pd->domain, state); 48 return !(state == pd->ops->device_get_power_state(pd->domain)); 51 static int scpi_pd_power_on(struct generic_pm_domain *domain) argument 53 struct scpi_pm_domain *pd = to_scpi_pd(domain); 58 static int scpi_pd_power_off(struct generic_pm_domain *domain) argument 60 struct scpi_pm_domain *pd = to_scpi_pd(domain); 111 scpi_pd->domain = i; 156 MODULE_DESCRIPTION("ARM SCPI power domain drive [all...] |
H A D | scmi_pm_domain.c | 3 * SCMI Generic power domain support. 20 u32 domain; member in struct:scmi_pm_domain 25 static int scmi_pd_power(struct generic_pm_domain *domain, bool power_on) argument 29 struct scmi_pm_domain *pd = to_scmi_pd(domain); 36 ret = power_ops->state_set(pd->ph, pd->domain, state); 38 ret = power_ops->state_get(pd->ph, pd->domain, &ret_state); 45 static int scmi_pd_power_on(struct generic_pm_domain *domain) argument 47 return scmi_pd_power(domain, true); 50 static int scmi_pd_power_off(struct generic_pm_domain *domain) argument 52 return scmi_pd_power(domain, fals [all...] |
/linux-master/drivers/iommu/intel/ |
H A D | iommu.c | 175 * This domain is a statically identity mapping domain. 176 * 1. This domain creats a static 1:1 mapping to all usable memory. 178 * 3. Each iommu mapps to this domain if successful. 216 static void intel_iommu_domain_free(struct iommu_domain *domain); 317 static int domain_type_is_si(struct dmar_domain *domain) argument 319 return domain->domain.type == IOMMU_DOMAIN_IDENTITY; 322 static int domain_pfn_supported(struct dmar_domain *domain, unsigned long pfn) argument 324 int addr_width = agaw_to_width(domain 390 domain_update_iommu_coherency(struct dmar_domain *domain) argument 420 domain_update_iommu_superpage(struct dmar_domain *domain, struct intel_iommu *skip) argument 450 domain_update_device_node(struct dmar_domain *domain) argument 474 domain_super_pgsize_bitmap(struct dmar_domain *domain) argument 491 domain_update_iommu_cap(struct dmar_domain *domain) argument 704 domain_flush_cache(struct dmar_domain *domain, void *addr, int size) argument 843 pfn_to_dma_pte(struct dmar_domain *domain, unsigned long pfn, int *target_level, gfp_t gfp) argument 900 dma_pfn_level_pte(struct dmar_domain *domain, unsigned long pfn, int level, int *large_page) argument 932 dma_pte_clear_range(struct dmar_domain *domain, unsigned long start_pfn, unsigned long last_pfn) argument 963 dma_pte_free_level(struct dmar_domain *domain, int level, int retain_level, struct dma_pte *pte, unsigned long pfn, unsigned long start_pfn, unsigned long last_pfn) argument 1006 dma_pte_free_pagetable(struct dmar_domain *domain, unsigned long start_pfn, unsigned long last_pfn, int retain_level) argument 1030 dma_pte_list_pagetables(struct dmar_domain *domain, int level, struct dma_pte *pte, struct list_head *freelist) argument 1050 dma_pte_clear_level(struct dmar_domain *domain, int level, struct dma_pte *pte, unsigned long pfn, unsigned long start_pfn, unsigned long last_pfn, struct list_head *freelist) argument 1097 domain_unmap(struct dmar_domain *domain, unsigned long start_pfn, unsigned long last_pfn, struct list_head *freelist) argument 1274 domain_lookup_dev_info(struct dmar_domain *domain, struct intel_iommu *iommu, u8 bus, u8 devfn) argument 1293 domain_update_iotlb(struct dmar_domain *domain) argument 1397 iommu_flush_dev_iotlb(struct dmar_domain *domain, u64 addr, unsigned mask) argument 1426 domain_flush_pasid_iotlb(struct intel_iommu *iommu, struct dmar_domain *domain, u64 addr, unsigned long npages, bool ih) argument 1483 iommu_flush_iotlb_psi(struct intel_iommu *iommu, struct dmar_domain *domain, unsigned long pfn, unsigned int pages, int ih, int map) argument 1513 __mapping_notify_one(struct intel_iommu *iommu, struct dmar_domain *domain, unsigned long pfn, unsigned int pages) argument 1530 parent_domain_flush(struct dmar_domain *domain, unsigned long pfn, unsigned long pages, int ih) argument 1566 intel_flush_iotlb_all(struct iommu_domain *domain) argument 1741 struct dmar_domain *domain; local 1759 domain_attach_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) argument 1808 domain_detach_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) argument 1838 domain_exit(struct dmar_domain *domain) argument 1853 domain_context_mapping_one(struct dmar_domain *domain, struct intel_iommu *iommu, u8 bus, u8 devfn) argument 1971 struct dmar_domain *domain = opaque; local 1978 domain_context_mapping(struct dmar_domain *domain, struct device *dev) argument 1999 hardware_largepage_caps(struct dmar_domain *domain, unsigned long iov_pfn, unsigned long phy_pfn, unsigned long pages) argument 2029 switch_to_super_page(struct dmar_domain *domain, unsigned long start_pfn, unsigned long end_pfn, int level) argument 2065 __domain_mapping(struct dmar_domain *domain, unsigned long iov_pfn, unsigned long phys_pfn, unsigned long nr_pages, int prot, gfp_t gfp) argument 2205 domain_setup_first_level(struct intel_iommu *iommu, struct dmar_domain *domain, struct device *dev, u32 pasid) argument 2245 iommu_domain_identity_map(struct dmar_domain *domain, unsigned long first_vpfn, unsigned long last_vpfn) argument 2319 dmar_domain_attach_device(struct dmar_domain *domain, struct device *dev) argument 3822 md_domain_init(struct dmar_domain *domain, int guest_width) argument 3843 blocking_domain_attach_dev(struct iommu_domain *domain, struct device *dev) argument 3860 struct iommu_domain *domain; local 3904 struct iommu_domain *domain; local 3948 intel_iommu_domain_free(struct iommu_domain *domain) argument 3958 prepare_domain_attach_device(struct iommu_domain *domain, struct device *dev) argument 4002 intel_iommu_attach_device(struct iommu_domain *domain, struct device *dev) argument 4018 intel_iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t hpa, size_t size, int iommu_prot, gfp_t gfp) argument 4054 intel_iommu_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 4076 intel_iommu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size, struct iommu_iotlb_gather *gather) argument 4111 intel_iommu_unmap_pages(struct iommu_domain *domain, unsigned long iova, size_t pgsize, size_t pgcount, struct iommu_iotlb_gather *gather) argument 4122 intel_iommu_tlb_sync(struct iommu_domain *domain, struct iommu_iotlb_gather *gather) argument 4147 intel_iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) argument 4165 domain_support_force_snooping(struct dmar_domain *domain) argument 4181 domain_set_force_snooping(struct dmar_domain *domain) argument 4200 intel_iommu_enforce_cache_coherency(struct iommu_domain *domain) argument 4579 intel_iommu_iotlb_sync_map(struct iommu_domain *domain, unsigned long iova, size_t size) argument 4599 struct iommu_domain *domain; local 4636 intel_iommu_set_dev_pasid(struct iommu_domain *domain, struct device *dev, ioasid_t pasid) argument 4732 parent_domain_set_dirty_tracking(struct dmar_domain *domain, bool enable) argument 4761 intel_iommu_set_dirty_tracking(struct iommu_domain *domain, bool enable) argument 4794 intel_iommu_read_and_clear_dirty(struct iommu_domain *domain, unsigned long iova, size_t size, unsigned long flags, struct iommu_dirty_bitmap *dirty) argument [all...] |
/linux-master/fs/erofs/ |
H A D | fscache.c | 391 static void erofs_fscache_domain_put(struct erofs_domain *domain) argument 394 if (refcount_dec_and_test(&domain->ref)) { 395 list_del(&domain->list); 400 fscache_relinquish_volume(domain->volume, NULL, false); 402 kfree(domain->domain_id); 403 kfree(domain); 437 struct erofs_domain *domain; local 440 domain = kzalloc(sizeof(struct erofs_domain), GFP_KERNEL); 441 if (!domain) 444 domain 477 struct erofs_domain *domain; local 563 struct erofs_domain *domain = EROFS_SB(sb)->domain; local 585 struct erofs_domain *domain = EROFS_SB(sb)->domain; local 618 struct erofs_domain *domain = NULL; local [all...] |
/linux-master/drivers/irqchip/ |
H A D | irq-ti-sci-intr.c | 22 * Interrupt Router IRQ domain. 50 * @domain: Pointer to IRQ domain 57 static int ti_sci_intr_irq_domain_translate(struct irq_domain *domain, argument 62 struct ti_sci_intr_irq_domain *intr = domain->host_data; 75 * @intr: IRQ domain corresponding to Interrupt Router 76 * @irq: Hardware irq corresponding to the above irq domain 103 * ti_sci_intr_irq_domain_free() - Free the specified IRQs from the domain. 104 * @domain: Domain to which the irqs belong 108 static void ti_sci_intr_irq_domain_free(struct irq_domain *domain, argument 134 ti_sci_intr_alloc_parent_irq(struct irq_domain *domain, unsigned int virq, u32 hwirq) argument 194 ti_sci_intr_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs, void *data) argument 226 struct irq_domain *parent_domain, *domain; local [all...] |
H A D | irq-idt3243x.c | 48 struct irq_domain *domain; local 75 domain = irq_domain_add_linear(of_node, IDT_PIC_NR_IRQS, 77 if (!domain) { 82 idtpic->irq_domain = domain; 84 ret = irq_alloc_domain_generic_chips(domain, 32, 1, "IDTPIC", 90 gc = irq_get_domain_generic_chip(domain, 0); 110 irq_domain_remove(domain);
|
/linux-master/arch/mips/sgi-ip27/ |
H A D | ip27-irq.c | 120 static int hub_domain_alloc(struct irq_domain *domain, unsigned int virq, argument 141 irq_domain_set_info(domain, virq, swlevel, &hub_irq_type, hd, 159 static void hub_domain_free(struct irq_domain *domain, argument 167 irqd = irq_domain_get_irq_data(domain, virq); 193 struct irq_domain *domain; local 220 domain = irq_desc_get_handler_data(desc); 221 ret = generic_handle_domain_irq(domain, __ffs(pend0)); 233 struct irq_domain *domain; local 244 domain = irq_desc_get_handler_data(desc); 245 ret = generic_handle_domain_irq(domain, __ff 278 struct irq_domain *domain; local [all...] |
/linux-master/include/linux/ |
H A D | iommu.h | 131 struct iommu_domain *domain; member in struct:iopf_group 176 * This are the possible domain-types 190 * IOMMU_DOMAIN_PLATFORM - Legacy domain for drivers that do their own 232 static inline bool iommu_is_dma_domain(struct iommu_domain *domain) argument 234 return domain->type & __IOMMU_DOMAIN_DMA_API; 361 * struct iommu_dirty_ops - domain specific dirty tracking operations 362 * @set_dirty_tracking: Enable or Disable dirty tracking on the iommu domain 369 int (*set_dirty_tracking)(struct iommu_domain *domain, bool enabled); 370 int (*read_and_clear_dirty)(struct iommu_domain *domain, 506 * @domain_alloc: allocate and return an iommu domain i 845 iommu_flush_iotlb_all(struct iommu_domain *domain) argument 851 iommu_iotlb_sync(struct iommu_domain *domain, struct iommu_iotlb_gather *iotlb_gather) argument 914 iommu_iotlb_gather_add_page(struct iommu_domain *domain, struct iommu_iotlb_gather *gather, unsigned long iova, size_t size) argument 994 struct iommu_domain *domain; member in struct:iommu_sva 1086 iommu_domain_free(struct iommu_domain *domain) argument 1090 iommu_attach_device(struct iommu_domain *domain, struct device *dev) argument 1096 iommu_detach_device(struct iommu_domain *domain, struct device *dev) argument 1106 iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp) argument 1112 iommu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size) argument 1118 iommu_unmap_fast(struct iommu_domain *domain, unsigned long iova, int gfp_order, struct iommu_iotlb_gather *iotlb_gather) argument 1125 iommu_map_sg(struct iommu_domain *domain, unsigned long iova, struct scatterlist *sg, unsigned int nents, int prot, gfp_t gfp) argument 1132 iommu_flush_iotlb_all(struct iommu_domain *domain) argument 1136 iommu_iotlb_sync(struct iommu_domain *domain, struct iommu_iotlb_gather *iotlb_gather) argument 1141 iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) argument 1146 iommu_set_fault_handler(struct iommu_domain *domain, iommu_fault_handler_t handler, void *token) argument 1180 iommu_attach_group(struct iommu_domain *domain, struct iommu_group *group) argument 1186 iommu_detach_group(struct iommu_domain *domain, struct iommu_group *group) argument 1244 iommu_set_pgtable_quirks(struct iommu_domain *domain, unsigned long quirks) argument 1266 iommu_iotlb_gather_add_page(struct iommu_domain *domain, struct iommu_iotlb_gather *gather, unsigned long iova, size_t size) argument 1387 iommu_attach_device_pasid(struct iommu_domain *domain, struct device *dev, ioasid_t pasid) argument 1393 iommu_detach_device_pasid(struct iommu_domain *domain, struct device *dev, ioasid_t pasid) argument 1431 iommu_map_sgtable(struct iommu_domain *domain, unsigned long iova, struct sg_table *sgt, int prot) argument 1465 iommu_get_msi_cookie(struct iommu_domain *domain, dma_addr_t base) argument [all...] |
H A D | irq_sim.h | 24 void irq_domain_remove_sim(struct irq_domain *domain);
|
/linux-master/drivers/firmware/arm_scmi/ |
H A D | power.c | 47 __le32 domain; member in struct:scmi_power_set_state 52 __le32 domain; member in struct:scmi_power_state_notify 111 u32 domain, struct power_dom_info *dom_info, 120 sizeof(domain), sizeof(*attr), &t); 124 put_unaligned_le32(domain, t->tx.buf); 147 domain, NULL, dom_info->name, 155 u32 domain, u32 state) 167 st->domain = cpu_to_le32(domain); 177 u32 domain, u3 110 scmi_power_domain_attributes_get(const struct scmi_protocol_handle *ph, u32 domain, struct power_dom_info *dom_info, u32 version, bool notify_state_change_cmd) argument 154 scmi_power_state_set(const struct scmi_protocol_handle *ph, u32 domain, u32 state) argument 176 scmi_power_state_get(const struct scmi_protocol_handle *ph, u32 domain, u32 *state) argument 204 scmi_power_name_get(const struct scmi_protocol_handle *ph, u32 domain) argument 220 scmi_power_request_notify(const struct scmi_protocol_handle *ph, u32 domain, bool enable) argument 325 int domain, ret; local [all...] |
/linux-master/arch/nios2/kernel/ |
H A D | irq.c | 63 struct irq_domain *domain; local 72 domain = irq_domain_add_linear(node, NIOS2_CPU_NR_IRQS, &irq_ops, NULL); 73 BUG_ON(!domain); 75 irq_set_default_host(domain);
|
/linux-master/tools/testing/selftests/net/ |
H A D | socket.c | 13 int domain; member in struct:socket_testcase 49 fd = socket(s->domain, s->type, s->protocol); 64 s->domain, s->type, s->protocol, 77 s->domain, s->type, s->protocol,
|
/linux-master/drivers/gpio/ |
H A D | gpio-i8255.h | 18 * @domain: (optional) IRQ domain if the controller is interrupt-capable 28 struct irq_domain *domain; member in struct:i8255_regmap_config
|
/linux-master/arch/riscv/kernel/ |
H A D | sbi-ipi.c | 39 struct irq_domain *domain; local 44 domain = irq_find_matching_fwnode(riscv_get_intc_hwnode(), 46 if (!domain) { 47 pr_err("unable to find INTC IRQ domain\n"); 51 sbi_ipi_virq = irq_create_mapping(domain, RV_IRQ_SOFT);
|
/linux-master/kernel/ |
H A D | async.c | 76 struct async_domain *domain; member in struct:async_entry 89 static async_cookie_t lowest_in_progress(struct async_domain *domain) argument 97 if (domain) { 98 if (!list_empty(&domain->pending)) 99 first = list_first_entry(&domain->pending, 152 struct async_domain *domain, 163 entry->domain = domain; 170 list_add_tail(&entry->domain_list, &domain->pending); 171 if (domain 150 __async_schedule_node_domain(async_func_t func, void *data, int node, struct async_domain *domain, struct async_entry *entry) argument 200 async_schedule_node_domain(async_func_t func, void *data, int node, struct async_domain *domain) argument 295 async_synchronize_full_domain(struct async_domain *domain) argument 310 async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain *domain) argument [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_reset.h | 123 static inline bool amdgpu_reset_get_reset_domain(struct amdgpu_reset_domain *domain) argument 125 return kref_get_unless_zero(&domain->refcount) != 0; 128 static inline void amdgpu_reset_put_reset_domain(struct amdgpu_reset_domain *domain) argument 130 if (domain) 131 kref_put(&domain->refcount, amdgpu_reset_destroy_reset_domain); 134 static inline bool amdgpu_reset_domain_schedule(struct amdgpu_reset_domain *domain, argument 137 return queue_work(domain->wq, work);
|
/linux-master/drivers/iommu/amd/ |
H A D | amd_iommu.h | 57 void amd_iommu_update_and_flush_device_table(struct protection_domain *domain); 58 void amd_iommu_domain_update(struct protection_domain *domain); 59 void amd_iommu_domain_flush_complete(struct protection_domain *domain); 60 void amd_iommu_domain_flush_pages(struct protection_domain *domain, 117 void amd_iommu_domain_set_pt_root(struct protection_domain *domain, u64 root) argument 119 domain->iop.root = (u64 *)(root & PAGE_MASK); 120 domain->iop.mode = root & 7; /* lowest 3 bits encode pgtable mode */ 124 void amd_iommu_domain_clr_pt_root(struct protection_domain *domain) argument 126 amd_iommu_domain_set_pt_root(domain, 0); 170 void amd_iommu_domain_set_pgtable(struct protection_domain *domain, [all...] |