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

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

Completed in 93 milliseconds