Home
last modified time | relevance | path

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

/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()
262 als_input.light_color_temp = sensor_virt_addr[1]; in get_input_report()
263 als_input.chromaticity_x_value = sensor_virt_addr[2]; in get_input_report()
264 als_input.chromaticity_y_value = sensor_virt_addr[3]; in get_input_report()
267 report_size = sizeof(als_input); in get_input_report()
268 memcpy(input_report, &als_input, sizeof(als_input)); in get_input_report()
/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
237 get_common_inputs(&als_input.common_property, report_id); in get_input_rep()
238 als_input.illuminance_value = amd_sfh_float_to_int(als_data.lux); in get_input_rep()
242 als_input.light_color_temp = als_data.light_color_temp; in get_input_rep()
243 als_input.chromaticity_x_value = in get_input_rep()
245 als_input.chromaticity_y_value = in get_input_rep()
249 report_size = sizeof(als_input); in get_input_rep()
250 memcpy(input_report, &als_input, sizeof(als_input)); in get_input_rep()