Home
last modified time | relevance | path

Searched defs:cros_ec (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/rtc/
H A Drtc-cros-ec.c28 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 Dgpio-cros-ec.c29 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 Dcros_ec_hwmon.c27 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 Dcros-ec-cec.c51 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 Dcros_ec_wdt.c23 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 Dleds-cros_ec.c50 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 Dcros_charge-control.c34 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 Dsc7280-idp-ec-h1.dtsi14 cros_ec: ec@0 { label
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5250-spring.dts385 cros_ec: embedded-controller@1e { label
H A Dexynos5250-snow-common.dtsi85 cros_ec: embedded-controller@1e { label
H A Dexynos5800-peach-pi.dts943 cros_ec: cros-ec@0 { label
H A Dexynos5420-peach-pit.dts961 cros_ec: cros-ec@0 { label
/linux/drivers/platform/chrome/
H A Dcros_kbd_led_backlight.c122 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 Dmt8186-corsola.dtsi1627 cros_ec: ec@0 { label