Searched refs:dq_gpiod (Results 1 – 1 of 1) sorted by relevance
33 struct gpio_desc *dq_gpiod; member50 chip->dq_gpiod = devm_gpiod_get(dev, "dq", GPIOD_ASIS); in ds2404_gpio_map()51 if (IS_ERR(chip->dq_gpiod)) in ds2404_gpio_map()52 return PTR_ERR(chip->dq_gpiod); in ds2404_gpio_map()63 gpiod_direction_output(chip->dq_gpiod, 0); in ds2404_reset()71 gpiod_direction_output(chip->dq_gpiod, 1); in ds2404_write_byte()73 gpiod_set_value(chip->dq_gpiod, byte & (1 << i)); in ds2404_write_byte()87 gpiod_direction_input(chip->dq_gpiod); in ds2404_read_byte()92 if (gpiod_get_value(chip->dq_gpiod)) in ds2404_read_byte()145 while (gpiod_get_value(chip->dq_gpiod)) in ds2404_write_memory()