Symbol: hym8563
drivers/rtc/rtc-hym8563.c
265
#define clkout_hw_to_hym8563(_hw) container_of(_hw, struct hym8563, clkout_hw)
drivers/rtc/rtc-hym8563.c
277
struct hym8563 *hym8563 = clkout_hw_to_hym8563(hw);
drivers/rtc/rtc-hym8563.c
278
struct i2c_client *client = hym8563->client;
drivers/rtc/rtc-hym8563.c
308
struct hym8563 *hym8563 = clkout_hw_to_hym8563(hw);
drivers/rtc/rtc-hym8563.c
309
struct i2c_client *client = hym8563->client;
drivers/rtc/rtc-hym8563.c
329
struct hym8563 *hym8563 = clkout_hw_to_hym8563(hw);
drivers/rtc/rtc-hym8563.c
330
struct i2c_client *client = hym8563->client;
drivers/rtc/rtc-hym8563.c
356
struct hym8563 *hym8563 = clkout_hw_to_hym8563(hw);
drivers/rtc/rtc-hym8563.c
357
struct i2c_client *client = hym8563->client;
drivers/rtc/rtc-hym8563.c
375
static struct clk *hym8563_clkout_register_clk(struct hym8563 *hym8563)
drivers/rtc/rtc-hym8563.c
377
struct i2c_client *client = hym8563->client;
drivers/rtc/rtc-hym8563.c
393
hym8563->clkout_hw.init = &init;
drivers/rtc/rtc-hym8563.c
399
clk = clk_register(&client->dev, &hym8563->clkout_hw);
drivers/rtc/rtc-hym8563.c
416
struct hym8563 *hym8563 = (struct hym8563 *)dev_id;
drivers/rtc/rtc-hym8563.c
417
struct i2c_client *client = hym8563->client;
drivers/rtc/rtc-hym8563.c
420
rtc_lock(hym8563->rtc);
drivers/rtc/rtc-hym8563.c
440
rtc_unlock(hym8563->rtc);
drivers/rtc/rtc-hym8563.c
505
struct hym8563 *hym8563;
drivers/rtc/rtc-hym8563.c
508
hym8563 = devm_kzalloc(&client->dev, sizeof(*hym8563), GFP_KERNEL);
drivers/rtc/rtc-hym8563.c
509
if (!hym8563)
drivers/rtc/rtc-hym8563.c
512
hym8563->rtc = devm_rtc_allocate_device(&client->dev);
drivers/rtc/rtc-hym8563.c
513
if (IS_ERR(hym8563->rtc))
drivers/rtc/rtc-hym8563.c
514
return PTR_ERR(hym8563->rtc);
drivers/rtc/rtc-hym8563.c
516
hym8563->client = client;
drivers/rtc/rtc-hym8563.c
517
i2c_set_clientdata(client, hym8563);
drivers/rtc/rtc-hym8563.c
534
client->name, hym8563);
drivers/rtc/rtc-hym8563.c
555
hym8563->rtc->ops = &hym8563_rtc_ops;
drivers/rtc/rtc-hym8563.c
556
set_bit(RTC_FEATURE_ALARM_RES_MINUTE, hym8563->rtc->features);
drivers/rtc/rtc-hym8563.c
557
clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, hym8563->rtc->features);
drivers/rtc/rtc-hym8563.c
560
hym8563_clkout_register_clk(hym8563);
drivers/rtc/rtc-hym8563.c
563
return devm_rtc_register_device(hym8563->rtc);