Searched refs:nodenum (Results 1 – 5 of 5) sorted by relevance
/drivers/pnp/pnpbios/ |
D | proc.c | 126 u8 nodenum; in pnp_devices_proc_show() local 132 for (nodenum = 0; nodenum < 0xff;) { in pnp_devices_proc_show() 133 u8 thisnodenum = nodenum; in pnp_devices_proc_show() 135 if (pnp_bios_get_dev_node(&nodenum, PNPMODE_DYNAMIC, node)) in pnp_devices_proc_show() 140 if (nodenum <= thisnodenum) { in pnp_devices_proc_show() 144 (unsigned int)nodenum, in pnp_devices_proc_show() 158 u8 nodenum = (long)data; in pnpbios_proc_show() local 164 if (pnp_bios_get_dev_node(&nodenum, boot, node)) { in pnpbios_proc_show() 185 u8 nodenum = (long)data; in pnpbios_proc_write() local 191 if (pnp_bios_get_dev_node(&nodenum, boot, node)) { in pnpbios_proc_write()
|
D | core.c | 191 u8 nodenum = dev->number; in pnpbios_get_resources() local 201 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_get_resources() 213 u8 nodenum = dev->number; in pnpbios_set_resources() local 224 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_set_resources() 267 u8 nodenum = dev->number; in pnpbios_disable_resources() local 277 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_disable_resources() 346 u8 nodenum; in build_devlist() local 355 for (nodenum = 0; nodenum < 0xff;) { in build_devlist() 356 u8 thisnodenum = nodenum; in build_devlist() 362 (&nodenum, (char)PNPMODE_DYNAMIC, node)) in build_devlist() [all …]
|
D | bioscalls.c | 290 static int __pnp_bios_get_dev_node(u8 *nodenum, char boot, in __pnp_bios_get_dev_node() argument 300 tmp_nodenum = *nodenum; in __pnp_bios_get_dev_node() 304 *nodenum = tmp_nodenum; in __pnp_bios_get_dev_node() 308 int pnp_bios_get_dev_node(u8 *nodenum, char boot, struct pnp_bios_node *data) in pnp_bios_get_dev_node() argument 312 status = __pnp_bios_get_dev_node(nodenum, boot, data); in pnp_bios_get_dev_node() 324 static int __pnp_bios_set_dev_node(u8 nodenum, char boot, in __pnp_bios_set_dev_node() argument 333 status = call_pnp_bios(PNP_SET_SYS_DEV_NODE, nodenum, 0, PNP_TS1, in __pnp_bios_set_dev_node() 339 int pnp_bios_set_dev_node(u8 nodenum, char boot, struct pnp_bios_node *data) in pnp_bios_set_dev_node() argument 343 status = __pnp_bios_set_dev_node(nodenum, boot, data); in pnp_bios_set_dev_node() 349 status = pnp_bios_get_dev_node(&nodenum, boot, data); in pnp_bios_set_dev_node()
|
D | pnpbios.h | 118 extern int pnp_bios_get_dev_node(u8 *nodenum, char config, 120 extern int pnp_bios_set_dev_node(u8 nodenum, char config,
|
/drivers/pnp/ |
D | core.c | 50 int nodenum, ret; in pnp_register_protocol() local 54 nodenum = 0; in pnp_register_protocol() 61 if (cur->number == nodenum) { in pnp_register_protocol() 63 nodenum++; in pnp_register_protocol() 67 protocol->number = nodenum; in pnp_register_protocol() 68 dev_set_name(&protocol->dev, "pnp%d", nodenum); in pnp_register_protocol()
|