Searched defs:kpad (Results 1 - 3 of 3) sorted by relevance

/drivers/media/
H A Dmedia-device.c117 static void media_device_kpad_to_upad(const struct media_pad *kpad, argument
120 upad->entity = kpad->entity->id;
121 upad->index = kpad->index;
122 upad->flags = kpad->flags;
/drivers/input/keyboard/
H A Dadp5588-keys.c77 struct adp5588_kpad *kpad = container_of(chip, struct adp5588_kpad, gc); local
78 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]);
79 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]);
81 return !!(adp5588_read(kpad->client, GPIO_DAT_STAT1 + bank) & bit);
87 struct adp5588_kpad *kpad = container_of(chip, struct adp5588_kpad, gc); local
88 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]);
89 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]);
91 mutex_lock(&kpad->gpio_lock);
94 kpad->dat_out[bank] |= bit;
96 kpad
106 struct adp5588_kpad *kpad = container_of(chip, struct adp5588_kpad, gc); local
124 struct adp5588_kpad *kpad = container_of(chip, struct adp5588_kpad, gc); local
148 adp5588_build_gpiomap(struct adp5588_kpad *kpad, const struct adp5588_kpad_platform_data *pdata) argument
173 adp5588_gpio_add(struct adp5588_kpad *kpad) argument
226 adp5588_gpio_remove(struct adp5588_kpad *kpad) argument
249 adp5588_gpio_add(struct adp5588_kpad *kpad) argument
254 adp5588_gpio_remove(struct adp5588_kpad *kpad) argument
259 adp5588_report_events(struct adp5588_kpad *kpad, int ev_cnt) argument
286 struct adp5588_kpad *kpad = container_of(work, local
308 struct adp5588_kpad *kpad = handle; local
384 adp5588_report_switch_state(struct adp5588_kpad *kpad) argument
425 struct adp5588_kpad *kpad; local
591 struct adp5588_kpad *kpad = i2c_get_clientdata(client); local
606 struct adp5588_kpad *kpad = dev_get_drvdata(dev); local
620 struct adp5588_kpad *kpad = dev_get_drvdata(dev); local
[all...]
H A Dadp5589-keys.c391 struct adp5589_kpad *kpad = container_of(chip, struct adp5589_kpad, gc); local
392 unsigned int bank = kpad->var->bank(kpad->gpiomap[off]);
393 unsigned int bit = kpad->var->bit(kpad->gpiomap[off]);
395 return !!(adp5589_read(kpad->client,
396 kpad->var->reg(ADP5589_GPI_STATUS_A) + bank) &
403 struct adp5589_kpad *kpad = container_of(chip, struct adp5589_kpad, gc); local
404 unsigned int bank = kpad->var->bank(kpad
422 struct adp5589_kpad *kpad = container_of(chip, struct adp5589_kpad, gc); local
442 struct adp5589_kpad *kpad = container_of(chip, struct adp5589_kpad, gc); local
467 adp5589_build_gpiomap(struct adp5589_kpad *kpad, const struct adp5589_kpad_platform_data *pdata) argument
499 adp5589_gpio_add(struct adp5589_kpad *kpad) argument
553 adp5589_gpio_remove(struct adp5589_kpad *kpad) argument
576 adp5589_gpio_add(struct adp5589_kpad *kpad) argument
581 adp5589_gpio_remove(struct adp5589_kpad *kpad) argument
586 adp5589_report_switches(struct adp5589_kpad *kpad, int key, int key_val) argument
601 adp5589_report_events(struct adp5589_kpad *kpad, int ev_cnt) argument
622 struct adp5589_kpad *kpad = handle; local
644 adp5589_get_evcode(struct adp5589_kpad *kpad, unsigned short key) argument
658 adp5589_setup(struct adp5589_kpad *kpad) argument
823 adp5589_report_switch_state(struct adp5589_kpad *kpad) argument
866 struct adp5589_kpad *kpad; local
1050 struct adp5589_kpad *kpad = i2c_get_clientdata(client); local
1064 struct adp5589_kpad *kpad = dev_get_drvdata(dev); local
1077 struct adp5589_kpad *kpad = dev_get_drvdata(dev); local
[all...]

Completed in 55 milliseconds