/linux/drivers/platform/chrome/ |
A D | cros_ec_proto.c | 55 static int prepare_packet(struct cros_ec_device *ec_dev, in prepare_packet() 88 static int send_command(struct cros_ec_device *ec_dev, in send_command() 170 int cros_ec_prepare_tx(struct cros_ec_device *ec_dev, in cros_ec_prepare_tx() 204 int cros_ec_check_result(struct cros_ec_device *ec_dev, in cros_ec_check_result() 411 int cros_ec_query_all(struct cros_ec_device *ec_dev) in cros_ec_query_all() 575 int cros_ec_cmd_xfer_status(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer_status() 651 static int get_next_event(struct cros_ec_device *ec_dev) in get_next_event() 712 int cros_ec_get_next_event(struct cros_ec_device *ec_dev, in cros_ec_get_next_event() 782 u32 cros_ec_get_host_event(struct cros_ec_device *ec_dev) in cros_ec_get_host_event() 852 struct cros_ec_device *ec_dev = ec->ec_dev; in cros_ec_get_sensor_count() local [all …]
|
A D | cros_ec.c | 44 struct cros_ec_device *ec_dev = data; in cros_ec_irq_handler() local 61 static bool cros_ec_handle_event(struct cros_ec_device *ec_dev) in cros_ec_handle_event() 93 struct cros_ec_device *ec_dev = data; in cros_ec_irq_thread() local 104 static int cros_ec_sleep_event(struct cros_ec_device *ec_dev, u8 sleep_event) in cros_ec_sleep_event() 159 struct cros_ec_device *ec_dev = container_of(nb, struct cros_ec_device, in cros_ec_ready_event() local 182 int cros_ec_register(struct cros_ec_device *ec_dev) in cros_ec_register() 305 int cros_ec_unregister(struct cros_ec_device *ec_dev) in cros_ec_unregister() 324 int cros_ec_suspend(struct cros_ec_device *ec_dev) in cros_ec_suspend() 350 static void cros_ec_report_events_during_suspend(struct cros_ec_device *ec_dev) in cros_ec_report_events_during_suspend() 366 int cros_ec_resume(struct cros_ec_device *ec_dev) in cros_ec_resume()
|
A D | cros_ec_spi.c | 98 struct cros_ec_device *ec_dev; member 117 static int terminate_request(struct cros_ec_device *ec_dev) in terminate_request() 388 static int do_cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev, in do_cros_ec_pkt_xfer_spi() 532 static int do_cros_ec_cmd_xfer_spi(struct cros_ec_device *ec_dev, in do_cros_ec_cmd_xfer_spi() 653 static int cros_ec_xfer_high_pri(struct cros_ec_device *ec_dev, in cros_ec_xfer_high_pri() 681 static int cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev, in cros_ec_pkt_xfer_spi() 687 static int cros_ec_cmd_xfer_spi(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer_spi() 740 struct cros_ec_device *ec_dev; in cros_ec_spi_probe() local 791 struct cros_ec_device *ec_dev = spi_get_drvdata(spi); in cros_ec_spi_remove() local 799 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_spi_suspend() local [all …]
|
A D | cros_ec_rpmsg.c | 65 static int cros_ec_cmd_xfer_rpmsg(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer_rpmsg() 79 static int cros_ec_pkt_xfer_rpmsg(struct cros_ec_device *ec_dev, in cros_ec_pkt_xfer_rpmsg() 159 struct cros_ec_device *ec_dev = dev_get_drvdata(&rpdev->dev); in cros_ec_rpmsg_callback() local 214 struct cros_ec_device *ec_dev; in cros_ec_rpmsg_probe() local 261 struct cros_ec_device *ec_dev = dev_get_drvdata(&rpdev->dev); in cros_ec_rpmsg_remove() local 272 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_rpmsg_suspend() local 279 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_rpmsg_resume() local
|
A D | cros_ec_i2c.c | 52 static int cros_ec_pkt_xfer_i2c(struct cros_ec_device *ec_dev, in cros_ec_pkt_xfer_i2c() 180 static int cros_ec_cmd_xfer_i2c(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer_i2c() 285 struct cros_ec_device *ec_dev = NULL; in cros_ec_i2c_probe() local 314 struct cros_ec_device *ec_dev = i2c_get_clientdata(client); in cros_ec_i2c_remove() local 322 struct cros_ec_device *ec_dev = to_ec_dev(dev); in cros_ec_i2c_suspend() local 329 struct cros_ec_device *ec_dev = to_ec_dev(dev); in cros_ec_i2c_resume() local
|
A D | cros_ec_chardev.c | 34 struct cros_ec_dev *ec_dev; member 39 struct cros_ec_dev *ec_dev; member 98 struct cros_ec_device *ec_dev = priv->ec_dev->ec_dev; in cros_ec_chardev_mkbp_event() local 163 struct cros_ec_dev *ec_dev = dev_get_drvdata(mdev->parent); in cros_ec_chardev_open() local 206 struct cros_ec_dev *ec_dev = priv->ec_dev; in cros_ec_chardev_read() local 256 struct cros_ec_dev *ec_dev = priv->ec_dev; in cros_ec_chardev_release() local 319 struct cros_ec_device *ec_dev = ec->ec_dev; in cros_ec_chardev_ioctl_readmem() local 376 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_chardev_probe() local
|
A D | cros_ec_lpc.c | 315 struct cros_ec_device *ec_dev = data; in cros_ec_lpc_acpi_notify() local 340 struct cros_ec_device *ec_dev; in cros_ec_lpc_probe() local 434 struct cros_ec_device *ec_dev = platform_get_drvdata(pdev); in cros_ec_lpc_remove() local 510 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_lpc_suspend() local 517 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_lpc_resume() local
|
A D | cros_usbpd_notify.c | 57 struct cros_ec_device *ec_dev) in cros_usbpd_get_event_and_notify() 101 struct cros_ec_device *ec_dev; in cros_usbpd_notify_probe_acpi() local 171 struct cros_ec_device *ec_dev = (struct cros_ec_device *)data; in cros_usbpd_notify_plat() local
|
A D | cros_usbpd_logger.c | 30 struct cros_ec_dev *ec_dev; member 64 struct cros_ec_dev *ec_dev = logger->ec_dev; in ec_get_log_entry() local 197 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_usbpd_logger_probe() local
|
A D | cros_ec_vbc.c | 111 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_vbc_probe() local 126 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_vbc_remove() local
|
A D | cros_ec_debugfs.c | 200 struct cros_ec_device *ec_dev = debug_info->ec->ec_dev; in cros_ec_pdinfo_read() local 245 static bool cros_ec_uptime_is_supported(struct cros_ec_device *ec_dev) in cros_ec_uptime_is_supported() 268 struct cros_ec_device *ec_dev = debug_info->ec->ec_dev; in cros_ec_uptime_read() local 402 struct cros_ec_device *ec_dev = debug_info->ec->ec_dev; in cros_ec_create_panicinfo() local
|
A D | cros_ec_lightbar.c | 533 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_lightbar_probe() local 566 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_lightbar_remove() local 579 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_lightbar_resume() local 589 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_lightbar_suspend() local
|
A D | cros_ec_ishtp.c | 135 struct cros_ec_device *ec_dev; member 449 static int prepare_cros_ec_rx(struct cros_ec_device *ec_dev, in prepare_cros_ec_rx() 484 static int cros_ec_pkt_xfer_ish(struct cros_ec_device *ec_dev, in cros_ec_pkt_xfer_ish() 566 struct cros_ec_device *ec_dev; in cros_ec_dev_init() local
|
A D | cros_ec_sysfs.c | 340 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_sysfs_probe() local 353 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_sysfs_remove() local
|
A D | cros_ec_sensorhub_ring.c | 918 struct cros_ec_device *ec_dev; in cros_ec_sensorhub_event() local 1043 struct cros_ec_device *ec_dev = sensorhub->ec->ec_dev; in cros_ec_sensorhub_ring_remove() local
|
/linux/drivers/power/supply/ |
A D | cros_peripheral_charger.c | 39 struct cros_ec_dev *ec_dev; member 61 struct cros_ec_dev *ec_dev = charger->ec_dev; in cros_pchg_ec_command() local 262 struct cros_ec_device *ec_dev = (struct cros_ec_device *)data; in cros_ec_notify() local 288 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_pchg_probe() local
|
A D | cros_usbpd-charger.c | 47 struct cros_ec_dev *ec_dev; member 103 struct cros_ec_dev *ec_dev = charger->ec_dev; in cros_usbpd_charger_ec_command() local 540 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_usbpd_charger_probe() local
|
/linux/drivers/input/keyboard/ |
A D | cros_ec_keyb.c | 337 static int cros_ec_keyb_info(struct cros_ec_device *ec_dev, in cros_ec_keyb_info() 396 struct cros_ec_device *ec_dev = ckdev->ec; in cros_ec_keyb_query_switches() local 447 struct cros_ec_device *ec_dev = ckdev->ec; in cros_ec_keyb_register_bs() local 533 struct cros_ec_device *ec_dev = ckdev->ec; in cros_ec_keyb_register_matrix() local
|
/linux/drivers/iio/pressure/ |
A D | cros_ec_baro.c | 125 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_baro_probe() local
|
/linux/drivers/regulator/ |
A D | cros-ec-regulator.c | 17 struct cros_ec_device *ec_dev; member
|
/linux/drivers/iio/proximity/ |
A D | cros_ec_mkbp_proximity.c | 59 static int cros_ec_mkbp_proximity_query(struct cros_ec_device *ec_dev, in cros_ec_mkbp_proximity_query()
|
/linux/drivers/rtc/ |
A D | rtc-cros-ec.c | 319 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_rtc_probe() local
|
/linux/drivers/media/cec/platform/cros-ec/ |
A D | cros-ec-cec.c | 261 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_cec_probe() local
|
/linux/include/linux/platform_data/ |
A D | cros_ec_proto.h | 203 struct cros_ec_device *ec_dev; member
|
/linux/drivers/hid/ |
A D | hid-google-hammer.c | 54 static int cbas_ec_query_base(struct cros_ec_device *ec_dev, bool get_state, in cbas_ec_query_base()
|