/linux-4.4.14/drivers/misc/vmw_vmci/ |
D | vmci_resource.c | 76 enum vmci_resource_type resource_type) in vmci_resource_find_id() argument 97 if (!vmci_resource_lookup(handle, resource_type)) in vmci_resource_find_id() 106 enum vmci_resource_type resource_type, in vmci_resource_add() argument 117 resource_type); in vmci_resource_add() 122 } else if (vmci_resource_lookup(handle, resource_type)) { in vmci_resource_add() 128 resource->type = resource_type; in vmci_resource_add() 168 enum vmci_resource_type resource_type) in vmci_resource_by_handle() argument 174 r = vmci_resource_lookup(resource_handle, resource_type); in vmci_resource_by_handle() 176 (resource_type == r->type || in vmci_resource_by_handle() 177 resource_type == VMCI_RESOURCE_TYPE_ANY)) { in vmci_resource_by_handle()
|
D | vmci_resource.h | 45 enum vmci_resource_type resource_type, 52 enum vmci_resource_type resource_type);
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | rsaddr.c | 215 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.address.resource_type), 216 AML_OFFSET(address.resource_type), 315 if ((aml->address.resource_type > 2) in acpi_rs_get_address_common() 316 && (aml->address.resource_type < 0xC0)) { in acpi_rs_get_address_common() 327 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) { in acpi_rs_get_address_common() 330 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) { in acpi_rs_get_address_common() 370 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) { in acpi_rs_set_address_common() 373 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) { in acpi_rs_set_address_common()
|
D | utresrc.c | 532 u8 resource_type; in acpi_ut_validate_resource() local 542 resource_type = ACPI_GET8(aml); in acpi_ut_validate_resource() 548 if (resource_type & ACPI_RESOURCE_NAME_LARGE) { in acpi_ut_validate_resource() 552 if (resource_type > ACPI_RESOURCE_NAME_LARGE_MAX) { in acpi_ut_validate_resource() 560 resource_index = (u8) (resource_type - 0x70); in acpi_ut_validate_resource() 567 ((resource_type & ACPI_RESOURCE_NAME_SMALL_MASK) >> 3); in acpi_ut_validate_resource() 624 if (resource_type == ACPI_RESOURCE_NAME_SERIAL_BUS) { in acpi_ut_validate_resource() 654 resource_type)); in acpi_ut_validate_resource() 664 resource_type, resource_length, in acpi_ut_validate_resource()
|
D | dbcmds.c | 611 u8 resource_type; in acpi_dm_compare_aml_resources() local 636 resource_type = acpi_ut_get_resource_type(aml1); in acpi_dm_compare_aml_resources() 644 resource_type, offset, aml1_length, aml2_length); in acpi_dm_compare_aml_resources() 652 "Offset %8.8X ****\n", count, resource_type, in acpi_dm_compare_aml_resources() 667 if (resource_type == ACPI_RESOURCE_NAME_END_TAG) { in acpi_dm_compare_aml_resources()
|
D | rsdump.c | 442 switch (resource->address.resource_type) { in acpi_rs_dump_address_common() 461 (u8) resource->address.resource_type); in acpi_rs_dump_address_common()
|
D | amlresrc.h | 240 u8 resource_type; \
|
D | rsxface.c | 57 ACPI_COPY_FIELD(out, in, resource_type); \
|
/linux-4.4.14/drivers/pci/ |
D | host-bridge.c | 83 if (resource_type(res) != resource_type(window->res)) in pcibios_bus_to_resource()
|
D | bus.c | 247 if (resource_type(res) != resource_type(r)) in pci_bus_clip_resource()
|
D | probe.c | 2168 if (resource_type(res) == IORESOURCE_IO) in pci_create_root_bus()
|
/linux-4.4.14/include/linux/ |
D | ioport.h | 169 static inline unsigned long resource_type(const struct resource *res) in resource_type() function 176 if (resource_type(r1) != resource_type(r2)) in resource_contains()
|
/linux-4.4.14/drivers/staging/board/ |
D | board.c | 54 if (resource_type(r) == IORESOURCE_MEM) in board_staging_dt_node_available() 83 if (resource_type(res) != IORESOURCE_IRQ || !irqc_node) in gic_fixup_resource()
|
/linux-4.4.14/include/linux/soc/qcom/ |
D | smd-rpm.h | 32 u32 resource_type, u32 resource_id,
|
/linux-4.4.14/drivers/scsi/ |
D | pmcraid.h | 321 __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)
|
D | mvumi.h | 236 enum resource_type { enum
|
D | pmcraid.c | 1338 if (cfgte->resource_type == RES_TYPE_VSET) { in pmcraid_expose_resource() 1345 } else if (cfgte->resource_type == RES_TYPE_GSCSI) in pmcraid_expose_resource() 1602 cfg_entry->resource_type == RES_TYPE_VSET) { in pmcraid_handle_config_change() 5699 res->cfg_entry.resource_type, in pmcraid_init_res_table()
|
D | mvumi.c | 123 enum resource_type type, unsigned int size) in mvumi_alloc_mem_resource()
|
/linux-4.4.14/drivers/acpi/ |
D | resource.c | 243 switch (addr->resource_type) { in acpi_decode_space() 626 if (ares->data.address.resource_type == ACPI_MEMORY_RANGE) in acpi_dev_filter_resource_type() 628 else if (ares->data.address.resource_type == ACPI_IO_RANGE) in acpi_dev_filter_resource_type() 630 else if (ares->data.address.resource_type == in acpi_dev_filter_resource_type()
|
D | pci_link.c | 73 u8 resource_type; member 129 link->irq.resource_type = ACPI_RESOURCE_TYPE_IRQ; in acpi_pci_link_check_possible() 155 link->irq.resource_type = ACPI_RESOURCE_TYPE_EXTENDED_IRQ; in acpi_pci_link_check_possible() 310 switch (link->irq.resource_type) { in acpi_pci_link_set() 345 printk(KERN_ERR PREFIX "Invalid Resource_type %d\n", link->irq.resource_type); in acpi_pci_link_set()
|
D | acpi_memhotplug.c | 92 (address64.resource_type != ACPI_MEMORY_RANGE)) in acpi_memory_get_resource()
|
D | acpi_lpss.c | 368 if (resource_type(rentry->res) == IORESOURCE_MEM) { in acpi_lpss_create_device()
|
D | pci_root.c | 112 (address.resource_type == ACPI_BUS_NUMBER_RANGE)) { in get_root_bridge_busnr_callback()
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_ae.c | 172 resource_indicator = be32_to_cpu(wr->ae.ae_generic.resource_type); in c2_ae_event() 201 be32_to_cpu(wr->ae.ae_generic.resource_type), in c2_ae_event()
|
D | c2_wr.h | 1116 __be32 resource_type; /* see enum c2_resource_indicator */ member
|
/linux-4.4.14/drivers/vfio/platform/ |
D | vfio_platform.c | 37 if (resource_type(r) & (IORESOURCE_MEM|IORESOURCE_IO)) { in get_platform_resource()
|
D | vfio_platform_common.c | 92 switch (resource_type(res)) { in vfio_platform_regions_init()
|
/linux-4.4.14/drivers/dma/ |
D | acpi-dma.c | 60 if (resource_type(rentry->res) == IORESOURCE_MEM) in acpi_dma_parse_resource_group() 62 else if (resource_type(rentry->res) == IORESOURCE_IRQ) in acpi_dma_parse_resource_group()
|
/linux-4.4.14/arch/powerpc/platforms/ps3/ |
D | spu.c | 415 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()
|
D | platform.h | 258 enum ps3_spu_resource_type* resource_type, unsigned int *resource_id);
|
D | repository.c | 893 enum ps3_spu_resource_type *resource_type, unsigned int *resource_id) in ps3_repository_read_spu_resource_id() argument 905 *resource_type = v1; in ps3_repository_read_spu_resource_id()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | acpi-ext.c | 71 addr.resource_type == ACPI_MEMORY_RANGE && in find_csr_space()
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
D | intel_th.h | 87 if (resource_type(&thdev->resource[i]) == type && !num--) in intel_th_device_get_resource()
|
/linux-4.4.14/drivers/pnp/pnpacpi/ |
D | rsparser.c | 411 if (p->resource_type == ACPI_MEMORY_RANGE) { in pnpacpi_parse_address_option() 417 } else if (p->resource_type == ACPI_IO_RANGE) in pnpacpi_parse_address_option() 430 if (p->resource_type == ACPI_MEMORY_RANGE) { in pnpacpi_parse_ext_address_option() 436 } else if (p->resource_type == ACPI_IO_RANGE) in pnpacpi_parse_ext_address_option()
|
/linux-4.4.14/drivers/base/ |
D | platform.c | 74 if (type == resource_type(r) && num-- == 0) in platform_get_resource() 137 if (type == resource_type(r) && !strcmp(r->name, name)) in platform_get_resource_byname() 350 if (resource_type(r) == IORESOURCE_MEM) in platform_device_add() 352 else if (resource_type(r) == IORESOURCE_IO) in platform_device_add()
|
/linux-4.4.14/drivers/pci/host/ |
D | pci-versatile.c | 86 switch (resource_type(res)) { in versatile_pci_parse_request_of_pci_ranges()
|
D | pci-xgene.c | 268 u64 restype = resource_type(res); in xgene_pcie_setup_ob_reg() 311 u64 restype = resource_type(res); in xgene_pcie_map_ranges()
|
D | pci-host-generic.c | 126 switch (resource_type(res)) { in gen_pci_parse_request_of_pci_ranges()
|
D | pcie-iproc.c | 300 u64 res_type = resource_type(res); in iproc_pcie_map_ranges()
|
D | pcie-altera.c | 437 switch (resource_type(res)) { in altera_pcie_parse_request_of_pci_ranges()
|
D | pcie-designware.c | 431 switch (resource_type(win->res)) { in dw_pcie_host_init()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes.h | 417 u32 *req_resource_num, u32 *next, enum nes_resource resource_type) in nes_alloc_resource() argument 428 printk(KERN_ERR PFX "%s: No available resources [type=%u].\n", __func__, resource_type); in nes_alloc_resource()
|
/linux-4.4.14/drivers/of/ |
D | of_pci.c | 237 if (resource_type(res) == IORESOURCE_IO) { in of_pci_get_host_bridge_resources()
|
/linux-4.4.14/tools/testing/nvdimm/test/ |
D | iomap.c | 186 res->flags = resource_type(parent); in nfit_test_request_region()
|
/linux-4.4.14/lib/ |
D | devres.c | 142 if (!res || resource_type(res) != IORESOURCE_MEM) { in devm_ioremap_resource()
|
/linux-4.4.14/include/acpi/ |
D | acrestyp.h | 301 u8 resource_type; \
|
/linux-4.4.14/drivers/xen/ |
D | xen-acpi-memhotplug.c | 114 (address64.resource_type != ACPI_MEMORY_RANGE)) in acpi_memory_get_resource()
|
/linux-4.4.14/drivers/sh/intc/ |
D | core.c | 213 WARN_ON(resource_type(res) != IORESOURCE_MEM); in register_intc_controller()
|
/linux-4.4.14/arch/arm/kernel/ |
D | bios32.c | 424 if (resource_type(window->res) == IORESOURCE_IO) in pcibios_init_resources()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-main.c | 315 if (type == resource_type(res)) in xgbe_resource_count()
|
/linux-4.4.14/arch/x86/pci/ |
D | mmconfig-shared.c | 401 (address.resource_type != ACPI_MEMORY_RANGE)) in check_mcfg_resource()
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic79xx.h | 905 uint8_t resource_type; member
|
D | aic79xx_core.c | 10148 for (i = offsetof(struct vpd_config, resource_type); i < maxaddr; i++) in ahd_verify_vpd_cksum()
|
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 951 u64 resource_type, aer, aerr; in ehea_qp_aff_irq_handler() local 963 resource_type = ehea_error_data(port->adapter, qp->fw_handle, in ehea_qp_aff_irq_handler() 966 if (resource_type == EHEA_AER_RESTYPE_QP) { in ehea_qp_aff_irq_handler()
|
/linux-4.4.14/kernel/ |
D | resource.c | 1074 res->flags = resource_type(parent); in __request_region()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq_cmd.h | 649 u8 resource_type; member
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq_cmd.h | 652 u8 resource_type; member
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4.h | 1232 enum mlx4_resource resource_type,
|
/linux-4.4.14/drivers/i2c/ |
D | i2c-core.c | 181 if (resource_type(entry->res) == IORESOURCE_IRQ) { in acpi_i2c_add_device()
|