/linux-master/include/xen/interface/io/ |
H A D | pciif.h | 60 uint32_t domain; /* PCI Domain/Segment */ member in struct:xen_pci_op 84 uint32_t domain; /* PCI Domain/Segment*/ member in struct:xen_pcie_aer_op
|
/linux-master/drivers/thermal/ti-soc-thermal/ |
H A D | ti-thermal.h | 42 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain); 49 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain) argument
|
/linux-master/kernel/irq/ |
H A D | ipi-mux.c | 157 struct irq_domain *domain; local 177 domain = irq_domain_create_linear(fwnode, nr_ipi, 179 if (!domain) { 180 pr_err("unable to add IPI Mux domain\n"); 185 domain->flags |= IRQ_DOMAIN_FLAG_IPI_SINGLE; 186 irq_domain_update_bus_token(domain, DOMAIN_BUS_IPI); 188 rc = irq_domain_alloc_irqs(domain, nr_ipi, NUMA_NO_NODE, NULL); 190 pr_err("unable to alloc IRQs from IPI Mux domain\n"); 194 ipi_mux_domain = domain; 200 irq_domain_remove(domain); [all...] |
/linux-master/arch/s390/pci/ |
H A D | pci_bus.h | 31 int zpci_alloc_domain(int domain); 32 void zpci_free_domain(int domain);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_sock.c | 32 int domain; member in struct:sock_test 110 .domain = AF_INET, 124 .domain = AF_INET, 178 .domain = AF_INET, 191 .domain = AF_INET6, 220 .domain = AF_INET6, 250 .domain = AF_INET, 280 .domain = AF_INET, 311 .domain = AF_INET, 342 .domain 413 bind_sock(int domain, int type, const char *ip, unsigned short port, unsigned short port_retry) argument [all...] |
/linux-master/drivers/irqchip/ |
H A D | irq-mmp.c | 50 struct irq_domain *domain; member in struct:icu_chip_data 69 struct irq_domain *domain = d->domain; local 70 struct icu_chip_data *data = (struct icu_chip_data *)domain->host_data; 93 struct irq_domain *domain = d->domain; local 94 struct icu_chip_data *data = (struct icu_chip_data *)domain->host_data; 122 struct irq_domain *domain = d->domain; local 123 struct icu_chip_data *data = (struct icu_chip_data *)domain 150 struct irq_domain *domain; local [all...] |
H A D | irq-mvebu-sei.c | 167 static int mvebu_sei_domain_alloc(struct irq_domain *domain, unsigned int virq, argument 170 struct mvebu_sei *sei = domain->host_data; 174 irq_domain_set_hwirq_and_chip(domain, virq, fwspec->param[0], 180 static void mvebu_sei_domain_free(struct irq_domain *domain, unsigned int virq, argument 186 struct irq_data *d = irq_domain_get_irq_data(domain, virq + i); 197 static int mvebu_sei_ap_translate(struct irq_domain *domain, argument 208 static int mvebu_sei_ap_alloc(struct irq_domain *domain, unsigned int virq, argument 211 struct mvebu_sei *sei = domain->host_data; 217 mvebu_sei_ap_translate(domain, arg, &hwirq, &type); 219 fwspec.fwnode = domain 248 mvebu_sei_cp_domain_alloc(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs, void *args) argument 290 mvebu_sei_cp_domain_free(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs) argument [all...] |
H A D | irq-loongson-htpic.c | 24 struct irq_domain *domain; member in struct:loongson_htpic 51 generic_handle_domain_irq(priv->domain, bit); 104 htpic->domain = __init_i8259_irqs(node); 105 if (!htpic->domain) { 138 irq_domain_remove(htpic->domain);
|
H A D | irq-partition-percpu.c | 19 struct irq_domain *domain; member in struct:partition_desc 130 generic_handle_domain_irq(part->domain, hwirq); 135 static int partition_domain_alloc(struct irq_domain *domain, unsigned int virq, argument 145 ret = domain->ops->translate(domain, fwspec, &hwirq, &type); 149 part = domain->host_data; 155 irq_domain_set_info(domain, virq, hwirq, &partition_irq_chip, part, 162 static void partition_domain_free(struct irq_domain *domain, unsigned int virq, argument 169 d = irq_domain_get_irq_data(domain, virq); 216 desc->domain [all...] |
/linux-master/drivers/iommu/amd/ |
H A D | io_pgtable.c | 134 void amd_iommu_domain_set_pgtable(struct protection_domain *domain, argument 143 amd_iommu_domain_set_pt_root(domain, pt_root); 151 static bool increase_address_space(struct protection_domain *domain, argument 159 pte = alloc_pgtable_page(domain->nid, gfp); 163 spin_lock_irqsave(&domain->lock, flags); 165 if (address <= PM_LEVEL_SIZE(domain->iop.mode)) 169 if (WARN_ON_ONCE(domain->iop.mode == PAGE_MODE_6_LEVEL)) 172 *pte = PM_LEVEL_PDE(domain->iop.mode, iommu_virt_to_phys(domain->iop.root)); 174 domain 195 alloc_pte(struct protection_domain *domain, unsigned long address, unsigned long page_size, u64 **pte_page, gfp_t gfp, bool *updated) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | if0003.h | 7 __u8 domain; member in struct:nvif_perfdom_v0
|
/linux-master/arch/mips/sgi-ip30/ |
H A D | ip30-irq.c | 100 struct irq_domain *domain; local 132 domain = irq_desc_get_handler_data(desc); 133 ret = generic_handle_domain_irq(domain, __ffs(pend)); 202 static int heart_domain_alloc(struct irq_domain *domain, unsigned int virq, argument 221 irq_domain_set_info(domain, virq, hwirq, &heart_irq_chip, hd, 227 static void heart_domain_free(struct irq_domain *domain, argument 235 irqd = irq_domain_get_irq_data(domain, virq); 264 struct irq_domain *domain; local 310 domain = irq_domain_create_linear(fn, HEART_NUM_IRQS, 312 WARN_ON(domain [all...] |
/linux-master/arch/loongarch/pci/ |
H A D | pci.c | 19 int raw_pci_read(unsigned int domain, unsigned int bus, unsigned int devfn, argument 22 struct pci_bus *bus_tmp = pci_find_bus(domain, bus); 29 int raw_pci_write(unsigned int domain, unsigned int bus, unsigned int devfn, argument 32 struct pci_bus *bus_tmp = pci_find_bus(domain, bus);
|
/linux-master/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.h | 63 const char *lsdc_domain_to_str(u32 domain); 66 u32 domain, 73 u32 domain, 81 int lsdc_bo_pin(struct lsdc_bo *lbo, u32 domain, u64 *gpu_addr);
|
/linux-master/arch/s390/include/asm/trace/ |
H A D | zcrypt.h | 98 __field(u16, domain)), 104 __entry->domain = dom;), 105 TP_printk("ptr=%p fc=0x%04x rc=%d dev=0x%02hx domain=0x%04hx", 110 (unsigned short) __entry->domain)
|
/linux-master/sound/firewire/fireface/ |
H A D | ff-stream.c | 88 err = amdtp_domain_init(&ff->domain); 103 amdtp_domain_destroy(&ff->domain); 125 amdtp_domain_stop(&ff->domain); 156 err = amdtp_domain_set_events_per_period(&ff->domain, 177 amdtp_domain_stop(&ff->domain); 192 err = amdtp_domain_add_stream(&ff->domain, &ff->rx_stream, 197 err = amdtp_domain_add_stream(&ff->domain, &ff->tx_stream, 206 err = amdtp_domain_start(&ff->domain, 0, true, true); 210 if (!amdtp_domain_wait_ready(&ff->domain, READY_TIMEOUT_MS)) { 222 amdtp_domain_stop(&ff->domain); [all...] |
/linux-master/tools/perf/trace/beauty/ |
H A D | socket.c | 23 int domain = syscall_arg__val(arg, 0); local 25 if (domain == AF_INET || domain == AF_INET6)
|
/linux-master/arch/arm/include/asm/ |
H A D | domain.h | 3 * arch/arm/include/asm/domain.h 18 * DOMAIN_IO - domain 2 includes all IO only 19 * DOMAIN_USER - domain 1 includes all user memory only 20 * DOMAIN_KERNEL - domain 0 includes all kernel memory only 22 * The domain numbering depends on whether we support 36 physical 25 * be set for domain 0. We could just default to DOMAIN_IO as zero, 87 unsigned int domain; local 90 "mrc p15, 0, %0, c3, c0 @ get domain" 91 : "=r" (domain) 94 return domain; [all...] |
/linux-master/drivers/xen/xen-pciback/ |
H A D | pci_stub.c | 42 int domain; member in struct:pcistub_device_id 157 static struct pcistub_device *pcistub_device_find_locked(int domain, int bus, argument 164 && domain == pci_domain_nr(psdev->dev->bus) 175 static struct pcistub_device *pcistub_device_find(int domain, int bus, argument 183 psdev = pcistub_device_find_locked(domain, bus, slot, func); 211 int domain, int bus, 220 psdev = pcistub_device_find_locked(domain, bus, slot, func); 284 * (so it's ready for the next domain) 322 /* Match the specified device by domain, bus, slot, func and also if 326 if (pci_domain_nr(dev->bus) == pdev_id->domain 210 pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func) argument 486 pcistub_device_id_add_list(struct pcistub_device_id *new, int domain, int bus, unsigned int devfn) argument 1004 str_to_slot(const char *buf, int *domain, int *bus, int *slot, int *func) argument 1041 str_to_quirk(const char *buf, int *domain, int *bus, int *slot, int *func, int *reg, int *size, int *mask) argument 1061 pcistub_device_id_add(int domain, int bus, int slot, int func) argument 1101 pcistub_device_id_remove(int domain, int bus, int slot, int func) argument 1130 pcistub_reg_add(int domain, int bus, int slot, int func, unsigned int reg, unsigned int size, unsigned int mask) argument 1175 int domain, bus, slot, func; local 1194 int domain, bus, slot, func; local 1267 int domain, bus, slot, func; local 1305 int domain, bus, slot, func, reg, size, mask; local 1369 int domain, bus, slot, func; local 1433 int domain, bus, slot, func; local 1511 int domain, bus, slot, func; local [all...] |
/linux-master/drivers/firmware/arm_scmi/ |
H A D | perf.c | 86 __le32 domain; member in struct:scmi_msg_perf_describe_levels 91 __le32 domain; member in struct:scmi_perf_set_limits 102 __le32 domain; member in struct:scmi_perf_set_level 107 __le32 domain; member in struct:scmi_perf_notify_level_or_limits 242 int domain; local 245 for (domain = 0; domain < pinfo->num_domains; domain++) { 246 xa_destroy(&((pinfo->dom_info + domain)->opps_by_idx)); 247 xa_destroy(&((pinfo->dom_info + domain) 493 scmi_perf_domain_lookup(const struct scmi_protocol_handle *ph, u32 domain) argument 504 scmi_perf_info_get(const struct scmi_protocol_handle *ph, u32 domain) argument 515 scmi_perf_msg_limits_set(const struct scmi_protocol_handle *ph, u32 domain, u32 max_perf, u32 min_perf) argument 556 scmi_perf_limits_set(const struct scmi_protocol_handle *ph, u32 domain, u32 max_perf, u32 min_perf) argument 595 scmi_perf_msg_limits_get(const struct scmi_protocol_handle *ph, u32 domain, u32 *max_perf, u32 *min_perf) argument 638 scmi_perf_limits_get(const struct scmi_protocol_handle *ph, u32 domain, u32 *max_perf, u32 *min_perf) argument 671 scmi_perf_msg_level_set(const struct scmi_protocol_handle *ph, u32 domain, u32 level, bool poll) argument 710 scmi_perf_level_set(const struct scmi_protocol_handle *ph, u32 domain, u32 level, bool poll) argument 735 scmi_perf_msg_level_get(const struct scmi_protocol_handle *ph, u32 domain, u32 *level, bool poll) argument 771 scmi_perf_level_get(const struct scmi_protocol_handle *ph, u32 domain, u32 *level, bool poll) argument 798 scmi_perf_level_limits_notify(const struct scmi_protocol_handle *ph, u32 domain, int message_id, bool enable) argument 856 scmi_dvfs_device_opps_add(const struct scmi_protocol_handle *ph, struct device *dev, u32 domain) argument 894 scmi_dvfs_transition_latency_get(const struct scmi_protocol_handle *ph, u32 domain) argument 908 scmi_dvfs_rate_limit_get(const struct scmi_protocol_handle *ph, u32 domain, u32 *rate_limit) argument 924 scmi_dvfs_freq_set(const struct scmi_protocol_handle *ph, u32 domain, unsigned long freq, bool poll) argument 950 scmi_dvfs_freq_get(const struct scmi_protocol_handle *ph, u32 domain, unsigned long *freq, bool poll) argument 980 scmi_dvfs_est_power_get(const struct scmi_protocol_handle *ph, u32 domain, unsigned long *freq, unsigned long *power) argument 1011 scmi_fast_switch_possible(const struct scmi_protocol_handle *ph, u32 domain) argument 1023 scmi_fast_switch_rate_limit(const struct scmi_protocol_handle *ph, u32 domain, u32 *rate_limit) argument 1262 int domain, ret; local [all...] |
/linux-master/tools/perf/arch/x86/util/ |
H A D | iostat.c | 62 u32 domain; member in struct:iio_root_port 81 rp->die, rp->pmu_idx, rp->domain, rp->bus); 84 static struct iio_root_port *iio_root_port_new(u32 domain, u8 bus, argument 90 p->domain = domain; 111 const struct iio_root_ports_list * const list, u32 domain, u8 bus) 119 if (rp && rp->domain == domain && rp->bus == bus) 149 u32 domain; local 163 ret = sscanf(buf, "%04x:%02hhx", &domain, 110 iio_root_port_find_by_notation( const struct iio_root_ports_list * const list, u32 domain, u8 bus) argument 226 iio_root_port_parse_str(u32 *domain, u8 *bus, char *str) argument 253 u32 domain; local [all...] |
/linux-master/drivers/soc/ti/ |
H A D | ti_sci_inta_msi.c | 52 struct irq_domain *domain; local 57 domain = msi_create_irq_domain(fwnode, info, parent); 58 if (domain) 59 irq_domain_update_bus_token(domain, DOMAIN_BUS_TI_SCI_INTA_MSI); 61 return domain;
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_sa.c | 49 unsigned int size, u32 sa_align, u32 domain, 55 domain, flags, NULL, NULL, &sa_manager->bo); 61 sa_manager->domain = domain; 91 r = radeon_bo_pin(sa_manager->bo, sa_manager->domain, &sa_manager->gpu_addr); 47 radeon_sa_bo_manager_init(struct radeon_device *rdev, struct radeon_sa_manager *sa_manager, unsigned int size, u32 sa_align, u32 domain, u32 flags) argument
|
/linux-master/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3-sva.c | 21 struct arm_smmu_domain *domain; member in struct:arm_smmu_mmu_notifier 38 * Write the CD to the CD tables for all masters that this domain is attached 220 struct arm_smmu_domain *smmu_domain = smmu_mn->domain; 255 struct arm_smmu_domain *smmu_domain = smmu_mn->domain; 288 /* Allocate or get existing MMU notifier for this {domain, mm} pair */ 316 smmu_mn->domain = smmu_domain; 337 struct arm_smmu_domain *smmu_domain = smmu_mn->domain; 365 struct iommu_domain *domain = iommu_get_domain_for_dev(dev); local 368 if (!(domain->type & __IOMMU_DOMAIN_PAGING)) 370 smmu_domain = to_smmu_domain(domain); 540 arm_smmu_sva_remove_dev_pasid(struct iommu_domain *domain, struct device *dev, ioasid_t id) argument 566 arm_smmu_sva_set_dev_pasid(struct iommu_domain *domain, struct device *dev, ioasid_t id) argument 579 arm_smmu_sva_domain_free(struct iommu_domain *domain) argument 591 struct iommu_domain *domain; local [all...] |
/linux-master/drivers/iommu/iommufd/ |
H A D | selftest.c | 124 struct iommu_domain domain; member in struct:mock_iommu_domain 129 struct iommu_domain domain; member in struct:mock_iommu_domain_nested 157 static int mock_domain_nop_attach(struct iommu_domain *domain, argument 162 if (domain->dirty_ops && (mdev->flags & MOCK_FLAGS_DEVICE_NO_DIRTY)) 192 static int mock_domain_set_dirty_tracking(struct iommu_domain *domain, argument 196 container_of(domain, struct mock_iommu_domain, domain); 199 if (enable && !domain->dirty_ops) 240 static int mock_domain_read_and_clear_dirty(struct iommu_domain *domain, argument 246 container_of(domain, struc 332 struct iommu_domain *domain; local 366 mock_domain_free(struct iommu_domain *domain) argument 375 mock_domain_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 427 mock_domain_unmap_pages(struct iommu_domain *domain, unsigned long iova, size_t pgsize, size_t pgcount, struct iommu_iotlb_gather *iotlb_gather) argument 478 mock_domain_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) argument 542 mock_domain_free_nested(struct iommu_domain *domain) argument 551 mock_domain_cache_invalidate_user(struct iommu_domain *domain, struct iommu_user_data_array *array) argument [all...] |