Lines Matching refs:tx_params
100 struct reg_params *tx_params, in get_register_params() argument
109 tx_params->count = in get_register_params()
111 tx_params->size = be32_to_cpu(reg[1]) * 4; in get_register_params()
254 static void finish_session(struct snd_dice *dice, struct reg_params *tx_params, in finish_session() argument
257 stop_streams(dice, AMDTP_IN_STREAM, tx_params); in finish_session()
278 struct reg_params tx_params, rx_params; in snd_dice_stream_reserve_duplex() local
282 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
285 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
298 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_reserve_duplex()
303 &tx_params); in snd_dice_stream_reserve_duplex()
383 struct reg_params tx_params, rx_params; in snd_dice_stream_start_duplex() local
392 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
401 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
408 if (i < tx_params.count) in snd_dice_stream_start_duplex()
432 err = start_streams(dice, AMDTP_IN_STREAM, rate, &tx_params); in snd_dice_stream_start_duplex()
464 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_start_duplex()
475 struct reg_params tx_params, rx_params; in snd_dice_stream_stop_duplex() local
478 if (get_register_params(dice, &tx_params, &rx_params) >= 0) in snd_dice_stream_stop_duplex()
479 finish_session(dice, &tx_params, &rx_params); in snd_dice_stream_stop_duplex()
587 struct reg_params tx_params, rx_params; in snd_dice_stream_update_duplex() local
599 if (get_register_params(dice, &tx_params, &rx_params) == 0) { in snd_dice_stream_update_duplex()
602 stop_streams(dice, AMDTP_IN_STREAM, &tx_params); in snd_dice_stream_update_duplex()
612 struct reg_params tx_params, rx_params; in snd_dice_stream_detect_current_formats() local
642 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_detect_current_formats()
646 for (i = 0; i < tx_params.count; ++i) { in snd_dice_stream_detect_current_formats()
648 tx_params.size * i + TX_NUMBER_AUDIO, in snd_dice_stream_detect_current_formats()