Lines Matching refs:tx_params
102 struct reg_params *tx_params, in get_register_params() argument
111 tx_params->count = in get_register_params()
113 tx_params->size = be32_to_cpu(reg[1]) * 4; in get_register_params()
256 static void finish_session(struct snd_dice *dice, struct reg_params *tx_params, in finish_session() argument
259 stop_streams(dice, AMDTP_IN_STREAM, tx_params); in finish_session()
280 struct reg_params tx_params, rx_params; in snd_dice_stream_reserve_duplex() local
284 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
287 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
300 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
305 &tx_params); in snd_dice_stream_reserve_duplex()
385 struct reg_params tx_params, rx_params; in snd_dice_stream_start_duplex() local
394 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
403 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
410 if (i < tx_params.count) in snd_dice_stream_start_duplex()
434 err = start_streams(dice, AMDTP_IN_STREAM, rate, &tx_params); in snd_dice_stream_start_duplex()
466 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
477 struct reg_params tx_params, rx_params; in snd_dice_stream_stop_duplex() local
480 if (get_register_params(dice, &tx_params, &rx_params) >= 0) in snd_dice_stream_stop_duplex()
481 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_stop_duplex()
589 struct reg_params tx_params, rx_params; in snd_dice_stream_update_duplex() local
601 if (get_register_params(dice, &tx_params, &rx_params) == 0) { in snd_dice_stream_update_duplex()
604 stop_streams(dice, AMDTP_IN_STREAM, &tx_params); in snd_dice_stream_update_duplex()
614 struct reg_params tx_params, rx_params; in snd_dice_stream_detect_current_formats() local
644 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_detect_current_formats()
648 for (i = 0; i < tx_params.count; ++i) { in snd_dice_stream_detect_current_formats()
650 tx_params.size * i + TX_NUMBER_AUDIO, in snd_dice_stream_detect_current_formats()