Home
last modified time | relevance | path

Searched defs:ec_dev (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.4/drivers/platform/chrome/
Dcros_ec_proto.c18 static int prepare_packet(struct cros_ec_device *ec_dev, in prepare_packet()
51 static int send_command(struct cros_ec_device *ec_dev, in send_command()
120 int cros_ec_prepare_tx(struct cros_ec_device *ec_dev, in cros_ec_prepare_tx()
144 int cros_ec_check_result(struct cros_ec_device *ec_dev, in cros_ec_check_result()
175 static int cros_ec_get_host_event_wake_mask(struct cros_ec_device *ec_dev, in cros_ec_get_host_event_wake_mask()
196 static int cros_ec_host_command_proto_query(struct cros_ec_device *ec_dev, in cros_ec_host_command_proto_query()
232 static int cros_ec_host_command_proto_query_v2(struct cros_ec_device *ec_dev) in cros_ec_host_command_proto_query_v2()
297 static int cros_ec_get_host_command_version_mask(struct cros_ec_device *ec_dev, in cros_ec_get_host_command_version_mask()
329 int cros_ec_query_all(struct cros_ec_device *ec_dev) in cros_ec_query_all()
456 int cros_ec_cmd_xfer(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer()
[all …]
Dcros_ec.c36 struct cros_ec_device *ec_dev = data; in ec_irq_thread() local
56 static int cros_ec_sleep_event(struct cros_ec_device *ec_dev, u8 sleep_event) in cros_ec_sleep_event()
107 int cros_ec_register(struct cros_ec_device *ec_dev) in cros_ec_register()
201 int cros_ec_unregister(struct cros_ec_device *ec_dev) in cros_ec_unregister()
212 int cros_ec_suspend(struct cros_ec_device *ec_dev) in cros_ec_suspend()
238 static void cros_ec_report_events_during_suspend(struct cros_ec_device *ec_dev) in cros_ec_report_events_during_suspend()
246 int cros_ec_resume(struct cros_ec_device *ec_dev) in cros_ec_resume()
Dcros_ec_spi.c96 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()
[all …]
Dcros_ec_rpmsg.c58 static int cros_ec_cmd_xfer_rpmsg(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer_rpmsg()
72 static int cros_ec_pkt_xfer_rpmsg(struct cros_ec_device *ec_dev, in cros_ec_pkt_xfer_rpmsg()
145 struct cros_ec_device *ec_dev = dev_get_drvdata(&ec_rpmsg->rpdev->dev); in cros_ec_rpmsg_host_event_function() local
167 struct cros_ec_device *ec_dev = dev_get_drvdata(&rpdev->dev); in cros_ec_rpmsg_callback() local
215 struct cros_ec_device *ec_dev; in cros_ec_rpmsg_probe() local
257 struct cros_ec_device *ec_dev = dev_get_drvdata(&rpdev->dev); in cros_ec_rpmsg_remove() local
268 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_rpmsg_suspend() local
275 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_rpmsg_resume() local
Dcros_ec_i2c.c50 static int cros_ec_pkt_xfer_i2c(struct cros_ec_device *ec_dev, in cros_ec_pkt_xfer_i2c()
178 static int cros_ec_cmd_xfer_i2c(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer_i2c()
283 struct cros_ec_device *ec_dev = NULL; in cros_ec_i2c_probe() local
312 struct cros_ec_device *ec_dev = i2c_get_clientdata(client); in cros_ec_i2c_remove() local
320 struct cros_ec_device *ec_dev = to_ec_dev(dev); in cros_ec_i2c_suspend() local
327 struct cros_ec_device *ec_dev = to_ec_dev(dev); in cros_ec_i2c_resume() local
Dcros_ec_chardev.c35 struct cros_ec_dev *ec_dev; member
40 struct cros_ec_dev *ec_dev; member
99 struct cros_ec_device *ec_dev = priv->ec_dev->ec_dev; in cros_ec_chardev_mkbp_event() local
164 struct cros_ec_dev *ec_dev = dev_get_drvdata(mdev->parent); in cros_ec_chardev_open() local
207 struct cros_ec_dev *ec_dev = priv->ec_dev; in cros_ec_chardev_read() local
257 struct cros_ec_dev *ec_dev = priv->ec_dev; in cros_ec_chardev_release() local
320 struct cros_ec_device *ec_dev = ec->ec_dev; in cros_ec_chardev_ioctl_readmem() local
377 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_chardev_probe() local
Dcros_ec_lpc.c314 struct cros_ec_device *ec_dev = data; in cros_ec_lpc_acpi_notify() local
330 struct cros_ec_device *ec_dev; in cros_ec_lpc_probe() local
424 struct cros_ec_device *ec_dev = platform_get_drvdata(pdev); in cros_ec_lpc_remove() local
500 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_lpc_suspend() local
507 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_lpc_resume() local
Dcros_ec_ishtp.c127 struct cros_ec_device *ec_dev; member
138 struct cros_ec_device *ec_dev = client_data->ec_dev; in ish_evt_handler() local
414 static int prepare_cros_ec_rx(struct cros_ec_device *ec_dev, in prepare_cros_ec_rx()
449 static int cros_ec_pkt_xfer_ish(struct cros_ec_device *ec_dev, in cros_ec_pkt_xfer_ish()
531 struct cros_ec_device *ec_dev; in cros_ec_dev_init() local
Dcros_usbpd_logger.c31 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
Dcros_ec_vbc.c112 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_vbc_probe() local
127 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_vbc_remove() local
Dcros_ec_lightbar.c558 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_lightbar_probe() local
591 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_lightbar_remove() local
604 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_lightbar_resume() local
614 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_lightbar_suspend() local
Dcros_ec_debugfs.c201 struct cros_ec_device *ec_dev = debug_info->ec->ec_dev; in cros_ec_pdinfo_read() local
250 struct cros_ec_device *ec_dev = debug_info->ec->ec_dev; in cros_ec_uptime_read() local
384 struct cros_ec_device *ec_dev = debug_info->ec->ec_dev; in cros_ec_create_panicinfo() local
Dcros_ec_sysfs.c346 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_sysfs_probe() local
359 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_sysfs_remove() local
/Linux-v5.4/drivers/input/keyboard/
Dcros_ec_keyb.c329 static int cros_ec_keyb_info(struct cros_ec_device *ec_dev, in cros_ec_keyb_info()
392 struct cros_ec_device *ec_dev = ckdev->ec; in cros_ec_keyb_query_switches() local
443 struct cros_ec_device *ec_dev = ckdev->ec; in cros_ec_keyb_register_bs() local
529 struct cros_ec_device *ec_dev = ckdev->ec; in cros_ec_keyb_register_matrix() local
/Linux-v5.4/include/linux/mfd/
Dcros_ec.h25 struct cros_ec_device *ec_dev; member
/Linux-v5.4/drivers/power/supply/
Dcros_usbpd-charger.c47 struct cros_ec_dev *ec_dev; member
103 struct cros_ec_dev *ec_dev = charger->ec_dev; in cros_usbpd_charger_ec_command() local
557 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_usbpd_charger_probe() local
/Linux-v5.4/drivers/iio/pressure/
Dcros_ec_baro.c122 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_baro_probe() local
/Linux-v5.4/drivers/iio/light/
Dcros_ec_light_prox.c172 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_light_prox_probe() local
/Linux-v5.4/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors.c225 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_sensors_probe() local
Dcros_ec_sensors_core.c29 static int cros_ec_get_host_cmd_version_mask(struct cros_ec_device *ec_dev, in cros_ec_get_host_cmd_version_mask()
/Linux-v5.4/drivers/mfd/
Dcros_ec_dev.c294 struct cros_ec_device *ec_dev = ec->ec_dev; in cros_ec_accel_legacy_register() local
/Linux-v5.4/drivers/hid/
Dhid-google-hammer.c52 static int cbas_ec_query_base(struct cros_ec_device *ec_dev, bool get_state, in cbas_ec_query_base()
/Linux-v5.4/drivers/rtc/
Drtc-cros-ec.c324 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_rtc_probe() local
/Linux-v5.4/drivers/media/platform/cros-ec-cec/
Dcros-ec-cec.c262 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_cec_probe() local