Lines Matching refs:ctrlr
54 unsigned int ctrlr; in gpio_direction_input() local
59 ctrlr = gpio >> 5; in gpio_direction_input()
65 clrbits_be32(&im->gpio[ctrlr].dir, line_mask); in gpio_direction_input()
74 unsigned int ctrlr; in gpio_direction_output() local
86 ctrlr = gpio >> 5; in gpio_direction_output()
93 setbits_be32(&im->gpio[ctrlr].dir, line_mask); in gpio_direction_output()
102 unsigned int ctrlr; in gpio_get_value() local
107 ctrlr = gpio >> 5; in gpio_get_value()
114 return (in_be32(&im->gpio[ctrlr].dat) & line_mask) != 0; in gpio_get_value()
121 unsigned int ctrlr; in gpio_set_value() local
131 ctrlr = gpio >> 5; in gpio_set_value()
138 gpio_output_value[ctrlr] = in gpio_set_value()
139 (gpio_output_value[ctrlr] & ~line_mask) | \ in gpio_set_value()
143 out_be32(&im->gpio[ctrlr].dat, gpio_output_value[ctrlr]); in gpio_set_value()