Searched refs:defgpio (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/mfd/ |
H A D | tps65010.c | 270 seq_printf(s, "defgpio %02x mask3 %02x\n", value, v2); in dbg_show() 580 pr_debug("%s: defgpio 0x%02x, mask3 0x%02x\n", DRIVER_NAME, in tps65010_probe() 714 unsigned defgpio; in tps65010_set_gpio_out_value() local 723 defgpio = i2c_smbus_read_byte_data(the_tps->client, TPS_DEFGPIO); in tps65010_set_gpio_out_value() 726 defgpio |= 1 << (gpio + 3); in tps65010_set_gpio_out_value() 731 defgpio |= 1 << (gpio - 1); /* set GPIO low by writing 1 */ in tps65010_set_gpio_out_value() 735 defgpio &= ~(1 << (gpio - 1)); /* set GPIO high by writing 0 */ in tps65010_set_gpio_out_value() 740 TPS_DEFGPIO, defgpio); in tps65010_set_gpio_out_value() 742 pr_debug("%s: gpio%dout = %s, defgpio 0x%02x\n", DRIVER_NAME, in tps65010_set_gpio_out_value()
|