34 #include "../comedidev.h"
83 & ~(
u8) (data[0] & 0x0000FF))
84 | (
u8) (data[1] & 0x0000FF),
CSCDR);
88 & ~(
u8) ((data[0] & 0x00FF00) >> 8))
89 | (
u8) ((data[1] & 0x00FF00) >> 8),
CSCDR);
93 & ~(
u8) ((data[0] & 0x0F0000) >> 12))
94 | (
u8) ((data[1] & 0x0F0000) >> 12),
CSCDR);
103 data[0] += ((
inb(
CSCDR) & 0xF0) << 12);
144 if ((chan >= 0) && (chan <= 7)) {
147 }
else if ((chan >= 8) && (chan <= 15)) {
151 }
else if ((chan >= 16) && (chan <= 19)) {
164 register_buffer |= (1 << chan);
166 register_buffer &= ~(1 << chan);
222 static const struct dnp_board dnp_boards[] = {
232 .driver_name =
"ssv_dnp",
234 .attach = dnp_attach,
235 .detach = dnp_detach,
236 .board_name = &dnp_boards[0].
name,