Lines Matching refs:rx_mode
274 struct v4l2_ctrl *rx_mode; /* Receive mode */ member
733 static void max2175_set_eu_rx_mode(struct max2175 *ctx, u32 rx_mode) in max2175_set_eu_rx_mode() argument
735 switch (rx_mode) { in max2175_set_eu_rx_mode()
749 static void max2175_set_na_rx_mode(struct max2175 *ctx, u32 rx_mode) in max2175_set_na_rx_mode() argument
751 switch (rx_mode) { in max2175_set_na_rx_mode()
771 static int max2175_set_rx_mode(struct max2175 *ctx, u32 rx_mode) in max2175_set_rx_mode() argument
773 mxm_dbg(ctx, "set_rx_mode: %u am_hiz %u\n", rx_mode, ctx->am_hiz); in max2175_set_rx_mode()
775 max2175_set_eu_rx_mode(ctx, rx_mode); in max2175_set_rx_mode()
777 max2175_set_na_rx_mode(ctx, rx_mode); in max2175_set_rx_mode()
807 for (i = 0; i <= ctx->rx_mode->maximum; i++) { in max2175_rx_mode_from_freq()
1003 static void max2175_s_ctrl_rx_mode(struct max2175 *ctx, u32 rx_mode) in max2175_s_ctrl_rx_mode() argument
1006 max2175_set_rx_mode(ctx, rx_mode); in max2175_s_ctrl_rx_mode()
1008 mxm_dbg(ctx, "s_ctrl_rx_mode: %u curr freq %u\n", rx_mode, ctx->freq); in max2175_s_ctrl_rx_mode()
1011 if (max2175_freq_rx_mode_valid(ctx, rx_mode, ctx->freq)) in max2175_s_ctrl_rx_mode()
1015 max2175_tune_rf_freq(ctx, ctx->rx_modes[rx_mode].freq, in max2175_s_ctrl_rx_mode()
1076 u32 rx_mode; in max2175_set_freq_and_mode() local
1080 ret = max2175_rx_mode_from_freq(ctx, freq, &rx_mode); in max2175_set_freq_and_mode()
1084 mxm_dbg(ctx, "set_freq_and_mode: freq %u rx_mode %d\n", freq, rx_mode); in max2175_set_freq_and_mode()
1087 max2175_set_rx_mode(ctx, rx_mode); in max2175_set_freq_and_mode()
1088 ctx->rx_mode->cur.val = rx_mode; in max2175_set_freq_and_mode()
1112 max2175_freq_rx_mode_valid(ctx, ctx->rx_mode->cur.val, freq)) in max2175_s_frequency()
1119 ret, ctx->freq, ctx->mode_resolved, ctx->rx_mode->cur.val); in max2175_s_frequency()
1365 ctx->rx_mode = v4l2_ctrl_new_custom(hdl, in max2175_probe()
1370 ctx->rx_mode = v4l2_ctrl_new_custom(hdl, in max2175_probe()