mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Merge remote-tracking branch 'origin/ib-chrome-platform-mfd-move-cros_ec_lpc' into working-branch-for-4.20
This commit is contained in:
commit
2c42dd6e0e
8 changed files with 322 additions and 221 deletions
|
|
@ -26,12 +26,13 @@
|
|||
|
||||
#define CROS_EC_DEV_VERSION "1.0.0"
|
||||
|
||||
/*
|
||||
* @offset: within EC_LPC_ADDR_MEMMAP region
|
||||
* @bytes: number of bytes to read. zero means "read a string" (including '\0')
|
||||
* (at most only EC_MEMMAP_SIZE bytes can be read)
|
||||
* @buffer: where to store the result
|
||||
* ioctl returns the number of bytes read, negative on error
|
||||
/**
|
||||
* struct cros_ec_readmem - Struct used to read mapped memory.
|
||||
* @offset: Within EC_LPC_ADDR_MEMMAP region.
|
||||
* @bytes: Number of bytes to read. Zero means "read a string" (including '\0')
|
||||
* At most only EC_MEMMAP_SIZE bytes can be read.
|
||||
* @buffer: Where to store the result. The ioctl returns the number of bytes
|
||||
* read or negative on error.
|
||||
*/
|
||||
struct cros_ec_readmem {
|
||||
uint32_t offset;
|
||||
|
|
|
|||
Loading…
Reference in a new issue