Lines Matching refs:cmd
497 static inline void snd_cmipci_write(struct cmipci *cm, unsigned int cmd, unsigned int data) in snd_cmipci_write() argument
499 outl(data, cm->iobase + cmd); in snd_cmipci_write()
502 static inline unsigned int snd_cmipci_read(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read() argument
504 return inl(cm->iobase + cmd); in snd_cmipci_read()
508 static inline void snd_cmipci_write_w(struct cmipci *cm, unsigned int cmd, unsigned short data) in snd_cmipci_write_w() argument
510 outw(data, cm->iobase + cmd); in snd_cmipci_write_w()
513 static inline unsigned short snd_cmipci_read_w(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_w() argument
515 return inw(cm->iobase + cmd); in snd_cmipci_read_w()
519 static inline void snd_cmipci_write_b(struct cmipci *cm, unsigned int cmd, unsigned char data) in snd_cmipci_write_b() argument
521 outb(data, cm->iobase + cmd); in snd_cmipci_write_b()
524 static inline unsigned char snd_cmipci_read_b(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_b() argument
526 return inb(cm->iobase + cmd); in snd_cmipci_read_b()
530 static int snd_cmipci_set_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_set_bit() argument
533 val = oval = inl(cm->iobase + cmd); in snd_cmipci_set_bit()
537 outl(val, cm->iobase + cmd); in snd_cmipci_set_bit()
541 static int snd_cmipci_clear_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_clear_bit() argument
544 val = oval = inl(cm->iobase + cmd); in snd_cmipci_clear_bit()
548 outl(val, cm->iobase + cmd); in snd_cmipci_clear_bit()
553 static int snd_cmipci_set_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) in snd_cmipci_set_bit_b() argument
556 val = oval = inb(cm->iobase + cmd); in snd_cmipci_set_bit_b()
560 outb(val, cm->iobase + cmd); in snd_cmipci_set_bit_b()
564 static int snd_cmipci_clear_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) in snd_cmipci_clear_bit_b() argument
567 val = oval = inb(cm->iobase + cmd); in snd_cmipci_clear_bit_b()
571 outb(val, cm->iobase + cmd); in snd_cmipci_clear_bit_b()
859 int cmd) in snd_cmipci_pcm_trigger() argument
870 switch (cmd) { in snd_cmipci_pcm_trigger()
945 int cmd) in snd_cmipci_playback_trigger() argument
948 return snd_cmipci_pcm_trigger(cm, &cm->channel[CM_CH_PLAY], cmd); in snd_cmipci_playback_trigger()
964 int cmd) in snd_cmipci_capture_trigger() argument
967 return snd_cmipci_pcm_trigger(cm, &cm->channel[CM_CH_CAPT], cmd); in snd_cmipci_capture_trigger()