Searched refs:gt1x_sc_dev (Results 1 – 1 of 1) sorted by relevance
1821 static struct smart_cover_device *gt1x_sc_dev; variable1829 struct smart_cover_device *dev = gt1x_sc_dev; in gt1x_smart_cover_update_state()1855 struct smart_cover_device *dev = gt1x_sc_dev; in smart_cover_show()1866 struct smart_cover_device *dev = gt1x_sc_dev; in smart_cover_store()1890 if (!gt1x_sc_dev) in gt1x_parse_sc_cfg()1892 cfg = gt1x_sc_dev->config; in gt1x_parse_sc_cfg()1893 len = >1x_sc_dev->cfg_len; in gt1x_parse_sc_cfg()1943 gt1x_sc_dev = kzalloc(sizeof(struct smart_cover_device), GFP_KERNEL); in gt1x_smart_cover_init()1944 if (!gt1x_sc_dev) { in gt1x_smart_cover_init()1949 gt1x_sc_dev->enabled = 1; in gt1x_smart_cover_init()[all …]