Searched refs:reg_direction (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/input/keyboard/
H A Dtca6416-keypad.c44 uint16_t reg_direction; member in struct:tca6416_keypad_chip
177 error = tca6416_read_reg(chip, TCA6416_DIRECTION, &chip->reg_direction); tca6416_setup_registers()
183 chip->reg_direction | chip->pinmask); tca6416_setup_registers()
187 error = tca6416_read_reg(chip, TCA6416_DIRECTION, &chip->reg_direction); tca6416_setup_registers()
/linux-4.4.14/drivers/gpio/
H A Dgpio-pca953x.c94 u8 reg_direction[MAX_BANK]; member in struct:pca953x_chip
224 reg_val = chip->reg_direction[off / BANK_SZ] | (1u << (off % BANK_SZ)); pca953x_gpio_direction_input()
238 chip->reg_direction[off / BANK_SZ] = reg_val; pca953x_gpio_direction_input()
276 reg_val = chip->reg_direction[off / BANK_SZ] & ~(1u << (off % BANK_SZ)); pca953x_gpio_direction_output()
289 chip->reg_direction[off / BANK_SZ] = reg_val; pca953x_gpio_direction_output()
410 new_irqs &= ~chip->reg_direction[i]; pca953x_irq_bus_sync_unlock()
481 cur_stat[i] &= chip->reg_direction[i]; pca953x_irq_pending()
558 chip->irq_stat[i] &= chip->reg_direction[i]; pca953x_irq_setup()
616 chip->reg_direction); device_pca953x_init()
639 ret = pca953x_read_regs(chip, PCA957X_CFG, chip->reg_direction); device_pca957x_init()

Completed in 77 milliseconds