Searched refs:pin_used (Results 1 – 5 of 5) sorted by relevance
160 bool pin_used[ADP5588_MAXGPIO]; in adp5588_build_gpiomap() local164 memset(pin_used, 0, sizeof(pin_used)); in adp5588_build_gpiomap()167 pin_used[i] = true; in adp5588_build_gpiomap()170 pin_used[i + GPI_PIN_COL_BASE - GPI_PIN_BASE] = true; in adp5588_build_gpiomap()173 pin_used[kpad->gpimap[i].pin - GPI_PIN_BASE] = true; in adp5588_build_gpiomap()176 if (!pin_used[i]) in adp5588_build_gpiomap()
470 bool pin_used[ADP5589_MAXGPIO]; in adp5589_build_gpiomap() local474 memset(pin_used, false, sizeof(pin_used)); in adp5589_build_gpiomap()478 pin_used[i] = true; in adp5589_build_gpiomap()481 pin_used[kpad->gpimap[i].pin - kpad->var->gpi_pin_base] = true; in adp5589_build_gpiomap()484 pin_used[4] = true; in adp5589_build_gpiomap()487 pin_used[kpad->var->c4_extend_cfg] = true; in adp5589_build_gpiomap()490 pin_used[5] = true; in adp5589_build_gpiomap()493 if (!pin_used[i]) in adp5589_build_gpiomap()
51 if (test_and_set_bit(offset, &lp3943->pin_used)) in lp3943_gpio_request()62 clear_bit(offset, &lp3943->pin_used); in lp3943_gpio_free()
104 unsigned long pin_used; member
52 if (test_and_set_bit(offset, &lp3943->pin_used)) { in lp3943_pwm_request_map()81 clear_bit(offset, &lp3943->pin_used); in lp3943_pwm_free_map()