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()
376 am65_cpts_write32(cpts, 0, int_enable); in am65_cpts_gettime()
381 am65_cpts_write32(cpts, AM65_CPTS_TS_PUSH, ts_push); in am65_cpts_gettime()
388 am65_cpts_write32(cpts, AM65_CPTS_INT_ENABLE_TS_PEND_EN, int_enable); in am65_cpts_gettime()
470 am65_cpts_write32(cpts, ctrl_val, control); in am65_cpts_ptp_adjfine()
471 am65_cpts_write32(cpts, ppm_hi, ts_ppm_hi); in am65_cpts_ptp_adjfine()
472 am65_cpts_write32(cpts, ppm_low, ts_ppm_low); in am65_cpts_ptp_adjfine()
475 am65_cpts_write32(cpts, estf_ctrl_val, genf[pps_index].control); in am65_cpts_ptp_adjfine()
476 am65_cpts_write32(cpts, estf_ppm_hi, genf[pps_index].ppm_hi); in am65_cpts_ptp_adjfine()
477 am65_cpts_write32(cpts, estf_ppm_low, genf[pps_index].ppm_low); in am65_cpts_ptp_adjfine()
482 am65_cpts_write32(cpts, estf_ctrl_val, estf[i].control); in am65_cpts_ptp_adjfine()
483 am65_cpts_write32(cpts, estf_ppm_hi, estf[i].ppm_hi); in am65_cpts_ptp_adjfine()
484 am65_cpts_write32(cpts, estf_ppm_low, estf[i].ppm_low); in am65_cpts_ptp_adjfine()
563 am65_cpts_write32(cpts, v, control); in am65_cpts_extts_enable_hw()
599 am65_cpts_write32(cpts, 0, estf[idx].length); in am65_cpts_estf_enable()
602 am65_cpts_write32(cpts, val, estf[idx].comp_hi); in am65_cpts_estf_enable()
604 am65_cpts_write32(cpts, val, estf[idx].comp_lo); in am65_cpts_estf_enable()
606 am65_cpts_write32(cpts, val, estf[idx].length); in am65_cpts_estf_enable()
607 am65_cpts_write32(cpts, 0, estf[idx].control); in am65_cpts_estf_enable()
608 am65_cpts_write32(cpts, 0, estf[idx].ppm_hi); in am65_cpts_estf_enable()
609 am65_cpts_write32(cpts, 0, estf[idx].ppm_low); in am65_cpts_estf_enable()
621 am65_cpts_write32(cpts, 0, estf[idx].length); in am65_cpts_estf_disable()
647 am65_cpts_write32(cpts, val, genf[req->index].comp_hi); in am65_cpts_perout_enable_hw()
649 am65_cpts_write32(cpts, val, genf[req->index].comp_lo); in am65_cpts_perout_enable_hw()
651 am65_cpts_write32(cpts, val, genf[req->index].length); in am65_cpts_perout_enable_hw()
653 am65_cpts_write32(cpts, 0, genf[req->index].control); in am65_cpts_perout_enable_hw()
654 am65_cpts_write32(cpts, 0, genf[req->index].ppm_hi); in am65_cpts_perout_enable_hw()
655 am65_cpts_write32(cpts, 0, genf[req->index].ppm_low); in am65_cpts_perout_enable_hw()
659 am65_cpts_write32(cpts, 0, genf[req->index].length); in am65_cpts_perout_enable_hw()
885 am65_cpts_write32(cpts, val, control); in am65_cpts_rx_enable()
1146 am65_cpts_write32(cpts, AM65_CPTS_CONTROL_EN | in am65_cpts_create()
1150 am65_cpts_write32(cpts, AM65_CPTS_INT_ENABLE_TS_PEND_EN, int_enable); in am65_cpts_create()
1214 am65_cpts_write32(cpts, cpts->sr_rftclk_sel, rftclk_sel); in am65_cpts_resume()
1216 am65_cpts_write32(cpts, cpts->sr_control, control); in am65_cpts_resume()
1217 am65_cpts_write32(cpts, cpts->sr_int_enable, int_enable); in am65_cpts_resume()
1225 am65_cpts_write32(cpts, cpts->sr_ts_ppm_hi, ts_ppm_hi); in am65_cpts_resume()
1226 am65_cpts_write32(cpts, cpts->sr_ts_ppm_low, ts_ppm_low); in am65_cpts_resume()
1230 am65_cpts_write32(cpts, 0, genf[i].length); /* TRM sequence */ in am65_cpts_resume()
1231 am65_cpts_write32(cpts, cpts->sr_genf[i].comp_hi, genf[i].comp_hi); in am65_cpts_resume()
1232 am65_cpts_write32(cpts, cpts->sr_genf[i].comp_lo, genf[i].comp_lo); in am65_cpts_resume()
1233 am65_cpts_write32(cpts, cpts->sr_genf[i].length, genf[i].length); in am65_cpts_resume()
1234 am65_cpts_write32(cpts, cpts->sr_genf[i].control, genf[i].control); in am65_cpts_resume()
1235 am65_cpts_write32(cpts, cpts->sr_genf[i].ppm_hi, genf[i].ppm_hi); in am65_cpts_resume()
1236 am65_cpts_write32(cpts, cpts->sr_genf[i].ppm_low, genf[i].ppm_low); in am65_cpts_resume()
1241 am65_cpts_write32(cpts, 0, estf[i].length); /* TRM sequence */ in am65_cpts_resume()
1242 am65_cpts_write32(cpts, cpts->sr_estf[i].comp_hi, estf[i].comp_hi); in am65_cpts_resume()
1243 am65_cpts_write32(cpts, cpts->sr_estf[i].comp_lo, estf[i].comp_lo); in am65_cpts_resume()
1244 am65_cpts_write32(cpts, cpts->sr_estf[i].length, estf[i].length); in am65_cpts_resume()
1245 am65_cpts_write32(cpts, cpts->sr_estf[i].control, estf[i].control); in am65_cpts_resume()
1246 am65_cpts_write32(cpts, cpts->sr_estf[i].ppm_hi, estf[i].ppm_hi); in am65_cpts_resume()
1247 am65_cpts_write32(cpts, cpts->sr_estf[i].ppm_low, estf[i].ppm_low); in am65_cpts_resume()