hym8563            94 drivers/rtc/rtc-hym8563.c 	struct hym8563 *hym8563 = i2c_get_clientdata(client);
hym8563            98 drivers/rtc/rtc-hym8563.c 	if (!hym8563->valid) {
hym8563           121 drivers/rtc/rtc-hym8563.c 	struct hym8563 *hym8563 = i2c_get_clientdata(client);
hym8563           160 drivers/rtc/rtc-hym8563.c 	hym8563->valid = true;
hym8563           287 drivers/rtc/rtc-hym8563.c #define clkout_hw_to_hym8563(_hw) container_of(_hw, struct hym8563, clkout_hw)
hym8563           299 drivers/rtc/rtc-hym8563.c 	struct hym8563 *hym8563 = clkout_hw_to_hym8563(hw);
hym8563           300 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
hym8563           325 drivers/rtc/rtc-hym8563.c 	struct hym8563 *hym8563 = clkout_hw_to_hym8563(hw);
hym8563           326 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
hym8563           346 drivers/rtc/rtc-hym8563.c 	struct hym8563 *hym8563 = clkout_hw_to_hym8563(hw);
hym8563           347 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
hym8563           373 drivers/rtc/rtc-hym8563.c 	struct hym8563 *hym8563 = clkout_hw_to_hym8563(hw);
hym8563           374 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
hym8563           392 drivers/rtc/rtc-hym8563.c static struct clk *hym8563_clkout_register_clk(struct hym8563 *hym8563)
hym8563           394 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
hym8563           410 drivers/rtc/rtc-hym8563.c 	hym8563->clkout_hw.init = &init;
hym8563           416 drivers/rtc/rtc-hym8563.c 	clk = clk_register(&client->dev, &hym8563->clkout_hw);
hym8563           433 drivers/rtc/rtc-hym8563.c 	struct hym8563 *hym8563 = (struct hym8563 *)dev_id;
hym8563           434 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
hym8563           435 drivers/rtc/rtc-hym8563.c 	struct mutex *lock = &hym8563->rtc->ops_lock;
hym8563           524 drivers/rtc/rtc-hym8563.c 	struct hym8563 *hym8563;
hym8563           527 drivers/rtc/rtc-hym8563.c 	hym8563 = devm_kzalloc(&client->dev, sizeof(*hym8563), GFP_KERNEL);
hym8563           528 drivers/rtc/rtc-hym8563.c 	if (!hym8563)
hym8563           531 drivers/rtc/rtc-hym8563.c 	hym8563->client = client;
hym8563           532 drivers/rtc/rtc-hym8563.c 	i2c_set_clientdata(client, hym8563);
hym8563           546 drivers/rtc/rtc-hym8563.c 						client->name, hym8563);
hym8563           559 drivers/rtc/rtc-hym8563.c 	hym8563->valid = !(ret & HYM8563_SEC_VL);
hym8563           561 drivers/rtc/rtc-hym8563.c 		hym8563->valid ? "valid" : "invalid");
hym8563           563 drivers/rtc/rtc-hym8563.c 	hym8563->rtc = devm_rtc_device_register(&client->dev, client->name,
hym8563           565 drivers/rtc/rtc-hym8563.c 	if (IS_ERR(hym8563->rtc))
hym8563           566 drivers/rtc/rtc-hym8563.c 		return PTR_ERR(hym8563->rtc);
hym8563           569 drivers/rtc/rtc-hym8563.c 	hym8563->rtc->uie_unsupported = 1;
hym8563           572 drivers/rtc/rtc-hym8563.c 	hym8563_clkout_register_clk(hym8563);