Lines Matching refs:ctrl
78 u32 ctrl; in pps_tio_disable() local
80 ctrl = pps_tio_read(TIOCTL, tio); in pps_tio_disable()
83 ctrl &= ~TIOCTL_EN; in pps_tio_disable()
84 pps_ctl_write(ctrl, tio); in pps_tio_disable()
87 return ctrl; in pps_tio_disable()
92 u32 ctrl; in pps_tio_enable() local
94 ctrl = pps_tio_read(TIOCTL, tio); in pps_tio_enable()
95 ctrl |= TIOCTL_EN; in pps_tio_enable()
96 pps_ctl_write(ctrl, tio); in pps_tio_enable()
102 u32 ctrl; in pps_tio_direction_output() local
104 ctrl = pps_tio_disable(tio); in pps_tio_direction_output()
112 ctrl &= ~(TIOCTL_DIR | TIOCTL_EP); in pps_tio_direction_output()
113 ctrl |= TIOCTL_EP_TOGGLE_EDGE; in pps_tio_direction_output()
114 pps_ctl_write(ctrl, tio); in pps_tio_direction_output()