Lines Matching refs:bdata
38257 + struct gpio_keys_button_data *bdata)
38261 + state = gpiod_get_value_cansleep(bdata->gpiod);
38268 + if (state != bdata->last_state) {
38269 + bdata->count = 0;
38270 + bdata->last_state = state;
38297 + struct gpio_keys_button_data *bdata = &bdev->data[i];
38299 + if (bdata->count < bdata->threshold) {
38300 + bdata->count++;
38302 + bdata->last_state);
38305 + bdata);
38481 + struct gpio_keys_button_data *bdata = &bdev->data[i];
38498 + bdata->gpiod = devm_fwnode_gpiod_get(dev, child,
38501 + if (IS_ERR(bdata->gpiod)) {
38502 + error = PTR_ERR(bdata->gpiod);
38529 + bdata->gpiod = gpio_to_desc(button->gpio);
38530 + if (!bdata->gpiod) {
38538 + bdata->last_state = -1;
38539 + bdata->threshold = DIV_ROUND_UP(button->debounce_interval,