Lines Matching defs:ec_dev
96 struct cros_ec_device *ec_dev; member
115 static int terminate_request(struct cros_ec_device *ec_dev) in terminate_request()
149 static int receive_n_bytes(struct cros_ec_device *ec_dev, u8 *buf, int n) in receive_n_bytes()
184 static int cros_ec_spi_receive_packet(struct cros_ec_device *ec_dev, in cros_ec_spi_receive_packet()
293 static int cros_ec_spi_receive_response(struct cros_ec_device *ec_dev, in cros_ec_spi_receive_response()
381 static int do_cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev, in do_cros_ec_pkt_xfer_spi()
524 static int do_cros_ec_cmd_xfer_spi(struct cros_ec_device *ec_dev, in do_cros_ec_cmd_xfer_spi()
645 static int cros_ec_xfer_high_pri(struct cros_ec_device *ec_dev, in cros_ec_xfer_high_pri()
673 static int cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev, in cros_ec_pkt_xfer_spi()
679 static int cros_ec_cmd_xfer_spi(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer_spi()
737 struct cros_ec_device *ec_dev; in cros_ec_spi_probe() local
790 struct cros_ec_device *ec_dev = spi_get_drvdata(spi); in cros_ec_spi_remove() local
798 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_spi_suspend() local
805 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_spi_resume() local