Lines Matching refs:line_mask
56 unsigned int line_mask; in gpio_direction_input() local
63 line_mask = 1 << (31 - line); in gpio_direction_input()
65 clrbits_be32(&im->gpio[ctrlr].dir, line_mask); in gpio_direction_input()
76 unsigned int line_mask; in gpio_direction_output() local
90 line_mask = 1 << (31 - line); in gpio_direction_output()
93 setbits_be32(&im->gpio[ctrlr].dir, line_mask); in gpio_direction_output()
104 unsigned int line_mask; in gpio_get_value() local
111 line_mask = 1 << (31 - line); in gpio_get_value()
114 return (in_be32(&im->gpio[ctrlr].dat) & line_mask) != 0; in gpio_get_value()
123 unsigned int line_mask; in gpio_set_value() local
135 line_mask = 1 << (31 - line); in gpio_set_value()
139 (gpio_output_value[ctrlr] & ~line_mask) | \ in gpio_set_value()
140 (value ? line_mask : 0); in gpio_set_value()