Home
last modified time | relevance | path

Searched refs:kpad (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/input/keyboard/
A Dadp5589-keys.c392 unsigned int bank = kpad->var->bank(kpad->gpiomap[off]); in adp5589_gpio_get_value()
393 unsigned int bit = kpad->var->bit(kpad->gpiomap[off]); in adp5589_gpio_get_value()
405 unsigned int bit = kpad->var->bit(kpad->gpiomap[off]); in adp5589_gpio_set_value()
424 unsigned int bit = kpad->var->bit(kpad->gpiomap[off]); in adp5589_gpio_direction_input()
444 unsigned int bit = kpad->var->bit(kpad->gpiomap[off]); in adp5589_gpio_direction_output()
510 kpad->gc.ngpio = adp5589_build_gpiomap(kpad, pdata); in adp5589_gpio_add()
523 kpad->gc.label = kpad->client->name; in adp5589_gpio_add()
528 error = devm_gpiochip_add_data(dev, &kpad->gc, kpad); in adp5589_gpio_add()
533 kpad->dat_out[i] = adp5589_read(kpad->client, kpad->var->reg( in adp5589_gpio_add()
535 kpad->dir[i] = adp5589_read(kpad->client, kpad->var->reg( in adp5589_gpio_add()
[all …]
A Dadp5588-keys.c192 kpad->gc.ngpio = adp5588_build_gpiomap(kpad, pdata); in adp5588_gpio_add()
207 kpad->gc.label = kpad->client->name; in adp5588_gpio_add()
213 error = gpiochip_add_data(&kpad->gc, kpad); in adp5588_gpio_add()
220 kpad->dat_out[i] = adp5588_read(kpad->client, in adp5588_gpio_add()
222 kpad->dir[i] = adp5588_read(kpad->client, GPIO_DIR1 + i); in adp5588_gpio_add()
227 kpad->gc.base, kpad->gc.ngpio, in adp5588_gpio_add()
248 kpad->gc.base, kpad->gc.ngpio, in adp5588_gpio_remove()
324 schedule_delayed_work(&kpad->work, kpad->delay); in adp5588_irq()
499 kpad = kzalloc(sizeof(*kpad), GFP_KERNEL); in adp5588_probe()
596 kfree(kpad); in adp5588_probe()
[all …]
/linux/drivers/media/mc/
A Dmc-device.c143 static void media_device_kpad_to_upad(const struct media_pad *kpad, in media_device_kpad_to_upad() argument
146 upad->entity = media_entity_id(kpad->entity); in media_device_kpad_to_upad()
147 upad->index = kpad->index; in media_device_kpad_to_upad()
148 upad->flags = kpad->flags; in media_device_kpad_to_upad()
239 struct media_v2_pad kpad, __user *upad; in media_device_get_topology() local
323 memset(&kpad, 0, sizeof(kpad)); in media_device_get_topology()
326 kpad.id = pad->graph_obj.id; in media_device_get_topology()
327 kpad.entity_id = pad->entity->graph_obj.id; in media_device_get_topology()
328 kpad.flags = pad->flags; in media_device_get_topology()
329 kpad.index = pad->index; in media_device_get_topology()
[all …]

Completed in 19 milliseconds