Lines Matching defs:zin
122 #define zin(r) inl(zatm_dev->base+uPD98401_##r*4)
124 #define zwait while (zin(CMR) & uPD98401_BUSY)
151 return zin(CER);
342 pos = (zatm_dev->mbx_start[mbx] & ~0xffffUL) | zin(MTA(mbx));
343 while (x = zin(MWA(mbx)), (pos & 0xffff) != x) {
463 DPRINTK("0x%x 0x%x\n",zin(CMR),zin(CER));
464 chan = (zin(CMR) & uPD98401_CHAN_ADDR) >> uPD98401_CHAN_ADDR_SHIFT;
538 if (!(zin(CMR) & uPD98401_CHAN_ADDR))
665 pos = (zatm_dev->mbx_start[mbx] & ~0xffffUL) | zin(MTA(mbx));
666 while (x = zin(MWA(mbx)), (pos & 0xffff) != x) {
804 if (!(zin(CMR) & uPD98401_CHAN_ADDR))
836 DPRINTK("0x%x 0x%x\n",zin(CMR),zin(CER));
837 chan = (zin(CMR) & uPD98401_CHAN_ADDR) >> uPD98401_CHAN_ADDR_SHIFT;
932 while ((reason = zin(GSR))) {
943 pools = zin(RQA);
956 pools = zin(RQU);
971 "error at 0x%08x\n",dev->number,zin(ADDR));
974 "parity error at 0x%08x\n",dev->number,zin(ADDR));
977 "error at 0x%08x\n",dev->number,zin(ADDR));
1119 while (!(zin(GSR) & uPD98401_INT_IND));
1137 while (!(zin(GSR) & uPD98401_INT_IND));
1160 (zin(VER) & uPD98401_MAJOR) >> uPD98401_MAJOR_SHIFT,
1161 zin(VER) & uPD98401_MINOR,zatm_dev->khz/1000,zatm_dev->khz % 1000);
1254 zout(zin(GMR) | uPD98401_GMR_SE | uPD98401_GMR_RE,GMR);
1477 return zin(CER) & 0xff;