Home
last modified time | relevance | path

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

/u-boot/arch/powerpc/cpu/mpc85xx/
A Dqe_io.c15 #define NUM_OF_PINS 32 macro
28 pin_2bit_mask = (u32)(0x3 << (NUM_OF_PINS-(pin%(NUM_OF_PINS/2)+1)*2)); in qe_config_iopin()
29 pin_2bit_dir = (u32)(dir << (NUM_OF_PINS-(pin%(NUM_OF_PINS/2)+1)*2)); in qe_config_iopin()
32 tmp_val = (pin > (NUM_OF_PINS/2) - 1) ? \ in qe_config_iopin()
36 if (pin > (NUM_OF_PINS/2) -1) { in qe_config_iopin()
45 pin_1bit_mask = (u32)(1 << (NUM_OF_PINS - (pin+1))); in qe_config_iopin()
55 tmp_val = (pin > (NUM_OF_PINS/2) - 1) ? in qe_config_iopin()
59 << (NUM_OF_PINS - (pin%(NUM_OF_PINS/2)+1)*2)); in qe_config_iopin()
62 if (pin > (NUM_OF_PINS/2) - 1) { in qe_config_iopin()
/u-boot/arch/powerpc/cpu/mpc83xx/
A Dqe_io.c14 #define NUM_OF_PINS 32 macro
39 offset = (NUM_OF_PINS - (pin % (NUM_OF_PINS / 2) + 1) * 2); in qe_cfg_iopin()
46 tmp_val = (pin > (NUM_OF_PINS / 2) - 1) ? in qe_cfg_iopin()
50 if (pin > (NUM_OF_PINS / 2) - 1) { in qe_cfg_iopin()
59 bit_mask = (u32)(1 << (NUM_OF_PINS - (pin + 1))); in qe_cfg_iopin()
69 tmp_val = (pin > (NUM_OF_PINS / 2) - 1) ? in qe_cfg_iopin()
75 if (pin > (NUM_OF_PINS / 2) - 1) { in qe_cfg_iopin()
/u-boot/drivers/pinctrl/
A Dpinctrl-qe-io.c32 #define NUM_OF_PINS 32 macro
57 offset = (NUM_OF_PINS - (pin % (NUM_OF_PINS / 2) + 1) * 2); in qe_cfg_iopin()
64 tmp_val = (pin > (NUM_OF_PINS / 2) - 1) ? in qe_cfg_iopin()
68 if (pin > (NUM_OF_PINS / 2) - 1) { in qe_cfg_iopin()
77 bit_mask = (u32)(1 << (NUM_OF_PINS - (pin + 1))); in qe_cfg_iopin()
87 tmp_val = (pin > (NUM_OF_PINS / 2) - 1) ? in qe_cfg_iopin()
93 if (pin > (NUM_OF_PINS / 2) - 1) { in qe_cfg_iopin()

Completed in 3 milliseconds