Lines Matching refs:am65_cpts_write32

201 #define am65_cpts_write32(c, v, r) writel(v, &(c)->reg->r)  macro
209 am65_cpts_write32(cpts, val, ts_load_val_hi); in am65_cpts_settime()
211 am65_cpts_write32(cpts, val, ts_load_val_lo); in am65_cpts_settime()
213 am65_cpts_write32(cpts, AM65_CPTS_TS_LOAD_EN, ts_load_en); in am65_cpts_settime()
221 am65_cpts_write32(cpts, cpts->ts_add_val, ts_add_val); in am65_cpts_set_add_val()
226 am65_cpts_write32(cpts, 0, control); in am65_cpts_disable()
227 am65_cpts_write32(cpts, 0, int_enable); in am65_cpts_disable()
272 am65_cpts_write32(cpts, AM65_CPTS_EVENT_POP, event_pop); in am65_cpts_fifo_pop_event()
383 am65_cpts_write32(cpts, 0, int_enable); in am65_cpts_gettime()
388 am65_cpts_write32(cpts, AM65_CPTS_TS_PUSH, ts_push); in am65_cpts_gettime()
395 am65_cpts_write32(cpts, AM65_CPTS_INT_ENABLE_TS_PEND_EN, int_enable); in am65_cpts_gettime()
477 am65_cpts_write32(cpts, ctrl_val, control); in am65_cpts_ptp_adjfine()
478 am65_cpts_write32(cpts, ppm_hi, ts_ppm_hi); in am65_cpts_ptp_adjfine()
479 am65_cpts_write32(cpts, ppm_low, ts_ppm_low); in am65_cpts_ptp_adjfine()
482 am65_cpts_write32(cpts, estf_ctrl_val, genf[pps_index].control); in am65_cpts_ptp_adjfine()
483 am65_cpts_write32(cpts, estf_ppm_hi, genf[pps_index].ppm_hi); in am65_cpts_ptp_adjfine()
484 am65_cpts_write32(cpts, estf_ppm_low, genf[pps_index].ppm_low); in am65_cpts_ptp_adjfine()
489 am65_cpts_write32(cpts, estf_ctrl_val, estf[i].control); in am65_cpts_ptp_adjfine()
490 am65_cpts_write32(cpts, estf_ppm_hi, estf[i].ppm_hi); in am65_cpts_ptp_adjfine()
491 am65_cpts_write32(cpts, estf_ppm_low, estf[i].ppm_low); in am65_cpts_ptp_adjfine()
570 am65_cpts_write32(cpts, v, control); in am65_cpts_extts_enable_hw()
606 am65_cpts_write32(cpts, 0, estf[idx].length); in am65_cpts_estf_enable()
609 am65_cpts_write32(cpts, val, estf[idx].comp_hi); in am65_cpts_estf_enable()
611 am65_cpts_write32(cpts, val, estf[idx].comp_lo); in am65_cpts_estf_enable()
613 am65_cpts_write32(cpts, val, estf[idx].length); in am65_cpts_estf_enable()
614 am65_cpts_write32(cpts, 0, estf[idx].control); in am65_cpts_estf_enable()
615 am65_cpts_write32(cpts, 0, estf[idx].ppm_hi); in am65_cpts_estf_enable()
616 am65_cpts_write32(cpts, 0, estf[idx].ppm_low); in am65_cpts_estf_enable()
628 am65_cpts_write32(cpts, 0, estf[idx].length); in am65_cpts_estf_disable()
654 am65_cpts_write32(cpts, val, genf[req->index].comp_hi); in am65_cpts_perout_enable_hw()
656 am65_cpts_write32(cpts, val, genf[req->index].comp_lo); in am65_cpts_perout_enable_hw()
658 am65_cpts_write32(cpts, val, genf[req->index].length); in am65_cpts_perout_enable_hw()
660 am65_cpts_write32(cpts, 0, genf[req->index].control); in am65_cpts_perout_enable_hw()
661 am65_cpts_write32(cpts, 0, genf[req->index].ppm_hi); in am65_cpts_perout_enable_hw()
662 am65_cpts_write32(cpts, 0, genf[req->index].ppm_low); in am65_cpts_perout_enable_hw()
666 am65_cpts_write32(cpts, 0, genf[req->index].length); in am65_cpts_perout_enable_hw()
1193 am65_cpts_write32(cpts, AM65_CPTS_CONTROL_EN | in am65_cpts_create()
1197 am65_cpts_write32(cpts, AM65_CPTS_INT_ENABLE_TS_PEND_EN, int_enable); in am65_cpts_create()
1261 am65_cpts_write32(cpts, cpts->sr_rftclk_sel, rftclk_sel); in am65_cpts_resume()
1263 am65_cpts_write32(cpts, cpts->sr_control, control); in am65_cpts_resume()
1264 am65_cpts_write32(cpts, cpts->sr_int_enable, int_enable); in am65_cpts_resume()
1272 am65_cpts_write32(cpts, cpts->sr_ts_ppm_hi, ts_ppm_hi); in am65_cpts_resume()
1273 am65_cpts_write32(cpts, cpts->sr_ts_ppm_low, ts_ppm_low); in am65_cpts_resume()
1277 am65_cpts_write32(cpts, 0, genf[i].length); /* TRM sequence */ in am65_cpts_resume()
1278 am65_cpts_write32(cpts, cpts->sr_genf[i].comp_hi, genf[i].comp_hi); in am65_cpts_resume()
1279 am65_cpts_write32(cpts, cpts->sr_genf[i].comp_lo, genf[i].comp_lo); in am65_cpts_resume()
1280 am65_cpts_write32(cpts, cpts->sr_genf[i].length, genf[i].length); in am65_cpts_resume()
1281 am65_cpts_write32(cpts, cpts->sr_genf[i].control, genf[i].control); in am65_cpts_resume()
1282 am65_cpts_write32(cpts, cpts->sr_genf[i].ppm_hi, genf[i].ppm_hi); in am65_cpts_resume()
1283 am65_cpts_write32(cpts, cpts->sr_genf[i].ppm_low, genf[i].ppm_low); in am65_cpts_resume()
1288 am65_cpts_write32(cpts, 0, estf[i].length); /* TRM sequence */ in am65_cpts_resume()
1289 am65_cpts_write32(cpts, cpts->sr_estf[i].comp_hi, estf[i].comp_hi); in am65_cpts_resume()
1290 am65_cpts_write32(cpts, cpts->sr_estf[i].comp_lo, estf[i].comp_lo); in am65_cpts_resume()
1291 am65_cpts_write32(cpts, cpts->sr_estf[i].length, estf[i].length); in am65_cpts_resume()
1292 am65_cpts_write32(cpts, cpts->sr_estf[i].control, estf[i].control); in am65_cpts_resume()
1293 am65_cpts_write32(cpts, cpts->sr_estf[i].ppm_hi, estf[i].ppm_hi); in am65_cpts_resume()
1294 am65_cpts_write32(cpts, cpts->sr_estf[i].ppm_low, estf[i].ppm_low); in am65_cpts_resume()