mxl111sf-phy.h (1353B)
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * mxl111sf-phy.h - driver for the MaxLinear MXL111SF 4 * 5 * Copyright (C) 2010-2014 Michael Krufky <mkrufky@linuxtv.org> 6 */ 7 8#ifndef _DVB_USB_MXL111SF_PHY_H_ 9#define _DVB_USB_MXL111SF_PHY_H_ 10 11#include "mxl111sf.h" 12 13int mxl1x1sf_soft_reset(struct mxl111sf_state *state); 14int mxl1x1sf_set_device_mode(struct mxl111sf_state *state, int mode); 15int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff); 16int mxl111sf_disable_656_port(struct mxl111sf_state *state); 17int mxl111sf_init_tuner_demod(struct mxl111sf_state *state); 18int mxl111sf_enable_usb_output(struct mxl111sf_state *state); 19int mxl111sf_config_mpeg_in(struct mxl111sf_state *state, 20 unsigned int parallel_serial, 21 unsigned int msb_lsb_1st, 22 unsigned int clock_phase, 23 unsigned int mpeg_valid_pol, 24 unsigned int mpeg_sync_pol); 25int mxl111sf_config_i2s(struct mxl111sf_state *state, 26 u8 msb_start_pos, u8 data_width); 27int mxl111sf_init_i2s_port(struct mxl111sf_state *state, u8 sample_size); 28int mxl111sf_disable_i2s_port(struct mxl111sf_state *state); 29int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff); 30int mxl111sf_idac_config(struct mxl111sf_state *state, 31 u8 control_mode, u8 current_setting, 32 u8 current_value, u8 hysteresis_value); 33 34#endif /* _DVB_USB_MXL111SF_PHY_H_ */