Lines Matching refs:CHAN_OFFSET
612 #define CHAN_OFFSET(port,elem) (port->ch_base + OFFSETOF (_SXCHANNEL, elem)) macro
618 write_sx_byte (port->board, CHAN_OFFSET (port, elem), val)
621 read_sx_byte (port->board, CHAN_OFFSET (port, elem))
624 write_sx_word (port->board, CHAN_OFFSET (port, elem), val)
627 read_sx_word (port->board, CHAN_OFFSET (port, elem))
714 write_sx_byte (port->board, CHAN_OFFSET (port, hi_hstat), command); in sx_send_command()
716 return sx_busy_wait_eq (port->board, CHAN_OFFSET (port, hi_hstat), mask, newstat); in sx_send_command()
1041 memcpy_toio (port->board->base + CHAN_OFFSET(port,hi_txbuf) + tx_ip, in sx_transmit_chars()
1106 read_sx_byte (port->board, CHAN_OFFSET(port,hi_rxbuf) + rx_op), in sx_receive_chars()
1107 CHAN_OFFSET(port, hi_rxbuf)); in sx_receive_chars()
1109 port->board->base + CHAN_OFFSET(port,hi_rxbuf) + rx_op, c); in sx_receive_chars()
1803 read_sx_byte (port->board, CHAN_OFFSET (port, hi_hstat))); in sx_break()