Home
last modified time | relevance | path

Searched refs:pnp (Results 1 – 25 of 64) sorted by relevance

123

/drivers/acpi/
Dscan.c124 if (list_empty(&acpi_dev->pnp.ids)) in create_modalias()
130 list_for_each_entry(id, &acpi_dev->pnp.ids, list) { in create_modalias()
173 if (list_empty(&adev->pnp.ids)) in acpi_companion_match()
648 return sprintf(buf, "%s\n", acpi_dev->pnp.unique_id); in acpi_device_uid_show()
658 (unsigned int)(acpi_dev->pnp.bus_address)); in acpi_device_adr_show()
686 if (acpi_dev->pnp.str_obj == NULL) in description_show()
694 (wchar_t *)acpi_dev->pnp.str_obj->buffer.pointer, in description_show()
695 acpi_dev->pnp.str_obj->buffer.length, in description_show()
749 if (!list_empty(&dev->pnp.ids)) { in acpi_device_setup_files()
767 dev->pnp.str_obj = buffer.pointer; in acpi_device_setup_files()
[all …]
Dprocessor_driver.c92 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify()
98 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify()
103 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify()
Devent.c31 strcpy(event.device_class, dev->pnp.device_class); in acpi_notifier_call_chain()
32 strcpy(event.bus_id, dev->pnp.bus_id); in acpi_notifier_call_chain()
Dproc.c38 dev->pnp.bus_id, in acpi_system_wakeup_device_seq_show()
117 if (!strncmp(dev->pnp.bus_id, str, 4)) { in acpi_system_write_wakeup_device()
Ddevice_pm.c128 device->pnp.bus_id, acpi_power_state_string(*state))); in acpi_device_get_power()
167 device->pnp.bus_id, in acpi_device_set_power()
229 device->pnp.bus_id, in acpi_device_set_power()
Dinternal.h87 void acpi_free_pnp_ids(struct acpi_device_pnp *pnp);
Dbus.c126 device->pnp.bus_id, (u32)sta)); in acpi_bus_get_status()
130 device->pnp.bus_id, (u32)sta)); in acpi_bus_get_status()
Dthermal.c762 acpi_bus_generate_netlink_event(tz->device->pnp.device_class, in thermal_notify()
969 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_thermal_notify()
975 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_thermal_notify()
1091 strcpy(tz->name, device->pnp.bus_id); in acpi_thermal_add()
/drivers/platform/x86/
Dapple-gmux.c382 struct pnp_dev *pnp = (struct pnp_dev *)context; in gmux_notify_handler() local
383 struct apple_gmux_data *gmux_data = pnp_get_drvdata(pnp); in gmux_notify_handler()
398 struct pnp_dev *pnp = to_pnp_dev(dev); in gmux_suspend() local
399 struct apple_gmux_data *gmux_data = pnp_get_drvdata(pnp); in gmux_suspend()
408 struct pnp_dev *pnp = to_pnp_dev(dev); in gmux_resume() local
409 struct apple_gmux_data *gmux_data = pnp_get_drvdata(pnp); in gmux_resume()
418 static int gmux_probe(struct pnp_dev *pnp, const struct pnp_device_id *id) in gmux_probe() argument
435 pnp_set_drvdata(pnp, gmux_data); in gmux_probe()
437 res = pnp_get_resource(pnp, IORESOURCE_IO, 0); in gmux_probe()
499 bdev = backlight_device_register("gmux_backlight", &pnp->dev, in gmux_probe()
[all …]
Dtoshiba_haps.c138 acpi_bus_generate_netlink_event(device->pnp.device_class, in toshiba_haps_notify()
/drivers/pnp/isapnp/
DMakefile4 obj-y += pnp.o
5 pnp-y := core.o compat.o
7 pnp-$(CONFIG_PROC_FS) += proc.o
/drivers/pnp/pnpbios/
DMakefile4 obj-y := pnp.o
6 pnp-y := core.o bioscalls.o rsparser.o
8 pnp-$(CONFIG_PNPBIOS_PROC_FS) += proc.o
/drivers/pnp/
DMakefile5 obj-y := pnp.o
7 pnp-y := core.o card.o driver.o resource.o manager.o support.o interface.o quirks.o
14 pnp-y += system.o
DKconfig30 the pnp.debug kernel parameter.
41 source "drivers/pnp/isapnp/Kconfig"
43 source "drivers/pnp/pnpbios/Kconfig"
45 source "drivers/pnp/pnpacpi/Kconfig"
Dresource.c295 static int pci_dev_uses_irq(struct pnp_dev *pnp, struct pci_dev *pci, in pci_dev_uses_irq() argument
302 pnp_dbg(&pnp->dev, " device %s using irq %d\n", in pci_dev_uses_irq()
324 pnp_dbg(&pnp->dev, " legacy IDE device %s " in pci_dev_uses_irq()
334 static int pci_uses_irq(struct pnp_dev *pnp, unsigned int irq) in pci_uses_irq() argument
340 if (pci_dev_uses_irq(pnp, pci, irq)) { in pci_uses_irq()
/drivers/rtc/
Drtc-cmos.c1066 static int cmos_pnp_probe(struct pnp_dev *pnp, const struct pnp_device_id *id) in cmos_pnp_probe() argument
1068 cmos_wake_setup(&pnp->dev); in cmos_pnp_probe()
1070 if (pnp_port_start(pnp, 0) == 0x70 && !pnp_irq_valid(pnp, 0)) in cmos_pnp_probe()
1075 return cmos_do_probe(&pnp->dev, in cmos_pnp_probe()
1076 pnp_get_resource(pnp, IORESOURCE_IO, 0), 8); in cmos_pnp_probe()
1078 return cmos_do_probe(&pnp->dev, in cmos_pnp_probe()
1079 pnp_get_resource(pnp, IORESOURCE_IO, 0), in cmos_pnp_probe()
1080 pnp_irq(pnp, 0)); in cmos_pnp_probe()
1083 static void __exit cmos_pnp_remove(struct pnp_dev *pnp) in cmos_pnp_remove() argument
1085 cmos_do_remove(&pnp->dev); in cmos_pnp_remove()
[all …]
/drivers/pnp/pnpacpi/
DMakefile4 obj-y += pnp.o
6 pnp-y := core.o rsparser.o
Dcore.c214 list_for_each_entry(id, &device->pnp.ids, list) { in pnpacpi_get_id()
275 list_for_each_entry(id, &device->pnp.ids, list) { in pnpacpi_add_device()
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c2652 struct device_node *pnp) in mv643xx_eth_shared_of_add_port() argument
2665 if (!of_irq_to_resource(pnp, 0, &res)) { in mv643xx_eth_shared_of_add_port()
2666 dev_err(&pdev->dev, "missing interrupt on %s\n", pnp->name); in mv643xx_eth_shared_of_add_port()
2670 if (of_property_read_u32(pnp, "reg", &ppd.port_number)) { in mv643xx_eth_shared_of_add_port()
2671 dev_err(&pdev->dev, "missing reg property on %s\n", pnp->name); in mv643xx_eth_shared_of_add_port()
2676 dev_err(&pdev->dev, "invalid reg property on %s\n", pnp->name); in mv643xx_eth_shared_of_add_port()
2688 mac_addr = of_get_mac_address(pnp); in mv643xx_eth_shared_of_add_port()
2692 mv643xx_eth_property(pnp, "tx-queue-size", ppd.tx_queue_size); in mv643xx_eth_shared_of_add_port()
2693 mv643xx_eth_property(pnp, "tx-sram-addr", ppd.tx_sram_addr); in mv643xx_eth_shared_of_add_port()
2694 mv643xx_eth_property(pnp, "tx-sram-size", ppd.tx_sram_size); in mv643xx_eth_shared_of_add_port()
[all …]
/drivers/mmc/host/
Dwbsd.c63 MODULE_DEVICE_TABLE(pnp, pnp_dev_table);
1647 int pnp) in wbsd_init() argument
1665 if (pnp && (ret == -ENODEV)) { in wbsd_init()
1686 if (pnp) { in wbsd_init()
1725 if (pnp) in wbsd_init()
1732 static void wbsd_shutdown(struct device *dev, int pnp) in wbsd_shutdown() argument
1747 if (!pnp) in wbsd_shutdown()
/drivers/input/joystick/
Dsidewinder.c546 char pnp[8], rev[9]; in sw_3dp_id() local
549 pnp[i] = sw_get_bits(buf, 24+8*i, 8, 1); in sw_3dp_id()
554 pnp[7] = rev[8] = 0; in sw_3dp_id()
561 pnp, rev); in sw_3dp_id()
/drivers/ata/
Dpata_isapnp.c122 MODULE_DEVICE_TABLE(pnp, isapnp_devices);
/drivers/tty/serial/8250/
D8250_pnp.c375 MODULE_DEVICE_TABLE(pnp, pnp_dev_table);
D8250_fintek.c224 MODULE_DEVICE_TABLE(pnp, fintek_dev_table);
/drivers/input/gameport/
Dns558.c195 MODULE_DEVICE_TABLE(pnp, pnp_devids);

123