Lines Matching defs:dz
77 static volatile struct ss_dz {/* base address of DZ-controller: 0x200A0000 */
86 } *dz;
89 cons_decl(dz);
199 dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8)
208 dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8) | DZ_LPR_8_BIT_CHAR \
226 while ((dz->csr & 0x80) == 0)
228 rbuf = dz->rbuf;
281 dz = (void *)dz_regs;
283 dz->csr = 0; /* Disable scanning until initting is done */
284 dz->tcr = (1 << minor(cndev->cn_dev)); /* Turn on xmitter */
285 dz->csr = 0x20; /* Turn scanning back on */
291 dz = (void*)dz_regs;
293 dz->csr = 0; /* Disable scanning until initting is done */
294 dz->tcr = (1 << minor(cndev->cn_dev)); /* Turn on xmitter */
295 dz->csr = 0x20; /* Turn scanning back on */
311 tcr = dz->tcr; /* remember which lines to scan */
312 dz->tcr = (1 << mino);
314 while ((dz->csr & 0x8000) == 0) /* Wait until ready */
317 dz->tdr = ch; /* Put the character */
319 while ((dz->csr & 0x8000) == 0) /* Wait until ready */
323 dz->tcr = tcr;
351 for(; (dz->csr & DZ_CSR_RX_DONE) == 0;);
352 rbuf = dz->rbuf;
368 /* if the dz has already been attached, the MI
374 tcr = dz->tcr;
376 dz->tcr = tcr | (1 << line);