Lines Matching defs:msb
147 static int msb_validate_used_block_bitmap(struct msb_data *msb) in msb_validate_used_block_bitmap()
168 static void msb_mark_block_used(struct msb_data *msb, int pba) in msb_mark_block_used()
188 static void msb_mark_block_unused(struct msb_data *msb, int pba) in msb_mark_block_unused()
207 static void msb_invalidate_reg_window(struct msb_data *msb) in msb_invalidate_reg_window()
217 static int msb_run_state_machine(struct msb_data *msb, int (*state_func) in msb_run_state_machine()
238 static int msb_exit_state_machine(struct msb_data *msb, int error) in msb_exit_state_machine()
255 static int msb_read_int_reg(struct msb_data *msb, long timeout) in msb_read_int_reg()
282 static int msb_read_regs(struct msb_data *msb, int offset, int len) in msb_read_regs()
303 static int msb_write_regs(struct msb_data *msb, int offset, int len, void *buf) in msb_write_regs()
338 struct msb_data *msb = memstick_get_drvdata(card); in h_msb_read_page() local
476 struct msb_data *msb = memstick_get_drvdata(card); in h_msb_write_block() local
588 struct msb_data *msb = memstick_get_drvdata(card); in h_msb_send_command() local
659 struct msb_data *msb = memstick_get_drvdata(card); in h_msb_reset() local
681 struct msb_data *msb = memstick_get_drvdata(card); in h_msb_parallel_switch() local
724 static int msb_reset(struct msb_data *msb, bool full) in msb_reset()
772 static int msb_switch_to_parallel(struct msb_data *msb) in msb_switch_to_parallel()
789 static int msb_set_overwrite_flag(struct msb_data *msb, in msb_set_overwrite_flag()
807 static int msb_mark_bad(struct msb_data *msb, int pba) in msb_mark_bad()
815 static int msb_mark_page_bad(struct msb_data *msb, int pba, int page) in msb_mark_page_bad()
824 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()
1080 static u16 msb_get_free_block(struct msb_data *msb, int zone) in msb_get_free_block()
1117 static int msb_update_block(struct msb_data *msb, u16 lba, in msb_update_block()
1192 static int msb_read_boot_blocks(struct msb_data *msb) in msb_read_boot_blocks()
1255 static int msb_read_bad_block_table(struct msb_data *msb, int block_nr) in msb_read_bad_block_table()
1334 static int msb_ftl_initialize(struct msb_data *msb) in msb_ftl_initialize()
1371 static int msb_ftl_scan(struct msb_data *msb) in msb_ftl_scan()
1501 struct msb_data *msb = from_timer(msb, t, cache_flush_timer); in msb_cache_flush_timer() local
1508 static void msb_cache_discard(struct msb_data *msb) in msb_cache_discard()
1520 static int msb_cache_init(struct msb_data *msb) in msb_cache_init()
1533 static int msb_cache_flush(struct msb_data *msb) in msb_cache_flush()
1606 static int msb_cache_write(struct msb_data *msb, int lba, in msb_cache_write()
1647 static int msb_cache_read(struct msb_data *msb, int lba, in msb_cache_read()
1700 struct msb_data *msb = memstick_get_drvdata(card); in msb_init_card() local
1811 static int msb_do_write_request(struct msb_data *msb, int lba, in msb_do_write_request()
1851 static int msb_do_read_request(struct msb_data *msb, int lba, in msb_do_read_request()
1878 struct msb_data *msb = container_of(work, struct msb_data, io_work); in msb_io_work() local
1946 static void msb_data_clear(struct msb_data *msb) in msb_data_clear()
1959 struct msb_data *msb = bdev->bd_disk->private_data; in msb_bd_getgeo() local
1966 struct msb_data *msb = disk->private_data; in msb_bd_free_disk() local
1979 struct msb_data *msb = memstick_get_drvdata(card); in msb_queue_rq() local
2013 struct msb_data *msb = memstick_get_drvdata(card); in msb_check_card() local
2020 struct msb_data *msb = memstick_get_drvdata(card); in msb_stop() local
2043 struct msb_data *msb = memstick_get_drvdata(card); in msb_start() local
2080 struct msb_data *msb = memstick_get_drvdata(card); in msb_init_disk() local
2152 struct msb_data *msb; in msb_probe() local
2182 struct msb_data *msb = memstick_get_drvdata(card); in msb_remove() local
2219 struct msb_data *msb = memstick_get_drvdata(card); in msb_resume() local