Lines Matching defs:ctrl
12 u32 ctrl;
14 ctrl = ptp_qoriq->read(®s->ctrl_regs->tmr_ctrl);
15 *val = ctrl & PP1L ? 1 : 0;
24 u32 ctrl;
26 ctrl = ptp_qoriq->read(®s->ctrl_regs->tmr_ctrl);
28 ctrl &= ~PP1L;
30 ctrl |= PP1L;
32 ptp_qoriq->write(®s->ctrl_regs->tmr_ctrl, ctrl);
43 u32 ctrl;
45 ctrl = ptp_qoriq->read(®s->ctrl_regs->tmr_ctrl);
46 *val = ctrl & PP2L ? 1 : 0;
55 u32 ctrl;
57 ctrl = ptp_qoriq->read(®s->ctrl_regs->tmr_ctrl);
59 ctrl &= ~PP2L;
61 ctrl |= PP2L;
63 ptp_qoriq->write(®s->ctrl_regs->tmr_ctrl, ctrl);