Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/misc/vmw_vmci/
H A Dvmci_resource.c70 enum vmci_resource_type resource_type) in vmci_resource_find_id() argument
91 if (!vmci_resource_lookup(handle, resource_type)) in vmci_resource_find_id()
100 enum vmci_resource_type resource_type, in vmci_resource_add() argument
111 resource_type); in vmci_resource_add()
116 } else if (vmci_resource_lookup(handle, resource_type)) { in vmci_resource_add()
122 resource->type = resource_type; in vmci_resource_add()
162 enum vmci_resource_type resource_type) in vmci_resource_by_handle() argument
168 r = vmci_resource_lookup(resource_handle, resource_type); in vmci_resource_by_handle()
170 (resource_type == r->type || in vmci_resource_by_handle()
171 resource_type == VMCI_RESOURCE_TYPE_ANY)) { in vmci_resource_by_handle()
H A Dvmci_resource.h37 enum vmci_resource_type resource_type,
44 enum vmci_resource_type resource_type);
/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A 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()
H A 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()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dhost-bridge.c85 if (resource_type(res) != resource_type(window->res)) in pcibios_bus_to_resource()
H A 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()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dpmcraid.h308 __u8 resource_type; member
332 #define RES_IS_IOA(res) ((res).resource_type == RES_TYPE_IOA_FP)
333 #define RES_IS_GSCSI(res) ((res).resource_type == RES_TYPE_GSCSI)
334 #define RES_IS_VSET(res) ((res).resource_type == RES_TYPE_VSET)
335 #define RES_IS_AFDASD(res) ((res).resource_type == RES_TYPE_AF_DASD)
/OK3568_Linux_fs/kernel/include/linux/
H A Dioport.h220 static inline unsigned long resource_type(const struct resource *res) in resource_type() function
231 if (resource_type(r1) != resource_type(r2)) in resource_contains()
H A Dresource_ext.h75 if (resource_type(entry->res) == type) in resource_list_first_type()
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dpci_link.c59 u8 resource_type; member
116 link->irq.resource_type = ACPI_RESOURCE_TYPE_IRQ; in acpi_pci_link_check_possible()
142 link->irq.resource_type = ACPI_RESOURCE_TYPE_EXTENDED_IRQ; in acpi_pci_link_check_possible()
297 switch (link->irq.resource_type) { in acpi_pci_link_set()
332 printk(KERN_ERR PREFIX "Invalid Resource_type %d\n", link->irq.resource_type); in acpi_pci_link_set()
H A Dresource.c249 switch (addr->resource_type) { in acpi_decode_space()
705 if (ares->data.address.resource_type == ACPI_MEMORY_RANGE) in acpi_dev_filter_resource_type()
707 else if (ares->data.address.resource_type == ACPI_IO_RANGE) in acpi_dev_filter_resource_type()
709 else if (ares->data.address.resource_type == in acpi_dev_filter_resource_type()
H A Dacpi_amba.c75 switch (resource_type(rentry->res)) { in amba_handler_attach()
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A Dtpm_crb.c445 if (resource_type(iores_array + i) != IORESOURCE_MEM) { in crb_check_resource()
527 if (resource_type(iores_array) != IORESOURCE_MEM) { in crb_map_io()
530 } else if (resource_type(iores_array + TPM_CRB_MAX_RESOURCES) == in crb_map_io()
540 for (i = 0; resource_type(iores_array + i) == IORESOURCE_MEM; ++i) { in crb_map_io()
616 for (i = 0; resource_type(iores_array + i) == IORESOURCE_MEM; ++i) { in crb_map_io()
/OK3568_Linux_fs/kernel/drivers/xen/
H A Darm-device.c25 if ((resource_type(r) != IORESOURCE_MEM) || (nr == 0)) in xen_unmap_device_mmio()
59 if ((resource_type(r) != IORESOURCE_MEM) || (nr == 0)) in xen_map_device_mmio()
/OK3568_Linux_fs/kernel/drivers/staging/board/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/soc/qcom/
H A Dsmd-rpm.h43 u32 resource_type, u32 resource_id,
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.h58 u32 resource_type; member
64 u32 resource_type; member
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/
H A Dspu.c398 enum ps3_spu_resource_type resource_type; in ps3_enumerate_spus() local
402 &resource_type, &resource_id); in ps3_enumerate_spus()
407 if (resource_type == PS3_SPU_RESOURCE_TYPE_EXCLUSIVE) { in ps3_enumerate_spus()
/OK3568_Linux_fs/kernel/drivers/dma/
H A Dacpi-dma.c59 if (resource_type(rentry->res) == IORESOURCE_MEM) in acpi_dma_parse_resource_group()
61 else if (resource_type(rentry->res) == IORESOURCE_IRQ) in acpi_dma_parse_resource_group()
/OK3568_Linux_fs/external/xserver/hw/dmx/examples/
H A Dres.c90 char *name = XGetAtomName(display, types[j].resource_type); in main()
/OK3568_Linux_fs/kernel/drivers/vfio/platform/
H A Dvfio_platform.c33 if (resource_type(r) & (IORESOURCE_MEM|IORESOURCE_IO)) { in get_platform_resource()
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Dacpi-ext.c68 addr.resource_type == ACPI_MEMORY_RANGE && in find_csr_space()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_mali.c288 if (IORESOURCE_MEM == resource_type(&(mali_platform_device->resource[i])) && in _mali_osk_resource_find()
296 IORESOURCE_IRQ == resource_type(&(mali_platform_device->resource[i + 1]))) { in _mali_osk_resource_find()

1234