Lines Matching refs:cs_clocks
321 xcs->cs_clocks[0].clk = PCLK;
322 xcs->cs_clocks[0].flags = ZSC_RTXBRG | ZSC_RTXDIV;
323 xcs->cs_clocks[1].flags =
325 xcs->cs_clocks[2].flags = ZSC_TRXDIV | ZSC_VARIABLE;
329 /*xcs->cs_clocks[1].clk = mac68k_machine.modem_dcd_clk;*/
330 /*xcs->cs_clocks[2].clk = mac68k_machine.modem_cts_clk;*/
331 xcs->cs_clocks[1].clk = 0;
332 xcs->cs_clocks[2].clk = 0;
335 xcs->cs_clocks[1].flags = ZSC_VARIABLE;
342 /*xcs->cs_clocks[1].clk = mac68k_machine.print_dcd_clk;*/
343 /*xcs->cs_clocks[2].clk = mac68k_machine.print_cts_clk;*/
344 xcs->cs_clocks[1].clk = 0;
345 xcs->cs_clocks[2].clk = 0;
347 if (xcs->cs_clocks[1].clk)
349 if (xcs->cs_clocks[2].clk)
585 if (xcs->cs_clocks[i].clk <= 0)
587 if (xcs->cs_clocks[i].flags & ZSC_BRG) {
589 tc1 = BPS_TO_TCONST(xcs->cs_clocks[i].clk >> 4, bps);
591 rate1 = TCONST_TO_BPS(xcs->cs_clocks[i].clk >> 4, tc1);
596 sf = xcs->cs_clocks[i].flags & ~ZSC_DIV;
602 if (xcs->cs_clocks[i].flags & ZSC_DIV) {
608 int b0 = xcs->cs_clocks[i].clk, e0 = abs(b0-bps);
635 sf = xcs->cs_clocks[i].flags & ~ZSC_BRG;
655 cs->cs_brg_clk = xcs->cs_clocks[i].clk >> 4;