Home
last modified time | relevance | path

Searched refs:pin_used (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/input/keyboard/
Dadp5588-keys.c160 bool pin_used[ADP5588_MAXGPIO]; in adp5588_build_gpiomap() local
164 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()
Dadp5589-keys.c470 bool pin_used[ADP5589_MAXGPIO]; in adp5589_build_gpiomap() local
474 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()
/linux-5.19.10/drivers/gpio/
Dgpio-lp3943.c51 if (test_and_set_bit(offset, &lp3943->pin_used)) in lp3943_gpio_request()
62 clear_bit(offset, &lp3943->pin_used); in lp3943_gpio_free()
/linux-5.19.10/include/linux/mfd/
Dlp3943.h104 unsigned long pin_used; member
/linux-5.19.10/drivers/pwm/
Dpwm-lp3943.c52 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()