Lines Matching refs:cy_clock
184 int cy_clock; in cy_attach() local
216 cy_clock = CY_CLOCK; in cy_attach()
218 cy_clock = CY_CLOCK_60; in cy_attach()
222 (cy_clock / CD1400_PPR_PRESCALER / 1000) + 1); in cy_attach()
228 sc->sc_ports[port].cy_clock = cy_clock; in cy_attach()
649 if (t->c_ospeed != 0 && cy_speed(t->c_ospeed, &o_clk_opt, &obpr, cy->cy_clock) < 0) in cyparam()
652 if (t->c_ispeed != 0 && cy_speed(t->c_ispeed, &i_clk_opt, &ibpr, cy->cy_clock) < 0) in cyparam()
744 if (cy->cy_clock == CY_CLOCK_60) { in cyparam()
793 if (cy->cy_clock == CY_CLOCK_60) { in cy_modem_control()
819 if (cy->cy_clock == CY_CLOCK_60) { in cy_modem_control()
835 if (cy->cy_clock == CY_CLOCK_60) { in cy_modem_control()
855 if (cy->cy_clock == CY_CLOCK_60) { in cy_modem_control()
965 if (cy->cy_clock == CY_CLOCK_60) { in cy_poll()
1176 if (cy->cy_clock == CY_CLOCK_60) in cy_intr()
1379 cy_speed(speed_t speed, int *cor, int *bpr, int cy_clock) in cy_speed() argument
1387 br = (cy_clock + (co * speed) / 2) / (co * speed); in cy_speed()