Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-cros-ec.c29 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 Dgpio-cros-ec.c30 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 Dcros-ec-cec.c52 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 Dcros_ec_hwmon.c27 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 Dcros_ec_wdt.c24 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 Dleds-cros_ec.c51 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 Dcros_charge-control.c35 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 Dsc7280-idp-ec-h1.dtsi14 cros_ec: ec@0 { label
H A Dsc7280-herobrine.dtsi543 cros_ec: ec@0 { label
H A Dsc7180-trogdor.dtsi642 cros_ec: ec@0 { label
/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-veyron-chromebook.dtsi106 cros_ec: ec@0 { label
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra124-venice2.dts854 cros_ec: cros-ec@0 { label
H A Dtegra124-nyan.dtsi335 cros_ec: cros-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/arch/arm64/boot/dts/mediatek/
H A Dmt8183-kukui.dtsi861 cros_ec: cros-ec@0 { label
H A Dmt8188-geralt.dtsi1195 cros_ec: ec@0 { label
H A Dmt8195-cherry.dtsi1366 cros_ec: ec@0 { label
H A Dmt8173-elm.dtsi1121 cros_ec: ec@0 { label
H A Dmt8192-asurada.dtsi1340 cros_ec: ec@0 { label
H A Dmt8186-corsola.dtsi1627 cros_ec: ec@0 { label
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-gru.dtsi597 cros_ec: ec@0 { label
/linux/drivers/platform/chrome/
H A Dcros_kbd_led_backlight.c128 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in keyboard_led_init_ec_pwm_mfd() local