| /linux/drivers/rtc/ |
| H A D | rtc-cros-ec.c | 28 struct cros_ec_device *cros_ec; member 34 static int cros_ec_rtc_get(struct cros_ec_device *cros_ec, u32 command, in cros_ec_rtc_get() 53 static int cros_ec_rtc_set(struct cros_ec_device *cros_ec, u32 command, in cros_ec_rtc_set() 74 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_read_time() local 93 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_set_time() local 110 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_read_alarm() local 140 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_set_alarm() local 197 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_alarm_irq_enable() local 259 struct cros_ec_device *cros_ec; in cros_ec_rtc_event() local 313 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 | 29 struct cros_ec_device *cros_ec = gpiochip_get_data(gc); in cros_ec_gpio_set() local 46 struct cros_ec_device *cros_ec = gpiochip_get_data(gc); in cros_ec_gpio_get() local 72 struct cros_ec_device *cros_ec = gpiochip_get_data(gc); in cros_ec_gpio_get_direction() local 97 static int cros_ec_gpio_init_names(struct cros_ec_device *cros_ec, struct gpio_chip *gc) in cros_ec_gpio_init_names() 142 static int cros_ec_gpio_ngpios(struct cros_ec_device *cros_ec) in cros_ec_gpio_ngpios() 163 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_ec_gpio_probe() local
|
| /linux/drivers/hwmon/ |
| H A D | cros_ec_hwmon.c | 27 struct cros_ec_device *cros_ec; member 42 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() 55 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() 72 static int cros_ec_hwmon_read_pwm_enable(struct cros_ec_device *cros_ec, u8 index, in cros_ec_hwmon_read_pwm_enable() 91 static int cros_ec_hwmon_read_fan_target(struct cros_ec_device *cros_ec, u16 *speed) in cros_ec_hwmon_read_fan_target() 105 static int cros_ec_hwmon_read_temp(struct cros_ec_device *cros_ec, u8 index, u8 *temp) in cros_ec_hwmon_read_temp() 121 static int cros_ec_hwmon_read_temp_threshold(struct cros_ec_device *cros_ec, u8 index, in cros_ec_hwmon_read_temp_threshold() 265 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() 280 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() 294 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() [all …]
|
| /linux/drivers/media/cec/platform/cros-ec/ |
| H A D | cros-ec-cec.c | 51 struct cros_ec_device *cros_ec; member 72 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in handle_cec_message() local 99 struct cros_ec_device *cros_ec = port->cros_ec_cec->cros_ec; in cros_ec_cec_read_message() local 119 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in handle_cec_event() local 150 struct cros_ec_device *cros_ec; in cros_ec_cec_event() local 172 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_set_log_addr() local 196 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_transmit() local 227 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_adap_enable() local 417 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_get_write_cmd_version() local 499 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_ec_cec_probe() local
|
| /linux/drivers/watchdog/ |
| H A D | cros_ec_wdt.c | 23 static int cros_ec_wdt_send_cmd(struct cros_ec_device *cros_ec, in cros_ec_wdt_send_cmd() 49 struct cros_ec_device *cros_ec = watchdog_get_drvdata(wdd); in cros_ec_wdt_ping() local 63 struct cros_ec_device *cros_ec = watchdog_get_drvdata(wdd); in cros_ec_wdt_start() local 79 struct cros_ec_device *cros_ec = watchdog_get_drvdata(wdd); in cros_ec_wdt_stop() local 122 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 | 50 struct cros_ec_device *cros_ec; member 64 static int cros_ec_led_send_cmd(struct cros_ec_device *cros_ec, in cros_ec_led_send_cmd() 160 static int cros_ec_led_probe_one(struct device *dev, struct cros_ec_device *cros_ec, in cros_ec_led_probe_one() 231 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 | 34 struct cros_ec_device *cros_ec; member 46 static int cros_chctl_send_charge_control_cmd(struct cros_ec_device *cros_ec, in cros_chctl_send_charge_control_cmd() 248 static int cros_chctl_fwk_charge_control_versions(struct cros_ec_device *cros_ec) in cros_chctl_fwk_charge_control_versions() 260 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
|
| /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/drivers/platform/chrome/ |
| H A D | cros_kbd_led_backlight.c | 122 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in keyboard_led_init_ec_pwm_mfd() local
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8186-corsola.dtsi | 1627 cros_ec: ec@0 { label
|