Home
last modified time | relevance | path

Searched refs:resource_type (Results 1 – 25 of 75) sorted by relevance

123

/Linux-v4.19/drivers/misc/vmw_vmci/
Dvmci_resource.c77 enum vmci_resource_type resource_type) in vmci_resource_find_id() argument
98 if (!vmci_resource_lookup(handle, resource_type)) in vmci_resource_find_id()
107 enum vmci_resource_type resource_type, in vmci_resource_add() argument
118 resource_type); in vmci_resource_add()
123 } else if (vmci_resource_lookup(handle, resource_type)) { in vmci_resource_add()
129 resource->type = resource_type; in vmci_resource_add()
169 enum vmci_resource_type resource_type) in vmci_resource_by_handle() argument
175 r = vmci_resource_lookup(resource_handle, resource_type); in vmci_resource_by_handle()
177 (resource_type == r->type || in vmci_resource_by_handle()
178 resource_type == VMCI_RESOURCE_TYPE_ANY)) { in vmci_resource_by_handle()
Dvmci_resource.h45 enum vmci_resource_type resource_type,
52 enum vmci_resource_type resource_type);
/Linux-v4.19/drivers/acpi/acpica/
Dutresrc.c266 u8 resource_type; in acpi_ut_validate_resource() local
276 resource_type = ACPI_GET8(aml); in acpi_ut_validate_resource()
282 if (resource_type & ACPI_RESOURCE_NAME_LARGE) { in acpi_ut_validate_resource()
286 if (resource_type > ACPI_RESOURCE_NAME_LARGE_MAX) { in acpi_ut_validate_resource()
294 resource_index = (u8) (resource_type - 0x70); in acpi_ut_validate_resource()
301 ((resource_type & ACPI_RESOURCE_NAME_SMALL_MASK) >> 3); in acpi_ut_validate_resource()
358 if (resource_type == ACPI_RESOURCE_NAME_SERIAL_BUS) { in acpi_ut_validate_resource()
388 resource_type)); in acpi_ut_validate_resource()
398 resource_type, resource_length, in acpi_ut_validate_resource()
Drsaddr.c179 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.address.resource_type),
180 AML_OFFSET(address.resource_type),
279 if ((aml->address.resource_type > 2) && in acpi_rs_get_address_common()
280 (aml->address.resource_type < 0xC0)) { in acpi_rs_get_address_common()
291 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) { in acpi_rs_get_address_common()
294 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) { in acpi_rs_get_address_common()
334 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) { in acpi_rs_set_address_common()
337 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) { in acpi_rs_set_address_common()
Ddbcmds.c575 u8 resource_type; in acpi_dm_compare_aml_resources() local
600 resource_type = acpi_ut_get_resource_type(aml1); in acpi_dm_compare_aml_resources()
608 resource_type, offset, aml1_length, aml2_length); in acpi_dm_compare_aml_resources()
616 "Offset %8.8X ****\n", count, resource_type, in acpi_dm_compare_aml_resources()
631 if (resource_type == ACPI_RESOURCE_NAME_END_TAG) { in acpi_dm_compare_aml_resources()
Drsdump.c446 switch (resource->address.resource_type) { in acpi_rs_dump_address_common()
465 (u8) resource->address.resource_type); in acpi_rs_dump_address_common()
/Linux-v4.19/drivers/pci/
Dhost-bridge.c85 if (resource_type(res) != resource_type(window->res)) in pcibios_bus_to_resource()
Dbus.c102 switch (resource_type(res)) { in devm_request_pci_bus_resources()
275 if (resource_type(res) != resource_type(r)) in pci_bus_clip_resource()
Dof.c333 if (resource_type(res) == IORESOURCE_IO) { in devm_of_pci_get_host_bridge_resources()
611 switch (resource_type(res)) { in pci_parse_request_of_pci_ranges()
/Linux-v4.19/include/linux/
Dioport.h200 static inline unsigned long resource_type(const struct resource *res) in resource_type() function
211 if (resource_type(r1) != resource_type(r2)) in resource_contains()
/Linux-v4.19/drivers/staging/board/
Dboard.c51 if (resource_type(r) == IORESOURCE_MEM) in board_staging_dt_node_available()
80 if (resource_type(res) != IORESOURCE_IRQ || !irqc_node) in gic_fixup_resource()
/Linux-v4.19/drivers/xen/
Darm-device.c36 if ((resource_type(r) != IORESOURCE_MEM) || (nr == 0)) in xen_unmap_device_mmio()
70 if ((resource_type(r) != IORESOURCE_MEM) || (nr == 0)) in xen_map_device_mmio()
/Linux-v4.19/drivers/scsi/
Dpmcraid.h321 __u8 resource_type; member
345 #define RES_IS_IOA(res) ((res).resource_type == RES_TYPE_IOA_FP)
346 #define RES_IS_GSCSI(res) ((res).resource_type == RES_TYPE_GSCSI)
347 #define RES_IS_VSET(res) ((res).resource_type == RES_TYPE_VSET)
348 #define RES_IS_AFDASD(res) ((res).resource_type == RES_TYPE_AF_DASD)
/Linux-v4.19/include/linux/soc/qcom/
Dsmd-rpm.h38 u32 resource_type, u32 resource_id,
/Linux-v4.19/drivers/acpi/
Dpci_link.c74 u8 resource_type; member
131 link->irq.resource_type = ACPI_RESOURCE_TYPE_IRQ; in acpi_pci_link_check_possible()
157 link->irq.resource_type = ACPI_RESOURCE_TYPE_EXTENDED_IRQ; in acpi_pci_link_check_possible()
312 switch (link->irq.resource_type) { in acpi_pci_link_set()
347 printk(KERN_ERR PREFIX "Invalid Resource_type %d\n", link->irq.resource_type); in acpi_pci_link_set()
Dresource.c257 switch (addr->resource_type) { in acpi_decode_space()
713 if (ares->data.address.resource_type == ACPI_MEMORY_RANGE) in acpi_dev_filter_resource_type()
715 else if (ares->data.address.resource_type == ACPI_IO_RANGE) in acpi_dev_filter_resource_type()
717 else if (ares->data.address.resource_type == in acpi_dev_filter_resource_type()
Dacpi_amba.c69 switch (resource_type(rentry->res)) { in amba_handler_attach()
/Linux-v4.19/drivers/media/platform/qcom/venus/
Dhfi_cmds.h67 u32 resource_type; member
73 u32 resource_type; member
/Linux-v4.19/drivers/dma/
Dacpi-dma.c61 if (resource_type(rentry->res) == IORESOURCE_MEM) in acpi_dma_parse_resource_group()
63 else if (resource_type(rentry->res) == IORESOURCE_IRQ) in acpi_dma_parse_resource_group()
/Linux-v4.19/drivers/vfio/platform/
Dvfio_platform.c41 if (resource_type(r) & (IORESOURCE_MEM|IORESOURCE_IO)) { in get_platform_resource()
/Linux-v4.19/arch/powerpc/platforms/ps3/
Dspu.c415 enum ps3_spu_resource_type resource_type; in ps3_enumerate_spus() local
419 &resource_type, &resource_id); in ps3_enumerate_spus()
424 if (resource_type == PS3_SPU_RESOURCE_TYPE_EXCLUSIVE) { in ps3_enumerate_spus()
/Linux-v4.19/arch/ia64/kernel/
Dacpi-ext.c71 addr.resource_type == ACPI_MEMORY_RANGE && in find_csr_space()
/Linux-v4.19/drivers/pnp/pnpacpi/
Drsparser.c426 if (p->resource_type == ACPI_MEMORY_RANGE) { in pnpacpi_parse_address_option()
432 } else if (p->resource_type == ACPI_IO_RANGE) in pnpacpi_parse_address_option()
445 if (p->resource_type == ACPI_MEMORY_RANGE) { in pnpacpi_parse_ext_address_option()
451 } else if (p->resource_type == ACPI_IO_RANGE) in pnpacpi_parse_ext_address_option()
/Linux-v4.19/drivers/watchdog/
Dwdat_wdt.c352 if (resource_type(res) == IORESOURCE_MEM) { in wdat_wdt_probe()
356 } else if (resource_type(res) == IORESOURCE_IO) { in wdat_wdt_probe()
/Linux-v4.19/drivers/base/
Dplatform.c74 if (type == resource_type(r) && num-- == 0) in platform_get_resource()
172 if (type == resource_type(r) && !strcmp(r->name, name)) in platform_get_resource_byname()
401 if (resource_type(r) == IORESOURCE_MEM) in platform_device_add()
403 else if (resource_type(r) == IORESOURCE_IO) in platform_device_add()

123