Lines Matching refs:ec_state
79 struct ec_state { struct
102 struct ec_state *ec = &s_state; in cros_ec_read_state() argument
142 struct ec_state *ec = g_state; in cros_ec_write_state()
167 static int get_image_used(struct ec_state *ec, struct fmap_entry *entry) in get_image_used()
194 static int keyscan_read_fdt_matrix(struct ec_state *ec, ofnode node) in keyscan_read_fdt_matrix()
243 static int cros_ec_keyscan(struct ec_state *ec, uint8_t *scan) in cros_ec_keyscan()
285 static int process_cmd(struct ec_state *ec, in process_cmd()
474 struct ec_state *ec = dev_get_priv(dev->dev); in cros_ec_sandbox_packet()
499 struct ec_state *ec = dev_get_priv(dev->dev); in cros_ec_check_keyboard()
515 struct ec_state *ec = dev->priv; in cros_ec_probe()
580 .priv_auto_alloc_size = sizeof(struct ec_state),