Lines Matching refs:us_data
477 static int ene_sd_init(struct us_data *us);
478 static int ene_ms_init(struct us_data *us);
479 static int ene_load_bincode(struct us_data *us, unsigned char flag);
490 static int ene_send_scsi_cmd(struct us_data *us, u8 fDir, void *buf, int use_sg) in ene_send_scsi_cmd()
570 static int do_scsi_request_sense(struct us_data *us, struct scsi_cmnd *srb) in do_scsi_request_sense()
586 static int do_scsi_inquiry(struct us_data *us, struct scsi_cmnd *srb) in do_scsi_inquiry()
598 static int sd_scsi_test_unit_ready(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_test_unit_ready()
612 static int sd_scsi_mode_sense(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_mode_sense()
631 static int sd_scsi_read_capacity(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_read_capacity()
671 static int sd_scsi_read(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_read()
711 static int sd_scsi_write(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_write()
755 static int ms_lib_set_logicalpair(struct us_data *us, u16 logblk, u16 phyblk) in ms_lib_set_logicalpair()
768 static int ms_lib_set_logicalblockmark(struct us_data *us, u16 phyblk, u16 mark) in ms_lib_set_logicalblockmark()
780 static int ms_lib_set_initialerrorblock(struct us_data *us, u16 phyblk) in ms_lib_set_initialerrorblock()
785 static int ms_lib_set_bootblockmark(struct us_data *us, u16 phyblk) in ms_lib_set_bootblockmark()
790 static int ms_lib_free_logicalmap(struct us_data *us) in ms_lib_free_logicalmap()
803 static int ms_lib_alloc_logicalmap(struct us_data *us) in ms_lib_alloc_logicalmap()
829 static void ms_lib_clear_writebuf(struct us_data *us) in ms_lib_clear_writebuf()
850 static int ms_count_freeblock(struct us_data *us, u16 PhyBlock) in ms_count_freeblock()
870 static int ms_read_readpage(struct us_data *us, u32 PhyBlockAddr, in ms_read_readpage()
932 static int ms_lib_process_bootblock(struct us_data *us, u16 PhyBlock, u8 *PageData) in ms_lib_process_bootblock()
1071 static void ms_lib_free_writebuf(struct us_data *us) in ms_lib_free_writebuf()
1092 static void ms_lib_free_allocatedarea(struct us_data *us) in ms_lib_free_allocatedarea()
1113 static int ms_lib_alloc_writebuf(struct us_data *us) in ms_lib_alloc_writebuf()
1136 static int ms_lib_force_setlogical_pair(struct us_data *us, u16 logblk, u16 phyblk) in ms_lib_force_setlogical_pair()
1153 static int ms_read_copyblock(struct us_data *us, u16 oldphy, u16 newphy, in ms_read_copyblock()
1186 static int ms_read_eraseblock(struct us_data *us, u32 PhyBlockAddr) in ms_read_eraseblock()
1213 static int ms_lib_check_disableblock(struct us_data *us, u16 PhyBlock) in ms_lib_check_disableblock()
1244 static int ms_lib_setacquired_errorblock(struct us_data *us, u16 phyblk) in ms_lib_setacquired_errorblock()
1263 static int ms_lib_overwrite_extra(struct us_data *us, u32 PhyBlockAddr, in ms_lib_overwrite_extra()
1295 static int ms_lib_error_phyblock(struct us_data *us, u16 phyblk) in ms_lib_error_phyblock()
1310 static int ms_lib_erase_phyblock(struct us_data *us, u16 phyblk) in ms_lib_erase_phyblock()
1347 static int ms_lib_read_extra(struct us_data *us, u32 PhyBlock, in ms_lib_read_extra()
1382 static int ms_libsearch_block_from_physical(struct us_data *us, u16 phyblk) in ms_libsearch_block_from_physical()
1433 static int ms_libsearch_block_from_logical(struct us_data *us, u16 logblk) in ms_libsearch_block_from_logical()
1451 static int ms_scsi_test_unit_ready(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_test_unit_ready()
1466 static int ms_scsi_mode_sense(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_mode_sense()
1484 static int ms_scsi_read_capacity(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_read_capacity()
1532 static int ms_lib_read_extrablock(struct us_data *us, u32 PhyBlock, in ms_lib_read_extrablock()
1558 static int ms_lib_scan_logicalblocknumber(struct us_data *us, u16 btBlk1st) in ms_lib_scan_logicalblocknumber()
1635 static int ms_scsi_read(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_read()
1734 static int ms_scsi_write(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_write()
1830 static int ene_get_card_type(struct us_data *us, u16 index, void *buf) in ene_get_card_type()
1847 static int ene_get_card_status(struct us_data *us, u8 *buf) in ene_get_card_status()
1877 static int ene_load_bincode(struct us_data *us, unsigned char flag) in ene_load_bincode()
1948 static int ms_card_init(struct us_data *us) in ms_card_init()
2069 static int ene_ms_init(struct us_data *us) in ene_ms_init()
2126 static int ene_sd_init(struct us_data *us) in ene_sd_init()
2190 static int ene_init(struct us_data *us) in ene_init()
2220 static int sd_scsi_irp(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_irp()
2265 static int ms_scsi_irp(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_irp()
2302 static int ene_transport(struct scsi_cmnd *srb, struct us_data *us) in ene_transport()
2329 struct us_data *us; in ene_ub6250_probe()
2380 struct us_data *us = usb_get_intfdata(iface); in ene_ub6250_resume()
2401 struct us_data *us = usb_get_intfdata(iface); in ene_ub6250_reset_resume()