Searched refs:cgbc_gpio_cmd (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpio-cgbc.c | 28 static int cgbc_gpio_cmd(struct cgbc_device_data *cgbc, in cgbc_gpio_cmd() function 44 ret = cgbc_gpio_cmd(cgbc, CGBC_GPIO_CMD_GET, (offset > 7) ? 1 : 0, 0, &val); in cgbc_gpio_get() 62 ret = cgbc_gpio_cmd(cgbc, CGBC_GPIO_CMD_GET, (offset > 7) ? 1 : 0, 0, &val); in __cgbc_gpio_set() 71 cgbc_gpio_cmd(cgbc, CGBC_GPIO_CMD_SET, (offset > 7) ? 1 : 0, val, &val); in __cgbc_gpio_set() 91 ret = cgbc_gpio_cmd(cgbc, CGBC_GPIO_CMD_DIR_GET, (offset > 7) ? 1 : 0, 0, &val); in cgbc_gpio_direction_set() 100 ret = cgbc_gpio_cmd(cgbc, CGBC_GPIO_CMD_DIR_SET, (offset > 7) ? 1 : 0, val, &val); in cgbc_gpio_direction_set() 134 ret = cgbc_gpio_cmd(cgbc, CGBC_GPIO_CMD_DIR_GET, (offset > 7) ? 1 : 0, 0, &val); in cgbc_gpio_get_direction()
|