Searched refs:PLAT_HANDLE (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/ |
| H A D | da223_core.h | 49 typedef void* PLAT_HANDLE; typedef 54 … int (*read)(PLAT_HANDLE handle, unsigned char addr, unsigned char *data); 55 … int (*write)(PLAT_HANDLE handle, unsigned char addr, unsigned char data); 56 …int (*read_block)(PLAT_HANDLE handle, unsigned char base_addr, unsigned ch… 66 int (*get_address)(PLAT_HANDLE handle); 238 MIR_HANDLE mir3da_core_init(PLAT_HANDLE handle);
|
| H A D | da223_cust.c | 237 static int get_address(PLAT_HANDLE handle) 247 static int i2c_smbus_read(PLAT_HANDLE handle, u8 addr, u8 *data) 257 static int i2c_smbus_read_block(PLAT_HANDLE handle, u8 addr, u8 count, u8 *data) 267 static int i2c_smbus_write(PLAT_HANDLE handle, u8 addr, u8 data) 550 i2c_smbus_read((PLAT_HANDLE) client, NSA_REG_WHO_AM_I, &chip_id); 554 i2c_smbus_read((PLAT_HANDLE) client, NSA_REG_WHO_AM_I, &chip_id);
|
| H A D | da223_core.c | 1431 static int mir3da_module_detect(PLAT_HANDLE handle) in mir3da_module_detect() 1464 static int mir3da_parse_chip_info(PLAT_HANDLE handle){ in mir3da_parse_chip_info() 1572 MIR_HANDLE mir3da_core_init(PLAT_HANDLE handle) in mir3da_core_init()
|