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()
269 static void finish_session(struct snd_dice *dice, struct reg_params *tx_params, in finish_session() argument
272 stop_streams(dice, AMDTP_IN_STREAM, tx_params); in finish_session()
293 struct reg_params tx_params, rx_params; in snd_dice_stream_reserve_duplex() local
297 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
300 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
313 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
318 &tx_params); in snd_dice_stream_reserve_duplex()
398 struct reg_params tx_params, rx_params; in snd_dice_stream_start_duplex() local
407 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
416 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
423 if (i < tx_params.count) in snd_dice_stream_start_duplex()
447 err = start_streams(dice, AMDTP_IN_STREAM, rate, &tx_params); in snd_dice_stream_start_duplex()
467 if ((i < tx_params.count && in snd_dice_stream_start_duplex()
482 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
493 struct reg_params tx_params, rx_params; in snd_dice_stream_stop_duplex() local
496 if (get_register_params(dice, &tx_params, &rx_params) >= 0) in snd_dice_stream_stop_duplex()
497 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_stop_duplex()
605 struct reg_params tx_params, rx_params; in snd_dice_stream_update_duplex() local
617 if (get_register_params(dice, &tx_params, &rx_params) == 0) { in snd_dice_stream_update_duplex()
620 stop_streams(dice, AMDTP_IN_STREAM, &tx_params); in snd_dice_stream_update_duplex()
630 struct reg_params tx_params, rx_params; in snd_dice_stream_detect_current_formats() local
660 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_detect_current_formats()
664 for (i = 0; i < tx_params.count; ++i) { in snd_dice_stream_detect_current_formats()
666 tx_params.size * i + TX_NUMBER_AUDIO, in snd_dice_stream_detect_current_formats()