viperboard.h (f01312d846016dbd38cc9865e580298fb61f2aa7) | viperboard.h (9d5b72de0d1627b130fa69c5edf58b5b2df4ca50) |
---|---|
1/* 2 * include/linux/mfd/viperboard.h 3 * 4 * Nano River Technologies viperboard definitions 5 * 6 * (C) 2012 by Lemonage GmbH 7 * Author: Lars Poeschel <poeschel@lemonage.de> 8 * All rights reserved. --- 30 unchanged lines hidden (view full) --- 39#define VPRBRD_I2C_CMD_READ 0x01 40#define VPRBRD_I2C_CMD_ADDR 0x02 41 42#define VPRBRD_USB_TYPE_OUT 0x40 43#define VPRBRD_USB_TYPE_IN 0xc0 44#define VPRBRD_USB_TIMEOUT_MS 100 45#define VPRBRD_USB_REQUEST_MAJOR 0xea 46#define VPRBRD_USB_REQUEST_MINOR 0xeb | 1/* 2 * include/linux/mfd/viperboard.h 3 * 4 * Nano River Technologies viperboard definitions 5 * 6 * (C) 2012 by Lemonage GmbH 7 * Author: Lars Poeschel <poeschel@lemonage.de> 8 * All rights reserved. --- 30 unchanged lines hidden (view full) --- 39#define VPRBRD_I2C_CMD_READ 0x01 40#define VPRBRD_I2C_CMD_ADDR 0x02 41 42#define VPRBRD_USB_TYPE_OUT 0x40 43#define VPRBRD_USB_TYPE_IN 0xc0 44#define VPRBRD_USB_TIMEOUT_MS 100 45#define VPRBRD_USB_REQUEST_MAJOR 0xea 46#define VPRBRD_USB_REQUEST_MINOR 0xeb |
47#define VPRBRD_USB_REQUEST_GPIOA 0xed 48#define VPRBRD_USB_REQUEST_GPIOB 0xdd |
|
47 48struct vprbrd_i2c_write_hdr { 49 u8 cmd; 50 u16 addr; 51 u8 len1; 52 u8 len2; 53 u8 last; 54 u8 chan; --- 51 unchanged lines hidden --- | 49 50struct vprbrd_i2c_write_hdr { 51 u8 cmd; 52 u16 addr; 53 u8 len1; 54 u8 len2; 55 u8 last; 56 u8 chan; --- 51 unchanged lines hidden --- |