Lines Matching full:clocks
157 unsigned char clocks = clk; in atp867x_get_active_clocks_shifted() local
164 clocks++; in atp867x_get_active_clocks_shifted()
166 switch (clocks) { in atp867x_get_active_clocks_shifted()
168 clocks = 1; in atp867x_get_active_clocks_shifted()
176 clocks = 7; /* 12 clk */ in atp867x_get_active_clocks_shifted()
180 clocks = 0; in atp867x_get_active_clocks_shifted()
185 return clocks << ATP867X_IO_PIOSPD_ACTIVE_SHIFT; in atp867x_get_active_clocks_shifted()
190 unsigned char clocks = clk; in atp867x_get_recover_clocks_shifted() local
192 switch (clocks) { in atp867x_get_recover_clocks_shifted()
194 clocks = 1; in atp867x_get_recover_clocks_shifted()
200 --clocks; /* by the spec */ in atp867x_get_recover_clocks_shifted()
208 clocks = 0; in atp867x_get_recover_clocks_shifted()
212 return clocks << ATP867X_IO_PIOSPD_RECOVER_SHIFT; in atp867x_get_recover_clocks_shifted()