Searched refs:DS2404_DQ (Results 1 – 1 of 1) sorted by relevance
28 #define DS2404_DQ 2 macro53 ds2404_gpio[DS2404_DQ].gpio = pdata->gpio_dq; in ds2404_gpio_map()62 if (i != DS2404_DQ) in ds2404_gpio_map()89 gpio_direction_output(ds2404_gpio[DS2404_DQ].gpio, 0); in ds2404_reset()97 gpio_direction_output(ds2404_gpio[DS2404_DQ].gpio, 1); in ds2404_write_byte()99 gpio_set_value(ds2404_gpio[DS2404_DQ].gpio, byte & (1 << i)); in ds2404_write_byte()113 gpio_direction_input(ds2404_gpio[DS2404_DQ].gpio); in ds2404_read_byte()118 if (gpio_get_value(ds2404_gpio[DS2404_DQ].gpio)) in ds2404_read_byte()171 gpio_direction_input(ds2404_gpio[DS2404_DQ].gpio); in ds2404_write_memory()172 while (gpio_get_value(ds2404_gpio[DS2404_DQ].gpio)) in ds2404_write_memory()[all …]
Completed in 5 milliseconds