Lines Matching refs:ps3_flash_workaround
21 static struct ps3_flash_workaround { struct
25 } ps3_flash_workaround; argument
35 ps3_flash_workaround.flash_open = 1; in ps3stor_open_hv_device()
38 ps3_flash_workaround.disk_open = 1; in ps3stor_open_hv_device()
48 && ps3_flash_workaround.disk_open in ps3stor_close_hv_device()
49 && ps3_flash_workaround.flash_open) { in ps3stor_close_hv_device()
50 ps3_flash_workaround.disk_sbd = sbd; in ps3stor_close_hv_device()
60 ps3_flash_workaround.disk_open = 0; in ps3stor_close_hv_device()
63 ps3_flash_workaround.flash_open = 0; in ps3stor_close_hv_device()
65 if (ps3_flash_workaround.disk_sbd) { in ps3stor_close_hv_device()
66 ps3_close_hv_device(ps3_flash_workaround.disk_sbd); in ps3stor_close_hv_device()
67 ps3_flash_workaround.disk_open = 0; in ps3stor_close_hv_device()
68 ps3_flash_workaround.disk_sbd = NULL; in ps3stor_close_hv_device()