Home
last modified time | relevance | path

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

/device/soc/winnermicro/wm800/board/platform/drivers/io/
Dwm_io.c212 u32 afsel, afs1, afs0, dir, pullupen, pulldownen; in tls_io_cfg_get() local
223 afs1 = tls_reg_read32(HR_GPIO_AF_S1 + offset); in tls_io_cfg_get()
230 if (((afs1&BIT(pin)) == 0) && ((afs0&BIT(pin)) == 0)) in tls_io_cfg_get()
232 else if (((afs1&BIT(pin)) == 0) && (afs0&BIT(pin))) in tls_io_cfg_get()
234 else if ((afs1&BIT(pin)) && ((afs0&BIT(pin)) == 0)) in tls_io_cfg_get()
236 else if ((afs1&BIT(pin)) && (afs0&BIT(pin))) in tls_io_cfg_get()