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);
194 regmap_write(data->regmap, data->offset + SNVS_LPSRTCLR, time << CNTR_TO_SECS_SH);
195 regmap_write(data->regmap, data->offset + SNVS_LPSRTCMR, time >> (32 - CNTR_TO_SECS_SH));
215 regmap_read(data->regmap, data->offset + SNVS_LPTAR, &lptar);
218 regmap_read(data->regmap, data->offset + SNVS_LPSR, &lpsr);
235 regmap_update_bits(data->regmap, data->offset + SNVS_LPCR,
256 regmap_update_bits(data->regmap, data->offset + SNVS_LPCR, SNVS_LPCR_LPTA_EN, 0);
260 regmap_write(data->regmap, data->offset + SNVS_LPTAR, time);
263 regmap_write(data->regmap, data->offset + SNVS_LPSR, SNVS_LPSR_LPTA);
287 regmap_read(data->regmap, data->offset + SNVS_LPSR, &lpsr);
299 regmap_write(data->regmap, data->offset + SNVS_LPSR, lpsr);
342 data->offset = SNVS_LPREGISTER_OFFSET;
343 of_property_read_u32(pdev->dev.of_node, "offset", &data->offset);
374 regmap_write(data->regmap, data->offset + SNVS_LPPGDR, SNVS_LPPGDR_INIT);
377 regmap_write(data->regmap, data->offset + SNVS_LPSR, 0xffffffff);