Home
last modified time | relevance | path

Searched refs:pnp_get_resource (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dpnp.h27 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 …]
/kernel/linux/linux-5.10/drivers/pnp/
Dresource.c197 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_IO, i)); i++) { in pnp_check_port()
211 (tres = pnp_get_resource(tdev, IORESOURCE_IO, i)); in pnp_check_port()
260 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_MEM, i)); i++) { in pnp_check_mem()
274 (tres = pnp_get_resource(tdev, IORESOURCE_MEM, i)); in pnp_check_mem()
376 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_IRQ, i)); i++) { in pnp_check_irq()
401 (tres = pnp_get_resource(tdev, IORESOURCE_IRQ, i)); in pnp_check_irq()
440 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_DMA, i)); i++) { in pnp_check_dma()
460 (tres = pnp_get_resource(tdev, IORESOURCE_DMA, i)); in pnp_check_dma()
482 struct resource *pnp_get_resource(struct pnp_dev *dev, in pnp_get_resource() function
495 EXPORT_SYMBOL(pnp_get_resource);
Dsystem.c61 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()
Dmanager.c27 struct resource *res = pnp_get_resource(dev, type, bar); in pnp_find_resource()
Dquirks.c260 (res = pnp_get_resource(dev, type, j)); j++) { in quirk_system_pci_resources()
/kernel/linux/linux-5.10/drivers/pnp/pnpbios/
Drsparser.c686 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()
/kernel/linux/linux-5.10/drivers/pnp/pnpacpi/
Drsparser.c889 pnp_get_resource(dev, IORESOURCE_IRQ, irq)); in pnpacpi_encode_resources()
895 pnp_get_resource(dev, IORESOURCE_DMA, dma)); in pnpacpi_encode_resources()
900 pnp_get_resource(dev, IORESOURCE_IO, port)); in pnpacpi_encode_resources()
905 pnp_get_resource(dev, IORESOURCE_IO, port)); in pnpacpi_encode_resources()
910 pnp_get_resource(dev, IORESOURCE_MEM, mem)); in pnpacpi_encode_resources()
915 pnp_get_resource(dev, IORESOURCE_MEM, mem)); in pnpacpi_encode_resources()
920 pnp_get_resource(dev, IORESOURCE_MEM, mem)); in pnpacpi_encode_resources()
925 pnp_get_resource(dev, IORESOURCE_IRQ, irq)); in pnpacpi_encode_resources()
/kernel/linux/linux-5.10/drivers/pnp/isapnp/
Dcore.c894 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()
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_tis.c250 res = pnp_get_resource(pnp_dev, IORESOURCE_MEM, 0); in tpm_tis_pnp_init()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-cmos.c1317 pnp_get_resource(pnp, IORESOURCE_IO, 0), irq); in cmos_pnp_probe()
1320 pnp_get_resource(pnp, IORESOURCE_IO, 0), in cmos_pnp_probe()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dapple-gmux.c621 res = pnp_get_resource(pnp, IORESOURCE_IO, 0); in gmux_probe()