cros_ec_device     24 drivers/extcon/extcon-usbc-cros-ec.c 	struct cros_ec_device *ec;
cros_ec_device    367 drivers/extcon/extcon-usbc-cros-ec.c 	struct cros_ec_device *ec;
cros_ec_device    386 drivers/extcon/extcon-usbc-cros-ec.c 	struct cros_ec_device *ec = dev_get_drvdata(pdev->dev.parent);
cros_ec_device     52 drivers/hid/hid-google-hammer.c static int cbas_ec_query_base(struct cros_ec_device *ec_dev, bool get_state,
cros_ec_device     94 drivers/hid/hid-google-hammer.c 	struct cros_ec_device *ec = _notify;
cros_ec_device    135 drivers/hid/hid-google-hammer.c 	struct cros_ec_device *ec = dev_get_drvdata(dev->parent);
cros_ec_device    176 drivers/hid/hid-google-hammer.c 	struct cros_ec_device *ec = dev_get_drvdata(pdev->dev.parent);
cros_ec_device    249 drivers/hid/hid-google-hammer.c 	struct cros_ec_device *ec = dev_get_drvdata(pdev->dev.parent);
cros_ec_device     29 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	struct cros_ec_device *ec;
cros_ec_device    244 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	struct cros_ec_device *ec = dev_get_drvdata(pdev->dev.parent);
cros_ec_device     29 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c static int cros_ec_get_host_cmd_version_mask(struct cros_ec_device *ec_dev,
cros_ec_device    275 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c static int cros_ec_sensors_cmd_read_u8(struct cros_ec_device *ec,
cros_ec_device    281 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c static int cros_ec_sensors_cmd_read_u16(struct cros_ec_device *ec,
cros_ec_device    304 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c 	struct cros_ec_device *ec = st->ec;
cros_ec_device    345 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c 	struct cros_ec_device *ec = st->ec;
cros_ec_device    379 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c 	struct cros_ec_device *ec = st->ec;
cros_ec_device     54 drivers/input/keyboard/cros_ec_keyb.c 	struct cros_ec_device *ec;
cros_ec_device    329 drivers/input/keyboard/cros_ec_keyb.c static int cros_ec_keyb_info(struct cros_ec_device *ec_dev,
cros_ec_device    392 drivers/input/keyboard/cros_ec_keyb.c 	struct cros_ec_device *ec_dev = ckdev->ec;
cros_ec_device    443 drivers/input/keyboard/cros_ec_keyb.c 	struct cros_ec_device *ec_dev = ckdev->ec;
cros_ec_device    529 drivers/input/keyboard/cros_ec_keyb.c 	struct cros_ec_device *ec_dev = ckdev->ec;
cros_ec_device    596 drivers/input/keyboard/cros_ec_keyb.c 	struct cros_ec_device *ec = dev_get_drvdata(pdev->dev.parent);
cros_ec_device     35 drivers/media/platform/cros-ec-cec/cros-ec-cec.c 	struct cros_ec_device *cros_ec;
cros_ec_device     44 drivers/media/platform/cros-ec-cec/cros-ec-cec.c 	struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec;
cros_ec_device     56 drivers/media/platform/cros-ec-cec/cros-ec-cec.c 	struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec;
cros_ec_device     75 drivers/media/platform/cros-ec-cec/cros-ec-cec.c 	struct cros_ec_device *cros_ec;
cros_ec_device     96 drivers/media/platform/cros-ec-cec/cros-ec-cec.c 	struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec;
cros_ec_device    122 drivers/media/platform/cros-ec-cec/cros-ec-cec.c 	struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec;
cros_ec_device    146 drivers/media/platform/cros-ec-cec/cros-ec-cec.c 	struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec;
cros_ec_device    263 drivers/media/platform/cros-ec-cec/cros-ec-cec.c 	struct cros_ec_device *cros_ec = ec_dev->ec_dev;
cros_ec_device    294 drivers/mfd/cros_ec_dev.c 	struct cros_ec_device *ec_dev = ec->ec_dev;
cros_ec_device     36 drivers/platform/chrome/cros_ec.c 	struct cros_ec_device *ec_dev = data;
cros_ec_device     56 drivers/platform/chrome/cros_ec.c static int cros_ec_sleep_event(struct cros_ec_device *ec_dev, u8 sleep_event)
cros_ec_device    107 drivers/platform/chrome/cros_ec.c int cros_ec_register(struct cros_ec_device *ec_dev)
cros_ec_device    201 drivers/platform/chrome/cros_ec.c int cros_ec_unregister(struct cros_ec_device *ec_dev)
cros_ec_device    212 drivers/platform/chrome/cros_ec.c int cros_ec_suspend(struct cros_ec_device *ec_dev)
cros_ec_device    238 drivers/platform/chrome/cros_ec.c static void cros_ec_report_events_during_suspend(struct cros_ec_device *ec_dev)
cros_ec_device    246 drivers/platform/chrome/cros_ec.c int cros_ec_resume(struct cros_ec_device *ec_dev)
cros_ec_device     99 drivers/platform/chrome/cros_ec_chardev.c 	struct cros_ec_device *ec_dev = priv->ec_dev->ec_dev;
cros_ec_device    320 drivers/platform/chrome/cros_ec_chardev.c 	struct cros_ec_device *ec_dev = ec->ec_dev;
cros_ec_device    201 drivers/platform/chrome/cros_ec_debugfs.c 	struct cros_ec_device *ec_dev = debug_info->ec->ec_dev;
cros_ec_device    250 drivers/platform/chrome/cros_ec_debugfs.c 	struct cros_ec_device *ec_dev = debug_info->ec->ec_dev;
cros_ec_device    384 drivers/platform/chrome/cros_ec_debugfs.c 	struct cros_ec_device *ec_dev = debug_info->ec->ec_dev;
cros_ec_device     43 drivers/platform/chrome/cros_ec_i2c.c static inline struct cros_ec_device *to_ec_dev(struct device *dev)
cros_ec_device     50 drivers/platform/chrome/cros_ec_i2c.c static int cros_ec_pkt_xfer_i2c(struct cros_ec_device *ec_dev,
cros_ec_device    178 drivers/platform/chrome/cros_ec_i2c.c static int cros_ec_cmd_xfer_i2c(struct cros_ec_device *ec_dev,
cros_ec_device    283 drivers/platform/chrome/cros_ec_i2c.c 	struct cros_ec_device *ec_dev = NULL;
cros_ec_device    312 drivers/platform/chrome/cros_ec_i2c.c 	struct cros_ec_device *ec_dev = i2c_get_clientdata(client);
cros_ec_device    320 drivers/platform/chrome/cros_ec_i2c.c 	struct cros_ec_device *ec_dev = to_ec_dev(dev);
cros_ec_device    327 drivers/platform/chrome/cros_ec_i2c.c 	struct cros_ec_device *ec_dev = to_ec_dev(dev);
cros_ec_device    127 drivers/platform/chrome/cros_ec_ishtp.c 	struct cros_ec_device *ec_dev;
cros_ec_device    138 drivers/platform/chrome/cros_ec_ishtp.c 	struct cros_ec_device *ec_dev = client_data->ec_dev;
cros_ec_device    414 drivers/platform/chrome/cros_ec_ishtp.c static int prepare_cros_ec_rx(struct cros_ec_device *ec_dev,
cros_ec_device    449 drivers/platform/chrome/cros_ec_ishtp.c static int cros_ec_pkt_xfer_ish(struct cros_ec_device *ec_dev,
cros_ec_device    531 drivers/platform/chrome/cros_ec_ishtp.c 	struct cros_ec_device *ec_dev;
cros_ec_device    140 drivers/platform/chrome/cros_ec_lpc.c static int cros_ec_pkt_xfer_lpc(struct cros_ec_device *ec,
cros_ec_device    203 drivers/platform/chrome/cros_ec_lpc.c static int cros_ec_cmd_xfer_lpc(struct cros_ec_device *ec,
cros_ec_device    285 drivers/platform/chrome/cros_ec_lpc.c static int cros_ec_lpc_readmem(struct cros_ec_device *ec, unsigned int offset,
cros_ec_device    314 drivers/platform/chrome/cros_ec_lpc.c 	struct cros_ec_device *ec_dev = data;
cros_ec_device    330 drivers/platform/chrome/cros_ec_lpc.c 	struct cros_ec_device *ec_dev;
cros_ec_device    424 drivers/platform/chrome/cros_ec_lpc.c 	struct cros_ec_device *ec_dev = platform_get_drvdata(pdev);
cros_ec_device    500 drivers/platform/chrome/cros_ec_lpc.c 	struct cros_ec_device *ec_dev = dev_get_drvdata(dev);
cros_ec_device    507 drivers/platform/chrome/cros_ec_lpc.c 	struct cros_ec_device *ec_dev = dev_get_drvdata(dev);
cros_ec_device     18 drivers/platform/chrome/cros_ec_proto.c static int prepare_packet(struct cros_ec_device *ec_dev,
cros_ec_device     51 drivers/platform/chrome/cros_ec_proto.c static int send_command(struct cros_ec_device *ec_dev,
cros_ec_device     55 drivers/platform/chrome/cros_ec_proto.c 	int (*xfer_fxn)(struct cros_ec_device *ec, struct cros_ec_command *msg);
cros_ec_device    120 drivers/platform/chrome/cros_ec_proto.c int cros_ec_prepare_tx(struct cros_ec_device *ec_dev,
cros_ec_device    144 drivers/platform/chrome/cros_ec_proto.c int cros_ec_check_result(struct cros_ec_device *ec_dev,
cros_ec_device    175 drivers/platform/chrome/cros_ec_proto.c static int cros_ec_get_host_event_wake_mask(struct cros_ec_device *ec_dev,
cros_ec_device    196 drivers/platform/chrome/cros_ec_proto.c static int cros_ec_host_command_proto_query(struct cros_ec_device *ec_dev,
cros_ec_device    232 drivers/platform/chrome/cros_ec_proto.c static int cros_ec_host_command_proto_query_v2(struct cros_ec_device *ec_dev)
cros_ec_device    297 drivers/platform/chrome/cros_ec_proto.c static int cros_ec_get_host_command_version_mask(struct cros_ec_device *ec_dev,
cros_ec_device    329 drivers/platform/chrome/cros_ec_proto.c int cros_ec_query_all(struct cros_ec_device *ec_dev)
cros_ec_device    456 drivers/platform/chrome/cros_ec_proto.c int cros_ec_cmd_xfer(struct cros_ec_device *ec_dev,
cros_ec_device    503 drivers/platform/chrome/cros_ec_proto.c int cros_ec_cmd_xfer_status(struct cros_ec_device *ec_dev,
cros_ec_device    520 drivers/platform/chrome/cros_ec_proto.c static int get_next_event_xfer(struct cros_ec_device *ec_dev,
cros_ec_device    540 drivers/platform/chrome/cros_ec_proto.c static int get_next_event(struct cros_ec_device *ec_dev)
cros_ec_device    568 drivers/platform/chrome/cros_ec_proto.c static int get_keyboard_state_event(struct cros_ec_device *ec_dev)
cros_ec_device    587 drivers/platform/chrome/cros_ec_proto.c int cros_ec_get_next_event(struct cros_ec_device *ec_dev, bool *wake_event)
cros_ec_device    631 drivers/platform/chrome/cros_ec_proto.c u32 cros_ec_get_host_event(struct cros_ec_device *ec_dev)
cros_ec_device     60 drivers/platform/chrome/cros_ec_rpmsg.c static int cros_ec_cmd_xfer_rpmsg(struct cros_ec_device *ec_dev,
cros_ec_device     74 drivers/platform/chrome/cros_ec_rpmsg.c static int cros_ec_pkt_xfer_rpmsg(struct cros_ec_device *ec_dev,
cros_ec_device    147 drivers/platform/chrome/cros_ec_rpmsg.c 	struct cros_ec_device *ec_dev = dev_get_drvdata(&ec_rpmsg->rpdev->dev);
cros_ec_device    169 drivers/platform/chrome/cros_ec_rpmsg.c 	struct cros_ec_device *ec_dev = dev_get_drvdata(&rpdev->dev);
cros_ec_device    224 drivers/platform/chrome/cros_ec_rpmsg.c 	struct cros_ec_device *ec_dev;
cros_ec_device    271 drivers/platform/chrome/cros_ec_rpmsg.c 	struct cros_ec_device *ec_dev = dev_get_drvdata(&rpdev->dev);
cros_ec_device    282 drivers/platform/chrome/cros_ec_rpmsg.c 	struct cros_ec_device *ec_dev = dev_get_drvdata(dev);
cros_ec_device    289 drivers/platform/chrome/cros_ec_rpmsg.c 	struct cros_ec_device *ec_dev = dev_get_drvdata(dev);
cros_ec_device     80 drivers/platform/chrome/cros_ec_spi.c typedef int (*cros_ec_xfer_fn_t) (struct cros_ec_device *ec_dev,
cros_ec_device     96 drivers/platform/chrome/cros_ec_spi.c 	struct cros_ec_device *ec_dev;
cros_ec_device    115 drivers/platform/chrome/cros_ec_spi.c static int terminate_request(struct cros_ec_device *ec_dev)
cros_ec_device    149 drivers/platform/chrome/cros_ec_spi.c static int receive_n_bytes(struct cros_ec_device *ec_dev, u8 *buf, int n)
cros_ec_device    184 drivers/platform/chrome/cros_ec_spi.c static int cros_ec_spi_receive_packet(struct cros_ec_device *ec_dev,
cros_ec_device    293 drivers/platform/chrome/cros_ec_spi.c static int cros_ec_spi_receive_response(struct cros_ec_device *ec_dev,
cros_ec_device    381 drivers/platform/chrome/cros_ec_spi.c static int do_cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev,
cros_ec_device    524 drivers/platform/chrome/cros_ec_spi.c static int do_cros_ec_cmd_xfer_spi(struct cros_ec_device *ec_dev,
cros_ec_device    645 drivers/platform/chrome/cros_ec_spi.c static int cros_ec_xfer_high_pri(struct cros_ec_device *ec_dev,
cros_ec_device    673 drivers/platform/chrome/cros_ec_spi.c static int cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev,
cros_ec_device    679 drivers/platform/chrome/cros_ec_spi.c static int cros_ec_cmd_xfer_spi(struct cros_ec_device *ec_dev,
cros_ec_device    737 drivers/platform/chrome/cros_ec_spi.c 	struct cros_ec_device *ec_dev;
cros_ec_device    790 drivers/platform/chrome/cros_ec_spi.c 	struct cros_ec_device *ec_dev = spi_get_drvdata(spi);
cros_ec_device    798 drivers/platform/chrome/cros_ec_spi.c 	struct cros_ec_device *ec_dev = dev_get_drvdata(dev);
cros_ec_device    805 drivers/platform/chrome/cros_ec_spi.c 	struct cros_ec_device *ec_dev = dev_get_drvdata(dev);
cros_ec_device     23 drivers/platform/chrome/cros_ec_vbc.c 	struct cros_ec_device *ecdev = ec->ec_dev;
cros_ec_device     63 drivers/platform/chrome/cros_ec_vbc.c 	struct cros_ec_device *ecdev = ec->ec_dev;
cros_ec_device     48 drivers/power/supply/cros_usbpd-charger.c 	struct cros_ec_device *ec_device;
cros_ec_device    370 drivers/power/supply/cros_usbpd-charger.c 	struct cros_ec_device *ec_device = charger->ec_device;
cros_ec_device    530 drivers/power/supply/cros_usbpd-charger.c 	struct cros_ec_device *ec_device;
cros_ec_device    549 drivers/power/supply/cros_usbpd-charger.c 	struct cros_ec_device *ec_device = charger->ec_device;
cros_ec_device    558 drivers/power/supply/cros_usbpd-charger.c 	struct cros_ec_device *ec_device = ec_dev->ec_dev;
cros_ec_device     24 drivers/pwm/pwm-cros-ec.c 	struct cros_ec_device *ec;
cros_ec_device     33 drivers/pwm/pwm-cros-ec.c static int cros_ec_pwm_set_duty(struct cros_ec_device *ec, u8 index, u16 duty)
cros_ec_device     56 drivers/pwm/pwm-cros-ec.c static int __cros_ec_pwm_get_duty(struct cros_ec_device *ec, u8 index,
cros_ec_device     90 drivers/pwm/pwm-cros-ec.c static int cros_ec_pwm_get_duty(struct cros_ec_device *ec, u8 index)
cros_ec_device    157 drivers/pwm/pwm-cros-ec.c static int cros_ec_num_pwms(struct cros_ec_device *ec)
cros_ec_device    187 drivers/pwm/pwm-cros-ec.c 	struct cros_ec_device *ec = dev_get_drvdata(pdev->dev.parent);
cros_ec_device     27 drivers/rtc/rtc-cros-ec.c 	struct cros_ec_device *cros_ec;
cros_ec_device     33 drivers/rtc/rtc-cros-ec.c static int cros_ec_rtc_get(struct cros_ec_device *cros_ec, u32 command,
cros_ec_device     60 drivers/rtc/rtc-cros-ec.c static int cros_ec_rtc_set(struct cros_ec_device *cros_ec, u32 command,
cros_ec_device     89 drivers/rtc/rtc-cros-ec.c 	struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec;
cros_ec_device    108 drivers/rtc/rtc-cros-ec.c 	struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec;
cros_ec_device    129 drivers/rtc/rtc-cros-ec.c 	struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec;
cros_ec_device    159 drivers/rtc/rtc-cros-ec.c 	struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec;
cros_ec_device    209 drivers/rtc/rtc-cros-ec.c 	struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec;
cros_ec_device    271 drivers/rtc/rtc-cros-ec.c 	struct cros_ec_device *cros_ec;
cros_ec_device    325 drivers/rtc/rtc-cros-ec.c 	struct cros_ec_device *cros_ec = ec_dev->ec_dev;
cros_ec_device     56 include/linux/iio/common/cros_ec_sensors_core.h 	struct cros_ec_device *ec;
cros_ec_device     25 include/linux/mfd/cros_ec.h 	struct cros_ec_device *ec_dev;
cros_ec_device    135 include/linux/platform_data/cros_ec_proto.h 	int (*cmd_readmem)(struct cros_ec_device *ec, unsigned int offset,
cros_ec_device    151 include/linux/platform_data/cros_ec_proto.h 	int (*cmd_xfer)(struct cros_ec_device *ec,
cros_ec_device    153 include/linux/platform_data/cros_ec_proto.h 	int (*pkt_xfer)(struct cros_ec_device *ec,
cros_ec_device    198 include/linux/platform_data/cros_ec_proto.h int cros_ec_suspend(struct cros_ec_device *ec_dev);
cros_ec_device    208 include/linux/platform_data/cros_ec_proto.h int cros_ec_resume(struct cros_ec_device *ec_dev);
cros_ec_device    221 include/linux/platform_data/cros_ec_proto.h int cros_ec_prepare_tx(struct cros_ec_device *ec_dev,
cros_ec_device    234 include/linux/platform_data/cros_ec_proto.h int cros_ec_check_result(struct cros_ec_device *ec_dev,
cros_ec_device    247 include/linux/platform_data/cros_ec_proto.h int cros_ec_cmd_xfer(struct cros_ec_device *ec_dev,
cros_ec_device    262 include/linux/platform_data/cros_ec_proto.h int cros_ec_cmd_xfer_status(struct cros_ec_device *ec_dev,
cros_ec_device    274 include/linux/platform_data/cros_ec_proto.h int cros_ec_register(struct cros_ec_device *ec_dev);
cros_ec_device    284 include/linux/platform_data/cros_ec_proto.h int cros_ec_unregister(struct cros_ec_device *ec_dev);
cros_ec_device    293 include/linux/platform_data/cros_ec_proto.h int cros_ec_query_all(struct cros_ec_device *ec_dev);
cros_ec_device    305 include/linux/platform_data/cros_ec_proto.h int cros_ec_get_next_event(struct cros_ec_device *ec_dev, bool *wake_event);
cros_ec_device    317 include/linux/platform_data/cros_ec_proto.h u32 cros_ec_get_host_event(struct cros_ec_device *ec_dev);
cros_ec_device     32 sound/soc/codecs/cros_ec_codec.c 	struct cros_ec_device *ec_device;
cros_ec_device     45 sound/soc/codecs/cros_ec_codec.c 	struct cros_ec_device *ec_device = codec_data->ec_device;
cros_ec_device     74 sound/soc/codecs/cros_ec_codec.c 	struct cros_ec_device *ec_device = codec_data->ec_device;
cros_ec_device    403 sound/soc/codecs/cros_ec_codec.c 	struct cros_ec_device *ec_device = dev_get_drvdata(pd->dev.parent);