/* Put 001 as value on the GPIOs */
reg = readl(gpio_ctrl); for (i = 0; i < ARMADA_PIC_NR_GPIOS; i++)
reg &= ~BIT(pic_raw_gpios[i]);
reg |= BIT(pic_raw_gpios[0]);
writel(reg, gpio_ctrl);
/* Prepare writing 111 to the GPIOs */
ackcmd = readl(gpio_ctrl); for (i = 0; i < ARMADA_PIC_NR_GPIOS; i++)
ackcmd |= BIT(pic_raw_gpios[i]);
/* * Registering the mvebu_board_pm_enter callback must be done before * the platform_suspend_ops will be registered. In the same time we * also need to have the gpio devices registered. That's why we use a * device_initcall_sync which is called after all the device_initcall * (used by the gpio device) but before the late_initcall (used to * register the platform_suspend_ops)
*/
device_initcall_sync(mvebu_armada_pm_init);
Messung V0.5
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.