Lines Matching refs:rx_params
103 struct reg_params *rx_params) in get_register_params() argument
118 rx_params->count = in get_register_params()
120 rx_params->size = be32_to_cpu(reg[1]) * 4; in get_register_params()
257 struct reg_params *rx_params) in finish_session() argument
260 stop_streams(dice, AMDTP_OUT_STREAM, rx_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()
310 &rx_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()
412 if (i < rx_params.count) in snd_dice_stream_start_duplex()
438 err = start_streams(dice, AMDTP_OUT_STREAM, rate, &rx_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()
605 stop_streams(dice, AMDTP_OUT_STREAM, &rx_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()
658 for (i = 0; i < rx_params.count; ++i) { in snd_dice_stream_detect_current_formats()
660 rx_params.size * i + RX_NUMBER_AUDIO, in snd_dice_stream_detect_current_formats()