ds2404_gpio 36 drivers/rtc/rtc-ds2404.c struct ds2404_gpio *gpio; ds2404_gpio 40 drivers/rtc/rtc-ds2404.c static struct ds2404_gpio ds2404_gpio[] = { ds2404_gpio 51 drivers/rtc/rtc-ds2404.c ds2404_gpio[DS2404_RST].gpio = pdata->gpio_rst; ds2404_gpio 52 drivers/rtc/rtc-ds2404.c ds2404_gpio[DS2404_CLK].gpio = pdata->gpio_clk; ds2404_gpio 53 drivers/rtc/rtc-ds2404.c ds2404_gpio[DS2404_DQ].gpio = pdata->gpio_dq; ds2404_gpio 55 drivers/rtc/rtc-ds2404.c for (i = 0; i < ARRAY_SIZE(ds2404_gpio); i++) { ds2404_gpio 56 drivers/rtc/rtc-ds2404.c err = gpio_request(ds2404_gpio[i].gpio, ds2404_gpio[i].name); ds2404_gpio 59 drivers/rtc/rtc-ds2404.c ds2404_gpio[i].name, err); ds2404_gpio 63 drivers/rtc/rtc-ds2404.c gpio_direction_output(ds2404_gpio[i].gpio, 1); ds2404_gpio 66 drivers/rtc/rtc-ds2404.c chip->gpio = ds2404_gpio; ds2404_gpio 71 drivers/rtc/rtc-ds2404.c gpio_free(ds2404_gpio[i].gpio); ds2404_gpio 79 drivers/rtc/rtc-ds2404.c for (i = 0; i < ARRAY_SIZE(ds2404_gpio); i++) ds2404_gpio 80 drivers/rtc/rtc-ds2404.c gpio_free(ds2404_gpio[i].gpio); ds2404_gpio 85 drivers/rtc/rtc-ds2404.c gpio_set_value(ds2404_gpio[DS2404_RST].gpio, 0); ds2404_gpio 87 drivers/rtc/rtc-ds2404.c gpio_set_value(ds2404_gpio[DS2404_RST].gpio, 1); ds2404_gpio 88 drivers/rtc/rtc-ds2404.c gpio_set_value(ds2404_gpio[DS2404_CLK].gpio, 0); ds2404_gpio 89 drivers/rtc/rtc-ds2404.c gpio_direction_output(ds2404_gpio[DS2404_DQ].gpio, 0); ds2404_gpio 97 drivers/rtc/rtc-ds2404.c gpio_direction_output(ds2404_gpio[DS2404_DQ].gpio, 1); ds2404_gpio 99 drivers/rtc/rtc-ds2404.c gpio_set_value(ds2404_gpio[DS2404_DQ].gpio, byte & (1 << i)); ds2404_gpio 101 drivers/rtc/rtc-ds2404.c gpio_set_value(ds2404_gpio[DS2404_CLK].gpio, 1); ds2404_gpio 103 drivers/rtc/rtc-ds2404.c gpio_set_value(ds2404_gpio[DS2404_CLK].gpio, 0); ds2404_gpio 113 drivers/rtc/rtc-ds2404.c gpio_direction_input(ds2404_gpio[DS2404_DQ].gpio); ds2404_gpio 116 drivers/rtc/rtc-ds2404.c gpio_set_value(ds2404_gpio[DS2404_CLK].gpio, 0); ds2404_gpio 118 drivers/rtc/rtc-ds2404.c if (gpio_get_value(ds2404_gpio[DS2404_DQ].gpio)) ds2404_gpio 120 drivers/rtc/rtc-ds2404.c gpio_set_value(ds2404_gpio[DS2404_CLK].gpio, 1); ds2404_gpio 171 drivers/rtc/rtc-ds2404.c gpio_direction_input(ds2404_gpio[DS2404_DQ].gpio); ds2404_gpio 172 drivers/rtc/rtc-ds2404.c while (gpio_get_value(ds2404_gpio[DS2404_DQ].gpio))