Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hid/
Dhid-plantronics.c49 unsigned long plt_type = (unsigned long)hid_get_drvdata(hdev); in plantronics_input_mapping() local
57 if (!(plt_type & HID_USAGE_PAGE)) { in plantronics_input_mapping()
58 switch (plt_type) { in plantronics_input_mapping()
70 else if ((plt_type & HID_USAGE) >= PLT_BASIC_TELEPHONY && in plantronics_input_mapping()
71 (plt_type & HID_USAGE) != PLT_BASIC_EXCEPTION) { in plantronics_input_mapping()
77 else if (!((field->application ^ plt_type) & HID_USAGE_PAGE)) { in plantronics_input_mapping()
114 unsigned long plt_type = hdev->product; in plantronics_device_type() local
117 if (plt_type >= PLT_BT300_MIN && plt_type <= PLT_BT300_MAX) in plantronics_device_type()
124 plt_type = hdev->collection[i].usage; in plantronics_device_type()
128 plt_type = hdev->collection[i].usage; in plantronics_device_type()
[all …]