Lines Matching refs:ds2404
29 struct ds2404 { struct
36 static int ds2404_gpio_map(struct ds2404 *chip, struct platform_device *pdev) in ds2404_gpio_map() argument
56 static void ds2404_reset(struct ds2404 *chip) in ds2404_reset()
66 static void ds2404_write_byte(struct ds2404 *chip, u8 byte) in ds2404_write_byte()
81 static u8 ds2404_read_byte(struct ds2404 *chip) in ds2404_read_byte()
99 static void ds2404_read_memory(struct ds2404 *chip, u16 offset, in ds2404_read_memory()
110 static void ds2404_write_memory(struct ds2404 *chip, u16 offset, in ds2404_write_memory()
148 static void ds2404_enable_osc(struct ds2404 *chip) in ds2404_enable_osc()
157 struct ds2404 *chip = dev_get_drvdata(dev); in ds2404_read_time()
170 struct ds2404 *chip = dev_get_drvdata(dev); in ds2404_set_time()
183 struct ds2404 *chip; in rtc_probe()
187 chip = devm_kzalloc(&pdev->dev, sizeof(struct ds2404), GFP_KERNEL); in rtc_probe()