Home
last modified time | relevance | path

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

/arch/powerpc/sysdev/qe_lib/
Dqe_io.c61 pin_mask1bit = (u32) (1 << (QE_PIO_PINS - (pin + 1))); in __par_io_config_pin()
71 tmp_val = (pin > (QE_PIO_PINS / 2) - 1) ? in __par_io_config_pin()
76 pin_mask2bits = (u32) (0x3 << (QE_PIO_PINS - in __par_io_config_pin()
77 (pin % (QE_PIO_PINS / 2) + 1) * 2)); in __par_io_config_pin()
80 new_mask2bits = (u32) (dir << (QE_PIO_PINS - in __par_io_config_pin()
81 (pin % (QE_PIO_PINS / 2) + 1) * 2)); in __par_io_config_pin()
84 if (pin > (QE_PIO_PINS / 2) - 1) { in __par_io_config_pin()
96 tmp_val = (pin > (QE_PIO_PINS / 2) - 1) ? in __par_io_config_pin()
100 new_mask2bits = (u32) (assignment << (QE_PIO_PINS - in __par_io_config_pin()
101 (pin % (QE_PIO_PINS / 2) + 1) * 2)); in __par_io_config_pin()
[all …]
Dgpio.c30 unsigned long pin_flags[QE_PIO_PINS];
64 u32 pin_mask = 1 << (QE_PIO_PINS - 1 - gpio); in qe_gpio_get()
75 u32 pin_mask = 1 << (QE_PIO_PINS - 1 - gpio); in qe_gpio_set()
228 u32 mask1 = 1 << (QE_PIO_PINS - (pin + 1)); in qe_pin_set_dedicated()
229 u32 mask2 = 0x3 << (QE_PIO_PINS - (pin % (QE_PIO_PINS / 2) + 1) * 2); in qe_pin_set_dedicated()
230 bool second_reg = pin > (QE_PIO_PINS / 2) - 1; in qe_pin_set_dedicated()
299 gc->ngpio = QE_PIO_PINS; in qe_add_gpiochips()
/arch/powerpc/include/asm/
Dqe.h96 #define QE_PIO_PINS 32 macro