Lines Matching refs:boot_mode
137 enum raydium_boot_mode boot_mode; member
397 ts->boot_mode = RAYDIUM_TS_BLDR; in raydium_i2c_check_fw_status()
399 ts->boot_mode = RAYDIUM_TS_MAIN; in raydium_i2c_check_fw_status()
422 if (ts->boot_mode == RAYDIUM_TS_BLDR || in raydium_i2c_initialize()
423 ts->boot_mode == RAYDIUM_TS_MAIN) { in raydium_i2c_initialize()
429 ts->boot_mode = RAYDIUM_TS_BLDR; in raydium_i2c_initialize()
431 if (ts->boot_mode == RAYDIUM_TS_BLDR) in raydium_i2c_initialize()
717 if (ts->boot_mode == RAYDIUM_TS_MAIN) { in raydium_i2c_do_update_firmware()
729 if (ts->boot_mode == RAYDIUM_TS_BLDR) in raydium_i2c_do_update_firmware()
734 if (ts->boot_mode == RAYDIUM_TS_MAIN) { in raydium_i2c_do_update_firmware()
793 if (ts->boot_mode != RAYDIUM_TS_MAIN) { in raydium_i2c_do_update_firmware()
840 ts->boot_mode = RAYDIUM_TS_BLDR; in raydium_i2c_fw_update()
849 ts->boot_mode = RAYDIUM_TS_BLDR; in raydium_i2c_fw_update()
853 ts->boot_mode = RAYDIUM_TS_MAIN; in raydium_i2c_fw_update()
907 if (ts->boot_mode != RAYDIUM_TS_MAIN) in raydium_i2c_irq()
956 ts->boot_mode == RAYDIUM_TS_MAIN ? in raydium_i2c_boot_mode_show()
1003 static DEVICE_ATTR(boot_mode, S_IRUGO, raydium_i2c_boot_mode_show, NULL);
1206 if (ts->boot_mode != RAYDIUM_TS_MAIN) in raydium_i2c_suspend()