Lines Matching refs:usage
289 int index, usage, field_index; in show_value() local
295 if (sscanf(attr->attr.name, "feature-%d-%x-%s", &index, &usage, in show_value()
299 } else if (sscanf(attr->attr.name, "input-%d-%x-%s", &index, &usage, in show_value()
359 sensor_inst->hsdev->usage, in show_value()
360 usage, report_id, in show_value()
377 usage_desc = bsearch(&usage, hid_custom_usage_desc_table, in show_value()
397 int index, field_index, usage; in store_value() local
401 if (sscanf(attr->attr.name, "feature-%d-%x-%s", &index, &usage, in store_value()
447 header.usage_id = hsdev->usage; in hid_sensor_capture_sample()
499 sensor_field->attribute.usage_id = sensor_inst->hsdev->usage; in hid_sensor_custom_add_field()
503 sensor_field->attribute.attrib_id = field->usage[0].hid; in hid_sensor_custom_add_field()
549 ((field->usage[0].collection_index >= in hid_sensor_custom_add_fields()
551 (field->usage[0].collection_index < in hid_sensor_custom_add_fields()
779 ret = sensor_hub_register_callback(hsdev, hsdev->usage, in hid_sensor_custom_probe()
807 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_sensor_custom_probe()
821 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_sensor_custom_remove()