Home
last modified time | relevance | path

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

12

/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_MEM_CLK,
41 .resource_type = QCOM_SMD_RPM_BUS_CLK,
47 .resource_type = QCOM_SMD_RPM_BUS_CLK,
53 .resource_type = QCOM_SMD_RPM_BUS_CLK,
59 .resource_type = QCOM_SMD_RPM_MMAXI_CLK,
65 .resource_type = QCOM_SMD_RPM_MMAXI_CLK,
[all …]
H A Dicc-rpm.h35 u32 resource_type; member
/linux/drivers/net/ipa/
H A Dipa_resource.c71 ipa_resource_config_common(struct ipa *ipa, u32 resource_type, in ipa_resource_config_common() argument
85 iowrite32(val, ipa->reg_virt + reg_n_offset(reg, resource_type)); in ipa_resource_config_common()
88 static void ipa_resource_config_src(struct ipa *ipa, u32 resource_type, in ipa_resource_config_src() argument
96 resource = &data->resource_src[resource_type]; in ipa_resource_config_src()
100 ipa_resource_config_common(ipa, resource_type, reg, in ipa_resource_config_src()
107 ipa_resource_config_common(ipa, resource_type, reg, in ipa_resource_config_src()
114 ipa_resource_config_common(ipa, resource_type, reg, in ipa_resource_config_src()
121 ipa_resource_config_common(ipa, resource_type, reg, in ipa_resource_config_src()
125 static void ipa_resource_config_dst(struct ipa *ipa, u32 resource_type, in ipa_resource_config_dst() argument
133 resource = &data->resource_dst[resource_type]; in ipa_resource_config_dst()
[all …]
/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 == 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);
/linux/drivers/acpi/acpica/
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()
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 == 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.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/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/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/include/linux/
H A Dresource_ext.h75 if (resource_type(entry->res) == type) in resource_list_first_type()
/linux/drivers/acpi/arm64/
H A Damba.c64 switch (resource_type(rentry->res)) { in amba_handler_attach()
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.h58 u32 resource_type; member
64 u32 resource_type; member
/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/pci/controller/
H A Dpci-versatile.c92 if (resource_type(entry->res) == IORESOURCE_MEM) { in versatile_pci_probe()
H A Dpci-xgene.c367 u64 restype = resource_type(res); in xgene_pcie_setup_ob_reg()
410 u64 restype = resource_type(res); in xgene_pcie_map_ranges()
H A Dpci-v3-semi.c525 switch (resource_type(win->res)) { in v3_pci_setup_resource()
588 resource_type(win->res)); in v3_pci_setup_resource()
/linux/drivers/pnp/pnpacpi/
H A Drsparser.c418 if (p->resource_type == ACPI_MEMORY_RANGE) { in pnpacpi_parse_address_option()
424 } else if (p->resource_type == ACPI_IO_RANGE) in pnpacpi_parse_address_option()
437 if (p->resource_type == ACPI_MEMORY_RANGE) { in pnpacpi_parse_ext_address_option()
443 } else if (p->resource_type == ACPI_IO_RANGE) in pnpacpi_parse_ext_address_option()
/linux/drivers/watchdog/
H A Dwdat_wdt.c364 if (resource_type(res) == IORESOURCE_MEM) { in wdat_wdt_probe()
370 } else if (resource_type(res) == IORESOURCE_IO) { in wdat_wdt_probe()
/linux/drivers/pci/
H A Dof_property.c408 if (!(resource_type(res) & IORESOURCE_MEM) && in of_pci_is_range_resource()
409 !(resource_type(res) & IORESOURCE_MEM_64)) in of_pci_is_range_resource()
/linux/drivers/hwtracing/intel_th/
H A Dintel_th.h108 if (resource_type(&thdev->resource[i]) == type && !num--) in intel_th_device_get_resource()
/linux/drivers/pci/controller/mobiveil/
H A Dpcie-mobiveil-host.c279 if (resource_type(win->res) == IORESOURCE_MEM) in mobiveil_host_init()
281 else if (resource_type(win->res) == IORESOURCE_IO) in mobiveil_host_init()
/linux/arch/powerpc/platforms/ps3/
H A Dplatform.h246 enum ps3_spu_resource_type* resource_type, unsigned int *resource_id);
/linux/lib/
H A Ddevres.c134 if (!res || resource_type(res) != IORESOURCE_MEM) { in __devm_ioremap_resource()

12