plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | mcb-pci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mcb/mcb-pci.c | 3,106 | utf_8 | f181a7691e2cfbad10c70dab749cce04 | /*
* MEN Chameleon Bus.
*
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/mcb.h>
#include "mcb-internal.h"
struct priv {
struct mcb_bus *bus;
phys_addr_t mapbase;
void __iomem *base;
};
static int mcb_pci_get_irq(struct mcb_device *mdev)
{
struct mcb_bus *mbus = mdev->bus;
struct device *dev... |
google | android | mcb-parse | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mcb/mcb-parse.c | 3,377 | utf_8 | ae94a1b1ed472c348408ffecf42d5777 | #include <linux/types.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/io.h>
#include <linux/mcb.h>
#include "mcb-internal.h"
struct mcb_parse_priv {
phys_addr_t mapbase;
void __iomem *base;
};
#define for_each_chameleon_cell(dtype, p) \
for ((dtype) = get_next_dtype((p)... |
google | android | mcb-core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mcb/mcb-core.c | 8,961 | utf_8 | 9996eeb5864bfd25936f82107571c139 | /*
* MEN Chameleon Bus.
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/idr.h>
#include <linux/mcb.h>
static DEFINE_IDA(mcb_ida);
static const struct mcb_device_id *mcb_match_id(const struct mcb_device_id *ids,
struct mcb_device *dev)
{
... |
google | android | hid-generic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-generic.c | 1,140 | utf_8 | a4ba2dca27498091e9ba01bdc6ef7bd4 | /*
* HID support for Linux
*
* any later version.
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <asm/unaligned.h>
#include <asm/byteorder.h>
#include <linux/hid.h>
static const struct hid_device_id hid_table[] = {
{ HID_DEVICE(HID_BUS_ANY, HID_GROUP_GENERIC, HID_ANY_ID, H... |
google | android | hid-plantronics | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-plantronics.c | 4,608 | utf_8 | d53346112304509f74007c3c5b6eacd3 | /*
* Plantronics USB HID Driver
*
* any later version.
*/
#include "hid-ids.h"
#include <linux/hid.h>
#include <linux/module.h>
#define PLT_HID_1_0_PAGE 0xffa00000
#define PLT_HID_2_0_PAGE 0xffa20000
#define PLT_BASIC_TELEPHONY 0x0003
#define PLT_BASIC_EXCEPTION 0x0005
#define PLT_VOL_UP 0x00b1
#define PLT_VOL_DO... |
google | android | hid-cp2112 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-cp2112.c | 31,778 | utf_8 | d488c55941637212b27e5093577c1170 | /*
* hid-cp2112.c - Silicon Labs HID USB to SMBus master bridge
* more details.
*/
/*
* The Silicon Labs CP2112 chip is a USB HID device which provides an
* SMBus controller for talking to slave devices and 8 GPIO pins. The
* host communicates with the CP2112 via raw HID reports.
*
* Data Sheet:
* http://www... |
google | android | hid-kye | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-kye.c | 29,352 | utf_8 | 728486793cdcdbba7e22f7f0c6bf911c | /*
* HID driver for Kye/Genius devices not fully compliant with HID standard
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
/*
* See EasyPen i405X description, device and HID report descriptors at
* http://sf.net/apps/mediawiki/digimend/?... |
google | android | hid-lgff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-lgff.c | 4,636 | utf_8 | 7d84dd914a0c7dabf714eb6c668ca974 | /*
* Force feedback support for hid-compliant for some of the devices from
* Logitech, namely:
* - WingMan Cordless RumblePad
* - WingMan Force 3D
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/input.h>
#include <linux/hid.h>
#include "hid-lg.h"
struct dev_type {
u16 idVendor;
u16 idProduct;
... |
google | android | hid-roccat-lua | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-lua.c | 5,253 | utf_8 | c8dca37c156bb6aa183b5977e2b6d971 | /*
* Roccat Lua driver for Linux
*
* any later version.
*/
/*
* Roccat Lua is a gamer mouse which cpi, button and light settings can be
* configured.
*/
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/hid-roccat.h>
#inclu... |
google | android | hid-apple | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-apple.c | 21,032 | utf_8 | bc856ad453e5f4a3aa0a681fa1fc5ba3 | /*
* USB HID quirks support for Linux
*
* any later version.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include "hid-ids.h"
#define APPLE_RDESC_JIS 0x0001
#define APPLE_IGNORE_MOUSE 0x0002
#define APPLE_HAS_FN ... |
google | android | hid-sensor-hub | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-sensor-hub.c | 24,170 | utf_8 | 617ca01b797d679fe3796147f257f9d9 | /*
* HID Sensors Driver
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/mfd/core.h>
#include <linux/list.h>
#include <linux/hid-sensor-ids.h>
#include <linux/hid-sensor-hub.h>
#include ... |
google | android | hid-sjoy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-sjoy.c | 5,145 | utf_8 | 992803ea37c29c8cc277a18dcb1a108d | /*
* Force feedback support for SmartJoy PLUS PS2->USB adapter
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* #define DEBUG */
#include <linux/input.h>
#include <linux/slab.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
#ifdef CONFIG_SMARTJOYPLUS_FF
stru... |
google | android | hid-monterey | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-monterey.c | 1,936 | utf_8 | 3fcf40d5bec13a9e510de13413d08e3a | /*
* HID driver for some monterey "special" devices
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
static __u8 *mr_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{
if (*rsize >= 31 && rdesc[29] == 0x05 && rdesc[3... |
google | android | hid-holtek-kbd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-holtek-kbd.c | 8,157 | utf_8 | d44c21803fd32e131b3ae95751acb4cb | /*
* HID driver for Holtek keyboard
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/usb.h>
#include "hid-ids.h"
#include "usbhid/usbhid.h"
/* Holtek based keyboards (USB ID 04d9:a055) have the following issues:
* - The report descriptor specifies an... |
google | android | hid-xinmo | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-xinmo.c | 1,530 | utf_8 | a876b12ef2e7478fa34ecca8ef2b018f | /*
* HID driver for Xin-Mo devices, currently only the Dual Arcade controller.
* Fixes the negative axis event values (the devices sends -2) to match the
* logical axis minimum of the HID report descriptor (the report announces
* -1). It is needed because hid-input discards out of bounds values.
* (This modul... |
google | android | hid-logitech-hidpp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-logitech-hidpp.c | 44,405 | utf_8 | e7cc6750e6152a2113a026d86d848065 | /*
* HIDPP protocol for Logitech Unifying receivers
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/kfifo.h>
#include <linux/input/mt.h>
#include <asm/unaligned.h>
#include "h... |
google | android | hid-roccat-common | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-common.c | 4,822 | utf_8 | 736ceb3ea45538cfce2d7132300e6366 | /*
* Roccat common functions for device specific drivers
*
* any later version.
*/
#include <linux/hid.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "hid-roccat-common.h"
static inline uint16_t roccat_common2_feature_report(uint8_t report_id)
{
return 0x300 | report_id;
}
int roccat_common2_receive... |
google | android | hid-kensington | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-kensington.c | 1,290 | utf_8 | 03311d4628b56f8ed72f39443c34e0c4 | /*
* HID driver for Kensigton Slimblade Trackball
*
static int ks_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct hid_field *field, struct hid_usage *usage,
unsigned long **bit, int *max)
{
if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR)
return 0;
switch (usage->hid & HID_USAGE) {
... |
google | android | hid-core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-core.c | 97,031 | utf_8 | 93116fec1ff94d74e19a310f814dd6d2 | /*
* HID support for Linux
*
* any later version.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/mm.h>
#include <linux/spinlock.h>
#include <asm/unaligned.h>
#include <asm/byt... |
google | android | hid-waltop | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-waltop.c | 40,858 | utf_8 | 08d47b2fd9a63e09f78529bf0162f355 | /*
* HID driver for Waltop devices not fully compliant with HID standard
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
/*
* There exists an official driver on the manufacturer's website, which
* wasn't submitted to the kernel, for some r... |
google | android | hid-gembird | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-gembird.c | 3,525 | utf_8 | 7406a7f4f749b985817c151d72f51231 | /*
* HID driver for Gembird Joypad, "PC Game Controller"
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
#define GEMBIRD_START_FAULTY_RDESC 8
static const __u8 gembird_jpd_faulty_rdesc[] = {
0x75, 0x08, /* Report Size (8) */
0x95, 0x0... |
google | android | hid-roccat-konepure | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-konepure.c | 5,660 | utf_8 | 226f26757fa80a4dc741f53c795c0256 | /*
* Roccat KonePure driver for Linux
*
* any later version.
*/
/*
* Roccat KonePure is a smaller version of KoneXTD with less buttons and lights.
*/
#include <linux/types.h>
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux... |
google | android | hid-gfrm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-gfrm.c | 4,004 | utf_8 | f4427535dba81f732604863f3bbb6673 | /*
* HID driver for Google Fiber TV Box remote controls
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/input.h>
#include <linux/module.h>
#include "hid-ids.h"
#define GFRM100 1 /* Google Fiber GFRM100 (Bluetooth classic) */
#define GFRM200 2 /* Google Fiber GFRM200 (B... |
google | android | hid-topseed | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-topseed.c | 2,687 | utf_8 | 0455f650324bfd616dd61e6a545de90b | /*
* HID driver for TopSeed Cyberlink remote
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
static int ts_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct hid_field *field, struct hid_usage *usage,
unsigned long **bit... |
google | android | hid-corsair | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-corsair.c | 16,779 | utf_8 | 552deb20313060c33ae476face0ee19b | /*
* HID driver for Corsair devices
*
* Supported devices:
* - Vengeance K90 Keyboard
*
* any later version.
*/
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/leds.h>
#include "hid-ids.h"
#define CORSAIR_USE_K90_MACRO (1<<0)
#define CORSAIR_USE_K90_BACKLIGHT (1<<1)
struc... |
google | android | hidraw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hidraw.c | 14,255 | utf_8 | b68854f582cc05211ce7b1a293b89307 | /*
* HID raw devices, giving access to raw HID events.
*
* In comparison to hiddev, this device does not process the
* hid events at all (no parsing, no lookups). This lets applications
* to work on raw hid events as they want to, and avoids a need to
* use a transport-specific userspace libhid/libusb libraries.
... |
google | android | hid-uclogic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-uclogic.c | 43,787 | utf_8 | de75346c9e3123c7b14c60c9b9ab1053 | /*
* HID driver for UC-Logic devices not fully compliant with HID standard
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <asm/unaligned.h>
#include "usbhid/usbhid.h"
#include "hid-ids.h"
/*
* See WPXXXXU model descriptions, dev... |
google | android | hid-roccat | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat.c | 10,870 | utf_8 | 4f4eef59d937ea0c4b1fe8b326221e13 | /*
* Roccat driver for Linux
*
* any later version.
*/
/*
* Module roccat is a char device used to report special events of roccat
* hardware to userland. These events include requests for on-screen-display of
* profile or dpi settings or requests for execution of macro sequences that are
* not stored in device... |
google | android | hid-belkin | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-belkin.c | 2,401 | utf_8 | 5745ac552f0e3ab8e7176740bc7662d4 | /*
* HID driver for some belkin "special" devices
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
#define BELKIN_HIDDEV 0x01
#define BELKIN_WKBD 0x02
static int belkin_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct hid... |
google | android | hid-prodikeys | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-prodikeys.c | 21,035 | utf_8 | 5a3e3fd755c522171e4fe7326aed1f33 | /*
* HID driver for the Prodikeys PC-MIDI Keyboard
* providing midi & extra multimedia keys functionality
*
* any later version.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/device.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/mutex.h>
#include <linux/hid.h>
#include <soun... |
google | android | hid-wiimote-debug | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-wiimote-debug.c | 5,062 | utf_8 | c605cf4fe7738fe5584278a2cf547a5f | /*
* Debug support for HID Nintendo Wii / Wii U peripherals
* any later version.
*/
#include <linux/debugfs.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/spinlock.h>
#include <linux/uaccess.h>
#include "hid-wiimote.h"
struct wiimote_debug {
struct wiimote_data *wdata;
struct dentry *eepr... |
google | android | hid-wiimote-modules | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-wiimote-modules.c | 65,103 | utf_8 | 8a2dc510cf79e237d3de976daf374208 | /*
* Device Modules for Nintendo Wii / Wii U HID Driver
* any later version.
*/
/*
* Wiimote Modules
* Nintendo devices provide different peripherals and many new devices lack
* initial features like the IR camera. Therefore, each peripheral device is
* implemented as an independent module and we probe on each d... |
google | android | hid-ortek | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-ortek.c | 1,746 | utf_8 | 158a6d949ba61dcaca45779481d58878 | /*
* HID driver for various devices which are apparently based on the same chipset
* from certain vendor which produces chips that contain wrong LogicalMaximum
* value in their HID report descriptor. Currently supported devices are:
*
* Ortek PKB-1700
* Ortek WKB-2000
* Skycable wireless presenter
*... |
google | android | hid-sony | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-sony.c | 94,757 | utf_8 | 02e4d29bb5712859ade71f113e0cbe6c | /*
* HID driver for Sony / PS2 / PS3 / PS4 BD devices.
*
* any later version.
*/
/*
* NOTE: in order for the Sony PS3 BD Remote Control to be found by
* a Bluetooth host, the key combination Start+Enter has to be kept pressed
* for about 7 seconds with the Bluetooth Host Controller in discovering mode.
*
* Th... |
google | android | hid-microsoft | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-microsoft.c | 8,815 | utf_8 | faa1b9fec93497add45868d1655f9c3f | /*
* HID driver for some microsoft "special" devices
*
* any later version.
*/
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
#define MS_HIDINPUT 0x01
#define MS_ERGONOMY 0x02
#define MS_PRESENTER 0x04
#define MS_RDESC 0x08
#define MS_NO... |
google | android | hid-roccat-koneplus | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-koneplus.c | 16,097 | utf_8 | 5e4f69801d0669807b34d014cc609b43 | /*
* Roccat Kone[+] driver for Linux
*
* any later version.
*/
/*
* Roccat Kone[+] is an updated/improved version of the Kone with more memory
* and functionality and without the non-standard behaviours the Kone had.
* KoneXTD has same capabilities but updated sensor.
*/
#include <linux/device.h>
#include <linu... |
google | android | hid-saitek | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-saitek.c | 5,271 | iso_8859_1 | c4ed7c9cf9f34aab20a78dab9e1b9157 | /*
* HID driver for Saitek devices.
*
* PS1000 (USB gamepad):
* Fixes the HID report descriptor by removing a non-existent axis and
* clearing the constant bit on the input reports for buttons and d-pad.
* (This module is based on "hid-ortek".)
* any later version.
*/
#include <linux/device.h>
#include <li... |
google | android | wacom_wac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/wacom_wac.c | 119,596 | utf_8 | c4e8973339367af553b190ceb7c49100 | /*
* drivers/input/tablet/wacom_wac.c
*
* USB Wacom tablet support - Wacom specific code
*
*/
/*
* (at your option) any later version.
*/
#include "wacom_wac.h"
#include "wacom.h"
#include <linux/input/mt.h>
/* resolution for penabled devices */
#define WACOM_PL_RES 20
#define WACOM_PENPRTN_RES 40
#define WACO... |
google | android | hid-sensor-custom | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-sensor-custom.c | 24,512 | utf_8 | d44059235c8c367221eeb3ef630096fd | /*
* hid-sensor-custom.c
* more details.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/kfifo.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/poll.h>
#include <linux/bsearch.h>
#include <linux/platform_device.h>
#includ... |
google | android | hid-appleir | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-appleir.c | 9,704 | utf_8 | a6388e84cb520cec024675d7dcfe3725 | /*
* HID driver for the apple ir device
*
* Original driver written by James McKenzie
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
MODULE_AUTHOR("James McKenzie");
#define KEY_MASK 0x0F
#define TWO_PACKETS_MASK 0x40
/*
* James McKenzie has two devices both of ... |
google | android | hid-hyperv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-hyperv.c | 13,757 | utf_8 | 28159945b2241110ed8aff4f7f3292e4 | /*
* more details.
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/completion.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/hiddev.h>
#include <linux/hyperv.h>
struct hv_input_dev_info {
unsigned int size;
unsigned short vendor;
unsigned short pr... |
google | android | hid-logitech-dj | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-logitech-dj.c | 37,603 | utf_8 | 15ab12f531c1e8f547ec0214179d98cc | /*
* HID driver for Logitech Unifying receivers
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/kfifo.h>
#include <asm/unaligned.h>
#include "hid-ids.h"
#define DJ_MAX... |
google | android | hid-holtek-mouse | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-holtek-mouse.c | 3,125 | utf_8 | 654e124eacb68f2fef6176ec37bdca1d | /*
* HID driver for Holtek gaming mice
* any later version.
*/
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/usb.h>
#include "hid-ids.h"
/*
* The report descriptor of some Holtek based gaming mice specifies an
* excessively large number of consumer usages (2^15), which is more than
* HID_MAX_US... |
google | android | hid-debug | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-debug.c | 42,320 | utf_8 | 3ce2f47b3c1c2ddcd6136e1468ba361a | /*
* Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/sched.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/poll.h>
#include <linux/hid.h... |
google | android | hid-lg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-lg.c | 36,111 | utf_8 | 21df36cc8680ed71d7cf867d5604c038 | /*
* HID driver for some logitech "special" devices
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/random.h>
#include <linux/sched.h>
#include <linux/usb.h>
#include <linux/wait.h>
#include "usbhid/usbhid.h"
#include "hid-ids.h"
#include "hid-lg... |
google | android | hid-gyration | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-gyration.c | 2,888 | utf_8 | 6e7124b3328c82219d36e577497f84a3 | /*
* HID driver for some gyration "special" devices
*
static int gyration_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct hid_field *field, struct hid_usage *usage,
unsigned long **bit, int *max)
{
if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
return 0;
set_bit(EV_REP, hi->input... |
google | android | hid-icade | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-icade.c | 6,075 | utf_8 | c9651e4e394869f989b2d1aa84f01f1e | /*
* ION iCade input driver
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
/*
* ↑ A C Y L
* ← →
* ↓ B X Z R
*
*
* UP ON,OFF = w,e
* RT ON,OFF = d,c
* DN ON,OFF = x,z
* LT ON,OFF = a,q
* A ON,OFF = y,t
* ... |
google | android | hid-pl | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-pl.c | 6,259 | utf_8 | 3504fe6abf88e110b02f841c825722ac | /*
* Force feedback support for PantherLord/GreenAsia based devices
*
* The devices are distributed under various names and the same USB device ID
* can be used in both adapters and actual game controllers.
*
* 0810:0001 "Twin USB Joystick"
* - tested with PantherLord USB/PS2 2in1 Adapter
* - contains t... |
google | android | hid-primax | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-primax.c | 2,239 | utf_8 | 74f0529dc8a1b4f6f4be267f391a3e0f | /*
* HID driver for primax and similar keyboards with in-band modifiers
*
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
static int px_raw_event(struct hid_device *hid, struct hid_report *report,
u8 *data, int size)
{
int idx = size;
switch (report->id) {
case... |
google | android | hid-speedlink | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-speedlink.c | 2,323 | utf_8 | 0fd48139b4c7613173dd018ea8eec760 | /*
* HID driver for Speedlink Vicious and Divine Cezanne (USB mouse).
* Fixes "jumpy" cursor and removes nonexistent keyboard LEDS from
* the HID descriptor.
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
static const struct hid_device_... |
google | android | hid-lcpower | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-lcpower.c | 1,759 | utf_8 | 925cebfdcf86428177a4687b88b025d8 | /*
* HID driver for LC Power Model RC1000MCE
*
static int ts_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct hid_field *field, struct hid_usage *usage,
unsigned long **bit, int *max)
{
if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
return 0;
switch (usage->hid & HID_USAGE) {
... |
google | android | hid-gt683r | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-gt683r.c | 6,928 | utf_8 | bcdf9c89ab029f0980197079894665f2 | /*
* MSI GT683R led driver
*
*
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/kernel.h>
#include <linux/leds.h>
#include <linux/module.h>
#include "hid-ids.h"
#define GT683R_BUFFER_SIZE 8
/*
* GT683R_LED_OFF: all LEDs are off
* GT683R_LED_AUDIO: LEDs brightness depends on sound level
* GT6... |
google | android | hid-roccat-arvo | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-arvo.c | 11,622 | utf_8 | 8b668aca257340576e6bfe6fe9d8fd41 | /*
* Roccat Arvo driver for Linux
*
* any later version.
*/
/*
* Roccat Arvo is a gamer keyboard with 5 macro keys that can be configured in
* 5 profiles.
*/
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/hid-roccat.h>
#... |
google | android | hid-rmi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-rmi.c | 35,481 | utf_8 | c777ab182f63dee965acab049f30e2ca | /*
* any later version.
*/
#include <linux/kernel.h>
#include <linux/hid.h>
#include <linux/input.h>
#include <linux/input/mt.h>
#include <linux/module.h>
#include <linux/pm.h>
#include <linux/slab.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include "hid-ids.h"
#define RMI_MOUSE_REPORT_ID 0x01 /* Mouse emul... |
google | android | hid-aureal | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-aureal.c | 1,223 | utf_8 | 20c1f14a28a709897d74de305a6be7ed | /*
* HID driver for Aureal Cy se W-01RN USB_V3.1 devices
*
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
static __u8 *aureal_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{
if (*rsize >= 54 && rdesc[52] == 0x25 && rdesc[53] == 0x01) {... |
google | android | hid-roccat-pyra | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-pyra.c | 16,860 | utf_8 | 68cba7adbb8357e8981bfb1dcc9274fe | /*
* Roccat Pyra driver for Linux
*
*/
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/hid-roccat.h>
#include "hid-ids.h"
#include "hid-roccat-common.h"
#include "hid-roccat-pyra.h"
static uint profile_numbers[5] = {0, 1, 2, ... |
google | android | hid-chicony | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-chicony.c | 3,291 | utf_8 | 2a7c12da1206db6db2ca61ac6c930a56 | /*
* HID driver for some chicony "special" devices
*
* any later version.
*/
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/usb.h>
#include "hid-ids.h"
static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct hid_field ... |
google | android | hid-roccat-ryos | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-ryos.c | 5,958 | utf_8 | 5f6dd9ea87e8524a52346b092b62dd96 | /*
* Roccat Ryos driver for Linux
*
* any later version.
*/
#include <linux/types.h>
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/hid-roccat.h>
#include "hid-ids.h"
#include "hid-roccat-common.h"
enum {
RYOS_REPORT_NUMBE... |
google | android | hid-emsff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-emsff.c | 3,877 | utf_8 | e412b335af8b025a98bffd118f352f17 | /*
* Force feedback support for EMS Trio Linker Plus II
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/hid.h>
#include <linux/input.h>
#include <linux/module.h>
#include "hid-ids.h"
struct emsff_device {
struct hid_report *report;
};
static int emsff_play(struct inp... |
google | android | hid-axff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-axff.c | 4,900 | utf_8 | c6585c7319ffd2d58525aea2e551581d | /*
* Force feedback support for ACRUX game controllers
*
* From what I have gathered, these devices are mass produced in China
* by several vendors. They often share the same design as the original
* Xbox 360 controller.
*
* 1a34:0802 "ACRUX USB GAMEPAD 8116"
* - tested with an EXEQ EQ-PCU-02090 game controlle... |
google | android | hid-roccat-kovaplus | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-kovaplus.c | 18,854 | utf_8 | cd4ff6c39c788e76b9447903a6d2ba89 | /*
* Roccat Kova[+] driver for Linux
*
* any later version.
*/
/*
* Roccat Kova[+] is a bigger version of the Pyra with two more side buttons.
*/
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/hid-roccat.h>
#include "hid-... |
google | android | hid-ntrig | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-ntrig.c | 27,623 | utf_8 | fe4cecfb135281c9730feb8c7acf2702 | /*
* HID driver for N-Trig touchscreens
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/usb.h>
#include "usbhid/usbhid.h"
#include <linux/module.h>
#include <linux/slab.h>
#include "hid-ids.h"
#define NTRIG_DUPLICATE_USAGES 0x001
static unsigned int min_width;
module_para... |
google | android | hid-lenovo | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-lenovo.c | 24,675 | utf_8 | cf950ff4c200a3cf11dd34c34a85e4e7 | /*
* HID driver for Lenovo:
* - ThinkPad USB Keyboard with TrackPoint (tpkbd)
* - ThinkPad Compact Bluetooth Keyboard with TrackPoint (cptkbd)
* - ThinkPad Compact USB Keyboard with TrackPoint (cptkbd)
*
* any later version.
*/
#include <linux/module.h>
#include <linux/sysfs.h>
#include <linux/device.h>
#inc... |
google | android | hid-lg4ff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-lg4ff.c | 40,097 | utf_8 | ed17a6b86980db4fc94506df5f3cf313 | /*
* Force feedback support for Logitech Gaming Wheels
*
* Including G27, G25, DFP, DFGT, FFEX, Momo, Momo2 &
* Speed Force Wireless (WiiWheel)
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/hid.h>
#include "usbhid... |
google | android | hid-tmff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-tmff.c | 7,195 | utf_8 | 1061357e4e25f97018cf2cd2b6d858c6 | /*
* Force feedback support for various HID compliant devices by ThrustMaster:
* ThrustMaster FireStorm Dual Power 2
* and possibly others whose device ids haven't been added.
*
* Modified to support ThrustMaster devices by Zinx Verituse
* on 2003-01-25 from the Logitech force feedback driver,
* which is b... |
google | android | hid-roccat-savu | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-savu.c | 5,282 | utf_8 | 4930a2b35ce91fc8142694b989d928c2 | /*
* Roccat Savu driver for Linux
*
* any later version.
*/
/* Roccat Savu is a gamer mouse with macro keys that can be configured in
* 5 profiles.
*/
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/hid-roccat.h>
#include ... |
google | android | hid-keytouch | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-keytouch.c | 1,662 | utf_8 | 2b2cb211b30efd30e107db248e58a576 | /*
* HID driver for Keytouch devices not fully compliant with HID standard
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
/* Replace the broken report descriptor of this device with rather
* a default one */
static __u8 keytouch_fixed_rdes... |
google | android | hid-input | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-input.c | 47,364 | utf_8 | 594769d7aacadb63f996296c21c900cb | /*
* Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/hid.h>
#include <linux/hid-debug.h>
#include "hid-ids.h"
#define unk KEY_UNKNOWN
static const unsigned char hid_keyboard[256] = {
0, 0, 0, 0, 30, 48... |
google | android | hid-sunplus | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-sunplus.c | 1,896 | utf_8 | 911601accdb36bbed1e4784bbe16e17b | /*
* HID driver for some sunplus "special" devices
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
static __u8 *sp_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{
if (*rsize >= 112 && rdesc[104] == 0x26 && rdesc[... |
google | android | hid-elecom | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-elecom.c | 1,236 | utf_8 | 43f6c9082475f3af923e8699d12837c8 | /*
* HID driver for Elecom BM084 (bluetooth mouse).
* Removes a non-existing horizontal wheel from
* the HID descriptor.
* (This module is based on "hid-ortek".)
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
static __u8 *elecom_repor... |
google | android | hid-betopff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-betopff.c | 3,978 | utf_8 | 72d426588e2bb33fb0c68d9d261edf9e | /*
* Force feedback support for Betop based devices
*
* The devices are distributed under various names and the same USB device ID
* can be used in both adapters and actual game controllers.
*
* 0x11c2:0x2208 "BTP2185 BFM mode Joystick"
* - tested with BTP2185 BFM Mode.
*
* 0x11C0:0x5506 "BTP2185 PC mod... |
google | android | hid-wiimote-core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-wiimote-core.c | 49,310 | utf_8 | 058155f8ce66b789502afdeee436fd3a | /*
* HID driver for Nintendo Wii / Wii U peripherals
* any later version.
*/
#include <linux/completion.h>
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/input.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include "hid-ids.h"
#include "hid-wiimote.h"
/* output q... |
google | android | hid-gaff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-gaff.c | 4,656 | utf_8 | be1f54b2e4a1214e513f0d177fb470d4 | /*
* Force feedback support for GreenAsia (Product ID 0x12) based devices
*
* The devices are distributed under various names and the same USB device ID
* can be used in many game controllers.
*
*
* 0e8f:0012 "GreenAsia Inc. USB Joystick "
* - tested with MANTA Warior MM816 and SpeedLink Strike2 SL... |
google | android | hid-multitouch | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-multitouch.c | 43,119 | utf_8 | 1b7cbdd0353c93466678dc2044d61bf1 | /*
* HID driver for multitouch panels
*
* any later version.
*/
/*
* This driver is regularly tested thanks to the tool hid-test[1].
* This tool relies on hid-replay[2] and a database of hid devices[3].
* Please run these regression tests before patching this module so that
* your patch won't break existing kn... |
google | android | hid-petalynx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-petalynx.c | 2,798 | utf_8 | eb0e222cfde0d48b0ce5187bd2d53ee4 | /*
* HID driver for some petalynx "special" devices
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
/* Petalynx Maxter Remote has maximum for consumer page set too low */
static __u8 *pl_report_fixup(struct hid_device *hdev, __u8 *rdesc,
u... |
google | android | hid-cherry | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-cherry.c | 2,097 | utf_8 | 635f1f3db601988a8e8190910fd16b7f | /*
* HID driver for some cherry "special" devices
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
/*
* Cherry Cymotion keyboard have an invalid HID report descriptor,
* that needs fixing before we can parse it.
*/
static __u8 *ch_report_f... |
google | android | hid-tivo | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-tivo.c | 2,327 | utf_8 | 7491ae9fcc99ff858b8ad22668dae879 | /*
* HID driver for TiVo Slide Bluetooth remote
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
#define HID_UP_TIVOVENDOR 0xffff0000
static int tivo_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct hid_field *field, stru... |
google | android | hid-penmount | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-penmount.c | 1,384 | utf_8 | c5d0bfda5fe84f3637a750e50dc9531b | /*
* HID driver for PenMount touchscreens
*
* any later version.
*/
#include <linux/module.h>
#include <linux/hid.h>
#include "hid-ids.h"
static int penmount_input_mapping(struct hid_device *hdev,
struct hid_input *hi, struct hid_field *field,
struct hid_usage *usage, unsigned long **bit, int *max)
{
if ((usa... |
google | android | hid-cypress | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-cypress.c | 3,805 | utf_8 | 25c5672c73e355cc96ea9074666b6934 | /*
* HID driver for some cypress "special" devices
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/input.h>
#include <linux/module.h>
#include "hid-ids.h"
#define CP_RDESC_SWAPPED_MIN_MAX 0x01
#define CP_2WHEEL_MOUSE_HACK 0x02
#define CP_2WHEEL_MOUSE_HACK_ON 0x04
/*
* ... |
google | android | hid-roccat-isku | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-isku.c | 11,622 | utf_8 | 76ab9a23b0f9d39c42e2403d905eea87 | /*
* Roccat Isku driver for Linux
*
* any later version.
*/
/*
* Roccat Isku is a gamer keyboard with macro keys that can be configured in
* 5 profiles.
*/
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/hid-roccat.h>
#in... |
google | android | hid-ezkey | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-ezkey.c | 2,250 | utf_8 | 2b1ca997170823b984695759eb31fad6 | /*
* HID driver for some ezkey "special" devices
*
static int ez_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct hid_field *field, struct hid_usage *usage,
unsigned long **bit, int *max)
{
if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER)
return 0;
switch (usage->hid & HID_USAGE) {
c... |
google | android | hid-magicmouse | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-magicmouse.c | 17,271 | utf_8 | d8b2c3d8366872c6cb0c2a676afe9bda | /*
* Apple "Magic" Wireless Mouse driver
*
* any later version.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/input/mt.h>
#include <linux/module.h>
#include <linux/slab.h>
#include "hid-ids.h"
static bool emulate_3button = true;
module_param(emulat... |
google | android | hid-zpff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-zpff.c | 3,659 | utf_8 | abfc6c5dd784cbb00ad5314d5dcd0d9b | /*
* Force feedback support for Zeroplus based devices
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/hid.h>
#include <linux/input.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "hid-ids.h"
#ifdef CONFIG_ZEROPLUS_FF
struct zpff_device {
struct hid_rep... |
google | android | hid-samsung | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-samsung.c | 6,095 | utf_8 | fff4778f0cf7d77244a742ae18206cc7 | /*
* HID driver for some samsung "special" devices
*
*
*
* This driver supports several HID devices:
*
* [0419:0001] Samsung IrDA remote controller (reports as Cypress USB Mouse).
* various hid report fixups for different variants.
*
* [0419:0600] Creative Desktop Wireless 6000 keyboard/mouse combo
* sev... |
google | android | hid-thingm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-thingm.c | 7,122 | utf_8 | d6c3d8883b57d466462efcc361247bc7 | /*
* ThingM blink(1) USB RGB LED driver
*
*/
#include <linux/hid.h>
#include <linux/hidraw.h>
#include <linux/leds.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/workqueue.h>
#include "hid-ids.h"
#define REPORT_ID 1
#define REPORT_SIZE 9
/* Firmware major number of supported devices */
#define... |
google | android | hid-holtekff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-holtekff.c | 6,101 | utf_8 | ae02d7894a057992a6dd92f36040a2f6 | /*
* Force feedback support for Holtek On Line Grip based gamepads
*
* These include at least a Brazilian "Clone Joypad Super Power Fire"
* which uses vendor ID 0x1241 and identifies as "HOLTEK On Line Grip".
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/hid.h>... |
google | android | uhid | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/uhid.c | 17,631 | utf_8 | e7db4364e38d563be10b0d57d5c9522c | /*
* User-space I/O driver support for HID subsystem
* any later version.
*/
#include <linux/atomic.h>
#include <linux/compat.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/hid.h>
#include <linux/input.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <l... |
google | android | hid-lg2ff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-lg2ff.c | 2,804 | utf_8 | 19c1ae00ab2516fb31cd1e5ef3889512 | /*
* Force feedback support for Logitech RumblePad and Rumblepad 2
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/input.h>
#include <linux/slab.h>
#include <linux/hid.h>
#include "hid-lg.h"
struct lg2ff_device {
struct hid_report *report;
};
static int play_effect(s... |
google | android | hid-elo | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-elo.c | 7,489 | utf_8 | a3b7cae45a78329f8096bc7e4beab258 | /*
* HID driver for ELO usb touchscreen 4000/4500
*
*/
#include <linux/hid.h>
#include <linux/input.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/workqueue.h>
#include "hid-ids.h"
#define ELO_PERIODIC_READ_INTERVAL HZ
#define ELO_SMARTSET_CMD_TIMEOUT 2000 /* msec */
/* Elo SmartSet commands */
... |
google | android | hid-zydacron | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-zydacron.c | 4,233 | utf_8 | adf1060e481ab02d0fdd71c9f620b7d0 | /*
* HID driver for zydacron remote control
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
struct zc_device {
struct input_dev *input_ep81;
unsigned short last_key[4];
};
/*
* Zydacron remote control has an invalid HID report descriptor,
* t... |
google | android | hid-steelseries | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-steelseries.c | 12,714 | utf_8 | 26718d412a9f88ed50c36b5d779904ac | /*
* HID driver for Steelseries SRW-S1
*
* any later version.
*/
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
#if IS_BUILTIN(CONFIG_LEDS_CLASS) || \
(IS_MODULE(CONFIG_LEDS_CLASS) && IS_MODULE(CONFIG_HID_STEELSERIES))
#define SRWS1_NUMBER_LEDS 15
struct steelse... |
google | android | hid-lg3ff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-lg3ff.c | 4,464 | utf_8 | 5defc98fc54dd3204c52fe47a48910f8 | /*
* Force feedback support for Logitech Flight System G940
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/input.h>
#include <linux/hid.h>
#include "hid-lg.h"
/*
* G940 Theory of Operation (from experimentation)
*
* There are 63 fields (only 3 of them currently us... |
google | android | hid-a4tech | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-a4tech.c | 3,334 | utf_8 | e4b700f0b2751f44ea1b262f6f73b1a9 | /*
* HID driver for some a4tech "special" devices
*
* any later version.
*/
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include "hid-ids.h"
#define A4_2WHEEL_MOUSE_HACK_7 0x01
#define A4_2WHEEL_MOUSE_HACK_B8 0x02
struct a4tech_sc {
u... |
google | android | hid-roccat-kone | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-roccat-kone.c | 24,223 | utf_8 | 1ef0130c1799db9b8ccaa842f69f8465 | /*
* Roccat Kone driver for Linux
*
* any later version.
*/
/*
* Roccat Kone is a gamer mouse which consists of a mouse part and a keyboard
* part. The keyboard part enables the mouse to execute stored macros with mixed
* key- and button-events.
*
* TODO implement on-the-fly polling-rate change
* The win... |
google | android | wacom_sys | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/wacom_sys.c | 50,876 | utf_8 | 92993037c67b73e9b926b2c709f00798 | /*
* drivers/input/tablet/wacom_sys.c
*
* USB Wacom tablet support - system specific code
*/
/*
* (at your option) any later version.
*/
#include "wacom_wac.h"
#include "wacom.h"
#include <linux/input/mt.h>
#define WAC_MSG_RETRIES 5
#define WAC_CMD_WL_LED_CONTROL 0x03
#define WAC_CMD_LED_CONTROL 0x20
#define WA... |
google | android | hid-dr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/hid-dr.c | 11,744 | utf_8 | 08b9ed055ad2f4469454f47033dd724f | /*
* Force feedback support for DragonRise Inc. game controllers
*
* From what I have gathered, these devices are mass produced in China and are
* distributed under several vendors. They often share the same design as
* the original PlayStation DualShock controller.
*
* 0079:0006 "DragonRise Inc. Generic USB... |
google | android | i2c-hid | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/i2c-hid/i2c-hid.c | 29,768 | utf_8 | 37a1f19d714c2058de62e93b9379a50e | /*
* HID over I2C protocol implementation
*
* more details.
*/
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/pm.h>
#include <linux/pm_runtime.h>
#include <linux/device.h>
#include <linux/wait.h>... |
google | android | usbkbd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/usbhid/usbkbd.c | 11,775 | utf_8 | d670ecdf6a14ddda406d81e391672907 | /*
* Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/usb/input.h>
#include <linux/hid.h>
/*
* Version Information
*/
#define DRIVER_VERSI... |
google | android | hid-core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/usbhid/hid-core.c | 45,540 | utf_8 | cfce7ef69a977aa5a9d00a947494368a | /*
* USB HID support for Linux
*
* any later version.
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/mm.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <asm/unaligned.h>
#include <asm/byteorder.h>
#incl... |
google | android | hid-pidff | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hid/usbhid/hid-pidff.c | 37,213 | utf_8 | ce1221cd8df0af29c26bb7b676656751 | /*
* Force feedback driver for USB HID PID compliant devices
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* #define DEBUG */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/input.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/hid.h>
#include "usbhid... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.