Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-pcf8583.c27 struct pcf8583 { struct
43 #define get_ctrl(x) ((struct pcf8583 *)i2c_get_clientdata(x))->ctrl argument
280 struct pcf8583 *pcf8583; in pcf8583_probe() local
285 pcf8583 = devm_kzalloc(&client->dev, sizeof(struct pcf8583), in pcf8583_probe()
287 if (!pcf8583) in pcf8583_probe()
290 i2c_set_clientdata(client, pcf8583); in pcf8583_probe()
292 pcf8583->rtc = devm_rtc_device_register(&client->dev, in pcf8583_probe()
296 return PTR_ERR_OR_ZERO(pcf8583->rtc); in pcf8583_probe()
H A DMakefile128 obj-$(CONFIG_RTC_DRV_PCF8583) += rtc-pcf8583.o
H A DKconfig504 will be called rtc-pcf8583.