Lines Matching refs:clocks
156 unsigned char clocks = clk; in atp867x_get_active_clocks_shifted() local
163 clocks++; in atp867x_get_active_clocks_shifted()
165 switch (clocks) { in atp867x_get_active_clocks_shifted()
167 clocks = 1; in atp867x_get_active_clocks_shifted()
175 clocks = 7; /* 12 clk */ in atp867x_get_active_clocks_shifted()
179 clocks = 0; in atp867x_get_active_clocks_shifted()
184 return clocks << ATP867X_IO_PIOSPD_ACTIVE_SHIFT; in atp867x_get_active_clocks_shifted()
189 unsigned char clocks = clk; in atp867x_get_recover_clocks_shifted() local
191 switch (clocks) { in atp867x_get_recover_clocks_shifted()
193 clocks = 1; in atp867x_get_recover_clocks_shifted()
199 --clocks; /* by the spec */ in atp867x_get_recover_clocks_shifted()
207 clocks = 0; in atp867x_get_recover_clocks_shifted()
211 return clocks << ATP867X_IO_PIOSPD_RECOVER_SHIFT; in atp867x_get_recover_clocks_shifted()