Lines Matching defs:gpio_bit
127 u32 gpio_bit;
132 * gpio_bit(s) are the ICH7 GPIO bit assignments
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);
188 gpio_out &= ~(1<<led->gpio_bit);
209 if (gpio_in & (1<<led->gpio_bit))
273 all_nas_led |= (1<<nasgpio_leds[i].gpio_bit);