Lines Matching defs:msb
151 static int msb_validate_used_block_bitmap(struct msb_data *msb) in msb_validate_used_block_bitmap()
172 static void msb_mark_block_used(struct msb_data *msb, int pba) in msb_mark_block_used()
192 static void msb_mark_block_unused(struct msb_data *msb, int pba) in msb_mark_block_unused()
211 static void msb_invalidate_reg_window(struct msb_data *msb) in msb_invalidate_reg_window()
221 static int msb_run_state_machine(struct msb_data *msb, int (*state_func) in msb_run_state_machine()
242 static int msb_exit_state_machine(struct msb_data *msb, int error) in msb_exit_state_machine()
259 static int msb_read_int_reg(struct msb_data *msb, long timeout) in msb_read_int_reg()
286 static int msb_read_regs(struct msb_data *msb, int offset, int len) in msb_read_regs()
307 static int msb_write_regs(struct msb_data *msb, int offset, int len, void *buf) in msb_write_regs()
342 struct msb_data *msb = memstick_get_drvdata(card); in h_msb_read_page() local
478 struct msb_data *msb = memstick_get_drvdata(card); in h_msb_write_block() local
590 struct msb_data *msb = memstick_get_drvdata(card); in h_msb_send_command() local
661 struct msb_data *msb = memstick_get_drvdata(card); in h_msb_reset() local
683 struct msb_data *msb = memstick_get_drvdata(card); in h_msb_parallel_switch() local
725 static int msb_reset(struct msb_data *msb, bool full) in msb_reset()
773 static int msb_switch_to_parallel(struct msb_data *msb) in msb_switch_to_parallel()
790 static int msb_set_overwrite_flag(struct msb_data *msb, in msb_set_overwrite_flag()
808 static int msb_mark_bad(struct msb_data *msb, int pba) in msb_mark_bad()
816 static int msb_mark_page_bad(struct msb_data *msb, int pba, int page) in msb_mark_page_bad()
825 static int msb_erase_block(struct msb_data *msb, u16 pba) in msb_erase_block()
858 static int msb_read_page(struct msb_data *msb, in msb_read_page()
948 static int msb_read_oob(struct msb_data *msb, u16 pba, u16 page, in msb_read_oob()
976 static int msb_verify_block(struct msb_data *msb, u16 pba, in msb_verify_block()
1000 static int msb_write_block(struct msb_data *msb, in msb_write_block()
1078 static u16 msb_get_free_block(struct msb_data *msb, int zone) in msb_get_free_block()
1115 static int msb_update_block(struct msb_data *msb, u16 lba, in msb_update_block()
1190 static int msb_read_boot_blocks(struct msb_data *msb) in msb_read_boot_blocks()
1253 static int msb_read_bad_block_table(struct msb_data *msb, int block_nr) in msb_read_bad_block_table()
1332 static int msb_ftl_initialize(struct msb_data *msb) in msb_ftl_initialize()
1369 static int msb_ftl_scan(struct msb_data *msb) in msb_ftl_scan()
1499 struct msb_data *msb = from_timer(msb, t, cache_flush_timer); in msb_cache_flush_timer() local
1505 static void msb_cache_discard(struct msb_data *msb) in msb_cache_discard()
1517 static int msb_cache_init(struct msb_data *msb) in msb_cache_init()
1530 static int msb_cache_flush(struct msb_data *msb) in msb_cache_flush()
1603 static int msb_cache_write(struct msb_data *msb, int lba, in msb_cache_write()
1644 static int msb_cache_read(struct msb_data *msb, int lba, in msb_cache_read()
1696 struct msb_data *msb = memstick_get_drvdata(card); in msb_init_card() local
1806 static int msb_do_write_request(struct msb_data *msb, int lba, in msb_do_write_request()
1846 static int msb_do_read_request(struct msb_data *msb, int lba, in msb_do_read_request()
1873 struct msb_data *msb = container_of(work, struct msb_data, io_work); in msb_io_work() local
1948 struct msb_data *msb = disk->private_data; in msb_bd_open() local
1961 static void msb_data_clear(struct msb_data *msb) in msb_data_clear()
1973 struct msb_data *msb = disk->private_data; in msb_disk_release() local
2001 struct msb_data *msb = bdev->bd_disk->private_data; in msb_bd_getgeo() local
2009 struct msb_data *msb = memstick_get_drvdata(card); in msb_submit_req() local
2033 struct msb_data *msb = memstick_get_drvdata(card); in msb_check_card() local
2039 struct msb_data *msb = memstick_get_drvdata(card); in msb_stop() local
2063 struct msb_data *msb = memstick_get_drvdata(card); in msb_start() local
2099 struct msb_data *msb = memstick_get_drvdata(card); in msb_init_disk() local
2165 struct msb_data *msb; in msb_probe() local
2195 struct msb_data *msb = memstick_get_drvdata(card); in msb_remove() local
2232 struct msb_data *msb = memstick_get_drvdata(card); in msb_resume() local