Lines Matching defs:tx
194 static int max3100_sr(struct max3100_port *s, u16 tx, u16 *rx)
205 etx = cpu_to_be16(tx);
215 dev_dbg(&s->spi->dev, "%04x - %04x\n", tx, *rx);
263 u16 tx, rx;
291 tx = 0xffff;
293 tx = s->port.x_char;
294 s->port.icount.tx++;
298 tx = xmit->buf[xmit->tail];
301 s->port.icount.tx++;
303 if (tx != 0xffff) {
304 max3100_calc_parity(s, &tx);
305 tx |= MAX3100_WD | (s->rts ? MAX3100_RTS : 0);
306 max3100_sr(s, tx, &rx);
576 u16 tx, rx;
578 tx = MAX3100_WC | MAX3100_SHDN;
579 max3100_sr(s, tx, &rx);
621 u16 tx, rx;
622 tx = 0x4001;
623 max3100_sr(s, tx, &rx);
746 u16 tx, rx;
811 tx = MAX3100_WC | MAX3100_SHDN;
812 max3100_sr(max3100s[i], tx, &rx);
865 u16 tx, rx;
867 tx = MAX3100_WC | MAX3100_SHDN;
868 max3100_sr(s, tx, &rx);