Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_proto.c55 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()
235 static int cros_ec_get_host_event_wake_mask(struct cros_ec_device *ec_dev, in cros_ec_get_host_event_wake_mask()
262 static int cros_ec_host_command_proto_query(struct cros_ec_device *ec_dev, in cros_ec_host_command_proto_query()
307 static int cros_ec_host_command_proto_query_v2(struct cros_ec_device *ec_dev) in cros_ec_host_command_proto_query_v2()
372 static int cros_ec_get_host_command_version_mask(struct cros_ec_device *ec_dev, in cros_ec_get_host_command_version_mask()
411 int cros_ec_query_all(struct cros_ec_device *ec_dev) in cros_ec_query_all()
582 int cros_ec_cmd_xfer(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_ec_cmd_xfer()
[all …]
Dcros_ec.c37 struct cros_ec_device *ec_dev = data; in ec_irq_handler() local
54 bool cros_ec_handle_event(struct cros_ec_device *ec_dev) in cros_ec_handle_event()
80 struct cros_ec_device *ec_dev = data; in ec_irq_thread() local
90 static int cros_ec_sleep_event(struct cros_ec_device *ec_dev, u8 sleep_event) in cros_ec_sleep_event()
145 struct cros_ec_device *ec_dev = container_of(nb, struct cros_ec_device, in cros_ec_ready_event() local
168 int cros_ec_register(struct cros_ec_device *ec_dev) in cros_ec_register()
288 int cros_ec_unregister(struct cros_ec_device *ec_dev) in cros_ec_unregister()
307 int cros_ec_suspend(struct cros_ec_device *ec_dev) in cros_ec_suspend()
333 static void cros_ec_report_events_during_suspend(struct cros_ec_device *ec_dev) in cros_ec_report_events_during_suspend()
355 int cros_ec_resume(struct cros_ec_device *ec_dev) in cros_ec_resume()
Dcros_ec_spi.c98 struct cros_ec_device *ec_dev; member
117 static int terminate_request(struct cros_ec_device *ec_dev) in terminate_request()
156 static int receive_n_bytes(struct cros_ec_device *ec_dev, u8 *buf, int n) in receive_n_bytes()
191 static int cros_ec_spi_receive_packet(struct cros_ec_device *ec_dev, in cros_ec_spi_receive_packet()
300 static int cros_ec_spi_receive_response(struct cros_ec_device *ec_dev, in cros_ec_spi_receive_response()
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()
[all …]
Dcros_ec_rpmsg.c65 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()
152 struct cros_ec_device *ec_dev = dev_get_drvdata(&ec_rpmsg->rpdev->dev); in cros_ec_rpmsg_host_event_function() local
163 struct cros_ec_device *ec_dev = dev_get_drvdata(&rpdev->dev); in cros_ec_rpmsg_callback() local
218 struct cros_ec_device *ec_dev; in cros_ec_rpmsg_probe() local
265 struct cros_ec_device *ec_dev = dev_get_drvdata(&rpdev->dev); in cros_ec_rpmsg_remove() local
276 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_rpmsg_suspend() local
283 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_rpmsg_resume() local
Dcros_ec_i2c.c52 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
Dcros_ec_chardev.c34 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
379 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_chardev_probe() local
Dcros_usbpd_notify.c68 static int cros_ec_pd_command(struct cros_ec_device *ec_dev, in cros_ec_pd_command()
101 struct cros_ec_device *ec_dev) in cros_usbpd_get_event_and_notify()
147 struct cros_ec_device *ec_dev; in cros_usbpd_notify_probe_acpi() local
217 struct cros_ec_device *ec_dev = (struct cros_ec_device *)data; in cros_usbpd_notify_plat() local
Dcros_ec_lpc.c315 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
Dcros_usbpd_logger.c30 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_ishtp.c132 struct cros_ec_device *ec_dev; member
143 struct cros_ec_device *ec_dev = client_data->ec_dev; in ish_evt_handler() local
450 static int prepare_cros_ec_rx(struct cros_ec_device *ec_dev, in prepare_cros_ec_rx()
485 static int cros_ec_pkt_xfer_ish(struct cros_ec_device *ec_dev, in cros_ec_pkt_xfer_ish()
567 struct cros_ec_device *ec_dev; in cros_ec_dev_init() local
Dcros_ec_vbc.c111 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
Dcros_ec_debugfs.c201 struct cros_ec_device *ec_dev = debug_info->ec->ec_dev; in cros_ec_pdinfo_read() local
246 static bool cros_ec_uptime_is_supported(struct cros_ec_device *ec_dev) in cros_ec_uptime_is_supported()
269 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
Dcros_ec_lightbar.c533 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
Dcros_ec_sysfs.c339 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_sysfs_probe() local
352 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_sysfs_remove() local
Dcros_ec_sensorhub_ring.c919 struct cros_ec_device *ec_dev; in cros_ec_sensorhub_event() local
1044 struct cros_ec_device *ec_dev = sensorhub->ec->ec_dev; in cros_ec_sensorhub_ring_remove() local
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dcros_ec_keyb.c328 static int cros_ec_keyb_info(struct cros_ec_device *ec_dev, in cros_ec_keyb_info()
387 struct cros_ec_device *ec_dev = ckdev->ec; in cros_ec_keyb_query_switches() local
438 struct cros_ec_device *ec_dev = ckdev->ec; in cros_ec_keyb_register_bs() local
524 struct cros_ec_device *ec_dev = ckdev->ec; in cros_ec_keyb_register_matrix() local
/kernel/linux/linux-5.10/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
540 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_usbpd_charger_probe() local
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dcros_ec_baro.c125 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_baro_probe() local
/kernel/linux/linux-5.10/drivers/regulator/
Dcros-ec-regulator.c17 struct cros_ec_device *ec_dev; member
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-cros-ec.c319 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_rtc_probe() local
/kernel/linux/linux-5.10/drivers/media/cec/platform/cros-ec/
Dcros-ec-cec.c263 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_cec_probe() local
/kernel/linux/linux-5.10/include/linux/platform_data/
Dcros_ec_proto.h203 struct cros_ec_device *ec_dev; member
/kernel/linux/linux-5.10/drivers/hid/
Dhid-google-hammer.c53 static int cbas_ec_query_base(struct cros_ec_device *ec_dev, bool get_state, in cbas_ec_query_base()
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c37 static int cros_ec_get_host_cmd_version_mask(struct cros_ec_device *ec_dev, in cros_ec_get_host_cmd_version_mask()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dcros_ec_codec.c74 static int send_ec_host_command(struct cros_ec_device *ec_dev, uint32_t cmd, in send_ec_host_command()