Home
last modified time | relevance | path

Searched refs:bq4802 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-bq4802.c20 struct bq4802 { struct
26 u8 (*read)(struct bq4802 *, int); argument
27 void (*write)(struct bq4802 *, int, u8); argument
30 static u8 bq4802_read_io(struct bq4802 *p, int off) in bq4802_read_io()
35 static void bq4802_write_io(struct bq4802 *p, int off, u8 val) in bq4802_write_io()
40 static u8 bq4802_read_mem(struct bq4802 *p, int off) in bq4802_read_mem()
45 static void bq4802_write_mem(struct bq4802 *p, int off, u8 val) in bq4802_write_mem()
52 struct bq4802 *p = dev_get_drvdata(dev); in bq4802_read_time()
94 struct bq4802 *p = dev_get_drvdata(dev); in bq4802_set_time()
144 struct bq4802 *p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL); in bq4802_probe()
H A DMakefile39 obj-$(CONFIG_RTC_DRV_BQ4802) += rtc-bq4802.o
H A DKconfig1205 will be called rtc-bq4802.