Lines Matching refs:rx_params
116 struct reg_params *rx_params) in get_register_params() argument
131 rx_params->count = in get_register_params()
133 rx_params->size = be32_to_cpu(reg[1]) * 4; in get_register_params()
270 struct reg_params *rx_params) in finish_session() argument
273 stop_streams(dice, AMDTP_OUT_STREAM, rx_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()
323 &rx_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()
425 if (i < rx_params.count) in snd_dice_stream_start_duplex()
451 err = start_streams(dice, AMDTP_OUT_STREAM, rate, &rx_params); in snd_dice_stream_start_duplex()
470 (i < rx_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()
621 stop_streams(dice, AMDTP_OUT_STREAM, &rx_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()
674 for (i = 0; i < rx_params.count; ++i) { in snd_dice_stream_detect_current_formats()
676 rx_params.size * i + RX_NUMBER_AUDIO, in snd_dice_stream_detect_current_formats()