Lines Matching refs:devno
23 static int read_mbr(u8 devno, void *buf) in read_mbr() argument
30 ireg.dl = devno; in read_mbr()
38 static u32 read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig) in read_mbr_sig() argument
63 if (read_mbr(devno, mbrbuf_ptr)) in read_mbr_sig()
73 static int get_edd_info(u8 devno, struct edd_info *ei) in get_edd_info() argument
84 ireg.dl = devno; in get_edd_info()
93 ei->device = devno; in get_edd_info()
130 int devno; in query_edd() local
160 for (devno = 0x80; devno < 0x80+EDD_MBR_SIG_MAX; devno++) { in query_edd()
165 if (!get_edd_info(devno, &ei) in query_edd()
172 if (do_mbr && !read_mbr_sig(devno, &ei, mbrptr++)) in query_edd()
173 boot_params.edd_mbr_sig_buf_entries = devno-0x80+1; in query_edd()