Lines Matching refs:ofs
310 int slot, ofs;
315 ofs = TX39_UARTCTRL1_REG(slot);
323 tx_conf_write(tc, ofs, 0);
331 int slot, ofs, timeout;
335 ofs = TX39_UARTCTRL1_REG(slot);
355 reg = tx_conf_read(tc, ofs);
357 tx_conf_write(tc, ofs, reg);
360 reg = tx_conf_read(tc, ofs);
363 tx_conf_write(tc, ofs, reg);
367 while(!(tx_conf_read(tc, ofs) & TX39_UARTCTRL1_UARTON) &&
408 int ofs = TX39_UARTCTRL1_REG(chip->sc_slot);
411 if (tx_conf_read(tc, ofs) & TX39_UARTCTRL1_EMPTY)
424 int ofs;
427 ofs = TX39_UARTCTRL1_REG(chip->sc_slot);
429 reg = tx_conf_read(tc, ofs);
435 tx_conf_write(tc, ofs, reg);
445 int ofs, c, s;
450 ofs = TX39_UARTCTRL1_REG(txcom_chip.sc_slot);
452 while(!(TX39_UARTCTRL1_RXHOLDFULL & tx_conf_read(tc, ofs)))
495 int ofs = TX39_UARTCTRL1_REG(chip->sc_slot);
498 reg = tx_conf_read(chip->sc_tc, ofs);
500 tx_conf_write(chip->sc_tc, ofs, reg);
531 tx_conf_write(chip->sc_tc, ofs, reg);
538 int ofs = TX39_UARTCTRL1_REG(chip->sc_slot);
547 reg1 = tx_conf_read(chip->sc_tc, ofs);
549 tx_conf_write(chip->sc_tc, ofs, reg1);
557 tx_conf_write(chip->sc_tc, ofs, reg1);