Home
last modified time | relevance | path

Searched refs:nodenum (Results 1 – 6 of 6) sorted by relevance

/drivers/pnp/pnpbios/
Dcore.c202 u8 nodenum = dev->number; in pnpbios_get_resources() local
212 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_get_resources()
224 u8 nodenum = dev->number; in pnpbios_set_resources() local
235 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_set_resources()
278 u8 nodenum = dev->number; in pnpbios_disable_resources() local
288 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_disable_resources()
353 u8 nodenum; in build_devlist() local
362 for (nodenum = 0; nodenum < 0xff;) { in build_devlist()
363 u8 thisnodenum = nodenum; in build_devlist()
369 (&nodenum, (char)PNPMODE_DYNAMIC, node)) in build_devlist()
[all …]
Dproc.c177 u8 nodenum; in pnp_devices_proc_show() local
183 for (nodenum = 0; nodenum < 0xff;) { in pnp_devices_proc_show()
184 u8 thisnodenum = nodenum; in pnp_devices_proc_show()
186 if (pnp_bios_get_dev_node(&nodenum, PNPMODE_DYNAMIC, node)) in pnp_devices_proc_show()
191 if (nodenum <= thisnodenum) { in pnp_devices_proc_show()
195 (unsigned int)nodenum, in pnp_devices_proc_show()
222 u8 nodenum = (long)data; in pnpbios_proc_show() local
228 if (pnp_bios_get_dev_node(&nodenum, boot, node)) { in pnpbios_proc_show()
249 u8 nodenum = (long)data; in pnpbios_proc_write() local
255 if (pnp_bios_get_dev_node(&nodenum, boot, node)) { in pnpbios_proc_write()
Dbioscalls.c288 static int __pnp_bios_get_dev_node(u8 *nodenum, char boot, in __pnp_bios_get_dev_node() argument
298 tmp_nodenum = *nodenum; in __pnp_bios_get_dev_node()
302 *nodenum = tmp_nodenum; in __pnp_bios_get_dev_node()
306 int pnp_bios_get_dev_node(u8 *nodenum, char boot, struct pnp_bios_node *data) in pnp_bios_get_dev_node() argument
310 status = __pnp_bios_get_dev_node(nodenum, boot, data); in pnp_bios_get_dev_node()
322 static int __pnp_bios_set_dev_node(u8 nodenum, char boot, in __pnp_bios_set_dev_node() argument
331 status = call_pnp_bios(PNP_SET_SYS_DEV_NODE, nodenum, 0, PNP_TS1, in __pnp_bios_set_dev_node()
337 int pnp_bios_set_dev_node(u8 nodenum, char boot, struct pnp_bios_node *data) in pnp_bios_set_dev_node() argument
341 status = __pnp_bios_set_dev_node(nodenum, boot, data); in pnp_bios_set_dev_node()
347 status = pnp_bios_get_dev_node(&nodenum, boot, data); in pnp_bios_set_dev_node()
Dpnpbios.h131 extern int pnp_bios_get_dev_node(u8 *nodenum, char config,
133 extern int pnp_bios_set_dev_node(u8 nodenum, char config,
/drivers/pnp/
Dcore.c52 int nodenum; in pnp_register_protocol() local
57 nodenum = 0; in pnp_register_protocol()
63 if (cur->number == nodenum) { in pnp_register_protocol()
65 nodenum++; in pnp_register_protocol()
72 protocol->number = nodenum; in pnp_register_protocol()
73 dev_set_name(&protocol->dev, "pnp%d", nodenum); in pnp_register_protocol()
/drivers/staging/zcache/ramster/
Dr2net.c161 int nodenum, ret = -1, status; in r2net_remote_async_get() local
182 nodenum = r2net_target_nodenum; in r2net_remote_async_get()
185 nn = r2net_nn_from_num(nodenum); in r2net_remote_async_get()
247 int nodenum, ret = -1, status; in r2net_remote_put() local
265 nodenum = r2net_target_nodenum; in r2net_remote_put()
269 nn = r2net_nn_from_num(nodenum); in r2net_remote_put()
286 nodenum, &status); in r2net_remote_put()
291 *remotenode = nodenum; in r2net_remote_put()