Lines Matching refs:devno
149 static struct urdev *urdev_get_from_devno(u16 devno) in urdev_get_from_devno() argument
155 sprintf(bus_id, "0.0.%04x", devno); in urdev_get_from_devno()
375 ur_diag210.vrdcdvno = urd->dev_id.devno; in get_urd_class()
470 static int diag_position_to_record(int devno, int record) in diag_position_to_record() argument
474 cc = diag14(record, devno, 0x28); in diag_position_to_record()
495 static int diag_read_file(int devno, char *buf) in diag_read_file() argument
499 cc = diag14((unsigned long) buf, devno, 0x00); in diag_read_file()
524 rc = diag_position_to_record(urd->dev_id.devno, *offs / PAGE_SIZE + 1); in diag14_read()
538 rc = diag_read_file(urd->dev_id.devno, buf); in diag14_read()
628 rc = diag_read_file(urd->dev_id.devno, buf); in verify_uri_device()
696 u16 devno; in ur_open() local
710 devno = iminor(file_inode(file)); in ur_open()
712 urd = urdev_get_from_devno(devno); in ur_open()
888 minor = urd->dev_id.devno; in ur_set_online()