Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/hid/
Dhid-plantronics.c58 unsigned long plt_type = drv_data->device_type; in plantronics_input_mapping() local
66 if (!(plt_type & HID_USAGE_PAGE)) { in plantronics_input_mapping()
67 switch (plt_type) { in plantronics_input_mapping()
79 else if ((plt_type & HID_USAGE) >= PLT_BASIC_TELEPHONY && in plantronics_input_mapping()
80 (plt_type & HID_USAGE) != PLT_BASIC_EXCEPTION) { in plantronics_input_mapping()
86 else if (!((field->application ^ plt_type) & HID_USAGE_PAGE)) { in plantronics_input_mapping()
147 unsigned long plt_type = hdev->product; in plantronics_device_type() local
150 if (plt_type >= PLT_BT300_MIN && plt_type <= PLT_BT300_MAX) in plantronics_device_type()
157 plt_type = hdev->collection[i].usage; in plantronics_device_type()
161 plt_type = hdev->collection[i].usage; in plantronics_device_type()
[all …]