Lines Matching defs:cosa
113 struct cosa_data *cosa; /* Pointer to the per-card structure */ member
260 #define is_8bit(cosa) (!(cosa->datareg & 0x08)) argument
262 #define cosa_getstatus(cosa) (cosa_inb(cosa->statusreg)) argument
263 #define cosa_putstatus(cosa, stat) (cosa_outb(stat, cosa->statusreg)) argument
264 #define cosa_getdata16(cosa) (cosa_inw(cosa->datareg)) argument
265 #define cosa_getdata8(cosa) (cosa_inb(cosa->datareg)) argument
266 #define cosa_putdata16(cosa, dt) (cosa_outw(dt, cosa->datareg)) argument
267 #define cosa_putdata8(cosa, dt) (cosa_outb(dt, cosa->datareg)) argument
407 struct cosa_data *cosa; in cosa_exit() local
443 struct cosa_data *cosa = cosa_cards+nr_cards; in cosa_probe() local
787 struct cosa_data *cosa = chan->cosa; in cosa_read() local
861 struct cosa_data *cosa = chan->cosa; in cosa_write() local
935 struct cosa_data *cosa; in cosa_open() local
980 struct cosa_data *cosa; in cosa_release() local
1010 static inline int cosa_reset(struct cosa_data *cosa) in cosa_reset()
1027 static inline int cosa_download(struct cosa_data *cosa, void __user *arg) in cosa_download()
1066 static inline int cosa_readmem(struct cosa_data *cosa, void __user *arg) in cosa_readmem()
1098 static inline int cosa_start(struct cosa_data *cosa, int address) in cosa_start()
1125 static inline int cosa_getidstr(struct cosa_data *cosa, char __user *string) in cosa_getidstr()
1134 static inline int cosa_gettype(struct cosa_data *cosa, char __user *string) in cosa_gettype()
1142 static int cosa_ioctl_common(struct cosa_data *cosa, in cosa_ioctl_common()
1202 struct cosa_data *cosa; in cosa_chardev_ioctl() local
1221 struct cosa_data *cosa = chan->cosa; in cosa_enable_rx() local
1229 struct cosa_data *cosa = chan->cosa; in cosa_disable_rx() local
1243 struct cosa_data *cosa = chan->cosa; in cosa_start_tx() local
1268 static void put_driver_status(struct cosa_data *cosa) in put_driver_status()
1303 static void put_driver_status_nolock(struct cosa_data *cosa) in put_driver_status_nolock()
1336 static void cosa_kick(struct cosa_data *cosa) in cosa_kick()
1398 static int download(struct cosa_data *cosa, const char __user *microcode, int length, int address) in download()
1443 static int startmicrocode(struct cosa_data *cosa, int address) in startmicrocode()
1472 static int readmem(struct cosa_data *cosa, char __user *microcode, int length, int address) in readmem()
1517 static int cosa_reset_and_read_id(struct cosa_data *cosa, char *idstring) in cosa_reset_and_read_id()
1564 static int get_wait_data(struct cosa_data *cosa) in get_wait_data()
1592 static int put_wait_data(struct cosa_data *cosa, int data) in put_wait_data()
1620 static int puthexnumber(struct cosa_data *cosa, int number) in puthexnumber()
1676 static inline void tx_interrupt(struct cosa_data *cosa, int status) in tx_interrupt()
1811 static inline void rx_interrupt(struct cosa_data *cosa, int status) in rx_interrupt()
1898 static inline void eot_interrupt(struct cosa_data *cosa, int status) in eot_interrupt()
1949 struct cosa_data *cosa = cosa_; in cosa_interrupt() local
1996 static void debug_status_in(struct cosa_data *cosa, int status) in debug_status_in()
2022 static void debug_status_out(struct cosa_data *cosa, int status) in debug_status_out()
2035 static void debug_data_in(struct cosa_data *cosa, int data) in debug_data_in()
2040 static void debug_data_out(struct cosa_data *cosa, int data) in debug_data_out()
2045 static void debug_data_cmd(struct cosa_data *cosa, int data) in debug_data_cmd()