Searched refs:kpad (Results 1 - 1 of 1) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/keyboard/ |
H A D | adp5588-keys.c | 105 struct adp5588_kpad *kpad = container_of(chip, struct adp5588_kpad, gc); local 106 unsigned int bank = ADP_BANK(kpad->gpiomap[off]); 107 unsigned int bit = ADP_BIT(kpad->gpiomap[off]); 109 return !!(adp5588_read(kpad->client, GPIO_DAT_STAT1 + bank) & bit); 115 struct adp5588_kpad *kpad = container_of(chip, struct adp5588_kpad, gc); local 116 unsigned int bank = ADP_BANK(kpad->gpiomap[off]); 117 unsigned int bit = ADP_BIT(kpad->gpiomap[off]); 119 mutex_lock(&kpad->gpio_lock); 122 kpad->dat_out[bank] |= bit; 124 kpad 134 struct adp5588_kpad *kpad = container_of(chip, struct adp5588_kpad, gc); local 152 struct adp5588_kpad *kpad = container_of(chip, struct adp5588_kpad, gc); local 176 adp5588_build_gpiomap(struct adp5588_kpad *kpad, const struct adp5588_kpad_platform_data *pdata) argument 201 adp5588_gpio_add(struct adp5588_kpad *kpad) argument 254 adp5588_gpio_remove(struct adp5588_kpad *kpad) argument 277 adp5588_gpio_add(struct adp5588_kpad *kpad) argument 282 adp5588_gpio_remove(struct adp5588_kpad *kpad) argument 287 adp5588_report_events(struct adp5588_kpad *kpad, int ev_cnt) argument 314 struct adp5588_kpad *kpad = container_of(work, local 336 struct adp5588_kpad *kpad = handle; local 409 adp5588_report_switch_state(struct adp5588_kpad *kpad) argument 450 struct adp5588_kpad *kpad; local 616 struct adp5588_kpad *kpad = i2c_get_clientdata(client); local 631 struct adp5588_kpad *kpad = dev_get_drvdata(dev); local 645 struct adp5588_kpad *kpad = dev_get_drvdata(dev); local [all...] |
Completed in 19 milliseconds