Lines Matching defs:offset
46 int offset;
56 regmap_read(data->regmap, data->offset + SNVS_LPSRTCMR, &msb);
57 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &lsb);
94 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1);
97 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1);
139 regmap_update_bits(data->regmap, data->offset + SNVS_LPCR, SNVS_LPCR_SRTC_ENV,
143 regmap_read(data->regmap, data->offset + SNVS_LPCR, &lpcr);
199 regmap_write(data->regmap, data->offset + SNVS_LPSRTCLR, time << CNTR_TO_SECS_SH);
200 regmap_write(data->regmap, data->offset + SNVS_LPSRTCMR, time >> (32 - CNTR_TO_SECS_SH));
223 regmap_read(data->regmap, data->offset + SNVS_LPTAR, &lptar);
226 regmap_read(data->regmap, data->offset + SNVS_LPSR, &lpsr);
246 regmap_update_bits(data->regmap, data->offset + SNVS_LPCR,
270 regmap_update_bits(data->regmap, data->offset + SNVS_LPCR, SNVS_LPCR_LPTA_EN, 0);
274 regmap_write(data->regmap, data->offset + SNVS_LPTAR, time);
277 regmap_write(data->regmap, data->offset + SNVS_LPSR, SNVS_LPSR_LPTA);
303 regmap_read(data->regmap, data->offset + SNVS_LPSR, &lpsr);
315 regmap_write(data->regmap, data->offset + SNVS_LPSR, lpsr);
360 data->offset = SNVS_LPREGISTER_OFFSET;
361 of_property_read_u32(pdev->dev.of_node, "offset", &data->offset);
392 regmap_write(data->regmap, data->offset + SNVS_LPPGDR, SNVS_LPPGDR_INIT);
395 regmap_write(data->regmap, data->offset + SNVS_LPSR, 0xffffffff);