Searched defs:cyapa (Results 1 – 5 of 5) sorted by relevance
/drivers/input/mouse/ |
D | cyapa.c | 44 bool cyapa_is_pip_bl_mode(struct cyapa *cyapa) in cyapa_is_pip_bl_mode() 55 bool cyapa_is_pip_app_mode(struct cyapa *cyapa) in cyapa_is_pip_app_mode() 66 static bool cyapa_is_bootloader_mode(struct cyapa *cyapa) in cyapa_is_bootloader_mode() 79 static inline bool cyapa_is_operational_mode(struct cyapa *cyapa) in cyapa_is_operational_mode() 91 static ssize_t cyapa_i2c_read(struct cyapa *cyapa, u8 reg, size_t len, in cyapa_i2c_read() 128 static int cyapa_i2c_write(struct cyapa *cyapa, u8 reg, in cyapa_i2c_write() 164 static int cyapa_get_state(struct cyapa *cyapa) in cyapa_get_state() 279 int cyapa_poll_state(struct cyapa *cyapa, unsigned int timeout) in cyapa_poll_state() 311 static int cyapa_check_is_operational(struct cyapa *cyapa) in cyapa_check_is_operational() 348 static int cyapa_detect(struct cyapa *cyapa) in cyapa_detect() [all …]
|
D | cyapa.h | 239 #define PIP_DEV_SET_PWR_STATE(cyapa, s) ((cyapa)->dev_pwr_mode = (s)) argument 240 #define PIP_DEV_GET_PWR_STATE(cyapa) ((cyapa)->dev_pwr_mode) argument 241 #define PIP_DEV_SET_SLEEP_TIME(cyapa, t) ((cyapa)->dev_sleep_time = (t)) argument 242 #define PIP_DEV_GET_SLEEP_TIME(cyapa) ((cyapa)->dev_sleep_time) argument 243 #define PIP_DEV_UNINIT_SLEEP_TIME(cyapa) \ argument 331 struct cyapa { struct 332 enum cyapa_state state; argument 333 u8 status[BL_STATUS_SIZE]; 334 bool operational; /* true: ready for data reporting; false: not. */ 336 struct regulator *vcc; [all …]
|
D | cyapa_gen3.c | 244 ssize_t cyapa_smbus_read_block(struct cyapa *cyapa, u8 cmd, size_t len, in cyapa_smbus_read_block() 277 static s32 cyapa_read_byte(struct cyapa *cyapa, u8 cmd_idx) in cyapa_read_byte() 290 static s32 cyapa_write_byte(struct cyapa *cyapa, u8 cmd_idx, u8 value) in cyapa_write_byte() 303 ssize_t cyapa_i2c_reg_read_block(struct cyapa *cyapa, u8 reg, size_t len, in cyapa_i2c_reg_read_block() 309 static ssize_t cyapa_i2c_reg_write_block(struct cyapa *cyapa, u8 reg, in cyapa_i2c_reg_write_block() 315 ssize_t cyapa_read_block(struct cyapa *cyapa, u8 cmd_idx, u8 *values) in cyapa_read_block() 334 static int cyapa_gen3_state_parse(struct cyapa *cyapa, u8 *reg_data, int len) in cyapa_gen3_state_parse() 409 static int cyapa_gen3_bl_enter(struct cyapa *cyapa) in cyapa_gen3_bl_enter() 458 static int cyapa_gen3_bl_activate(struct cyapa *cyapa) in cyapa_gen3_bl_activate() 478 static int cyapa_gen3_bl_deactivate(struct cyapa *cyapa) in cyapa_gen3_bl_deactivate() [all …]
|
D | cyapa_gen5.c | 348 int cyapa_pip_cmd_state_initialize(struct cyapa *cyapa) in cyapa_pip_cmd_state_initialize() 371 ssize_t cyapa_i2c_pip_read(struct cyapa *cyapa, u8 *buf, size_t size) in cyapa_i2c_pip_read() 391 ssize_t cyapa_i2c_pip_write(struct cyapa *cyapa, u8 *buf, size_t size) in cyapa_i2c_pip_write() 406 static void cyapa_set_pip_pm_state(struct cyapa *cyapa, in cyapa_set_pip_pm_state() 416 static void cyapa_reset_pip_pm_state(struct cyapa *cyapa) in cyapa_reset_pip_pm_state() 426 static enum cyapa_pm_stage cyapa_get_pip_pm_state(struct cyapa *cyapa) in cyapa_get_pip_pm_state() 442 int cyapa_empty_pip_output_data(struct cyapa *cyapa, in cyapa_empty_pip_output_data() 537 struct cyapa *cyapa, in cyapa_do_i2c_pip_cmd_irq_sync() 566 struct cyapa *cyapa, in cyapa_do_i2c_pip_cmd_polling() 606 struct cyapa *cyapa, in cyapa_i2c_pip_cmd_irq_sync() [all …]
|
D | cyapa_gen6.c | 75 static bool cyapa_sort_pip_hid_descriptor_data(struct cyapa *cyapa, in cyapa_sort_pip_hid_descriptor_data() 88 static int cyapa_get_pip_fixed_info(struct cyapa *cyapa, in cyapa_get_pip_fixed_info() 136 int cyapa_pip_state_parse(struct cyapa *cyapa, u8 *reg_data, int len) in cyapa_pip_state_parse() 194 static int cyapa_gen6_read_sys_info(struct cyapa *cyapa) in cyapa_gen6_read_sys_info() 258 static int cyapa_gen6_bl_read_app_info(struct cyapa *cyapa) in cyapa_gen6_bl_read_app_info() 290 static int cyapa_gen6_config_dev_irq(struct cyapa *cyapa, u8 cmd_code) in cyapa_gen6_config_dev_irq() 309 static int cyapa_gen6_set_proximity(struct cyapa *cyapa, bool enable) in cyapa_gen6_set_proximity() 320 static int cyapa_gen6_change_power_state(struct cyapa *cyapa, u8 power_mode) in cyapa_gen6_change_power_state() 341 static int cyapa_gen6_set_interval_setting(struct cyapa *cyapa, in cyapa_gen6_set_interval_setting() 388 static int cyapa_gen6_get_interval_setting(struct cyapa *cyapa, in cyapa_gen6_get_interval_setting() [all …]
|