Lines Matching refs:dice
22 int snd_dice_detect_alesis_formats(struct snd_dice *dice) in snd_dice_detect_alesis_formats() argument
29 err = snd_dice_transaction_read_tx(dice, TX_NUMBER_AUDIO, ®, in snd_dice_detect_alesis_formats()
36 memcpy(dice->tx_pcm_chs, alesis_io14_tx_pcm_chs, in snd_dice_detect_alesis_formats()
40 memcpy(dice->tx_pcm_chs, alesis_io26_tx_pcm_chs, in snd_dice_detect_alesis_formats()
46 dice->rx_pcm_chs[0][i] = 8; in snd_dice_detect_alesis_formats()
48 dice->tx_midi_ports[0] = 1; in snd_dice_detect_alesis_formats()
49 dice->rx_midi_ports[0] = 1; in snd_dice_detect_alesis_formats()
54 int snd_dice_detect_alesis_mastercontrol_formats(struct snd_dice *dice) in snd_dice_detect_alesis_mastercontrol_formats() argument
58 dice->tx_pcm_chs[0][SND_DICE_RATE_MODE_LOW] = 16; in snd_dice_detect_alesis_mastercontrol_formats()
59 dice->tx_pcm_chs[1][SND_DICE_RATE_MODE_LOW] = 12; in snd_dice_detect_alesis_mastercontrol_formats()
60 dice->tx_pcm_chs[0][SND_DICE_RATE_MODE_MIDDLE] = 12; in snd_dice_detect_alesis_mastercontrol_formats()
61 dice->tx_pcm_chs[1][SND_DICE_RATE_MODE_MIDDLE] = 4; in snd_dice_detect_alesis_mastercontrol_formats()
62 dice->tx_pcm_chs[0][SND_DICE_RATE_MODE_HIGH] = 8; in snd_dice_detect_alesis_mastercontrol_formats()
63 dice->tx_pcm_chs[1][SND_DICE_RATE_MODE_HIGH] = 0; in snd_dice_detect_alesis_mastercontrol_formats()
66 dice->rx_pcm_chs[0][i] = 6; in snd_dice_detect_alesis_mastercontrol_formats()
67 dice->rx_pcm_chs[1][i] = 0; in snd_dice_detect_alesis_mastercontrol_formats()
71 dice->tx_midi_ports[i] = 2; in snd_dice_detect_alesis_mastercontrol_formats()
72 dice->rx_midi_ports[i] = 2; in snd_dice_detect_alesis_mastercontrol_formats()