Lines Matching refs:gpio_bit
127 u32 gpio_bit; member
135 { .name = "hdd1:blue:sata", .gpio_bit = 0 },
136 { .name = "hdd1:amber:sata", .gpio_bit = 1 },
137 { .name = "hdd2:blue:sata", .gpio_bit = 2 },
138 { .name = "hdd2:amber:sata", .gpio_bit = 3 },
139 { .name = "hdd3:blue:sata", .gpio_bit = 4 },
140 { .name = "hdd3:amber:sata", .gpio_bit = 5 },
141 { .name = "hdd4:blue:sata", .gpio_bit = 6 },
142 { .name = "hdd4:amber:sata", .gpio_bit = 7 },
143 { .name = "power:blue:power", .gpio_bit = 27},
144 { .name = "power:amber:power", .gpio_bit = 28},
186 gpio_out |= (1<<led->gpio_bit); in __nasgpio_led_set_attr()
188 gpio_out &= ~(1<<led->gpio_bit); in __nasgpio_led_set_attr()
209 if (gpio_in & (1<<led->gpio_bit)) in nasgpio_led_get_attr()
273 all_nas_led |= (1<<nasgpio_leds[i].gpio_bit); in ich7_gpio_init()