Lines Matching refs:devno
32 * to the unit record device with devno abcd.
142 static struct urdev *urdev_get_from_devno(u16 devno)
148 sprintf(bus_id, "0.0.%04x", devno);
368 ur_diag210.vrdcdvno = urd->dev_id.devno;
463 static int diag_position_to_record(int devno, int record)
467 cc = diag14(record, devno, 0x28);
488 static int diag_read_file(int devno, char *buf)
492 cc = diag14((unsigned long) buf, devno, 0x00);
517 rc = diag_position_to_record(urd->dev_id.devno, *offs / PAGE_SIZE + 1);
531 rc = diag_read_file(urd->dev_id.devno, buf);
621 rc = diag_read_file(urd->dev_id.devno, buf);
689 u16 devno;
700 * We treat the minor number as the devno of the ur device
703 devno = MINOR(file->f_dentry->d_inode->i_rdev);
705 urd = urdev_get_from_devno(devno);
894 minor = urd->dev_id.devno;