Lines Matching refs:zss
2344 chan_init(struct mac_serial *zss, struct mac_zschannel *zs_chan, in chan_init() argument
2347 struct device_node *ch = zss->dev_node; in chan_init()
2355 zss->irq = ch->intrs[0].line; in chan_init()
2356 zss->has_dma = 0; in chan_init()
2359 zss->has_dma = 1; in chan_init()
2361 zss->dma_initted = 0; in chan_init()
2367 zs_chan->parent = zss; in chan_init()
2368 zss->zs_channel = zs_chan; in chan_init()
2369 zss->zs_chan_a = zs_chan_a; in chan_init()
2372 zss->kgdb_channel = 0; in chan_init()
2378 zss->is_internal_modem = device_is_compatible(ch, "cobalt"); in chan_init()
2380 zss->is_irda = conn && (strcmp(conn, "infrared") == 0); in chan_init()
2381 zss->port_type = PMAC_SCC_ASYNC; in chan_init()
2386 zss->is_irda = 1; in chan_init()
2388 zss->is_internal_modem = 1; in chan_init()
2390 if (zss->is_irda) in chan_init()
2391 zss->port_type = PMAC_SCC_IRDA; in chan_init()
2392 if (zss->is_internal_modem) { in chan_init()
2403 zss->port_type = PMAC_SCC_I2S1; in chan_init()
2412 while (zss->has_dma) { in chan_init()
2413 zss->dma_priv = NULL; in chan_init()
2416 zss->tx_dma = (volatile struct dbdma_regs *) in chan_init()
2418 zss->rx = (volatile struct mac_dma *) in chan_init()
2420 zss->tx_dma_irq = ch->intrs[1].line; in chan_init()
2421 zss->rx_dma_irq = ch->intrs[2].line; in chan_init()
2422 spin_lock_init(&zss->rx_dma_lock); in chan_init()
2426 init_timer(&zss->powerup_timer); in chan_init()
2427 zss->powerup_timer.function = powerup_done; in chan_init()
2428 zss->powerup_timer.data = (unsigned long) zss; in chan_init()