Lines Matching defs:err
119 int err;
125 err = gpio_request(NET2BIG_GPIO_SATA0_POWER, "SATA0 power status");
126 if (err == 0) {
127 err = gpio_direction_input(NET2BIG_GPIO_SATA0_POWER);
128 if (err)
131 if (err) {
136 err = gpio_request(NET2BIG_GPIO_SATA1_POWER, "SATA1 power status");
137 if (err == 0) {
138 err = gpio_direction_input(NET2BIG_GPIO_SATA1_POWER);
139 if (err)
142 if (err) {
147 err = gpio_request(NET2BIG_GPIO_SATA_POWER_REQ, "SATA power request");
148 if (err == 0) {
149 err = gpio_direction_output(NET2BIG_GPIO_SATA_POWER_REQ, 0);
150 if (err)
153 if (err) {
248 int err;
251 err = gpio_request(NET2BIG_GPIO_PWR_LED_BLINK_STOP,
253 if (err == 0) {
254 err = gpio_direction_output(NET2BIG_GPIO_PWR_LED_BLINK_STOP, 1);
255 if (err)
258 if (err)
265 err = gpio_request(NET2BIG_GPIO_SATA0_BLUE_LED,
267 if (err == 0) {
268 err = gpio_direction_output(NET2BIG_GPIO_SATA0_BLUE_LED, 1);
269 if (err)
272 if (err)
275 err = gpio_request(NET2BIG_GPIO_SATA1_BLUE_LED,
277 if (err == 0) {
278 err = gpio_direction_output(NET2BIG_GPIO_SATA1_BLUE_LED, 1);
279 if (err)
282 if (err)