| /linux/drivers/rtc/ |
| H A D | rtc-cros-ec.c | 29 struct cros_ec_device *cros_ec; member 35 static int cros_ec_rtc_get(struct cros_ec_device *cros_ec, u32 command, in cros_ec_rtc_get() 54 static int cros_ec_rtc_set(struct cros_ec_device *cros_ec, u32 command, in cros_ec_rtc_set() 75 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_read_time() local 94 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_set_time() local 111 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_read_alarm() local 141 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_set_alarm() local 198 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_alarm_irq_enable() local 260 struct cros_ec_device *cros_ec; in cros_ec_rtc_event() local 314 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_ec_rtc_probe() local
|
| /linux/drivers/gpio/ |
| H A D | gpio-cros-ec.c | 30 struct cros_ec_device *cros_ec = gpiochip_get_data(gc); in cros_ec_gpio_set() local 47 struct cros_ec_device *cros_ec = gpiochip_get_data(gc); in cros_ec_gpio_get() local 73 struct cros_ec_device *cros_ec = gpiochip_get_data(gc); in cros_ec_gpio_get_direction() local 98 static int cros_ec_gpio_init_names(struct cros_ec_device *cros_ec, struct gpio_chip *gc) in cros_ec_gpio_init_names() 143 static int cros_ec_gpio_ngpios(struct cros_ec_device *cros_ec) in cros_ec_gpio_ngpios() 164 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_ec_gpio_probe() local
|
| /linux/drivers/media/cec/platform/cros-ec/ |
| H A D | cros-ec-cec.c | 52 struct cros_ec_device *cros_ec; member 73 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in handle_cec_message() local 100 struct cros_ec_device *cros_ec = port->cros_ec_cec->cros_ec; in cros_ec_cec_read_message() local 120 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in handle_cec_event() local 151 struct cros_ec_device *cros_ec; in cros_ec_cec_event() local 173 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_set_log_addr() local 197 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_transmit() local 228 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_adap_enable() local 412 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_get_write_cmd_version() local 494 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_ec_cec_probe() local
|
| /linux/drivers/hwmon/ |
| H A D | cros_ec_hwmon.c | 27 struct cros_ec_device *cros_ec; member 40 static int cros_ec_hwmon_read_fan_speed(struct cros_ec_device *cros_ec, u8 index, u16 *speed) in cros_ec_hwmon_read_fan_speed() 53 static int cros_ec_hwmon_read_pwm_value(struct cros_ec_device *cros_ec, u8 index, u8 *pwm_value) in cros_ec_hwmon_read_pwm_value() 70 static int cros_ec_hwmon_read_pwm_enable(struct cros_ec_device *cros_ec, u8 index, in cros_ec_hwmon_read_pwm_enable() 89 static int cros_ec_hwmon_read_temp(struct cros_ec_device *cros_ec, u8 index, u8 *temp) in cros_ec_hwmon_read_temp() 190 static int cros_ec_hwmon_set_fan_pwm_val(struct cros_ec_device *cros_ec, u8 index, u8 val) in cros_ec_hwmon_set_fan_pwm_val() 205 static int cros_ec_hwmon_write_pwm_input(struct cros_ec_device *cros_ec, u8 index, u8 val) in cros_ec_hwmon_write_pwm_input() 219 static int cros_ec_hwmon_write_pwm_enable(struct cros_ec_device *cros_ec, u8 index, u8 val) in cros_ec_hwmon_write_pwm_enable() 412 static inline bool is_cros_ec_cmd_available(struct cros_ec_device *cros_ec, in is_cros_ec_cmd_available() 421 static bool cros_ec_hwmon_probe_fan_control_supported(struct cros_ec_device *cros_ec) in cros_ec_hwmon_probe_fan_control_supported() [all …]
|
| /linux/drivers/watchdog/ |
| H A D | cros_ec_wdt.c | 24 static int cros_ec_wdt_send_cmd(struct cros_ec_device *cros_ec, in cros_ec_wdt_send_cmd() 50 struct cros_ec_device *cros_ec = watchdog_get_drvdata(wdd); in cros_ec_wdt_ping() local 64 struct cros_ec_device *cros_ec = watchdog_get_drvdata(wdd); in cros_ec_wdt_start() local 80 struct cros_ec_device *cros_ec = watchdog_get_drvdata(wdd); in cros_ec_wdt_stop() local 123 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_ec_wdt_probe() local
|
| /linux/drivers/leds/ |
| H A D | leds-cros_ec.c | 51 struct cros_ec_device *cros_ec; member 65 static int cros_ec_led_send_cmd(struct cros_ec_device *cros_ec, in cros_ec_led_send_cmd() 164 static int cros_ec_led_probe_one(struct device *dev, struct cros_ec_device *cros_ec, in cros_ec_led_probe_one() 233 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_ec_led_probe() local
|
| /linux/drivers/power/supply/ |
| H A D | cros_charge-control.c | 35 struct cros_ec_device *cros_ec; member 47 static int cros_chctl_send_charge_control_cmd(struct cros_ec_device *cros_ec, in cros_chctl_send_charge_control_cmd() 249 static int cros_chctl_fwk_charge_control_versions(struct cros_ec_device *cros_ec) in cros_chctl_fwk_charge_control_versions() 261 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_chctl_probe() local
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sc7280-idp-ec-h1.dtsi | 14 cros_ec: ec@0 { label
|
| H A D | sc7280-herobrine.dtsi | 543 cros_ec: ec@0 { label
|
| H A D | sc7180-trogdor.dtsi | 642 cros_ec: ec@0 { label
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rk3288-veyron-chromebook.dtsi | 106 cros_ec: ec@0 { label
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra124-venice2.dts | 854 cros_ec: cros-ec@0 { label
|
| H A D | tegra124-nyan.dtsi | 335 cros_ec: cros-ec@0 { label
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos5250-spring.dts | 385 cros_ec: embedded-controller@1e { label
|
| H A D | exynos5250-snow-common.dtsi | 85 cros_ec: embedded-controller@1e { label
|
| H A D | exynos5800-peach-pi.dts | 943 cros_ec: cros-ec@0 { label
|
| H A D | exynos5420-peach-pit.dts | 961 cros_ec: cros-ec@0 { label
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8183-kukui.dtsi | 861 cros_ec: cros-ec@0 { label
|
| H A D | mt8188-geralt.dtsi | 1195 cros_ec: ec@0 { label
|
| H A D | mt8195-cherry.dtsi | 1366 cros_ec: ec@0 { label
|
| H A D | mt8173-elm.dtsi | 1121 cros_ec: ec@0 { label
|
| H A D | mt8192-asurada.dtsi | 1340 cros_ec: ec@0 { label
|
| H A D | mt8186-corsola.dtsi | 1627 cros_ec: ec@0 { label
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-gru.dtsi | 597 cros_ec: ec@0 { label
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_kbd_led_backlight.c | 128 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in keyboard_led_init_ec_pwm_mfd() local
|