Home
last modified time | relevance | path

Searched full:cyapa (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/drivers/input/mouse/
H A Dcyapa.c30 #include "cyapa.h"
38 #define CYAPA_FW_NAME "cyapa.bin"
42 static int cyapa_reinitialize(struct cyapa *cyapa);
44 bool cyapa_is_pip_bl_mode(struct cyapa *cyapa) in cyapa_is_pip_bl_mode() argument
46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode()
49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode()
55 bool cyapa_is_pip_app_mode(struct cyapa *cyapa) in cyapa_is_pip_app_mode() argument
57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode()
60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode()
66 static bool cyapa_is_bootloader_mode(struct cyapa *cyapa) in cyapa_is_bootloader_mode() argument
[all …]
H A Dcyapa_gen6.c22 #include "cyapa.h"
75 static bool cyapa_sort_pip_hid_descriptor_data(struct cyapa *cyapa, in cyapa_sort_pip_hid_descriptor_data() argument
88 static int cyapa_get_pip_fixed_info(struct cyapa *cyapa, in cyapa_get_pip_fixed_info() argument
99 error = cyapa_i2c_pip_cmd_irq_sync(cyapa, in cyapa_get_pip_fixed_info()
116 error = cyapa_i2c_pip_cmd_irq_sync(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() argument
145 cyapa->state = CYAPA_STATE_NO_DEVICE; in cyapa_pip_state_parse()
148 cyapa_pip_deep_sleep(cyapa, PIP_DEEP_SLEEP_STATE_ON); in cyapa_pip_state_parse()
151 cyapa_empty_pip_output_data(cyapa, NULL, NULL, NULL); in cyapa_pip_state_parse()
158 error = cyapa_i2c_pip_cmd_irq_sync(cyapa, in cyapa_pip_state_parse()
[all …]
H A Dcyapa.h24 #define CYAPA_NAME "Cypress APA Trackpad (cyapa)"
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
244 (((cyapa)->dev_sleep_time) == UNINIT_SLEEP_TIME)
249 struct cyapa;
251 typedef bool (*cb_sort)(struct cyapa *, u8 *, int);
263 int (*check_fw)(struct cyapa *, const struct firmware *);
[all …]
H A Dcyapa_gen5.c23 #include "cyapa.h"
345 static int cyapa_pip_event_process(struct cyapa *cyapa,
348 int cyapa_pip_cmd_state_initialize(struct cyapa *cyapa) in cyapa_pip_cmd_state_initialize() argument
350 struct cyapa_pip_cmd_states *pip = &cyapa->cmd_states.pip; in cyapa_pip_cmd_state_initialize()
364 cyapa->dev_pwr_mode = UNINIT_PWR_MODE; in cyapa_pip_cmd_state_initialize()
365 cyapa->dev_sleep_time = UNINIT_SLEEP_TIME; 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() argument
381 ret = i2c_master_recv(cyapa->client, buf, 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() argument
398 ret = i2c_master_send(cyapa->client, buf, size); in cyapa_i2c_pip_write()
[all …]
H A Dcyapa_gen3.c24 #include "cyapa.h"
59 * CYAPA trackpad device states.
115 /* CYAPA reports up to 5 touches per packet. */
229 static int cyapa_gen3_try_poll_handler(struct cyapa *cyapa);
233 * @cyapa - private data structure of the driver
244 ssize_t cyapa_smbus_read_block(struct cyapa *cyapa, u8 cmd, size_t len, in cyapa_smbus_read_block() argument
251 struct i2c_client *client = cyapa->client; in cyapa_smbus_read_block()
277 static s32 cyapa_read_byte(struct cyapa *cyapa, u8 cmd_idx) in cyapa_read_byte() argument
281 if (cyapa->smbus) { in cyapa_read_byte()
287 return i2c_smbus_read_byte_data(cyapa->client, cmd); in cyapa_read_byte()
[all …]
H A DMakefile27 cyapatp-objs := cyapa.o cyapa_gen3.o cyapa_gen5.o cyapa_gen6.o
H A Delan_i2c.h9 * Based on cyapa driver:
H A DKconfig271 called cyapa.
H A Delan_i2c_smbus.c9 * Based on cyapa driver:
H A Delan_i2c_i2c.c9 * Based on cyapa driver:
H A Delan_i2c_core.c11 * Based on cyapa driver:
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dcypress,cyapa.yaml4 $id: http://devicetree.org/schemas/input/cypress,cyapa.yaml#
14 const: cypress,cyapa
44 compatible = "cypress,cyapa";
/openbmc/linux/drivers/platform/chrome/
H A Dchromeos_laptop.c266 I2C_BOARD_INFO("cyapa", CYAPA_TP_I2C_ADDR),
358 I2C_BOARD_INFO("cyapa", CYAPA_TP_I2C_ADDR),
371 I2C_BOARD_INFO("cyapa", CYAPA_TP_I2C_ADDR),
393 I2C_BOARD_INFO("cyapa", CYAPA_TP_I2C_ADDR),
406 I2C_BOARD_INFO("cyapa", CYAPA_TP_I2C_ADDR),
444 I2C_BOARD_INFO("cyapa", CYAPA_TP_I2C_ADDR),
478 I2C_BOARD_INFO("cyapa", CYAPA_TP_I2C_ADDR),
/openbmc/linux/include/linux/input/
H A Delan-i2c-ids.h11 * Based on cyapa driver:
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos5250-snow-common.dtsi443 compatible = "cypress,cyapa";
/openbmc/linux/
H A Dopengrok1.0.log[all...]
H A Dopengrok0.0.log[all...]
H A Dopengrok2.0.log[all...]
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]