Home
last modified time | relevance | path

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

1234

/Linux-v6.6/drivers/acpi/
Ddevice_sysfs.c153 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()
250 if (list_empty(&adev->pnp.ids)) in __acpi_device_uevent_modalias()
293 if (list_empty(&adev->pnp.ids)) in __acpi_device_modalias()
413 return sprintf(buf, "%s\n", acpi_dev->pnp.unique_id); in uid_show()
422 if (acpi_dev->pnp.bus_address > U32_MAX) in adr_show()
423 return sprintf(buf, "0x%016llx\n", acpi_dev->pnp.bus_address); in adr_show()
425 return sprintf(buf, "0x%08llx\n", acpi_dev->pnp.bus_address); in adr_show()
446 if (acpi_dev->pnp.str_obj == NULL) in description_show()
454 (wchar_t *)acpi_dev->pnp.str_obj->buffer.pointer, in description_show()
[all …]
Dscan.c456 acpi_free_pnp_ids(&acpi_dev->pnp); in acpi_device_release()
471 device->pnp.instance_no); in acpi_device_del()
639 device->pnp.instance_no = result; in acpi_device_set_name()
1119 strcpy(device->pnp.bus_id, "ACPI"); in acpi_device_get_busid()
1125 strcpy(device->pnp.bus_id, "PWRF"); in acpi_device_get_busid()
1128 strcpy(device->pnp.bus_id, "SLPF"); in acpi_device_get_busid()
1131 strcpy(device->pnp.bus_id, "ECDT"); in acpi_device_get_busid()
1142 strcpy(device->pnp.bus_id, bus_id); in acpi_device_get_busid()
1185 list_for_each_entry(hwid, &adev->pnp.ids, list) in acpi_device_is_battery()
1266 if (list_empty(&device->pnp.ids)) in acpi_device_hid()
[all …]
Dprocessor_driver.c72 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify()
78 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify()
83 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.c34 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()
Dglue.c106 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()
Dbus.c119 device->pnp.bus_id, (u32)sta); in acpi_bus_get_status()
122 pr_debug("Device [%s] status [%08x]\n", device->pnp.bus_id, (u32)sta); in acpi_bus_get_status()
717 if (list_empty(&adev->pnp.ids)) in acpi_companion_match()
851 list_for_each_entry(hwid, &device->pnp.ids, list) { in __acpi_match_device()
1038 acpi_drv->name, acpi_dev->pnp.bus_id); in acpi_device_probe()
1052 acpi_dev->pnp.bus_id); in acpi_device_probe()
/Linux-v6.6/arch/arm/mach-mvebu/
Dkirkwood.c82 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-v6.6/drivers/pnp/isapnp/
DMakefile5 obj-y += pnp.o
6 pnp-y := core.o compat.o
8 pnp-$(CONFIG_PROC_FS) += proc.o
/Linux-v6.6/drivers/pnp/pnpbios/
DMakefile5 obj-y := pnp.o
7 pnp-y := core.o bioscalls.o rsparser.o
9 pnp-$(CONFIG_PNPBIOS_PROC_FS) += proc.o
/Linux-v6.6/drivers/platform/x86/
Dapple-gmux.c666 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-v6.6/drivers/pnp/
DMakefile6 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
DKconfig31 the pnp.debug kernel parameter.
42 source "drivers/pnp/isapnp/Kconfig"
44 source "drivers/pnp/pnpbios/Kconfig"
46 source "drivers/pnp/pnpacpi/Kconfig"
Dresource.c299 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-v6.6/Documentation/driver-api/
Dinfrastructure.rst74 .. 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
Disapnp.rst8 The interface has been removed. See pnp.txt for more details.
/Linux-v6.6/sound/drivers/mpu401/
Dmpu401.c25 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-v6.6/net/phonet/
Daf_phonet.c55 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-v6.6/drivers/pnp/pnpacpi/
DMakefile5 obj-y += pnp.o
7 pnp-y := core.o rsparser.o
Dcore.c201 list_for_each_entry(id, &device->pnp.ids, list) { in pnpacpi_get_id()
266 list_for_each_entry(id, &device->pnp.ids, list) { in pnpacpi_add_device()
/Linux-v6.6/drivers/rtc/
Drtc-cmos.c1386 static int cmos_pnp_probe(struct pnp_dev *pnp, const struct pnp_device_id *id) in cmos_pnp_probe() argument
1390 if (pnp_port_start(pnp, 0) == 0x70 && !pnp_irq_valid(pnp, 0)) { in cmos_pnp_probe()
1401 irq = pnp_irq(pnp, 0); in cmos_pnp_probe()
1404 return cmos_do_probe(&pnp->dev, pnp_get_resource(pnp, IORESOURCE_IO, 0), irq); in cmos_pnp_probe()
1407 static void cmos_pnp_remove(struct pnp_dev *pnp) in cmos_pnp_remove() argument
1409 cmos_do_remove(&pnp->dev); in cmos_pnp_remove()
1412 static void cmos_pnp_shutdown(struct pnp_dev *pnp) in cmos_pnp_shutdown() argument
1414 struct device *dev = &pnp->dev; in cmos_pnp_shutdown()
1433 MODULE_DEVICE_TABLE(pnp, rtc_ids);
/Linux-v6.6/include/acpi/
Dacpi_bus.h250 #define acpi_device_bid(d) ((d)->pnp.bus_id)
251 #define acpi_device_adr(d) ((d)->pnp.bus_address)
253 #define acpi_device_uid(d) ((d)->pnp.unique_id)
254 #define acpi_device_name(d) ((d)->pnp.device_name)
255 #define acpi_device_class(d) ((d)->pnp.device_class)
376 struct acpi_device_pnp pnp; member
/Linux-v6.6/drivers/net/ethernet/marvell/
Dmv643xx_eth.c2720 struct device_node *pnp) in mv643xx_eth_shared_of_add_port() argument
2732 if (of_irq_to_resource(pnp, 0, &res) <= 0) { in mv643xx_eth_shared_of_add_port()
2733 dev_err(&pdev->dev, "missing interrupt on %pOFn\n", pnp); in mv643xx_eth_shared_of_add_port()
2737 if (of_property_read_u32(pnp, "reg", &ppd.port_number)) { in mv643xx_eth_shared_of_add_port()
2738 dev_err(&pdev->dev, "missing reg property on %pOFn\n", pnp); in mv643xx_eth_shared_of_add_port()
2743 dev_err(&pdev->dev, "invalid reg property on %pOFn\n", pnp); in mv643xx_eth_shared_of_add_port()
2755 ret = of_get_mac_address(pnp, ppd.mac_addr); in mv643xx_eth_shared_of_add_port()
2759 mv643xx_eth_property(pnp, "tx-queue-size", ppd.tx_queue_size); in mv643xx_eth_shared_of_add_port()
2760 mv643xx_eth_property(pnp, "tx-sram-addr", ppd.tx_sram_addr); in mv643xx_eth_shared_of_add_port()
2761 mv643xx_eth_property(pnp, "tx-sram-size", ppd.tx_sram_size); in mv643xx_eth_shared_of_add_port()
[all …]
/Linux-v6.6/Documentation/ABI/testing/
Dconfigfs-usb-gadget-printer8 pnp_string Data to be passed to the host in pnp string
/Linux-v6.6/drivers/mmc/host/
Dwbsd.c60 MODULE_DEVICE_TABLE(pnp, pnp_dev_table);
1631 int pnp) in wbsd_init() argument
1649 if (pnp && (ret == -ENODEV)) { in wbsd_init()
1670 if (pnp) { in wbsd_init()
1701 if (!pnp) in wbsd_init()
1717 if (pnp) in wbsd_init()
1724 static void wbsd_shutdown(struct device *dev, int pnp) in wbsd_shutdown() argument
1739 if (!pnp) in wbsd_shutdown()

1234