Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/powerpc/include/asm/
H A Diopin_8xx.h28 static inline void iopin_set_high(iopin_t *iopin) in iopin_set_high() argument
32 if (iopin->port == IOPIN_PORTA) { in iopin_set_high()
35 setbits_be16(datp, 1 << (15 - iopin->pin)); in iopin_set_high()
36 } else if (iopin->port == IOPIN_PORTB) { in iopin_set_high()
39 setbits_be32(datp, 1 << (31 - iopin->pin)); in iopin_set_high()
40 } else if (iopin->port == IOPIN_PORTC) { in iopin_set_high()
43 setbits_be16(datp, 1 << (15 - iopin->pin)); in iopin_set_high()
44 } else if (iopin->port == IOPIN_PORTD) { in iopin_set_high()
47 setbits_be16(datp, 1 << (15 - iopin->pin)); in iopin_set_high()
51 static inline void iopin_set_low(iopin_t *iopin) in iopin_set_low() argument
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dimmap.c178 iopin_t iopin; in do_iopset() local
237 iopin.port = port; in do_iopset()
238 iopin.pin = pin; in do_iopset()
239 iopin.flag = 0; in do_iopset()
243 iopin_set_out(&iopin); in do_iopset()
245 iopin_set_in(&iopin); in do_iopset()
249 iopin_set_ded(&iopin); in do_iopset()
251 iopin_set_gen(&iopin); in do_iopset()
255 iopin_set_opt2(&iopin); in do_iopset()
257 iopin_set_opt1(&iopin); in do_iopset()
[all …]