Lines Matching refs:status
87 u16 status; in call_pnp_bios() local
129 "popl %%ebp\n\t":"=a"(status) in call_pnp_bios()
151 return status; in call_pnp_bios()
154 void pnpbios_print_status(const char *module, u16 status) in pnpbios_print_status() argument
156 switch (status) { in pnpbios_print_status()
228 status); in pnpbios_print_status()
256 u16 status; in __pnp_bios_dev_node_info() local
260 status = call_pnp_bios(PNP_GET_NUM_SYS_DEV_NODES, 0, PNP_TS1, 2, in __pnp_bios_dev_node_info()
264 return status; in __pnp_bios_dev_node_info()
269 int status = __pnp_bios_dev_node_info(data); in pnp_bios_dev_node_info() local
271 if (status) in pnp_bios_dev_node_info()
272 pnpbios_print_status("dev_node_info", status); in pnp_bios_dev_node_info()
273 return status; in pnp_bios_dev_node_info()
293 u16 status; in __pnp_bios_get_dev_node() local
301 status = call_pnp_bios(PNP_GET_SYS_DEV_NODE, 0, PNP_TS1, 0, PNP_TS2, in __pnp_bios_get_dev_node()
305 return status; in __pnp_bios_get_dev_node()
310 int status; in pnp_bios_get_dev_node() local
312 status = __pnp_bios_get_dev_node(nodenum, boot, data); in pnp_bios_get_dev_node()
313 if (status) in pnp_bios_get_dev_node()
314 pnpbios_print_status("get_dev_node", status); in pnp_bios_get_dev_node()
315 return status; in pnp_bios_get_dev_node()
327 u16 status; in __pnp_bios_set_dev_node() local
333 status = call_pnp_bios(PNP_SET_SYS_DEV_NODE, nodenum, 0, PNP_TS1, in __pnp_bios_set_dev_node()
336 return status; in __pnp_bios_set_dev_node()
341 int status; in pnp_bios_set_dev_node() local
343 status = __pnp_bios_set_dev_node(nodenum, boot, data); in pnp_bios_set_dev_node()
344 if (status) { in pnp_bios_set_dev_node()
345 pnpbios_print_status("set_dev_node", status); in pnp_bios_set_dev_node()
346 return status; in pnp_bios_set_dev_node()
349 status = pnp_bios_get_dev_node(&nodenum, boot, data); in pnp_bios_set_dev_node()
350 if (status) in pnp_bios_set_dev_node()
351 return status; in pnp_bios_set_dev_node()
353 return status; in pnp_bios_set_dev_node()
361 u16 status; in pnp_bios_dock_station_info() local
365 status = call_pnp_bios(PNP_GET_DOCKING_STATION_INFORMATION, 0, PNP_TS1, in pnp_bios_dock_station_info()
369 return status; in pnp_bios_dock_station_info()
378 u16 status; in __pnp_bios_get_stat_res() local
382 status = call_pnp_bios(PNP_GET_STATIC_ALLOCED_RES_INFO, 0, PNP_TS1, in __pnp_bios_get_stat_res()
384 return status; in __pnp_bios_get_stat_res()
389 int status; in pnp_bios_get_stat_res() local
391 status = __pnp_bios_get_stat_res(info); in pnp_bios_get_stat_res()
392 if (status) in pnp_bios_get_stat_res()
393 pnpbios_print_status("get_stat_res", status); in pnp_bios_get_stat_res()
394 return status; in pnp_bios_get_stat_res()
402 u16 status; in __pnp_bios_isapnp_config() local
406 status = call_pnp_bios(PNP_GET_PNP_ISA_CONFIG_STRUC, 0, PNP_TS1, PNP_DS, in __pnp_bios_isapnp_config()
409 return status; in __pnp_bios_isapnp_config()
414 int status; in pnp_bios_isapnp_config() local
416 status = __pnp_bios_isapnp_config(data); in pnp_bios_isapnp_config()
417 if (status) in pnp_bios_isapnp_config()
418 pnpbios_print_status("isapnp_config", status); in pnp_bios_isapnp_config()
419 return status; in pnp_bios_isapnp_config()
427 u16 status; in __pnp_bios_escd_info() local
431 status = call_pnp_bios(PNP_GET_ESCD_INFO, 0, PNP_TS1, 2, PNP_TS1, 4, in __pnp_bios_escd_info()
434 return status; in __pnp_bios_escd_info()
439 int status; in pnp_bios_escd_info() local
441 status = __pnp_bios_escd_info(data); in pnp_bios_escd_info()
442 if (status) in pnp_bios_escd_info()
443 pnpbios_print_status("escd_info", status); in pnp_bios_escd_info()
444 return status; in pnp_bios_escd_info()
453 u16 status; in __pnp_bios_read_escd() local
457 status = call_pnp_bios(PNP_READ_ESCD, 0, PNP_TS1, PNP_TS2, PNP_DS, 0, 0, in __pnp_bios_read_escd()
459 return status; in __pnp_bios_read_escd()
464 int status; in pnp_bios_read_escd() local
466 status = __pnp_bios_read_escd(data, nvram_base); in pnp_bios_read_escd()
467 if (status) in pnp_bios_read_escd()
468 pnpbios_print_status("read_escd", status); in pnp_bios_read_escd()
469 return status; in pnp_bios_read_escd()