36 #ifndef CDIO_MMC_LL_CMDS_H_ 37 #define CDIO_MMC_LL_CMDS_H_ 73 unsigned int i_return_type,
74 unsigned int i_starting_feature_number,
75 unsigned int i_timeout_ms);
110 unsigned int i_size,
int page,
111 unsigned int i_timeout_ms);
127 unsigned int i_page_code);
139 unsigned int i_size,
int page);
158 bool b_persistent,
bool b_prevent,
159 unsigned int i_timeout_ms);
266 int expected_sector_type,
bool b_digital_audio_play,
267 bool b_sync, uint8_t header_codes,
bool b_user_data,
268 bool b_edc_ecc, uint8_t c2_error_information,
269 uint8_t subchannel_selection, uint16_t i_blocksize,
294 unsigned int i_timeout_ms);
324 unsigned int i_timeout_ms);
348 uint8_t power_condition,
349 unsigned int i_timeout_ms);
363 unsigned int i_timeout_ms);
384 unsigned char sub_chan_param,
385 unsigned int *i_length,
387 unsigned int i_timeout_ms
438 unsigned char *p_buf,
unsigned int i_timeout_ms );
441 #ifndef DO_NOT_WANT_OLD_MMC_COMPATIBILITY 442 #define mmc_start_stop_media(c, e, i, p, t) \ 443 mmc_start_stop_unit(c, e, i, p, t, 0) driver_return_code_t
Definition: device.h:205
driver_return_code_t mmc_get_event_status(const CdIo_t *p_cdio, uint8_t out_buf[2])
driver_return_code_t mmc_start_stop_unit(const CdIo_t *p_cdio, bool b_eject, bool b_immediate, uint8_t power_condition, unsigned int i_timeout_ms)
int32_t lsn_t
Definition: types.h:266
driver_return_code_t mmc_read_cd(const CdIo_t *p_cdio, void *p_buf, lsn_t i_lsn, int expected_sector_type, bool b_digital_audio_play, bool b_sync, uint8_t header_codes, bool b_user_data, bool b_edc_ecc, uint8_t c2_error_information, uint8_t subchannel_selection, uint16_t i_blocksize, uint32_t i_blocks)
driver_return_code_t mmc_read_subchannel(const CdIo_t *p_cdio, track_t i_track, unsigned char sub_chan_param, unsigned int *i_length, char *p_buf, unsigned int i_timeout_ms)
uint8_t track_t
Definition: types.h:276
driver_return_code_t mmc_mode_select_10(CdIo_t *p_cdio, void *p_buf, unsigned int i_size, int page, unsigned int i_timeout_ms)
driver_return_code_t mmc_prevent_allow_medium_removal(const CdIo_t *p_cdio, bool b_persistent, bool b_prevent, unsigned int i_timeout_ms)
cdio_mmc_read_disc_info_datatype_t
Definition: mmc.h:330
driver_return_code_t mmc_mode_sense_10(CdIo_t *p_cdio, void *p_buf, unsigned int i_size, unsigned int i_page_code)
driver_return_code_t mmc_set_speed(const CdIo_t *p_cdio, int i_Kbs_speed, unsigned int i_timeout_ms)
driver_return_code_t mmc_mode_sense_6(CdIo_t *p_cdio, void *p_buf, unsigned int i_size, int page)
driver_return_code_t mmc_test_unit_ready(const CdIo_t *p_cdio, unsigned int i_timeout_ms)
struct _CdIo CdIo_t
Definition: cdio.h:47
driver_return_code_t mmc_read_disc_information(const CdIo_t *p_cdio, void *p_buf, unsigned int i_size, cdio_mmc_read_disc_info_datatype_t data_type, unsigned int i_timeout_ms)
Common definitions for MMC (Multimedia Commands). Applications include this for direct MMC access...
driver_return_code_t mmc_get_configuration(const CdIo_t *p_cdio, void *p_buf, unsigned int i_size, unsigned int i_return_type, unsigned int i_starting_feature_number, unsigned int i_timeout_ms)
driver_return_code_t mmc_read_toc_cdtext(const CdIo_t *p_cdio, unsigned int *i_length, unsigned char *p_buf, unsigned int i_timeout_ms)