Lines Matching refs:ctrl_regs

33 	lo = ptp_qoriq->read(&regs->ctrl_regs->tmr_cnt_l);  in tmr_cnt_read()
34 hi = ptp_qoriq->read(&regs->ctrl_regs->tmr_cnt_h); in tmr_cnt_read()
47 ptp_qoriq->write(&regs->ctrl_regs->tmr_cnt_l, lo); in tmr_cnt_write()
48 ptp_qoriq->write(&regs->ctrl_regs->tmr_cnt_h, hi); in tmr_cnt_write()
108 if (!(ptp_qoriq->read(&regs->ctrl_regs->tmr_stat) & valid)) in extts_clean_up()
123 } while (ptp_qoriq->read(&regs->ctrl_regs->tmr_stat) & valid); in extts_clean_up()
142 val = ptp_qoriq->read(&regs->ctrl_regs->tmr_tevent); in ptp_qoriq_isr()
143 mask = ptp_qoriq->read(&regs->ctrl_regs->tmr_temask); in ptp_qoriq_isr()
166 ptp_qoriq->write(&regs->ctrl_regs->tmr_tevent, ack); in ptp_qoriq_isr()
202 ptp_qoriq->write(&regs->ctrl_regs->tmr_add, tmr_add); in ptp_qoriq_adjfine()
299 mask = ptp_qoriq->read(&regs->ctrl_regs->tmr_temask); in ptp_qoriq_enable()
302 ptp_qoriq->write(&regs->ctrl_regs->tmr_tevent, bit); in ptp_qoriq_enable()
307 ptp_qoriq->write(&regs->ctrl_regs->tmr_temask, mask); in ptp_qoriq_enable()
491 ptp_qoriq->regs.ctrl_regs = base + ETSEC_CTRL_REGS_OFFSET; in ptp_qoriq_init()
496 ptp_qoriq->regs.ctrl_regs = base + CTRL_REGS_OFFSET; in ptp_qoriq_init()
514 ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, tmr_ctrl); in ptp_qoriq_init()
515 ptp_qoriq->write(&regs->ctrl_regs->tmr_add, ptp_qoriq->tmr_add); in ptp_qoriq_init()
516 ptp_qoriq->write(&regs->ctrl_regs->tmr_prsc, ptp_qoriq->tmr_prsc); in ptp_qoriq_init()
525 ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, in ptp_qoriq_init()
544 ptp_qoriq->write(&regs->ctrl_regs->tmr_temask, 0); in ptp_qoriq_free()
545 ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, 0); in ptp_qoriq_free()