pcf8563 178 drivers/rtc/rtc-pcf8563.c struct pcf8563 *pcf8563 = i2c_get_clientdata(dev_id); pcf8563 182 drivers/rtc/rtc-pcf8563.c err = pcf8563_get_alarm_mode(pcf8563->client, NULL, &pending); pcf8563 187 drivers/rtc/rtc-pcf8563.c rtc_update_irq(pcf8563->rtc, 1, RTC_IRQF | RTC_AF); pcf8563 188 drivers/rtc/rtc-pcf8563.c pcf8563_set_alarm_mode(pcf8563->client, 1); pcf8563 202 drivers/rtc/rtc-pcf8563.c struct pcf8563 *pcf8563 = i2c_get_clientdata(client); pcf8563 211 drivers/rtc/rtc-pcf8563.c pcf8563->voltage_low = 1; pcf8563 234 drivers/rtc/rtc-pcf8563.c pcf8563->c_polarity = (buf[PCF8563_REG_MO] & PCF8563_MO_C) ? pcf8563 249 drivers/rtc/rtc-pcf8563.c struct pcf8563 *pcf8563 = i2c_get_clientdata(client); pcf8563 270 drivers/rtc/rtc-pcf8563.c if (pcf8563->c_polarity ? (tm->tm_year >= 100) : (tm->tm_year < 100)) pcf8563 282 drivers/rtc/rtc-pcf8563.c struct pcf8563 *pcf8563 = i2c_get_clientdata(to_i2c_client(dev)); pcf8563 287 drivers/rtc/rtc-pcf8563.c if (pcf8563->voltage_low) pcf8563 290 drivers/rtc/rtc-pcf8563.c if (copy_to_user((void __user *)arg, &pcf8563->voltage_low, pcf8563 306 drivers/rtc/rtc-pcf8563.c pcf8563->voltage_low = 0; pcf8563 391 drivers/rtc/rtc-pcf8563.c #define clkout_hw_to_pcf8563(_hw) container_of(_hw, struct pcf8563, clkout_hw) pcf8563 403 drivers/rtc/rtc-pcf8563.c struct pcf8563 *pcf8563 = clkout_hw_to_pcf8563(hw); pcf8563 404 drivers/rtc/rtc-pcf8563.c struct i2c_client *client = pcf8563->client; pcf8563 430 drivers/rtc/rtc-pcf8563.c struct pcf8563 *pcf8563 = clkout_hw_to_pcf8563(hw); pcf8563 431 drivers/rtc/rtc-pcf8563.c struct i2c_client *client = pcf8563->client; pcf8563 454 drivers/rtc/rtc-pcf8563.c struct pcf8563 *pcf8563 = clkout_hw_to_pcf8563(hw); pcf8563 455 drivers/rtc/rtc-pcf8563.c struct i2c_client *client = pcf8563->client; pcf8563 483 drivers/rtc/rtc-pcf8563.c struct pcf8563 *pcf8563 = clkout_hw_to_pcf8563(hw); pcf8563 484 drivers/rtc/rtc-pcf8563.c struct i2c_client *client = pcf8563->client; pcf8563 503 drivers/rtc/rtc-pcf8563.c static struct clk *pcf8563_clkout_register_clk(struct pcf8563 *pcf8563) pcf8563 505 drivers/rtc/rtc-pcf8563.c struct i2c_client *client = pcf8563->client; pcf8563 523 drivers/rtc/rtc-pcf8563.c pcf8563->clkout_hw.init = &init; pcf8563 529 drivers/rtc/rtc-pcf8563.c clk = devm_clk_register(&client->dev, &pcf8563->clkout_hw); pcf8563 550 drivers/rtc/rtc-pcf8563.c struct pcf8563 *pcf8563; pcf8563 559 drivers/rtc/rtc-pcf8563.c pcf8563 = devm_kzalloc(&client->dev, sizeof(struct pcf8563), pcf8563 561 drivers/rtc/rtc-pcf8563.c if (!pcf8563) pcf8563 564 drivers/rtc/rtc-pcf8563.c i2c_set_clientdata(client, pcf8563); pcf8563 565 drivers/rtc/rtc-pcf8563.c pcf8563->client = client; pcf8563 584 drivers/rtc/rtc-pcf8563.c pcf8563->rtc = devm_rtc_allocate_device(&client->dev); pcf8563 585 drivers/rtc/rtc-pcf8563.c if (IS_ERR(pcf8563->rtc)) pcf8563 586 drivers/rtc/rtc-pcf8563.c return PTR_ERR(pcf8563->rtc); pcf8563 588 drivers/rtc/rtc-pcf8563.c pcf8563->rtc->ops = &pcf8563_rtc_ops; pcf8563 590 drivers/rtc/rtc-pcf8563.c pcf8563->rtc->uie_unsupported = 1; pcf8563 591 drivers/rtc/rtc-pcf8563.c pcf8563->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; pcf8563 592 drivers/rtc/rtc-pcf8563.c pcf8563->rtc->range_max = RTC_TIMESTAMP_END_2099; pcf8563 593 drivers/rtc/rtc-pcf8563.c pcf8563->rtc->set_start_time = true; pcf8563 607 drivers/rtc/rtc-pcf8563.c err = rtc_register_device(pcf8563->rtc); pcf8563 613 drivers/rtc/rtc-pcf8563.c pcf8563_clkout_register_clk(pcf8563);