Home
last modified time | relevance | path

Searched refs:CHAN_OFFSET (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/staging/comedi/drivers/
Dmite.h174 static inline int CHAN_OFFSET(int channel) in CHAN_OFFSET() function
192 return CHAN_OFFSET(channel) + 0x0; in MITE_CHOR()
197 return CHAN_OFFSET(channel) + 0x4; in MITE_CHCR()
202 return CHAN_OFFSET(channel) + 0x8; in MITE_TCR()
207 return CHAN_OFFSET(channel) + 0xc; in MITE_MCR()
212 return CHAN_OFFSET(channel) + 0x10; in MITE_MAR()
217 return CHAN_OFFSET(channel) + 0x14; in MITE_DCR()
222 return CHAN_OFFSET(channel) + 0x18; in MITE_DAR()
227 return CHAN_OFFSET(channel) + 0x1c; in MITE_LKCR()
232 return CHAN_OFFSET(channel) + 0x20; in MITE_LKAR()
[all …]
/linux-2.6.39/drivers/staging/generic_serial/
Dsx.c592 #define CHAN_OFFSET(port,elem) (port->ch_base + OFFSETOF (_SXCHANNEL, elem)) macro
597 write_sx_byte (port->board, CHAN_OFFSET (port, elem), val)
600 read_sx_byte (port->board, CHAN_OFFSET (port, elem))
603 write_sx_word (port->board, CHAN_OFFSET (port, elem), val)
606 read_sx_word (port->board, CHAN_OFFSET (port, elem))
695 write_sx_byte(port->board, CHAN_OFFSET(port, hi_hstat), command); in sx_send_command()
697 return sx_busy_wait_eq(port->board, CHAN_OFFSET(port, hi_hstat), mask, in sx_send_command()
1084 memcpy_toio(port->board->base + CHAN_OFFSET(port, hi_txbuf) + in sx_transmit_chars()
1153 CHAN_OFFSET(port, hi_rxbuf) + rx_op), in sx_receive_chars()
1154 CHAN_OFFSET(port, hi_rxbuf)); in sx_receive_chars()
[all …]