/linux/arch/arm/mach-mvebu/ |
H A D | kirkwood.c | 82 struct device_node *pnp = of_get_parent(np); in kirkwood_dt_eth_fixup() local 90 if (!pnp) in kirkwood_dt_eth_fixup() 94 if (!of_device_is_available(pnp) || in kirkwood_dt_eth_fixup() 98 clk = of_clk_get(pnp, 0); in kirkwood_dt_eth_fixup() 102 io = of_iomap(pnp, 0); in kirkwood_dt_eth_fixup() 141 of_node_put(pnp); in kirkwood_dt_eth_fixup()
|
/linux/drivers/acpi/ |
H A D | scan.c | 518 acpi_free_pnp_ids(&acpi_dev->pnp); in acpi_device_release() 533 device->pnp.instance_no); in acpi_device_del() 701 device->pnp.instance_no = result; in acpi_device_set_name() 1182 strscpy(device->pnp.bus_id, "ACPI"); in acpi_device_get_busid() 1188 strscpy(device->pnp.bus_id, "PWRF"); in acpi_device_get_busid() 1191 strscpy(device->pnp.bus_id, "SLPF"); in acpi_device_get_busid() 1194 strscpy(device->pnp.bus_id, "ECDT"); in acpi_device_get_busid() 1205 strscpy(device->pnp.bus_id, bus_id); in acpi_device_get_busid() 1248 list_for_each_entry(hwid, &adev->pnp.ids, list) in acpi_device_is_battery() 1329 hid = list_first_entry_or_null(&device->pnp.ids, struct acpi_hardware_id, list); in acpi_device_hid() [all …]
|
H A D | device_sysfs.c | 153 list_for_each_entry(id, &acpi_dev->pnp.ids, list) in create_pnp_modalias() 166 list_for_each_entry(id, &acpi_dev->pnp.ids, list) { in create_pnp_modalias() 248 if (list_empty(&adev->pnp.ids)) in __acpi_device_uevent_modalias() 291 if (list_empty(&adev->pnp.ids)) in __acpi_device_modalias() 420 if (acpi_dev->pnp.bus_address > U32_MAX) in adr_show() 421 return sprintf(buf, "0x%016llx\n", acpi_dev->pnp.bus_address); in adr_show() 423 return sprintf(buf, "0x%08llx\n", acpi_dev->pnp.bus_address); in adr_show() 545 return !list_empty(&dev->pnp.ids); in acpi_show_attr() 551 return dev->pnp.type.bus_address; in acpi_show_attr()
|
H A D | processor_driver.c | 71 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify() 77 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify() 82 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify() 87 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify()
|
H A D | proc.c | 34 dev->pnp.bus_id, in acpi_system_wakeup_device_seq_show() 112 if (!strncmp(dev->pnp.bus_id, str, 4)) { in acpi_system_write_wakeup_device()
|
H A D | glue.c | 106 if (adev->pnp.type.backlight) in find_child_checks() 122 if (adev->pnp.type.platform_id) in find_child_checks() 141 if (!adev->pnp.type.bus_address || acpi_device_adr(adev) != wd->address) in check_one_child()
|
H A D | thermal.c | 343 acpi_bus_generate_netlink_event(adev->pnp.device_class, in acpi_thermal_trips_update() 545 acpi_bus_generate_netlink_event(tz->device->pnp.device_class, in acpi_thermal_zone_device_hot() 554 acpi_bus_generate_netlink_event(tz->device->pnp.device_class, in acpi_thermal_zone_device_critical() 799 strscpy(tz->name, device->pnp.bus_id); in acpi_thermal_add()
|
/linux/drivers/platform/x86/ |
H A D | apple-gmux.c | 666 struct pnp_dev *pnp = (struct pnp_dev *)context; in gmux_notify_handler() local 667 struct apple_gmux_data *gmux_data = pnp_get_drvdata(pnp); in gmux_notify_handler() 756 struct pnp_dev *pnp = to_pnp_dev(dev); in gmux_suspend() local 757 struct apple_gmux_data *gmux_data = pnp_get_drvdata(pnp); in gmux_suspend() 765 struct pnp_dev *pnp = to_pnp_dev(dev); in gmux_resume() local 766 struct apple_gmux_data *gmux_data = pnp_get_drvdata(pnp); in gmux_resume() 780 static int gmux_probe(struct pnp_dev *pnp, const struct pnp_device_id *id) in gmux_probe() argument 797 if (!apple_gmux_detect(pnp, &type)) { in gmux_probe() 805 pnp_set_drvdata(pnp, gmux_data); in gmux_probe() 812 res = pnp_get_resource(pnp, IORESOURCE_MEM, 0); in gmux_probe() [all …]
|
/linux/drivers/pnp/isapnp/ |
H A D | Makefile | 5 obj-y += pnp.o 6 pnp-y := core.o compat.o 8 pnp-$(CONFIG_PROC_FS) += proc.o
|
/linux/drivers/pnp/pnpbios/ |
H A D | Makefile | 5 obj-y := pnp.o 7 pnp-y := core.o bioscalls.o rsparser.o 9 pnp-$(CONFIG_PNPBIOS_PROC_FS) += proc.o
|
/linux/Documentation/driver-api/ |
H A D | infrastructure.rst | 74 .. kernel-doc:: drivers/pnp/core.c 77 .. kernel-doc:: drivers/pnp/card.c 80 .. kernel-doc:: drivers/pnp/driver.c 83 .. kernel-doc:: drivers/pnp/manager.c 86 .. kernel-doc:: drivers/pnp/support.c
|
/linux/drivers/pnp/ |
H A D | Makefile | 6 obj-y := pnp.o 8 pnp-y := core.o card.o driver.o resource.o manager.o support.o interface.o quirks.o 15 pnp-y += system.o
|
H A D | Kconfig | 31 the pnp.debug kernel parameter. 42 source "drivers/pnp/isapnp/Kconfig" 44 source "drivers/pnp/pnpbios/Kconfig" 46 source "drivers/pnp/pnpacpi/Kconfig"
|
H A D | resource.c | 299 static int pci_dev_uses_irq(struct pnp_dev *pnp, struct pci_dev *pci, in pci_dev_uses_irq() argument 306 pnp_dbg(&pnp->dev, " device %s using irq %d\n", in pci_dev_uses_irq() 328 pnp_dbg(&pnp->dev, " legacy IDE device %s " in pci_dev_uses_irq() 338 static int pci_uses_irq(struct pnp_dev *pnp, unsigned int irq) in pci_uses_irq() argument 344 if (pci_dev_uses_irq(pnp, pci, irq)) { in pci_uses_irq()
|
/linux/sound/drivers/mpu401/ |
H A D | mpu401.c | 25 static bool pnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; variable 38 module_param_array(pnp, bool, NULL, 0444); 39 MODULE_PARM_DESC(pnp, "PnP detection for MPU-401 device."); 129 MODULE_DEVICE_TABLE(pnp, snd_mpu401_pnpids); 165 if (!enable[dev] || !pnp[dev]) in snd_mpu401_pnp_probe() 217 if (pnp[i]) in alsa_card_mpu401_init()
|
/linux/net/phonet/ |
H A D | af_phonet.c | 55 const struct phonet_protocol *pnp; in pn_socket_create() local 75 pnp = phonet_proto_get(protocol); in pn_socket_create() 76 if (pnp == NULL && in pn_socket_create() 78 pnp = phonet_proto_get(protocol); in pn_socket_create() 80 if (pnp == NULL) in pn_socket_create() 82 if (sock->type != pnp->sock_type) { in pn_socket_create() 87 sk = sk_alloc(net, PF_PHONET, GFP_KERNEL, pnp->prot, kern); in pn_socket_create() 95 sock->ops = pnp->ops; in pn_socket_create() 106 phonet_proto_put(pnp); in pn_socket_create()
|
/linux/drivers/pnp/pnpacpi/ |
H A D | Makefile | 5 obj-y += pnp.o 7 pnp-y := core.o rsparser.o
|
H A D | core.c | 201 list_for_each_entry(id, &device->pnp.ids, list) { in pnpacpi_get_id() 263 list_for_each_entry(id, &device->pnp.ids, list) { in pnpacpi_add_device()
|
/linux/drivers/rtc/ |
H A D | rtc-cmos.c | 1389 static int cmos_pnp_probe(struct pnp_dev *pnp, const struct pnp_device_id *id) in cmos_pnp_probe() argument 1393 if (pnp_port_start(pnp, 0) == 0x70 && !pnp_irq_valid(pnp, 0)) { in cmos_pnp_probe() 1404 irq = pnp_irq(pnp, 0); in cmos_pnp_probe() 1407 return cmos_do_probe(&pnp->dev, pnp_get_resource(pnp, IORESOURCE_IO, 0), irq); in cmos_pnp_probe() 1410 static void cmos_pnp_remove(struct pnp_dev *pnp) in cmos_pnp_remove() argument 1412 cmos_do_remove(&pnp->dev); in cmos_pnp_remove() 1415 static void cmos_pnp_shutdown(struct pnp_dev *pnp) in cmos_pnp_shutdown() argument 1417 struct device *dev = &pnp->dev; in cmos_pnp_shutdown() 1436 MODULE_DEVICE_TABLE(pnp, rtc_ids);
|
/linux/include/acpi/ |
H A D | acpi_bus.h | 262 #define acpi_device_bid(d) ((d)->pnp.bus_id) 263 #define acpi_device_adr(d) ((d)->pnp.bus_address) 265 #define acpi_device_uid(d) ((d)->pnp.unique_id) 266 #define acpi_device_name(d) ((d)->pnp.device_name) 267 #define acpi_device_class(d) ((d)->pnp.device_class) 480 struct acpi_device_pnp pnp; member
|
/linux/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 2716 struct device_node *pnp) in mv643xx_eth_shared_of_add_port() argument 2728 if (of_irq_to_resource(pnp, 0, &res) <= 0) { in mv643xx_eth_shared_of_add_port() 2729 dev_err(&pdev->dev, "missing interrupt on %pOFn\n", pnp); in mv643xx_eth_shared_of_add_port() 2733 if (of_property_read_u32(pnp, "reg", &ppd.port_number)) { in mv643xx_eth_shared_of_add_port() 2734 dev_err(&pdev->dev, "missing reg property on %pOFn\n", pnp); in mv643xx_eth_shared_of_add_port() 2739 dev_err(&pdev->dev, "invalid reg property on %pOFn\n", pnp); in mv643xx_eth_shared_of_add_port() 2751 ret = of_get_mac_address(pnp, ppd.mac_addr); in mv643xx_eth_shared_of_add_port() 2755 mv643xx_eth_property(pnp, "tx-queue-size", ppd.tx_queue_size); in mv643xx_eth_shared_of_add_port() 2756 mv643xx_eth_property(pnp, "tx-sram-addr", ppd.tx_sram_addr); in mv643xx_eth_shared_of_add_port() 2757 mv643xx_eth_property(pnp, "tx-sram-size", ppd.tx_sram_size); in mv643xx_eth_shared_of_add_port() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | configfs-usb-gadget-printer | 8 pnp_string Data to be passed to the host in pnp string
|
/linux/Documentation/userspace-api/ |
H A D | isapnp.rst | 8 The interface was removed in kernel 2.5.53. See pnp.rst for more details.
|
/linux/drivers/input/joystick/ |
H A D | sidewinder.c | 527 char pnp[8], rev[9]; in sw_3dp_id() local 530 pnp[i] = sw_get_bits(buf, 24+8*i, 8, 1); in sw_3dp_id() 535 pnp[7] = rev[8] = 0; in sw_3dp_id() 542 pnp, rev); in sw_3dp_id()
|
/linux/drivers/char/tpm/ |
H A D | tpm_tis.c | 109 list_for_each_entry(id, &dev->pnp.ids, list) in has_hid() 289 MODULE_DEVICE_TABLE(pnp, tpm_pnp_tbl);
|