Searched refs:sr_do_ioctl (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | sr_ioctl.c | 71 return sr_do_ioctl(MINOR(cdi->dev), sr_cmd, NULL, 0, 0, SCSI_DATA_NONE, NULL); in sr_fake_playtrkind() 78 int sr_do_ioctl(int target, unsigned char *sr_cmd, void *buffer, unsigned buflength, int quiet, int… in sr_do_ioctl() function 199 return sr_do_ioctl(minor, sr_cmd, NULL, 0, 1, SCSI_DATA_NONE, NULL); in test_unit_ready() 212 return sr_do_ioctl(MINOR(cdi->dev), sr_cmd, NULL, 0, 0, SCSI_DATA_NONE, NULL); in sr_tray_move() 290 result = sr_do_ioctl(MINOR(cdi->dev), sr_cmd, buffer, 24, 0, SCSI_DATA_READ, NULL); in sr_get_mcn() 320 if (sr_do_ioctl(MINOR(cdi->dev), sr_cmd, NULL, 0, 0, SCSI_DATA_NONE, NULL)) in sr_select_speed() 350 result = sr_do_ioctl(target, sr_cmd, buffer, 12, 1, SCSI_DATA_READ, NULL); in sr_audio_ioctl() 370 result = sr_do_ioctl(target, sr_cmd, buffer, 12, 0, SCSI_DATA_READ, NULL); in sr_audio_ioctl() 397 result = sr_do_ioctl(target, sr_cmd, NULL, 0, 0, SCSI_DATA_NONE, NULL); in sr_audio_ioctl() 463 return sr_do_ioctl(minor, cmd, dest, blksize, 0, SCSI_DATA_READ, NULL); in sr_read_cd() [all …]
|
D | sr_vendor.c | 137 if (0 == (rc = sr_do_ioctl(minor, cmd, buffer, sizeof(*modesel), 0, SCSI_DATA_WRITE, NULL))) { in sr_set_blocklength() 182 rc = sr_do_ioctl(minor, cmd, buffer, 12, 1, SCSI_DATA_READ, NULL); in sr_cd_check() 208 rc = sr_do_ioctl(minor, cmd, buffer, 0x16, 1, SCSI_DATA_READ, NULL); in sr_cd_check() 234 rc = sr_do_ioctl(minor, cmd, buffer, 4, 1, SCSI_DATA_READ, NULL); in sr_cd_check() 260 rc = sr_do_ioctl(minor, cmd, buffer, 0x04, 1, SCSI_DATA_READ, NULL); in sr_cd_check() 275 rc = sr_do_ioctl(minor, cmd, buffer, 12, 1, SCSI_DATA_READ, NULL); in sr_cd_check()
|
D | sr.h | 39 int sr_do_ioctl(int, unsigned char *, void *, unsigned, int, int, struct request_sense *);
|
D | sr.c | 722 rc = sr_do_ioctl(i, cmd, buffer, 128, 1, SCSI_DATA_READ, NULL); in get_capabilities() 798 …cgc->stat = sr_do_ioctl(MINOR(cdi->dev), cgc->cmd, cgc->buffer, cgc->buflen, cgc->quiet, cgc->data… in sr_packet()
|