/linux-6.1.9/drivers/platform/chrome/ |
D | cros_ec_proto_test.c | 18 struct cros_ec_device ec_dev; member 28 struct cros_ec_device *ec_dev = &priv->ec_dev; in cros_ec_proto_test_prepare_tx_legacy_normal() local 71 struct cros_ec_device *ec_dev = &priv->ec_dev; in cros_ec_proto_test_prepare_tx_legacy_bad_msg_outsize() local 86 struct cros_ec_device *ec_dev = &priv->ec_dev; in cros_ec_proto_test_prepare_tx_normal() local 127 struct cros_ec_device *ec_dev = &priv->ec_dev; in cros_ec_proto_test_prepare_tx_bad_msg_outsize() local 140 struct cros_ec_device *ec_dev = &priv->ec_dev; in cros_ec_proto_test_check_result() local 180 struct cros_ec_device *ec_dev = &priv->ec_dev; in cros_ec_proto_test_query_all_pretest() local 195 struct cros_ec_device *ec_dev = &priv->ec_dev; in cros_ec_proto_test_query_all_normal() local 349 struct cros_ec_device *ec_dev = &priv->ec_dev; in cros_ec_proto_test_query_all_no_pd_return_error() local 414 struct cros_ec_device *ec_dev = &priv->ec_dev; in cros_ec_proto_test_query_all_no_pd_return0() local [all …]
|
D | cros_ec_proto.c | 55 static int prepare_tx(struct cros_ec_device *ec_dev, in prepare_tx() 88 static int prepare_tx_legacy(struct cros_ec_device *ec_dev, in prepare_tx_legacy() 110 static int cros_ec_xfer_command(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_ec_xfer_command() 137 static int cros_ec_wait_until_complete(struct cros_ec_device *ec_dev, uint32_t *result) in cros_ec_wait_until_complete() 181 static int cros_ec_send_command(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_ec_send_command() 201 int cros_ec_prepare_tx(struct cros_ec_device *ec_dev, in cros_ec_prepare_tx() 224 int cros_ec_check_result(struct cros_ec_device *ec_dev, in cros_ec_check_result() 255 static int cros_ec_get_host_event_wake_mask(struct cros_ec_device *ec_dev, uint32_t *mask) in cros_ec_get_host_event_wake_mask() 291 static int cros_ec_get_proto_info(struct cros_ec_device *ec_dev, int devidx) in cros_ec_get_proto_info() 369 static int cros_ec_get_proto_info_legacy(struct cros_ec_device *ec_dev) in cros_ec_get_proto_info_legacy() [all …]
|
D | cros_ec.c | 41 struct cros_ec_device *ec_dev = data; in cros_ec_irq_handler() local 58 static bool cros_ec_handle_event(struct cros_ec_device *ec_dev) in cros_ec_handle_event() 90 struct cros_ec_device *ec_dev = data; in cros_ec_irq_thread() local 101 static int cros_ec_sleep_event(struct cros_ec_device *ec_dev, u8 sleep_event) in cros_ec_sleep_event() 156 struct cros_ec_device *ec_dev = container_of(nb, struct cros_ec_device, in cros_ec_ready_event() local 179 int cros_ec_register(struct cros_ec_device *ec_dev) in cros_ec_register() 307 void 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() 351 static void cros_ec_report_events_during_suspend(struct cros_ec_device *ec_dev) in cros_ec_report_events_during_suspend() 373 int cros_ec_resume(struct cros_ec_device *ec_dev) in cros_ec_resume()
|
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() 156 static int receive_n_bytes(struct cros_ec_device *ec_dev, u8 *buf, int n) in receive_n_bytes() 192 static int cros_ec_spi_receive_packet(struct cros_ec_device *ec_dev, in cros_ec_spi_receive_packet() 301 static int cros_ec_spi_receive_response(struct cros_ec_device *ec_dev, in cros_ec_spi_receive_response() 389 static int do_cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev, in do_cros_ec_pkt_xfer_spi() 535 static int do_cros_ec_cmd_xfer_spi(struct cros_ec_device *ec_dev, in do_cros_ec_cmd_xfer_spi() 658 static int cros_ec_xfer_high_pri(struct cros_ec_device *ec_dev, in cros_ec_xfer_high_pri() 686 static int cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev, in cros_ec_pkt_xfer_spi() 692 static int cros_ec_cmd_xfer_spi(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer_spi() [all …]
|
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() 161 struct cros_ec_device *ec_dev = dev_get_drvdata(&rpdev->dev); in cros_ec_rpmsg_callback() local 216 struct cros_ec_device *ec_dev; in cros_ec_rpmsg_probe() local 263 struct cros_ec_device *ec_dev = dev_get_drvdata(&rpdev->dev); in cros_ec_rpmsg_remove() local 274 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_rpmsg_suspend() local 281 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_rpmsg_resume() local
|
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() 188 static int cros_ec_cmd_xfer_i2c(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer_i2c() 293 struct cros_ec_device *ec_dev = NULL; in cros_ec_i2c_probe() local 322 struct cros_ec_device *ec_dev = i2c_get_clientdata(client); in cros_ec_i2c_remove() local 330 struct cros_ec_device *ec_dev = to_ec_dev(dev); in cros_ec_i2c_suspend() local 337 struct cros_ec_device *ec_dev = to_ec_dev(dev); in cros_ec_i2c_resume() local
|
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 379 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_chardev_probe() local
|
D | cros_kunit_util.c | 24 int cros_kunit_ec_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_kunit_ec_xfer_mock() 52 int cros_kunit_ec_cmd_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_kunit_ec_cmd_xfer_mock() 58 int cros_kunit_ec_pkt_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_kunit_ec_pkt_xfer_mock() 106 int cros_kunit_readmem_mock(struct cros_ec_device *ec_dev, unsigned int offset, in cros_kunit_readmem_mock()
|
D | cros_ec_lpc.c | 317 struct cros_ec_device *ec_dev = data; in cros_ec_lpc_acpi_notify() local 342 struct cros_ec_device *ec_dev; in cros_ec_lpc_probe() local 449 struct cros_ec_device *ec_dev = platform_get_drvdata(pdev); in cros_ec_lpc_remove() local 535 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_lpc_suspend() local 542 struct cros_ec_device *ec_dev = dev_get_drvdata(dev); in cros_ec_lpc_resume() local
|
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
|
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
|
D | cros_ec_debugfs.c | 201 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
|
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
|
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
|
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() 568 struct cros_ec_device *ec_dev; in cros_ec_dev_init() local
|
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
|
D | cros_ec_sensorhub_ring.c | 919 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
|
/linux-6.1.9/drivers/power/supply/ |
D | cros_peripheral_charger.c | 40 struct cros_ec_dev *ec_dev; member 62 struct cros_ec_dev *ec_dev = charger->ec_dev; in cros_pchg_ec_command() local 245 struct cros_ec_device *ec_dev = data; in cros_ec_notify() local 265 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_pchg_probe() local
|
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-6.1.9/drivers/input/keyboard/ |
D | cros_ec_keyb.c | 334 static int cros_ec_keyb_info(struct cros_ec_device *ec_dev, in cros_ec_keyb_info() 393 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 577 struct cros_ec_device *ec_dev = ckdev->ec; in cros_ec_keyb_register_matrix() local
|
/linux-6.1.9/drivers/iio/pressure/ |
D | cros_ec_baro.c | 126 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_baro_probe() local
|
/linux-6.1.9/drivers/regulator/ |
D | cros-ec-regulator.c | 17 struct cros_ec_device *ec_dev; member
|
/linux-6.1.9/drivers/iio/proximity/ |
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-6.1.9/drivers/rtc/ |
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-6.1.9/drivers/media/cec/platform/cros-ec/ |
D | cros-ec-cec.c | 271 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_cec_probe() local
|