Lines Matching refs:ec_state
76 struct ec_state { struct
99 struct ec_state *ec = &s_state; in cros_ec_read_state() argument
139 struct ec_state *ec = g_state; in cros_ec_write_state()
164 static int get_image_used(struct ec_state *ec, struct fmap_entry *entry) in get_image_used()
191 static int keyscan_read_fdt_matrix(struct ec_state *ec, ofnode node) in keyscan_read_fdt_matrix()
240 static int cros_ec_keyscan(struct ec_state *ec, uint8_t *scan) in cros_ec_keyscan()
282 static int process_cmd(struct ec_state *ec, in process_cmd()
471 struct ec_state *ec = dev_get_priv(dev->dev); in cros_ec_sandbox_packet()
496 struct ec_state *ec = dev_get_priv(dev->dev); in cros_ec_check_keyboard()
512 struct ec_state *ec = dev->priv; in cros_ec_probe()
577 .priv_auto_alloc_size = sizeof(struct ec_state),