/kernel/linux/linux-6.6/drivers/interconnect/qcom/ |
H A D | icc-rpm-clocks.c | 11 .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_BUS_CLK, 35 .resource_type = QCOM_SMD_RPM_BUS_CLK, 41 .resource_type = QCOM_SMD_RPM_BUS_CLK, 47 .resource_type = QCOM_SMD_RPM_MMAXI_CLK, 53 .resource_type = QCOM_SMD_RPM_MMAXI_CLK, 59 .resource_type = QCOM_SMD_RPM_QUP_CLK, 66 .resource_type [all...] |
/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A D | ipa_resource.c | 72 ipa_resource_config_common(struct ipa *ipa, u32 resource_type, in ipa_resource_config_common() argument 86 iowrite32(val, ipa->reg_virt + reg_n_offset(reg, resource_type)); in ipa_resource_config_common() 89 static void ipa_resource_config_src(struct ipa *ipa, u32 resource_type, in ipa_resource_config_src() argument 97 resource = &data->resource_src[resource_type]; in ipa_resource_config_src() 101 ipa_resource_config_common(ipa, resource_type, reg, in ipa_resource_config_src() 108 ipa_resource_config_common(ipa, resource_type, reg, in ipa_resource_config_src() 115 ipa_resource_config_common(ipa, resource_type, reg, in ipa_resource_config_src() 122 ipa_resource_config_common(ipa, resource_type, reg, in ipa_resource_config_src() 126 static void ipa_resource_config_dst(struct ipa *ipa, u32 resource_type, in ipa_resource_config_dst() argument 134 resource = &data->resource_dst[resource_type]; in ipa_resource_config_dst() [all...] |
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
H A D | vmci_resource.c | 70 enum vmci_resource_type resource_type) in vmci_resource_find_id() 91 if (!vmci_resource_lookup(handle, resource_type)) in vmci_resource_find_id() 100 enum vmci_resource_type resource_type, in vmci_resource_add() 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() 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() 69 vmci_resource_find_id(u32 context_id, enum vmci_resource_type resource_type) vmci_resource_find_id() argument 99 vmci_resource_add(struct vmci_resource *resource, enum vmci_resource_type resource_type, struct vmci_handle handle) vmci_resource_add() argument 162 vmci_resource_by_handle(struct vmci_handle resource_handle, enum vmci_resource_type resource_type) vmci_resource_by_handle() argument [all...] |
H A D | vmci_resource.h | 37 enum vmci_resource_type resource_type, 44 enum vmci_resource_type resource_type);
|
/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/ |
H A D | vmci_resource.c | 70 enum vmci_resource_type resource_type) in vmci_resource_find_id() 91 if (!vmci_resource_lookup(handle, resource_type)) in vmci_resource_find_id() 100 enum vmci_resource_type resource_type, in vmci_resource_add() 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() 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 in vmci_resource_by_handle() 69 vmci_resource_find_id(u32 context_id, enum vmci_resource_type resource_type) vmci_resource_find_id() argument 99 vmci_resource_add(struct vmci_resource *resource, enum vmci_resource_type resource_type, struct vmci_handle handle) vmci_resource_add() argument 161 vmci_resource_by_handle(struct vmci_handle resource_handle, enum vmci_resource_type resource_type) vmci_resource_by_handle() argument [all...] |
H A D | vmci_resource.h | 37 enum vmci_resource_type resource_type, 44 enum vmci_resource_type resource_type);
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | rsaddr.c | 179 {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() 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 D | utresrc.c | 266 u8 resource_type; in acpi_ut_validate_resource() local 274 * 1) Validate the resource_type field (Byte 0) in acpi_ut_validate_resource() 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_lengt in acpi_ut_validate_resource() [all...] |
H A D | dbcmds.c | 575 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()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | utresrc.c | 270 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() 396 resource_type)); in acpi_ut_validate_resource() 406 resource_type, resource_lengt in acpi_ut_validate_resource() [all...] |
H A D | rsaddr.c | 179 {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 285 if ((address.resource_type > 2) && (address.resource_type < 0xC0)) { in acpi_rs_get_address_common() 296 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) { in acpi_rs_get_address_common() 299 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) { in acpi_rs_get_address_common() 339 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) { in acpi_rs_set_address_common() 342 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) { in acpi_rs_set_address_common()
|
H A D | dbcmds.c | 575 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()
|
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | host-bridge.c | 85 if (resource_type(res) != resource_type(window->res)) in pcibios_bus_to_resource()
|
H A D | bus.c | 102 switch (resource_type(res)) { in devm_request_pci_bus_resources() 275 if (resource_type(res) != resource_type(r)) in pci_bus_clip_resource()
|
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | host-bridge.c | 86 if (resource_type(res) != resource_type(window->res)) in pcibios_bus_to_resource()
|
H A D | bus.c | 124 switch (resource_type(res)) { in devm_request_pci_bus_resources() 300 if (resource_type(res) != resource_type(r)) in pci_bus_clip_resource()
|
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | arm-device.c | 25 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()
|
/kernel/linux/linux-5.10/drivers/staging/board/ |
H A D | board.c | 51 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()
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | arm-device.c | 25 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()
|
/kernel/linux/linux-6.6/drivers/staging/board/ |
H A D | board.c | 51 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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | ioport.h | 214 static inline unsigned long resource_type(const struct resource *res) in resource_type() function 225 if (resource_type(r1) != resource_type(r2)) in resource_contains()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | pci_link.c | 59 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()
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | tpm_crb.c | 445 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()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | pmcraid.h | 308 __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)
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | pci_link.c | 59 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()
|