/linux-6.1.9/include/linux/ |
D | pnp.h | 27 struct resource *pnp_get_resource(struct pnp_dev *dev, unsigned long type, 30 static inline struct resource *pnp_get_resource(struct pnp_dev *dev, in pnp_get_resource() function 62 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_start() 72 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_end() 82 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_flags() 91 return pnp_resource_valid(pnp_get_resource(dev, IORESOURCE_IO, bar)); in pnp_port_valid() 97 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_len() 108 struct resource *res = pnp_get_resource(dev, IORESOURCE_MEM, bar); in pnp_mem_start() 118 struct resource *res = pnp_get_resource(dev, IORESOURCE_MEM, bar); in pnp_mem_end() 127 struct resource *res = pnp_get_resource(dev, IORESOURCE_MEM, bar); in pnp_mem_flags() [all …]
|
D | apple-gmux.h | 90 res = pnp_get_resource(pnp_dev, IORESOURCE_IO, 0); in apple_gmux_detect()
|
/linux-6.1.9/drivers/pnp/ |
D | resource.c | 198 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_IO, i)); i++) { in pnp_check_port() 212 (tres = pnp_get_resource(tdev, IORESOURCE_IO, i)); in pnp_check_port() 261 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_MEM, i)); i++) { in pnp_check_mem() 275 (tres = pnp_get_resource(tdev, IORESOURCE_MEM, i)); in pnp_check_mem() 377 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_IRQ, i)); i++) { in pnp_check_irq() 402 (tres = pnp_get_resource(tdev, IORESOURCE_IRQ, i)); in pnp_check_irq() 441 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_DMA, i)); i++) { in pnp_check_dma() 461 (tres = pnp_get_resource(tdev, IORESOURCE_DMA, i)); in pnp_check_dma() 483 struct resource *pnp_get_resource(struct pnp_dev *dev, in pnp_get_resource() function 496 EXPORT_SYMBOL(pnp_get_resource);
|
D | system.c | 61 for (i = 0; (res = pnp_get_resource(dev, IORESOURCE_IO, i)); i++) { in reserve_resources_of_dev() 82 for (i = 0; (res = pnp_get_resource(dev, IORESOURCE_MEM, i)); i++) { in reserve_resources_of_dev()
|
D | quirks.c | 260 (res = pnp_get_resource(dev, type, j)); j++) { in quirk_system_pci_resources()
|
D | manager.c | 27 struct resource *res = pnp_get_resource(dev, type, bar); in pnp_find_resource()
|
/linux-6.1.9/drivers/pnp/pnpbios/ |
D | rsparser.c | 686 pnp_get_resource(dev, IORESOURCE_MEM, mem)); in pnpbios_encode_allocated_resource_data() 694 pnp_get_resource(dev, IORESOURCE_MEM, mem)); in pnpbios_encode_allocated_resource_data() 702 pnp_get_resource(dev, IORESOURCE_MEM, mem)); in pnpbios_encode_allocated_resource_data() 710 pnp_get_resource(dev, IORESOURCE_IRQ, irq)); in pnpbios_encode_allocated_resource_data() 718 pnp_get_resource(dev, IORESOURCE_DMA, dma)); in pnpbios_encode_allocated_resource_data() 726 pnp_get_resource(dev, IORESOURCE_IO, port)); in pnpbios_encode_allocated_resource_data() 738 pnp_get_resource(dev, IORESOURCE_IO, port)); in pnpbios_encode_allocated_resource_data()
|
/linux-6.1.9/drivers/pnp/pnpacpi/ |
D | rsparser.c | 890 pnp_get_resource(dev, IORESOURCE_IRQ, irq)); in pnpacpi_encode_resources() 896 pnp_get_resource(dev, IORESOURCE_DMA, dma)); in pnpacpi_encode_resources() 901 pnp_get_resource(dev, IORESOURCE_IO, port)); in pnpacpi_encode_resources() 906 pnp_get_resource(dev, IORESOURCE_IO, port)); in pnpacpi_encode_resources() 911 pnp_get_resource(dev, IORESOURCE_MEM, mem)); in pnpacpi_encode_resources() 916 pnp_get_resource(dev, IORESOURCE_MEM, mem)); in pnpacpi_encode_resources() 921 pnp_get_resource(dev, IORESOURCE_MEM, mem)); in pnpacpi_encode_resources() 926 pnp_get_resource(dev, IORESOURCE_IRQ, irq)); in pnpacpi_encode_resources()
|
/linux-6.1.9/drivers/pnp/isapnp/ |
D | core.c | 894 res = pnp_get_resource(dev, IORESOURCE_IO, tmp); in isapnp_set_resources() 903 res = pnp_get_resource(dev, IORESOURCE_IRQ, tmp); in isapnp_set_resources() 913 res = pnp_get_resource(dev, IORESOURCE_DMA, tmp); in isapnp_set_resources() 921 res = pnp_get_resource(dev, IORESOURCE_MEM, tmp); in isapnp_set_resources()
|
/linux-6.1.9/drivers/char/tpm/ |
D | tpm_tis.c | 244 res = pnp_get_resource(pnp_dev, IORESOURCE_MEM, 0); in tpm_tis_pnp_init()
|
/linux-6.1.9/drivers/platform/x86/ |
D | apple-gmux.c | 584 res = pnp_get_resource(pnp, IORESOURCE_IO, 0); in gmux_probe()
|
/linux-6.1.9/drivers/rtc/ |
D | rtc-cmos.c | 1393 return cmos_do_probe(&pnp->dev, pnp_get_resource(pnp, IORESOURCE_IO, 0), irq); in cmos_pnp_probe()
|