Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/
H A Diopin_8xx.h30 static inline void iopin_set_high(iopin_t *iopin) in iopin_set_high() argument
34 if (iopin->port == IOPIN_PORTA) { in iopin_set_high()
37 setbits_be16(datp, 1 << (15 - iopin->pin)); in iopin_set_high()
38 } else if (iopin->port == IOPIN_PORTB) { in iopin_set_high()
41 setbits_be32(datp, 1 << (31 - iopin->pin)); in iopin_set_high()
42 } else if (iopin->port == IOPIN_PORTC) { in iopin_set_high()
45 setbits_be16(datp, 1 << (15 - iopin->pin)); in iopin_set_high()
46 } else if (iopin->port == IOPIN_PORTD) { in iopin_set_high()
49 setbits_be16(datp, 1 << (15 - iopin->pin)); in iopin_set_high()
53 static inline void iopin_set_low(iopin_t *iopin) in iopin_set_low() argument
[all …]
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dimmap.c179 iopin_t iopin; in do_iopset() local
238 iopin.port = port; in do_iopset()
239 iopin.pin = pin; in do_iopset()
240 iopin.flag = 0; in do_iopset()
244 iopin_set_out(&iopin); in do_iopset()
246 iopin_set_in(&iopin); in do_iopset()
250 iopin_set_ded(&iopin); in do_iopset()
252 iopin_set_gen(&iopin); in do_iopset()
256 iopin_set_opt2(&iopin); in do_iopset()
258 iopin_set_opt1(&iopin); in do_iopset()
[all …]