Lines Matching refs:lcdshadow_state
9745 static int lcdshadow_state; variable
9760 lcdshadow_state = state; in lcdshadow_on_off()
9766 if (lcdshadow_state < 0) in lcdshadow_set()
9767 return lcdshadow_state; in lcdshadow_set()
9768 if (lcdshadow_state == on) in lcdshadow_set()
9779 lcdshadow_state = -ENODEV; in tpacpi_lcdshadow_init()
9784 lcdshadow_state = -EIO; in tpacpi_lcdshadow_init()
9788 lcdshadow_state = -ENODEV; in tpacpi_lcdshadow_init()
9791 lcdshadow_state = output & 0x1; in tpacpi_lcdshadow_init()
9798 if (lcdshadow_state >= 0) in lcdshadow_resume()
9799 lcdshadow_on_off(lcdshadow_state); in lcdshadow_resume()
9804 if (lcdshadow_state < 0) { in lcdshadow_read()
9807 seq_printf(m, "status:\t\t%d\n", lcdshadow_state); in lcdshadow_read()
9819 if (lcdshadow_state < 0) in lcdshadow_write()