Lines Matching refs:dice
50 static inline int read_transaction(struct snd_dice *dice, u64 section_addr, in read_transaction() argument
53 return snd_fw_transaction(dice->unit, in read_transaction()
59 static int read_stream_entries(struct snd_dice *dice, u64 section_addr, in read_stream_entries() argument
72 err = read_transaction(dice, section_addr, in read_stream_entries()
84 static int detect_stream_formats(struct snd_dice *dice, u64 section_addr) in detect_stream_formats() argument
107 if (!(cap & dice->clock_caps)) in detect_stream_formats()
112 err = read_transaction(dice, section_addr, in detect_stream_formats()
120 err = read_stream_entries(dice, section_addr, base_offset, in detect_stream_formats()
122 dice->tx_pcm_chs, in detect_stream_formats()
123 dice->tx_midi_ports); in detect_stream_formats()
129 err = read_stream_entries(dice, section_addr, base_offset, in detect_stream_formats()
131 mode, dice->rx_pcm_chs, in detect_stream_formats()
132 dice->rx_midi_ports); in detect_stream_formats()
140 int snd_dice_detect_extension_formats(struct snd_dice *dice) in snd_dice_detect_extension_formats() argument
151 err = snd_fw_transaction(dice->unit, TCODE_READ_BLOCK_REQUEST, in snd_dice_detect_extension_formats()
171 err = detect_stream_formats(dice, section_addr); in snd_dice_detect_extension_formats()