Searched refs:ds2404 (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ds2404.c | 29 struct ds2404 { struct 37 static int ds2404_gpio_map(struct ds2404 *chip, struct platform_device *pdev) in ds2404_gpio_map() 57 static void ds2404_reset(struct ds2404 *chip) in ds2404_reset() 67 static void ds2404_write_byte(struct ds2404 *chip, u8 byte) in ds2404_write_byte() 82 static u8 ds2404_read_byte(struct ds2404 *chip) in ds2404_read_byte() 100 static void ds2404_read_memory(struct ds2404 *chip, u16 offset, in ds2404_read_memory() 111 static void ds2404_write_memory(struct ds2404 *chip, u16 offset, in ds2404_write_memory() 149 static void ds2404_enable_osc(struct ds2404 *chip) in ds2404_enable_osc() 158 struct ds2404 *chip = dev_get_drvdata(dev); in ds2404_read_time() 171 struct ds2404 *chi in ds2404_set_time() [all...] |
H A D | Makefile | 63 obj-$(CONFIG_RTC_DRV_DS2404) += rtc-ds2404.o
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ds2404.c | 10 #include <linux/platform_data/rtc-ds2404.h> 35 struct ds2404 { struct 46 static int ds2404_gpio_map(struct ds2404 *chip, struct platform_device *pdev, in ds2404_gpio_map() 209 struct ds2404 *chip; in rtc_probe() 212 chip = devm_kzalloc(&pdev->dev, sizeof(struct ds2404), GFP_KERNEL); in rtc_probe() 248 .name = "ds2404", 256 MODULE_ALIAS("platform:ds2404");
|
H A D | Makefile | 65 obj-$(CONFIG_RTC_DRV_DS2404) += rtc-ds2404.o
|
Completed in 2 milliseconds