Lines Matching refs:cs_clocks
291 xcs->cs_clocks[0].clk = PCLK;
292 xcs->cs_clocks[0].flags = ZSC_RTXBRG | ZSC_RTXDIV;
293 xcs->cs_clocks[1].flags =
295 xcs->cs_clocks[2].flags = ZSC_TRXDIV | ZSC_VARIABLE;
299 xcs->cs_clocks[1].clk = mac68k_machine.modem_dcd_clk;
300 xcs->cs_clocks[2].clk = mac68k_machine.modem_cts_clk;
303 xcs->cs_clocks[1].flags = ZSC_VARIABLE;
310 xcs->cs_clocks[1].clk = mac68k_machine.print_dcd_clk;
311 xcs->cs_clocks[2].clk = mac68k_machine.print_cts_clk;
313 if (xcs->cs_clocks[1].clk)
315 if (xcs->cs_clocks[2].clk)
320 xcs->cs_clocks[1].clk, xcs->cs_clocks[2].clk);
521 if (xcs->cs_clocks[i].clk <= 0)
523 if (xcs->cs_clocks[i].flags & ZSC_BRG) {
525 tc1 = BPS_TO_TCONST(xcs->cs_clocks[i].clk >> 4, bps);
527 rate1 = TCONST_TO_BPS(xcs->cs_clocks[i].clk >> 4, tc1);
532 sf = xcs->cs_clocks[i].flags & ~ZSC_DIV;
538 if (xcs->cs_clocks[i].flags & ZSC_DIV) {
544 int b0 = xcs->cs_clocks[i].clk, e0 = abs(b0-bps);
571 sf = xcs->cs_clocks[i].flags & ~ZSC_BRG;
591 cs->cs_brg_clk = xcs->cs_clocks[i].clk >> 4;