xorriso
1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
![]() ![]() |
#include <string.h>
#include <unistd.h>
#include "transport.h"
#include "sbc.h"
#include "spc.h"
#include "options.h"
Go to the source code of this file.
Functions | |
int | mmc_function_spy (struct burn_drive *d, char *text) |
void | sbc_load (struct burn_drive *d) |
void | sbc_eject (struct burn_drive *d) |
int | sbc_start_unit_flag (struct burn_drive *d, int flag) |
int | sbc_start_unit (struct burn_drive *d) |
int | sbc_stop_unit (struct burn_drive *d) |
int | sbc_setup_drive (struct burn_drive *d) |
Variables | |
static unsigned char | SBC_LOAD [] = { 0x1b, 0, 0, 0, 3, 0 } |
static unsigned char | SBC_UNLOAD [] = { 0x1b, 0, 0, 0, 2, 0 } |
static unsigned char | SBC_START_UNIT [] = { 0x1b, 0, 0, 0, 1, 0 } |
static unsigned char | SBC_STOP_UNIT [] = { 0x1b, 0, 0, 0, 0, 0 } |
int mmc_function_spy | ( | struct burn_drive * | d, |
char * | text | ||
) |
Definition at line 267 of file mmc.c.
Referenced by sbc_eject(), sbc_load(), sbc_start_unit_flag(), and sbc_stop_unit().
void sbc_eject | ( | struct burn_drive * | d | ) |
Definition at line 80 of file sbc.c.
References burn_drive::casual_command, command::dir, burn_drive::issue_command, mmc_function_spy(), NO_TRANSFER, command::page, SBC_UNLOAD, and scsi_init_command().
Referenced by sbc_setup_drive().
void sbc_load | ( | struct burn_drive * | d | ) |
Definition at line 55 of file sbc.c.
References burn_drive::casual_command, command::dir, command::error, burn_drive::issue_command, Libburn_mmc_load_timeouT, mmc_function_spy(), NO_TRANSFER, command::retry, SBC_LOAD, scsi_init_command(), spc_wait_unit_attention(), and command::timeout.
Referenced by sbc_setup_drive().
int sbc_setup_drive | ( | struct burn_drive * | d | ) |
Definition at line 177 of file sbc.c.
References burn_drive::eject, burn_drive::is_stopped, burn_drive::load, sbc_eject(), sbc_load(), sbc_start_unit(), sbc_stop_unit(), burn_drive::start_unit, and burn_drive::stop_unit.
Referenced by burn_scsi_setup_drive().
int sbc_start_unit | ( | struct burn_drive * | d | ) |
Definition at line 133 of file sbc.c.
References burn_drive::is_stopped, and sbc_start_unit_flag().
Referenced by sbc_setup_drive().
int sbc_start_unit_flag | ( | struct burn_drive * | d, |
int | flag | ||
) |
Definition at line 106 of file sbc.c.
References burn_drive::casual_command, command::dir, burn_drive::do_no_immed, command::error, burn_drive::issue_command, mmc_function_spy(), NO_TRANSFER, command::opcode, command::retry, SBC_START_UNIT, scsi_init_command(), spc_wait_unit_attention(), and command::timeout.
Referenced by sbc_start_unit().
int sbc_stop_unit | ( | struct burn_drive * | d | ) |
Definition at line 152 of file sbc.c.
References burn_drive::casual_command, command::dir, command::error, burn_drive::is_stopped, burn_drive::issue_command, mmc_function_spy(), NO_TRANSFER, command::opcode, command::retry, SBC_STOP_UNIT, scsi_init_command(), and spc_wait_unit_attention().
Referenced by sbc_setup_drive().
|
static |
Definition at line 50 of file sbc.c.
Referenced by sbc_load().
|
static |
Definition at line 52 of file sbc.c.
Referenced by sbc_start_unit_flag().
|
static |
Definition at line 53 of file sbc.c.
Referenced by sbc_stop_unit().
|
static |
Definition at line 51 of file sbc.c.
Referenced by sbc_eject().