ds1374 189 drivers/rtc/rtc-ds1374.c struct ds1374 *ds1374 = i2c_get_clientdata(client); ds1374 197 drivers/rtc/rtc-ds1374.c mutex_lock(&ds1374->mutex); ds1374 220 drivers/rtc/rtc-ds1374.c mutex_unlock(&ds1374->mutex); ds1374 227 drivers/rtc/rtc-ds1374.c struct ds1374 *ds1374 = i2c_get_clientdata(client); ds1374 254 drivers/rtc/rtc-ds1374.c mutex_lock(&ds1374->mutex); ds1374 280 drivers/rtc/rtc-ds1374.c mutex_unlock(&ds1374->mutex); ds1374 288 drivers/rtc/rtc-ds1374.c struct ds1374 *ds1374 = i2c_get_clientdata(client); ds1374 291 drivers/rtc/rtc-ds1374.c schedule_work(&ds1374->work); ds1374 297 drivers/rtc/rtc-ds1374.c struct ds1374 *ds1374 = container_of(work, struct ds1374, work); ds1374 298 drivers/rtc/rtc-ds1374.c struct i2c_client *client = ds1374->client; ds1374 301 drivers/rtc/rtc-ds1374.c mutex_lock(&ds1374->mutex); ds1374 318 drivers/rtc/rtc-ds1374.c rtc_update_irq(ds1374->rtc, 1, RTC_AF | RTC_IRQF); ds1374 322 drivers/rtc/rtc-ds1374.c if (!ds1374->exiting) ds1374 325 drivers/rtc/rtc-ds1374.c mutex_unlock(&ds1374->mutex); ds1374 332 drivers/rtc/rtc-ds1374.c struct ds1374 *ds1374 = i2c_get_clientdata(client); ds1374 335 drivers/rtc/rtc-ds1374.c mutex_lock(&ds1374->mutex); ds1374 350 drivers/rtc/rtc-ds1374.c mutex_unlock(&ds1374->mutex); ds1374 457 drivers/rtc/rtc-ds1374.c struct ds1374 *ds1374 = i2c_get_clientdata(save_client); ds1374 460 drivers/rtc/rtc-ds1374.c mutex_lock(&ds1374->mutex); ds1374 462 drivers/rtc/rtc-ds1374.c mutex_unlock(&ds1374->mutex); ds1374 469 drivers/rtc/rtc-ds1374.c mutex_unlock(&ds1374->mutex); ds1374 567 drivers/rtc/rtc-ds1374.c struct ds1374 *ds1374 = i2c_get_clientdata(save_client); ds1374 569 drivers/rtc/rtc-ds1374.c mutex_lock(&ds1374->mutex); ds1374 571 drivers/rtc/rtc-ds1374.c mutex_unlock(&ds1374->mutex); ds1374 616 drivers/rtc/rtc-ds1374.c struct ds1374 *ds1374; ds1374 619 drivers/rtc/rtc-ds1374.c ds1374 = devm_kzalloc(&client->dev, sizeof(struct ds1374), GFP_KERNEL); ds1374 620 drivers/rtc/rtc-ds1374.c if (!ds1374) ds1374 623 drivers/rtc/rtc-ds1374.c ds1374->client = client; ds1374 624 drivers/rtc/rtc-ds1374.c i2c_set_clientdata(client, ds1374); ds1374 626 drivers/rtc/rtc-ds1374.c INIT_WORK(&ds1374->work, ds1374_work); ds1374 627 drivers/rtc/rtc-ds1374.c mutex_init(&ds1374->mutex); ds1374 644 drivers/rtc/rtc-ds1374.c ds1374->rtc = devm_rtc_device_register(&client->dev, client->name, ds1374 646 drivers/rtc/rtc-ds1374.c if (IS_ERR(ds1374->rtc)) { ds1374 648 drivers/rtc/rtc-ds1374.c return PTR_ERR(ds1374->rtc); ds1374 669 drivers/rtc/rtc-ds1374.c struct ds1374 *ds1374 = i2c_get_clientdata(client); ds1374 677 drivers/rtc/rtc-ds1374.c mutex_lock(&ds1374->mutex); ds1374 678 drivers/rtc/rtc-ds1374.c ds1374->exiting = 1; ds1374 679 drivers/rtc/rtc-ds1374.c mutex_unlock(&ds1374->mutex); ds1374 682 drivers/rtc/rtc-ds1374.c cancel_work_sync(&ds1374->work);