Lines Matching refs:rx_params
117 struct reg_params *rx_params) in get_register_params() argument
132 rx_params->count = in get_register_params()
134 rx_params->size = be32_to_cpu(reg[1]) * 4; in get_register_params()
323 struct reg_params tx_params, rx_params; in start_duplex_streams() local
327 err = get_register_params(dice, &tx_params, &rx_params); in start_duplex_streams()
333 stop_streams(dice, AMDTP_OUT_STREAM, &rx_params); in start_duplex_streams()
344 err = get_register_params(dice, &tx_params, &rx_params); in start_duplex_streams()
352 err = start_streams(dice, AMDTP_OUT_STREAM, rate, &rx_params); in start_duplex_streams()
366 (i < rx_params.count && in start_duplex_streams()
377 stop_streams(dice, AMDTP_OUT_STREAM, &rx_params); in start_duplex_streams()
447 struct reg_params tx_params, rx_params; in snd_dice_stream_stop_duplex() local
454 if (get_register_params(dice, &tx_params, &rx_params) == 0) { in snd_dice_stream_stop_duplex()
456 stop_streams(dice, AMDTP_OUT_STREAM, &rx_params); in snd_dice_stream_stop_duplex()
553 struct reg_params tx_params, rx_params; in snd_dice_stream_update_duplex() local
565 if (get_register_params(dice, &tx_params, &rx_params) == 0) { in snd_dice_stream_update_duplex()
567 stop_streams(dice, AMDTP_OUT_STREAM, &rx_params); in snd_dice_stream_update_duplex()
576 struct reg_params tx_params, rx_params; in snd_dice_stream_detect_current_formats() local
606 err = get_register_params(dice, &tx_params, &rx_params); in snd_dice_stream_detect_current_formats()
620 for (i = 0; i < rx_params.count; ++i) { in snd_dice_stream_detect_current_formats()
622 rx_params.size * i + RX_NUMBER_AUDIO, in snd_dice_stream_detect_current_formats()