Lines Matching refs:PORT
84 #define PORT(name) (devc->base+name)
169 outb(reg, PORT(ODIE_ADDR));
170 val = inb(PORT(ODIE_DATA));
177 outb(reg, PORT(ODIE_ADDR));
178 outb(data, PORT(ODIE_DATA));
215 outb((0x00), PORT(HOST_CTRL)); /* Put the board to the host mode */
220 outb((0x03), PORT(HOST_CTRL)); /* Put the board to the MIDI mode */
236 if (inb(PORT(HOST_CTRL)) & TX_READY)
244 outb(data[i], PORT(HOST_DATA));
262 if (inb(PORT(HOST_CTRL)) & RX_READY)
270 data = inb(PORT(HOST_DATA));
474 outb((0x00), PORT(HOST_CTRL));
475 outb((0x00), PORT(MIDI_CTRL));
492 x = inb(PORT(HOST_DATA));
513 if (inb(PORT(HOST_DATA)) == 0xfe) /* Host startup acknowledge */
724 if ((save = inb(PORT(ODIE_ADDR))) & 0xf0)
729 outb((0x00), PORT(ODIE_ADDR));
730 if (inb(PORT(ODIE_ADDR)) != 0x00)
735 outb((0xff), PORT(ODIE_ADDR));
736 if (inb(PORT(ODIE_ADDR)) != 0x0f)
741 outb((save), PORT(ODIE_ADDR));