Home
last modified time | relevance | path

Searched refs:omnia_mcu (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/platform/cznic/
H A Dturris-omnia-mcu.h62 struct omnia_mcu { struct
226 int omnia_mcu_register_gpiochip(struct omnia_mcu *mcu);
228 static inline int omnia_mcu_register_gpiochip(struct omnia_mcu *mcu) in omnia_mcu_register_gpiochip()
236 int omnia_mcu_register_sys_off_and_wakeup(struct omnia_mcu *mcu);
238 static inline int omnia_mcu_register_sys_off_and_wakeup(struct omnia_mcu *mcu) in omnia_mcu_register_sys_off_and_wakeup()
245 int omnia_mcu_register_trng(struct omnia_mcu *mcu);
247 static inline int omnia_mcu_register_trng(struct omnia_mcu *mcu) in omnia_mcu_register_trng()
254 int omnia_mcu_register_watchdog(struct omnia_mcu *mcu);
256 static inline int omnia_mcu_register_watchdog(struct omnia_mcu *mcu) in omnia_mcu_register_watchdog()
H A Dturris-omnia-mcu-base.c56 static int omnia_get_version_hash(struct omnia_mcu *mcu, bool bootloader, in omnia_get_version_hash()
79 struct omnia_mcu *mcu = dev_get_drvdata(dev); in fw_version_hash_show()
109 struct omnia_mcu *mcu = dev_get_drvdata(dev); in fw_features_show()
118 struct omnia_mcu *mcu = dev_get_drvdata(dev); in mcu_type_show()
142 struct omnia_mcu *mcu = dev_get_drvdata(dev); in serial_number_show()
151 struct omnia_mcu *mcu = dev_get_drvdata(dev); in first_mac_address_show()
160 struct omnia_mcu *mcu = dev_get_drvdata(dev); in board_revision_show()
182 struct omnia_mcu *mcu = dev_get_drvdata(dev); in omnia_mcu_base_attrs_visible()
209 static void omnia_mcu_print_version_hash(struct omnia_mcu *mcu, bool bootloader) in omnia_mcu_print_version_hash()
247 static int omnia_mcu_read_features(struct omnia_mcu *mcu) in omnia_mcu_read_features()
[all …]
H A Dturris-omnia-mcu-sys-off-wakeup.c65 struct omnia_mcu *mcu = i2c_get_clientdata(client); in omnia_read_alarm()
82 struct omnia_mcu *mcu = i2c_get_clientdata(client); in omnia_set_alarm()
96 struct omnia_mcu *mcu = i2c_get_clientdata(client); in omnia_alarm_irq_enable()
111 struct omnia_mcu *mcu = data->cb_data; in omnia_power_off()
144 struct omnia_mcu *mcu = data->cb_data; in omnia_restart()
172 struct omnia_mcu *mcu = dev_get_drvdata(dev); in front_button_poweron_show()
181 struct omnia_mcu *mcu = dev_get_drvdata(dev); in front_button_poweron_store()
204 struct omnia_mcu *mcu = dev_get_drvdata(dev); in poweroff_attrs_visible()
217 int omnia_mcu_register_sys_off_and_wakeup(struct omnia_mcu *mcu) in omnia_mcu_register_sys_off_and_wakeup()
H A Dturris-omnia-mcu-watchdog.c32 struct omnia_mcu *mcu = watchdog_get_drvdata(wdt); in omnia_wdt_start()
39 struct omnia_mcu *mcu = watchdog_get_drvdata(wdt); in omnia_wdt_stop()
46 struct omnia_mcu *mcu = watchdog_get_drvdata(wdt); in omnia_wdt_ping()
54 struct omnia_mcu *mcu = watchdog_get_drvdata(wdt); in omnia_wdt_set_timeout()
62 struct omnia_mcu *mcu = watchdog_get_drvdata(wdt); in omnia_wdt_get_timeleft()
91 int omnia_mcu_register_watchdog(struct omnia_mcu *mcu) in omnia_mcu_register_watchdog()
H A Dturris-omnia-mcu-trng.c28 struct omnia_mcu *mcu = dev_id; in omnia_trng_irq_handler()
37 struct omnia_mcu *mcu = container_of(rng, struct omnia_mcu, trng); in omnia_trng_read()
62 int omnia_mcu_register_trng(struct omnia_mcu *mcu) in omnia_mcu_register_trng()