Lines Matching defs:devno
33 * to the unit record device with devno abcd.
146 static struct urdev *urdev_get_from_devno(u16 devno)
152 sprintf(bus_id, "0.0.%04x", devno);
373 ur_diag210.vrdcdvno = urd->dev_id.devno;
468 static int diag_position_to_record(int devno, int record)
472 cc = diag14(record, devno, 0x28);
493 static int diag_read_file(int devno, char *buf)
497 cc = diag14((unsigned long) buf, devno, 0x00);
522 rc = diag_position_to_record(urd->dev_id.devno, *offs / PAGE_SIZE + 1);
536 rc = diag_read_file(urd->dev_id.devno, buf);
626 rc = diag_read_file(urd->dev_id.devno, buf);
694 u16 devno;
705 * We treat the minor number as the devno of the ur device
708 devno = MINOR(file_inode(file)->i_rdev);
710 urd = urdev_get_from_devno(devno);
886 minor = urd->dev_id.devno;