Lines Matching refs:tx_params
115 struct reg_params *tx_params, in get_register_params() argument
124 tx_params->count = in get_register_params()
126 tx_params->size = be32_to_cpu(reg[1]) * 4; in get_register_params()
272 static void finish_session(struct snd_dice *dice, struct reg_params *tx_params, in finish_session() argument
275 stop_streams(dice, AMDTP_IN_STREAM, tx_params); in finish_session()
294 struct reg_params tx_params, rx_params; in snd_dice_stream_reserve_duplex() local
298 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
301 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
314 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
319 &tx_params); in snd_dice_stream_reserve_duplex()
394 struct reg_params tx_params, rx_params; in snd_dice_stream_start_duplex() local
403 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
412 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
419 if (i < tx_params.count) in snd_dice_stream_start_duplex()
443 err = start_streams(dice, AMDTP_IN_STREAM, rate, &tx_params); in snd_dice_stream_start_duplex()
463 if ((i < tx_params.count && in snd_dice_stream_start_duplex()
478 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
489 struct reg_params tx_params, rx_params; in snd_dice_stream_stop_duplex() local
492 if (get_register_params(dice, &tx_params, &rx_params) >= 0) { in snd_dice_stream_stop_duplex()
494 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_stop_duplex()
602 struct reg_params tx_params, rx_params; in snd_dice_stream_update_duplex() local
614 if (get_register_params(dice, &tx_params, &rx_params) == 0) { in snd_dice_stream_update_duplex()
617 stop_streams(dice, AMDTP_IN_STREAM, &tx_params); in snd_dice_stream_update_duplex()
627 struct reg_params tx_params, rx_params; in snd_dice_stream_detect_current_formats() local
657 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_detect_current_formats()
661 for (i = 0; i < tx_params.count; ++i) { in snd_dice_stream_detect_current_formats()
663 tx_params.size * i + TX_NUMBER_AUDIO, in snd_dice_stream_detect_current_formats()