Home
last modified time | relevance | path

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

1234

/linux/drivers/interconnect/qcom/
H A Dicc-rpm-clocks.c11 .resource_type = QCOM_SMD_RPM_AGGR_CLK,
17 .resource_type = QCOM_SMD_RPM_AGGR_CLK,
23 .resource_type = QCOM_SMD_RPM_MEM_CLK,
29 .resource_type = QCOM_SMD_RPM_MEM_CLK,
35 .resource_type = QCOM_SMD_RPM_BUS_CLK,
41 .resource_type = QCOM_SMD_RPM_BUS_CLK,
47 .resource_type = QCOM_SMD_RPM_BUS_CLK,
53 .resource_type = QCOM_SMD_RPM_MMAXI_CLK,
59 .resource_type = QCOM_SMD_RPM_MMAXI_CLK,
65 .resource_type
[all...]
H A Dsmd-rpm.c60 clk->resource_type, in qcom_icc_rpm_set_bus_rate()
/linux/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()
163 enum vmci_resource_type resource_type) in vmci_resource_by_handle() argument
169 r = vmci_resource_lookup(resource_handle, resource_type); in vmci_resource_by_handle()
171 (resource_type == r->type || in vmci_resource_by_handle()
172 resource_type in vmci_resource_by_handle()
[all...]
H A Dvmci_resource.h37 enum vmci_resource_type resource_type,
44 enum vmci_resource_type resource_type);
/linux/drivers/acpi/acpica/
H A Drsaddr.c179 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.address.resource_type),
180 AML_OFFSET(address.resource_type),
264 * RETURN: TRUE if the resource_type field is OK, FALSE otherwise
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()
281 (aml->address.resource_type != 0x0A)) { in acpi_rs_get_address_common()
292 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) { in acpi_rs_get_address_common()
295 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) { in acpi_rs_get_address_common()
335 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) { in acpi_rs_set_address_common()
338 } else if (resource->data.address.resource_type in acpi_rs_set_address_common()
[all...]
H A Dutresrc.c270 u8 resource_type; in acpi_ut_validate_resource() local
278 * 1) Validate the resource_type field (Byte 0) in acpi_ut_validate_resource()
280 resource_type = ACPI_GET8(aml); in acpi_ut_validate_resource()
286 if (resource_type & ACPI_RESOURCE_NAME_LARGE) { in acpi_ut_validate_resource()
290 if (resource_type > ACPI_RESOURCE_NAME_LARGE_MAX) { in acpi_ut_validate_resource()
298 resource_index = (u8) (resource_type - 0x70); in acpi_ut_validate_resource()
305 ((resource_type & ACPI_RESOURCE_NAME_SMALL_MASK) >> 3); in acpi_ut_validate_resource()
362 if (resource_type == ACPI_RESOURCE_NAME_SERIAL_BUS) { in acpi_ut_validate_resource()
392 resource_type)); in acpi_ut_validate_resource()
402 resource_type, resource_lengt in acpi_ut_validate_resource()
[all...]
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.c456 switch (resource->address.resource_type) { in acpi_rs_dump_address_common()
475 (u8) resource->address.resource_type); in acpi_rs_dump_address_common()
/linux/drivers/pci/
H A Dhost-bridge.c86 if (resource_type(res) != resource_type(window->res)) in pcibios_bus_to_resource()
H A Dbus.c136 switch (resource_type(res)) { in devm_request_pci_bus_resources()
306 if (resource_type(res) != resource_type(r)) in pci_bus_clip_resource()
/linux/drivers/scsi/
H A Dpmcraid.h308 __u8 resource_type; member
326 /* resource types (config_table_entry.resource_type values) */
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)
/linux/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()
/linux/drivers/acpi/
H A Dpci_link.c59 u8 resource_type; member
117 link->irq.resource_type = ACPI_RESOURCE_TYPE_IRQ; in acpi_pci_link_check_possible()
143 link->irq.resource_type = ACPI_RESOURCE_TYPE_EXTENDED_IRQ; in acpi_pci_link_check_possible()
298 switch (link->irq.resource_type) { in acpi_pci_link_set()
334 link->irq.resource_type); in acpi_pci_link_set()
H A Dresource.c250 switch (addr->resource_type) { in acpi_decode_space()
1087 if (ares->data.address.resource_type == ACPI_MEMORY_RANGE) in acpi_dev_filter_resource_type()
1089 else if (ares->data.address.resource_type == ACPI_IO_RANGE) in acpi_dev_filter_resource_type()
1091 else if (ares->data.address.resource_type == in acpi_dev_filter_resource_type()
/linux/include/linux/soc/qcom/
H A Dsmd-rpm.h65 u32 resource_type, u32 resource_id,
/linux/drivers/misc/pvpanic/
H A Dpvpanic-mmio.c36 switch (resource_type(res)) { in pvpanic_mmio_probe()
/linux/drivers/char/ipmi/
H A Dipmi_si_platform.c105 if (resource_type(r) == IORESOURCE_IO) in ipmi_set_addr_data_and_space()
127 if (res_second && resource_type(res_second) == resource_type(res)) { in ipmi_get_info_from_resources()
/linux/include/linux/
H A Dioport.h293 static inline unsigned long resource_type(const struct resource *res) in resource_type() function
304 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()
/linux/drivers/char/tpm/
H A Dtpm_crb.c535 if (resource_type(iores_array + i) != IORESOURCE_MEM) { in crb_check_resource()
622 if (resource_type(iores_array) != IORESOURCE_MEM) { in crb_map_io()
625 } else if (resource_type(iores_array + TPM_CRB_MAX_RESOURCES) == in crb_map_io()
636 for (i = 0; resource_type(iores_array + i) == IORESOURCE_MEM; ++i) { in crb_map_io()
713 for (i = 0; resource_type(iores_array + i) == IORESOURCE_MEM; ++i) { in crb_map_io()
/linux/drivers/dma/
H A Dacpi-dma.c62 if (resource_type(rentry->res) == IORESOURCE_MEM) in acpi_dma_parse_resource_group()
64 else if (resource_type(rentry->res) == IORESOURCE_IRQ) in acpi_dma_parse_resource_group()
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.h58 u32 resource_type; member
64 u32 resource_type; member
/linux/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()
/linux/drivers/ptp/
H A Dptp_vmclock.c445 if (resource_type(&st->res) == IORESOURCE_MEM) in vmclock_acpi_resources()
451 if (resource_type(res) != IORESOURCE_MEM || in vmclock_acpi_resources()
477 if (ACPI_FAILURE(status) || resource_type(&st->res) != IORESOURCE_MEM) { in vmclock_probe_acpi()
/linux/drivers/acpi/arm64/
H A Damba.c64 switch (resource_type(rentry->res)) { in amba_handler_attach()

1234