Merge remote-tracking branch 'origin/ib-chrome-platform-mfd-move-cros_ec_lpc' into working-branch-for-4.20
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user