Lines Matching refs:drv_data
301 struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) in lg4ff_adjust_input_event() argument
303 struct lg4ff_device_entry *entry = drv_data->device_props; in lg4ff_adjust_input_event()
327 u8 *rd, int size, struct lg_drv_data *drv_data) in lg4ff_raw_event() argument
330 struct lg4ff_device_entry *entry = drv_data->device_props; in lg4ff_raw_event()
410 struct lg_drv_data *drv_data; in lg4ff_play() local
415 drv_data = hid_get_drvdata(hid); in lg4ff_play()
416 if (!drv_data) { in lg4ff_play()
421 entry = drv_data->device_props; in lg4ff_play()
474 struct lg_drv_data *drv_data; in lg4ff_set_autocenter_default() local
477 drv_data = hid_get_drvdata(hid); in lg4ff_set_autocenter_default()
478 if (!drv_data) { in lg4ff_set_autocenter_default()
483 entry = drv_data->device_props; in lg4ff_set_autocenter_default()
552 struct lg_drv_data *drv_data; in lg4ff_set_autocenter_ffex() local
557 drv_data = hid_get_drvdata(hid); in lg4ff_set_autocenter_ffex()
558 if (!drv_data) { in lg4ff_set_autocenter_ffex()
563 entry = drv_data->device_props; in lg4ff_set_autocenter_ffex()
587 struct lg_drv_data *drv_data; in lg4ff_set_range_g25() local
591 drv_data = hid_get_drvdata(hid); in lg4ff_set_range_g25()
592 if (!drv_data) { in lg4ff_set_range_g25()
597 entry = drv_data->device_props; in lg4ff_set_range_g25()
622 struct lg_drv_data *drv_data; in lg4ff_set_range_dfp() local
627 drv_data = hid_get_drvdata(hid); in lg4ff_set_range_dfp()
628 if (!drv_data) { in lg4ff_set_range_dfp()
633 entry = drv_data->device_props; in lg4ff_set_range_dfp()
766 struct lg_drv_data *drv_data; in lg4ff_switch_compatibility_mode() local
771 drv_data = hid_get_drvdata(hid); in lg4ff_switch_compatibility_mode()
772 if (!drv_data) { in lg4ff_switch_compatibility_mode()
777 entry = drv_data->device_props; in lg4ff_switch_compatibility_mode()
802 struct lg_drv_data *drv_data; in lg4ff_alternate_modes_show() local
806 drv_data = hid_get_drvdata(hid); in lg4ff_alternate_modes_show()
807 if (!drv_data) { in lg4ff_alternate_modes_show()
812 entry = drv_data->device_props; in lg4ff_alternate_modes_show()
851 struct lg_drv_data *drv_data; in lg4ff_alternate_modes_store() local
857 drv_data = hid_get_drvdata(hid); in lg4ff_alternate_modes_store()
858 if (!drv_data) { in lg4ff_alternate_modes_store()
863 entry = drv_data->device_props; in lg4ff_alternate_modes_store()
938 struct lg_drv_data *drv_data; in lg4ff_combine_show() local
941 drv_data = hid_get_drvdata(hid); in lg4ff_combine_show()
942 if (!drv_data) { in lg4ff_combine_show()
947 entry = drv_data->device_props; in lg4ff_combine_show()
962 struct lg_drv_data *drv_data; in lg4ff_combine_store() local
965 drv_data = hid_get_drvdata(hid); in lg4ff_combine_store()
966 if (!drv_data) { in lg4ff_combine_store()
971 entry = drv_data->device_props; in lg4ff_combine_store()
991 struct lg_drv_data *drv_data; in lg4ff_range_show() local
994 drv_data = hid_get_drvdata(hid); in lg4ff_range_show()
995 if (!drv_data) { in lg4ff_range_show()
1000 entry = drv_data->device_props; in lg4ff_range_show()
1017 struct lg_drv_data *drv_data; in lg4ff_range_store() local
1020 drv_data = hid_get_drvdata(hid); in lg4ff_range_store()
1021 if (!drv_data) { in lg4ff_range_store()
1026 entry = drv_data->device_props; in lg4ff_range_store()
1050 struct lg_drv_data *drv_data; in lg4ff_real_id_show() local
1053 drv_data = hid_get_drvdata(hid); in lg4ff_real_id_show()
1054 if (!drv_data) { in lg4ff_real_id_show()
1059 entry = drv_data->device_props; in lg4ff_real_id_show()
1084 struct lg_drv_data *drv_data; in lg4ff_set_leds() local
1089 drv_data = hid_get_drvdata(hid); in lg4ff_set_leds()
1090 if (!drv_data) { in lg4ff_set_leds()
1095 entry = drv_data->device_props; in lg4ff_set_leds()
1119 struct lg_drv_data *drv_data = hid_get_drvdata(hid); in lg4ff_led_set_brightness() local
1123 if (!drv_data) { in lg4ff_led_set_brightness()
1128 entry = drv_data->device_props; in lg4ff_led_set_brightness()
1154 struct lg_drv_data *drv_data = hid_get_drvdata(hid); in lg4ff_led_get_brightness() local
1158 if (!drv_data) { in lg4ff_led_get_brightness()
1163 entry = drv_data->device_props; in lg4ff_led_get_brightness()
1264 struct lg_drv_data *drv_data; in lg4ff_init() local
1280 drv_data = hid_get_drvdata(hid); in lg4ff_init()
1281 if (!drv_data) { in lg4ff_init()
1290 drv_data->device_props = entry; in lg4ff_init()
1443 drv_data->device_props = NULL; in lg4ff_init()
1451 struct lg_drv_data *drv_data; in lg4ff_deinit() local
1453 drv_data = hid_get_drvdata(hid); in lg4ff_deinit()
1454 if (!drv_data) { in lg4ff_deinit()
1458 entry = drv_data->device_props; in lg4ff_deinit()
1487 drv_data->device_props = NULL; in lg4ff_deinit()