Lines Matching refs:writeq

134 		writeq(500000000, ptp->reg_base + PTP_PPS_THRESH_HI);  in ptp_reset_thresh()
258 writeq(timestamp, ptp->reg_base + PTP_NANO_TIMESTAMP); in ptp_atomic_update()
259 writeq(0, ptp->reg_base + PTP_FRNS_TIMESTAMP); in ptp_atomic_update()
260 writeq(timestamp / NSEC_PER_SEC, in ptp_atomic_update()
265 writeq(nxt_rollover_set, ptp->reg_base + PTP_NXT_ROLLOVER_SET); in ptp_atomic_update()
266 writeq(curr_rollover_set, ptp->reg_base + PTP_CURR_ROLLOVER_SET); in ptp_atomic_update()
272 writeq(regval, ptp->reg_base + PTP_CLOCK_CFG); in ptp_atomic_update()
301 writeq(delta, ptp->reg_base + PTP_NANO_TIMESTAMP); in ptp_atomic_adjtime()
302 writeq(0, ptp->reg_base + PTP_FRNS_TIMESTAMP); in ptp_atomic_adjtime()
308 writeq(regval, ptp->reg_base + PTP_CLOCK_CFG); in ptp_atomic_adjtime()
354 writeq(comp, ptp->reg_base + PTP_CLOCK_COMP); in ptp_adjfine()
389 writeq(0, ptp->reg_base + PTP_NANO_TIMESTAMP); in ptp_start()
390 writeq(0, ptp->reg_base + PTP_FRNS_TIMESTAMP); in ptp_start()
391 writeq(0, ptp->reg_base + PTP_SEC_TIMESTAMP); in ptp_start()
392 writeq(0, ptp->reg_base + PTP_CURR_ROLLOVER_SET); in ptp_start()
393 writeq(0x3b9aca00, ptp->reg_base + PTP_NXT_ROLLOVER_SET); in ptp_start()
394 writeq(0x3b9aca00, ptp->reg_base + PTP_SEC_ROLLOVER); in ptp_start()
415 writeq(clock_cfg, ptp->reg_base + PTP_CLOCK_CFG); in ptp_start()
419 writeq(clock_cfg, ptp->reg_base + PTP_CLOCK_CFG); in ptp_start()
427 writeq(clock_comp, ptp->reg_base + PTP_CLOCK_COMP); in ptp_start()
447 writeq(thresh, ptp->reg_base + PTP_PPS_THRESH_HI); in ptp_set_thresh()
484 writeq(clock_cfg, ptp->reg_base + PTP_CLOCK_CFG); in ptp_pps_on()
486 writeq(0, ptp->reg_base + PTP_PPS_THRESH_HI); in ptp_pps_on()
487 writeq(0, ptp->reg_base + PTP_PPS_THRESH_LO); in ptp_pps_on()
491 writeq(((u64)period << 32), ptp->reg_base + PTP_PPS_HI_INCR); in ptp_pps_on()
492 writeq(((u64)period << 32), ptp->reg_base + PTP_PPS_LO_INCR); in ptp_pps_on()
495 writeq(clock_cfg, ptp->reg_base + PTP_CLOCK_CFG); in ptp_pps_on()
507 writeq((0x1dcd6500ULL - ptp->clock_period) << 32, in ptp_pps_on()
586 writeq(clock_cfg, ptp->reg_base + PTP_CLOCK_CFG); in ptp_remove()