Searched refs:pin_used (Results 1 – 5 of 5) sorted by relevance
477 bool pin_used[ADP5589_MAXGPIO]; in adp5589_build_gpiomap() local481 memset(pin_used, false, sizeof(pin_used)); in adp5589_build_gpiomap()485 pin_used[i] = true; in adp5589_build_gpiomap()488 pin_used[kpad->gpimap[i].pin - kpad->var->gpi_pin_base] = true; in adp5589_build_gpiomap()491 pin_used[4] = true; in adp5589_build_gpiomap()494 pin_used[kpad->var->c4_extend_cfg] = true; in adp5589_build_gpiomap()497 pin_used[5] = true; in adp5589_build_gpiomap()500 if (!pin_used[i]) in adp5589_build_gpiomap()
325 bool pin_used[ADP5588_MAXGPIO]; in adp5588_build_gpiomap() local329 memset(pin_used, 0, sizeof(pin_used)); in adp5588_build_gpiomap()332 pin_used[i] = true; in adp5588_build_gpiomap()335 pin_used[i + GPI_PIN_COL_BASE - GPI_PIN_BASE] = true; in adp5588_build_gpiomap()338 if (!pin_used[i]) in adp5588_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
48 if (test_and_set_bit(offset, &lp3943->pin_used)) in lp3943_pwm_request_map()75 clear_bit(offset, &lp3943->pin_used); in lp3943_pwm_free_map()