Searched refs:scsi_cmd_set (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/udev/cdrom_id/ |
D | cdrom_id.c | 181 static void scsi_cmd_set(struct scsi_cmd *cmd, size_t i, unsigned char arg) { in scsi_cmd_set() function 244 scsi_cmd_set(&sc, 0, GPCMD_START_STOP_UNIT); in media_eject() 245 scsi_cmd_set(&sc, 4, 0x02); in media_eject() 246 scsi_cmd_set(&sc, 5, 0); in media_eject() 329 scsi_cmd_set(&sc, 0, GPCMD_INQUIRY); in cd_inquiry() 330 scsi_cmd_set(&sc, 4, sizeof(inq)); in cd_inquiry() 331 scsi_cmd_set(&sc, 5, 0); in cd_inquiry() 366 scsi_cmd_set(&sc, 0, GPCMD_READ_DISC_INFO); in cd_profiles_old_mmc() 367 scsi_cmd_set(&sc, 8, sizeof(discinfo.disc_information_length)); in cd_profiles_old_mmc() 368 scsi_cmd_set(&sc, 9, 0); in cd_profiles_old_mmc() [all …]
|