Lines Matching refs:max2175

18 #include <linux/max2175.h>
26 #include "max2175.h"
28 #define DRIVER_NAME "max2175"
263 struct max2175 {
299 static inline struct max2175 *max2175_from_sd(struct v4l2_subdev *sd)
301 return container_of(sd, struct max2175, sd);
304 static inline struct max2175 *max2175_from_ctrl_hdl(struct v4l2_ctrl_handler *h)
306 return container_of(h, struct max2175, ctrl_hdl);
316 static int max2175_read(struct max2175 *ctx, u8 idx, u8 *val)
330 static int max2175_write(struct max2175 *ctx, u8 idx, u8 val)
342 static u8 max2175_read_bits(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb)
352 static int max2175_write_bits(struct max2175 *ctx, u8 idx,
364 static int max2175_write_bit(struct max2175 *ctx, u8 idx, u8 bit, u8 newval)
370 static int max2175_poll_timeout(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb,
380 static int max2175_poll_csm_ready(struct max2175 *ctx)
416 static void max2175_i2s_enable(struct max2175 *ctx, bool enable)
427 static void max2175_set_filter_coeffs(struct max2175 *ctx, u8 m_sel,
448 static void max2175_load_fmeu_1p2(struct max2175 *ctx)
463 static void max2175_load_dab_1p2(struct max2175 *ctx)
476 static void max2175_load_fmna_1p0(struct max2175 *ctx)
484 static void max2175_load_fmna_2p0(struct max2175 *ctx)
492 static void max2175_set_bbfilter(struct max2175 *ctx)
506 static int max2175_set_csm_mode(struct max2175 *ctx,
533 static int max2175_csm_action(struct max2175 *ctx,
548 static int max2175_set_lo_freq(struct max2175 *ctx, u32 lo_freq)
628 static int max2175_set_nco_freq(struct max2175 *ctx, s32 nco_freq)
664 static int max2175_set_rf_freq_non_am_bands(struct max2175 *ctx, u64 freq,
691 static int max2175_set_rf_freq(struct max2175 *ctx, u64 freq, u32 lo_pos)
705 static int max2175_tune_rf_freq(struct max2175 *ctx, u64 freq, u32 hsls)
723 static void max2175_set_hsls(struct max2175 *ctx, u32 lo_pos)
733 static void max2175_set_eu_rx_mode(struct max2175 *ctx, u32 rx_mode)
749 static void max2175_set_na_rx_mode(struct max2175 *ctx, u32 rx_mode)
771 static int max2175_set_rx_mode(struct max2175 *ctx, u32 rx_mode)
801 static int max2175_rx_mode_from_freq(struct max2175 *ctx, u32 freq, u32 *mode)
819 static bool max2175_freq_rx_mode_valid(struct max2175 *ctx,
827 static void max2175_load_adc_presets(struct max2175 *ctx)
836 static int max2175_init_power_manager(struct max2175 *ctx)
853 static int max2175_recalibrate_adc(struct max2175 *ctx)
872 static u8 max2175_read_rom(struct max2175 *ctx, u8 row)
889 static void max2175_load_from_rom(struct max2175 *ctx)
923 static void max2175_load_full_fm_eu_1p0(struct max2175 *ctx)
934 static void max2175_load_full_fm_na_1p0(struct max2175 *ctx)
945 static int max2175_core_init(struct max2175 *ctx, u32 refout_bits)
1003 static void max2175_s_ctrl_rx_mode(struct max2175 *ctx, u32 rx_mode)
1021 struct max2175 *ctx = max2175_from_ctrl_hdl(ctrl->handler);
1039 static u32 max2175_get_lna_gain(struct max2175 *ctx)
1057 struct max2175 *ctx = max2175_from_ctrl_hdl(ctrl->handler);
1074 static int max2175_set_freq_and_mode(struct max2175 *ctx, u32 freq)
1097 struct max2175 *ctx = max2175_from_sd(sd);
1127 struct max2175 *ctx = max2175_from_sd(sd);
1142 struct max2175 *ctx = max2175_from_sd(sd);
1154 struct max2175 *ctx = max2175_from_sd(sd);
1196 * Refer to Documentation/userspace-api/media/drivers/max2175.rst for more details.
1212 * Refer to Documentation/userspace-api/media/drivers/max2175.rst for more details.
1228 * Refer to Documentation/userspace-api/media/drivers/max2175.rst for more details.
1282 struct max2175 *ctx;
1409 struct max2175 *ctx = max2175_from_sd(sd);
1422 { .compatible = "maxim,max2175", },