Lines Matching refs:ctrl_regs
33 lo = ptp_qoriq->read(®s->ctrl_regs->tmr_cnt_l);
34 hi = ptp_qoriq->read(®s->ctrl_regs->tmr_cnt_h);
47 ptp_qoriq->write(®s->ctrl_regs->tmr_cnt_l, lo);
48 ptp_qoriq->write(®s->ctrl_regs->tmr_cnt_h, hi);
108 if (!(ptp_qoriq->read(®s->ctrl_regs->tmr_stat) & valid))
123 } while (ptp_qoriq->read(®s->ctrl_regs->tmr_stat) & valid);
142 val = ptp_qoriq->read(®s->ctrl_regs->tmr_tevent);
143 mask = ptp_qoriq->read(®s->ctrl_regs->tmr_temask);
166 ptp_qoriq->write(®s->ctrl_regs->tmr_tevent, ack);
202 ptp_qoriq->write(®s->ctrl_regs->tmr_add, tmr_add);
299 mask = ptp_qoriq->read(®s->ctrl_regs->tmr_temask);
302 ptp_qoriq->write(®s->ctrl_regs->tmr_tevent, bit);
307 ptp_qoriq->write(®s->ctrl_regs->tmr_temask, mask);
491 ptp_qoriq->regs.ctrl_regs = base + ETSEC_CTRL_REGS_OFFSET;
496 ptp_qoriq->regs.ctrl_regs = base + CTRL_REGS_OFFSET;
514 ptp_qoriq->write(®s->ctrl_regs->tmr_ctrl, tmr_ctrl);
515 ptp_qoriq->write(®s->ctrl_regs->tmr_add, ptp_qoriq->tmr_add);
516 ptp_qoriq->write(®s->ctrl_regs->tmr_prsc, ptp_qoriq->tmr_prsc);
525 ptp_qoriq->write(®s->ctrl_regs->tmr_ctrl,
544 ptp_qoriq->write(®s->ctrl_regs->tmr_temask, 0);
545 ptp_qoriq->write(®s->ctrl_regs->tmr_ctrl, 0);