Home
last modified time | relevance | path

Searched refs:als_input (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_desc.c217 struct als_input_report als_input; in get_input_report() local
252 get_common_inputs(&als_input.common_property, report_id); in get_input_report()
255 als_input.illuminance_value = in get_input_report()
258 als_input.illuminance_value = in get_input_report()
260 report_size = sizeof(als_input); in get_input_report()
261 memcpy(input_report, &als_input, sizeof(als_input)); in get_input_report()
/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c184 struct als_input_report als_input; in get_input_rep() local
236 get_common_inputs(&als_input.common_property, report_id); in get_input_rep()
237 als_input.illuminance_value = float_to_int(als_data.lux); in get_input_rep()
238 report_size = sizeof(als_input); in get_input_rep()
239 memcpy(input_report, &als_input, sizeof(als_input)); in get_input_rep()