Home
last modified time | relevance | path

Searched defs:state (Results 1 – 200 of 2657) sorted by relevance

12345678910>>...14

/linux-4.1.27/drivers/media/pci/bt8xx/
Ddst.c76 static void dst_packsize(struct dst_state *state, int psize) in dst_packsize()
84 static int dst_gpio_outb(struct dst_state *state, u32 mask, u32 enbb, in dst_gpio_outb()
115 static int dst_gpio_inb(struct dst_state *state, u8 *result) in dst_gpio_inb()
130 int rdc_reset_state(struct dst_state *state) in rdc_reset_state()
148 static int rdc_8820_reset(struct dst_state *state) in rdc_8820_reset()
164 static int dst_pio_enable(struct dst_state *state) in dst_pio_enable()
175 int dst_pio_disable(struct dst_state *state) in dst_pio_disable()
188 int dst_wait_dst_ready(struct dst_state *state, u8 delay_mode) in dst_wait_dst_ready()
210 int dst_error_recovery(struct dst_state *state) in dst_error_recovery()
222 int dst_error_bailout(struct dst_state *state) in dst_error_bailout()
[all …]
Ddst_ca.c90 static int dst_ci_command(struct dst_state* state, u8 * data, u8 *ca_string, u8 len, int read) in dst_ci_command()
132 static int dst_put_ci(struct dst_state *state, u8 *data, int len, u8 *ca_string, int read) in dst_put_ci()
154 static int ca_get_app_info(struct dst_state *state) in ca_get_app_info()
192 static int ca_get_ca_info(struct dst_state *state) in ca_get_ca_info()
236 static int ca_get_slot_caps(struct dst_state *state, struct ca_caps *p_ca_caps, void __user *arg) in ca_get_slot_caps()
269 static int ca_get_slot_descr(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg) in ca_get_slot_descr()
275 static int ca_get_slot_info(struct dst_state *state, struct ca_slot_info *p_ca_slot_info, void __us… in ca_get_slot_info()
315 static int ca_get_message(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg) in ca_get_message()
351 static int handle_dst_tag(struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_b… in handle_dst_tag()
379 static int write_to_8820(struct dst_state *state, struct ca_msg *hw_buffer, u8 length, u8 reply) in write_to_8820()
[all …]
/linux-4.1.27/drivers/media/dvb-frontends/
Dtda8083.c61 static int tda8083_writereg (struct tda8083_state* state, u8 reg, u8 data) in tda8083_writereg()
76 static int tda8083_readregs (struct tda8083_state* state, u8 reg1, u8 *b, u8 len) in tda8083_readregs()
91 static inline u8 tda8083_readreg (struct tda8083_state* state, u8 reg) in tda8083_readreg()
100 static int tda8083_set_inversion (struct tda8083_state* state, fe_spectral_inversion_t inversion) in tda8083_set_inversion()
109 static int tda8083_set_fec (struct tda8083_state* state, fe_code_rate_t fec) in tda8083_set_fec()
120 static fe_code_rate_t tda8083_get_fec (struct tda8083_state* state) in tda8083_get_fec()
131 static int tda8083_set_symbolrate (struct tda8083_state* state, u32 srate) in tda8083_set_symbolrate()
170 static void tda8083_wait_diseqc_fifo (struct tda8083_state* state, int timeout) in tda8083_wait_diseqc_fifo()
181 static int tda8083_set_tone (struct tda8083_state* state, fe_sec_tone_mode_t tone) in tda8083_set_tone()
195 static int tda8083_set_voltage (struct tda8083_state* state, fe_sec_voltage_t voltage) in tda8083_set_voltage()
[all …]
Dlgdt3306a.c117 static int lgdt3306a_write_reg(struct lgdt3306a_state *state, u16 reg, u8 val) in lgdt3306a_write_reg()
141 static int lgdt3306a_read_reg(struct lgdt3306a_state *state, u16 reg, u8 *val) in lgdt3306a_read_reg()
167 #define read_reg(state, reg) \ argument
176 static int lgdt3306a_set_reg_bit(struct lgdt3306a_state *state, in lgdt3306a_set_reg_bit()
199 static int lgdt3306a_soft_reset(struct lgdt3306a_state *state) in lgdt3306a_soft_reset()
217 static int lgdt3306a_mpeg_mode(struct lgdt3306a_state *state, in lgdt3306a_mpeg_mode()
254 static int lgdt3306a_mpeg_mode_polarity(struct lgdt3306a_state *state, in lgdt3306a_mpeg_mode_polarity()
281 static int lgdt3306a_mpeg_tristate(struct lgdt3306a_state *state, in lgdt3306a_mpeg_tristate()
329 struct lgdt3306a_state *state = fe->demodulator_priv; in lgdt3306a_ts_bus_ctrl() local
337 static int lgdt3306a_power(struct lgdt3306a_state *state, in lgdt3306a_power()
[all …]
Dnxt6000.c44 static int nxt6000_writereg(struct nxt6000_state* state, u8 reg, u8 data) in nxt6000_writereg()
56 static u8 nxt6000_readreg(struct nxt6000_state* state, u8 reg) in nxt6000_readreg()
74 static void nxt6000_reset(struct nxt6000_state* state) in nxt6000_reset()
84 static int nxt6000_set_bandwidth(struct nxt6000_state *state, u32 bandwidth) in nxt6000_set_bandwidth()
112 static int nxt6000_set_guard_interval(struct nxt6000_state* state, fe_guard_interval_t guard_interv… in nxt6000_set_guard_interval()
134 static int nxt6000_set_inversion(struct nxt6000_state* state, fe_spectral_inversion_t inversion) in nxt6000_set_inversion()
150 static int nxt6000_set_transmission_mode(struct nxt6000_state* state, fe_transmit_mode_t transmissi… in nxt6000_set_transmission_mode()
177 struct nxt6000_state* state = fe->demodulator_priv; in nxt6000_setup() local
210 static void nxt6000_dump_status(struct nxt6000_state *state) in nxt6000_dump_status()
422 struct nxt6000_state* state = fe->demodulator_priv; in nxt6000_read_status() local
[all …]
Ds5h1420.c79 static u8 s5h1420_readreg(struct s5h1420_state *state, u8 reg) in s5h1420_readreg()
110 static int s5h1420_writereg (struct s5h1420_state* state, u8 reg, u8 data) in s5h1420_writereg()
129 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_set_voltage() local
154 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_set_tone() local
176 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_send_master_cmd() local
221 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_recv_slave_reply() local
275 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_send_burst() local
310 static fe_status_t s5h1420_get_status_bits(struct s5h1420_state* state) in s5h1420_get_status_bits()
333 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_read_status() local
433 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_read_ber() local
[all …]
Ddrxk_hard.c59 static bool is_dvbt(struct drxk_state *state) in is_dvbt()
64 static bool is_qam(struct drxk_state *state) in is_qam()
218 static int drxk_i2c_lock(struct drxk_state *state) in drxk_i2c_lock()
226 static void drxk_i2c_unlock(struct drxk_state *state) in drxk_i2c_unlock()
235 static int drxk_i2c_transfer(struct drxk_state *state, struct i2c_msg *msgs, in drxk_i2c_transfer()
244 static int i2c_read1(struct drxk_state *state, u8 adr, u8 *val) in i2c_read1()
253 static int i2c_write(struct drxk_state *state, u8 adr, u8 *data, int len) in i2c_write()
276 static int i2c_read(struct drxk_state *state, in i2c_read()
310 static int read16_flags(struct drxk_state *state, u32 reg, u16 *data, u8 flags) in read16_flags()
339 static int read16(struct drxk_state *state, u32 reg, u16 *data) in read16()
[all …]
Dstv0297.c51 static int stv0297_writereg(struct stv0297_state *state, u8 reg, u8 data) in stv0297_writereg()
66 static int stv0297_readreg(struct stv0297_state *state, u8 reg) in stv0297_readreg()
95 static int stv0297_writereg_mask(struct stv0297_state *state, u8 reg, u8 mask, u8 data) in stv0297_writereg_mask()
107 static int stv0297_readregs(struct stv0297_state *state, u8 reg1, u8 * b, u8 len) in stv0297_readregs()
135 static u32 stv0297_get_symbolrate(struct stv0297_state *state) in stv0297_get_symbolrate()
150 static void stv0297_set_symbolrate(struct stv0297_state *state, u32 srate) in stv0297_set_symbolrate()
164 static void stv0297_set_sweeprate(struct stv0297_state *state, short fshift, long symrate) in stv0297_set_sweeprate()
184 static void stv0297_set_carrieroffset(struct stv0297_state *state, long offset) in stv0297_set_carrieroffset()
219 static void stv0297_set_initialdemodfreq(struct stv0297_state *state, long freq) in stv0297_set_initialdemodfreq()
236 static int stv0297_set_qam(struct stv0297_state *state, fe_modulation_t modulation) in stv0297_set_qam()
[all …]
Dstv0299.c81 static int stv0299_writeregI (struct stv0299_state* state, u8 reg, u8 data) in stv0299_writeregI()
98 struct stv0299_state* state = fe->demodulator_priv; in stv0299_write() local
106 static u8 stv0299_readreg (struct stv0299_state* state, u8 reg) in stv0299_readreg()
123 static int stv0299_readregs (struct stv0299_state* state, u8 reg1, u8 *b, u8 len) in stv0299_readregs()
137 static int stv0299_set_FEC (struct stv0299_state* state, fe_code_rate_t fec) in stv0299_set_FEC()
173 static fe_code_rate_t stv0299_get_fec (struct stv0299_state* state) in stv0299_get_fec()
190 static int stv0299_wait_diseqc_fifo (struct stv0299_state* state, int timeout) in stv0299_wait_diseqc_fifo()
207 static int stv0299_wait_diseqc_idle (struct stv0299_state* state, int timeout) in stv0299_wait_diseqc_idle()
226 struct stv0299_state* state = fe->demodulator_priv; in stv0299_set_symbolrate() local
242 static int stv0299_get_symbolrate (struct stv0299_state* state) in stv0299_get_symbolrate()
[all …]
Dstb0899_drv.c225 static int _stb0899_read_reg(struct stb0899_state *state, unsigned int reg) in _stb0899_read_reg()
262 int stb0899_read_reg(struct stb0899_state *state, unsigned int reg) in stb0899_read_reg()
279 u32 _stb0899_read_s2reg(struct stb0899_state *state, in _stb0899_read_s2reg()
379 int stb0899_write_s2reg(struct stb0899_state *state, in stb0899_write_s2reg()
452 int stb0899_read_regs(struct stb0899_state *state, unsigned int reg, u8 *buf, u32 count) in stb0899_read_regs()
503 int stb0899_write_regs(struct stb0899_state *state, unsigned int reg, u8 *data, u32 count) in stb0899_write_regs()
553 int stb0899_write_reg(struct stb0899_state *state, unsigned int reg, u8 data) in stb0899_write_reg()
563 static u32 stb0899_get_mclk(struct stb0899_state *state) in stb0899_get_mclk()
580 static void stb0899_set_mclk(struct stb0899_state *state, u32 Mclk) in stb0899_set_mclk()
595 static int stb0899_postproc(struct stb0899_state *state, u8 ctl, int enable) in stb0899_postproc()
[all …]
Dlg2160.c67 static int lg216x_write_reg(struct lg216x_state *state, u16 reg, u8 val) in lg216x_write_reg()
91 static int lg216x_read_reg(struct lg216x_state *state, u16 reg, u8 *val) in lg216x_read_reg()
122 static int lg216x_write_regs(struct lg216x_state *state, in lg216x_write_regs()
137 static int lg216x_set_reg_bit(struct lg216x_state *state, in lg216x_set_reg_bit()
162 struct lg216x_state *state = fe->demodulator_priv; in lg216x_i2c_gate_ctrl() local
177 static int lg216x_soft_reset(struct lg216x_state *state) in lg216x_soft_reset()
197 static int lg216x_initialize(struct lg216x_state *state) in lg216x_initialize()
250 static int lg216x_set_if(struct lg216x_state *state) in lg216x_set_if()
274 static int lg2160_agc_fix(struct lg216x_state *state, in lg2160_agc_fix()
316 static int lg2160_agc_polarity(struct lg216x_state *state, in lg2160_agc_polarity()
[all …]
Dcx22700.c70 static int cx22700_writereg (struct cx22700_state* state, u8 reg, u8 data) in cx22700_writereg()
87 static int cx22700_readreg (struct cx22700_state* state, u8 reg) in cx22700_readreg()
104 static int cx22700_set_inversion (struct cx22700_state* state, int inversion) in cx22700_set_inversion()
124 static int cx22700_set_tps(struct cx22700_state *state, in cx22700_set_tps()
191 static int cx22700_get_tps(struct cx22700_state *state, in cx22700_get_tps()
238 { struct cx22700_state* state = fe->demodulator_priv; in cx22700_init() local
258 struct cx22700_state* state = fe->demodulator_priv; in cx22700_read_status() local
286 struct cx22700_state* state = fe->demodulator_priv; in cx22700_read_ber() local
296 struct cx22700_state* state = fe->demodulator_priv; in cx22700_read_signal_strength() local
307 struct cx22700_state* state = fe->demodulator_priv; in cx22700_read_snr() local
[all …]
Dau8522_decoder.c187 static void setup_vbi(struct au8522_state *state, int aud_input) in setup_vbi()
223 static void setup_decoder_defaults(struct au8522_state *state, bool is_svideo) in setup_decoder_defaults()
355 static void au8522_setup_cvbs_mode(struct au8522_state *state, u8 input_mode) in au8522_setup_cvbs_mode()
375 static void au8522_setup_cvbs_tuner_mode(struct au8522_state *state, in au8522_setup_cvbs_tuner_mode()
401 static void au8522_setup_svideo_mode(struct au8522_state *state, in au8522_setup_svideo_mode()
424 static void disable_audio_input(struct au8522_state *state) in disable_audio_input()
438 static void set_audio_input(struct au8522_state *state) in set_audio_input()
494 struct au8522_state *state = in au8522_s_ctrl() local
531 struct au8522_state *state = to_state(sd); in au8522_g_register() local
540 struct au8522_state *state = to_state(sd); in au8522_s_register() local
[all …]
Dves1x93.c95 static int ves1x93_writereg (struct ves1x93_state* state, u8 reg, u8 data) in ves1x93_writereg()
109 static u8 ves1x93_readreg (struct ves1x93_state* state, u8 reg) in ves1x93_readreg()
124 static int ves1x93_clr_bit (struct ves1x93_state* state) in ves1x93_clr_bit()
133 static int ves1x93_set_inversion (struct ves1x93_state* state, fe_spectral_inversion_t inversion) in ves1x93_set_inversion()
159 static int ves1x93_set_fec (struct ves1x93_state* state, fe_code_rate_t fec) in ves1x93_set_fec()
169 static fe_code_rate_t ves1x93_get_fec (struct ves1x93_state* state) in ves1x93_get_fec()
174 static int ves1x93_set_symbolrate (struct ves1x93_state* state, u32 srate) in ves1x93_set_symbolrate()
266 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_init() local
286 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_set_voltage() local
302 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_read_status() local
[all …]
Dcx24110.c116 static int cx24110_writereg (struct cx24110_state* state, int reg, int data) in cx24110_writereg()
131 static int cx24110_readreg (struct cx24110_state* state, u8 reg) in cx24110_readreg()
146 static int cx24110_set_inversion (struct cx24110_state* state, fe_spectral_inversion_t inversion) in cx24110_set_inversion()
180 static int cx24110_set_fec(struct cx24110_state* state, fe_code_rate_t fec) in cx24110_set_fec()
223 static fe_code_rate_t cx24110_get_fec (struct cx24110_state* state) in cx24110_get_fec()
239 static int cx24110_set_symbolrate (struct cx24110_state* state, u32 srate) in cx24110_set_symbolrate()
313 struct cx24110_state *state = fe->demodulator_priv; in _cx24110_pll_write() local
355 struct cx24110_state *state = fe->demodulator_priv; in cx24110_initfe() local
370 struct cx24110_state *state = fe->demodulator_priv; in cx24110_set_voltage() local
385 struct cx24110_state *state = fe->demodulator_priv; in cx24110_diseqc_send_burst() local
[all …]
Dtda10086.c52 static int tda10086_write_byte(struct tda10086_state *state, int reg, int data) in tda10086_write_byte()
68 static int tda10086_read_byte(struct tda10086_state *state, int reg) in tda10086_read_byte()
89 static int tda10086_write_mask(struct tda10086_state *state, int reg, int mask, int data) in tda10086_write_mask()
108 struct tda10086_state* state = fe->demodulator_priv; in tda10086_init() local
176 static void tda10086_diseqc_wait(struct tda10086_state *state) in tda10086_diseqc_wait()
190 struct tda10086_state* state = fe->demodulator_priv; in tda10086_set_tone() local
214 struct tda10086_state* state = fe->demodulator_priv; in tda10086_send_master_cmd() local
243 struct tda10086_state* state = fe->demodulator_priv; in tda10086_send_burst() local
269 static int tda10086_set_inversion(struct tda10086_state *state, in tda10086_set_inversion()
294 static int tda10086_set_symbol_rate(struct tda10086_state *state, in tda10086_set_symbol_rate()
[all …]
Ddib7000m.c72 static u16 dib7000m_read_word(struct dib7000m_state *state, u16 reg) in dib7000m_read_word()
103 static int dib7000m_write_word(struct dib7000m_state *state, u16 reg, u16 val) in dib7000m_write_word()
128 static void dib7000m_write_tab(struct dib7000m_state *state, u16 *buf) in dib7000m_write_tab()
147 static int dib7000m_set_output_mode(struct dib7000m_state *state, int mode) in dib7000m_set_output_mode()
205 static void dib7000m_set_power_mode(struct dib7000m_state *state, enum dib7000m_power_mode mode) in dib7000m_set_power_mode()
257 static int dib7000m_set_adc_state(struct dib7000m_state *state, enum dibx000_adc_states no) in dib7000m_set_adc_state()
312 static int dib7000m_set_bandwidth(struct dib7000m_state *state, u32 bw) in dib7000m_set_bandwidth()
340 struct dib7000m_state *state = demod->demodulator_priv; in dib7000m_set_diversity_in() local
361 static int dib7000m_sad_calib(struct dib7000m_state *state) in dib7000m_sad_calib()
378 static void dib7000m_reset_pll_common(struct dib7000m_state *state, const struct dibx000_bandwidth_… in dib7000m_reset_pll_common()
[all …]
Dstv090x.c695 static int stv090x_read_reg(struct stv090x_state *state, unsigned int reg) in stv090x_read_reg()
724 static int stv090x_write_regs(struct stv090x_state *state, unsigned int reg, u8 *data, u32 count) in stv090x_write_regs()
762 static int stv090x_write_reg(struct stv090x_state *state, unsigned int reg, u8 data) in stv090x_write_reg()
767 static int stv090x_i2c_gate_ctrl(struct stv090x_state *state, int enable) in stv090x_i2c_gate_ctrl()
818 static void stv090x_get_lock_tmg(struct stv090x_state *state) in stv090x_get_lock_tmg()
865 static int stv090x_set_srate(struct stv090x_state *state, u32 srate) in stv090x_set_srate()
891 static int stv090x_set_max_srate(struct stv090x_state *state, u32 clk, u32 srate) in stv090x_set_max_srate()
925 static int stv090x_set_min_srate(struct stv090x_state *state, u32 clk, u32 srate) in stv090x_set_min_srate()
971 static int stv090x_set_vit_thacq(struct stv090x_state *state) in stv090x_set_vit_thacq()
991 static int stv090x_set_vit_thtracq(struct stv090x_state *state) in stv090x_set_vit_thtracq()
[all …]
Ddib3000mc.c50 static u16 dib3000mc_read_word(struct dib3000mc_state *state, u16 reg) in dib3000mc_read_word()
65 static int dib3000mc_write_word(struct dib3000mc_state *state, u16 reg, u16 val) in dib3000mc_write_word()
77 static int dib3000mc_identify(struct dib3000mc_state *state) in dib3000mc_identify()
97 static int dib3000mc_set_timing(struct dib3000mc_state *state, s16 nfft, u32 bw, u8 update_offset) in dib3000mc_set_timing()
131 static int dib3000mc_setup_pwm_state(struct dib3000mc_state *state) in dib3000mc_setup_pwm_state()
153 static int dib3000mc_set_output_mode(struct dib3000mc_state *state, int mode) in dib3000mc_set_output_mode()
214 static int dib3000mc_set_bandwidth(struct dib3000mc_state *state, u32 bw) in dib3000mc_set_bandwidth()
274 static void dib3000mc_set_impulse_noise(struct dib3000mc_state *state, u8 mode, s16 nfft) in dib3000mc_set_impulse_noise()
294 struct dib3000mc_state *state = demod->demodulator_priv; in dib3000mc_init() local
414 struct dib3000mc_state *state = demod->demodulator_priv; in dib3000mc_sleep() local
[all …]
Dsp8870.c66 static int sp8870_writereg (struct sp8870_state* state, u16 reg, u16 data) in sp8870_writereg()
80 static int sp8870_readreg (struct sp8870_state* state, u16 reg) in sp8870_readreg()
98 static int sp8870_firmware_upload (struct sp8870_state* state, const struct firmware *fw) in sp8870_firmware_upload()
145 static void sp8870_microcontroller_stop (struct sp8870_state* state) in sp8870_microcontroller_stop()
154 static void sp8870_microcontroller_start (struct sp8870_state* state) in sp8870_microcontroller_start()
166 static int sp8870_read_data_valid_signal(struct sp8870_state* state) in sp8870_read_data_valid_signal()
242 static int sp8870_wake_up(struct sp8870_state* state) in sp8870_wake_up()
251 struct sp8870_state* state = fe->demodulator_priv; in sp8870_set_frontend_parameters() local
306 struct sp8870_state* state = fe->demodulator_priv; in sp8870_init() local
355 struct sp8870_state* state = fe->demodulator_priv; in sp8870_read_status() local
[all …]
Dl64781.c52 static int l64781_writereg (struct l64781_state* state, u8 reg, u8 data) in l64781_writereg()
65 static int l64781_readreg (struct l64781_state* state, u8 reg) in l64781_readreg()
80 static void apply_tps (struct l64781_state* state) in apply_tps()
94 static void reset_afc (struct l64781_state* state) in reset_afc()
111 static int reset_and_configure (struct l64781_state* state) in reset_and_configure()
123 struct l64781_state* state = fe->demodulator_priv; in apply_frontend_param() local
249 struct l64781_state* state = fe->demodulator_priv; in get_frontend() local
364 struct l64781_state* state = fe->demodulator_priv; in l64781_read_status() local
393 struct l64781_state* state = fe->demodulator_priv; in l64781_read_ber() local
405 struct l64781_state* state = fe->demodulator_priv; in l64781_read_signal_strength() local
[all …]
Dcx22702.c85 static int cx22702_writereg(struct cx22702_state *state, u8 reg, u8 data) in cx22702_writereg()
105 static u8 cx22702_readreg(struct cx22702_state *state, u8 reg) in cx22702_readreg()
127 static int cx22702_set_inversion(struct cx22702_state *state, int inversion) in cx22702_set_inversion()
148 static int cx22702_get_tps(struct cx22702_state *state, in cx22702_get_tps()
250 struct cx22702_state *state = fe->demodulator_priv; in cx22702_i2c_gate_ctrl() local
267 struct cx22702_state *state = fe->demodulator_priv; in cx22702_set_tps() local
438 struct cx22702_state *state = fe->demodulator_priv; in cx22702_init() local
457 struct cx22702_state *state = fe->demodulator_priv; in cx22702_read_status() local
486 struct cx22702_state *state = fe->demodulator_priv; in cx22702_read_ber() local
504 struct cx22702_state *state = fe->demodulator_priv; in cx22702_read_signal_strength() local
[all …]
Dnxt200x.c72 static int i2c_writebytes (struct nxt200x_state* state, u8 addr, u8 *buf, u8 len) in i2c_writebytes()
85 static int i2c_readbytes(struct nxt200x_state *state, u8 addr, u8 *buf, u8 len) in i2c_readbytes()
98 static int nxt200x_writebytes (struct nxt200x_state* state, u8 reg, in nxt200x_writebytes()
122 static int nxt200x_readbytes(struct nxt200x_state *state, u8 reg, u8 *buf, u8 len) in nxt200x_readbytes()
155 static int nxt200x_writereg_multibyte (struct nxt200x_state* state, u8 reg, u8* data, u8 len) in nxt200x_writereg_multibyte()
215 static int nxt200x_readreg_multibyte (struct nxt200x_state* state, u8 reg, u8* data, u8 len) in nxt200x_readreg_multibyte()
263 static void nxt200x_microcontroller_stop (struct nxt200x_state* state) in nxt200x_microcontroller_stop()
297 static void nxt200x_microcontroller_start (struct nxt200x_state* state) in nxt200x_microcontroller_start()
306 static void nxt2004_microcontroller_init (struct nxt200x_state* state) in nxt2004_microcontroller_init()
337 static int nxt200x_writetuner (struct nxt200x_state* state, u8* data) in nxt200x_writetuner()
[all …]
Dmt312.c63 static int mt312_read(struct mt312_state *state, const enum mt312_reg_addr reg, in mt312_read()
97 static int mt312_write(struct mt312_state *state, const enum mt312_reg_addr reg, in mt312_write()
136 static inline int mt312_readreg(struct mt312_state *state, in mt312_readreg()
142 static inline int mt312_writereg(struct mt312_state *state, in mt312_writereg()
153 static int mt312_reset(struct mt312_state *state, const u8 full) in mt312_reset()
158 static int mt312_get_inversion(struct mt312_state *state, in mt312_get_inversion()
174 static int mt312_get_symbol_rate(struct mt312_state *state, u32 *sr) in mt312_get_symbol_rate()
228 static int mt312_get_code_rate(struct mt312_state *state, fe_code_rate_t *cr) in mt312_get_code_rate()
248 struct mt312_state *state = fe->demodulator_priv; in mt312_initfe() local
349 struct mt312_state *state = fe->demodulator_priv; in mt312_send_master_cmd() local
[all …]
Dsp887x.c39 static int i2c_writebytes (struct sp887x_state* state, u8 *buf, u8 len) in i2c_writebytes()
53 static int sp887x_writereg (struct sp887x_state* state, u16 reg, u16 data) in sp887x_writereg()
76 static int sp887x_readreg (struct sp887x_state* state, u16 reg) in sp887x_readreg()
92 static void sp887x_microcontroller_stop (struct sp887x_state* state) in sp887x_microcontroller_stop()
102 static void sp887x_microcontroller_start (struct sp887x_state* state) in sp887x_microcontroller_start()
112 static void sp887x_setup_agc (struct sp887x_state* state) in sp887x_setup_agc()
139 struct sp887x_state* state = fe->demodulator_priv; in sp887x_initial_setup() local
305 static void sp887x_correct_offsets (struct sp887x_state* state, in sp887x_correct_offsets()
352 struct sp887x_state* state = fe->demodulator_priv; in sp887x_setup_frontend_parameters() local
421 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_status() local
[all …]
Dau8522_common.c42 int au8522_writereg(struct au8522_state *state, u16 reg, u8 data) in au8522_writereg()
60 u8 au8522_readreg(struct au8522_state *state, u16 reg) in au8522_readreg()
83 struct au8522_state *state = fe->demodulator_priv; in au8522_i2c_gate_ctrl() local
104 struct au8522_state *state = fe->demodulator_priv; in au8522_analog_i2c_gate_ctrl() local
117 int au8522_get_state(struct au8522_state **state, struct i2c_adapter *i2c, in au8522_get_state()
132 void au8522_release_state(struct au8522_state *state) in au8522_release_state()
141 static int au8522_led_gpio_enable(struct au8522_state *state, int onoff) in au8522_led_gpio_enable()
171 int au8522_led_ctrl(struct au8522_state *state, int led) in au8522_led_ctrl()
228 struct au8522_state *state = fe->demodulator_priv; in au8522_init() local
248 struct au8522_state *state = fe->demodulator_priv; in au8522_sleep() local
Dtda10021.c72 static int _tda10021_writereg (struct tda10021_state* state, u8 reg, u8 data) in _tda10021_writereg()
88 static u8 tda10021_readreg (struct tda10021_state* state, u8 reg) in tda10021_readreg()
105 static int lock_tuner(struct tda10021_state* state) in lock_tuner()
119 static int unlock_tuner(struct tda10021_state* state) in unlock_tuner()
132 static int tda10021_setup_reg0 (struct tda10021_state* state, u8 reg0, in tda10021_setup_reg0()
149 static int tda10021_set_symbolrate (struct tda10021_state* state, u32 symbolrate) in tda10021_set_symbolrate()
204 struct tda10021_state* state = fe->demodulator_priv; in tda10021_init() local
238 struct tda10021_state* state = fe->demodulator_priv; in tda10021_set_parameters() local
313 struct tda10021_state* state = fe->demodulator_priv; in tda10021_read_status() local
338 struct tda10021_state* state = fe->demodulator_priv; in tda10021_read_ber() local
[all …]
Dstv0288.c63 static int stv0288_writeregI(struct stv0288_state *state, u8 reg, u8 data) in stv0288_writeregI()
85 struct stv0288_state *state = fe->demodulator_priv; in stv0288_write() local
93 static u8 stv0288_readreg(struct stv0288_state *state, u8 reg) in stv0288_readreg()
123 struct stv0288_state *state = fe->demodulator_priv; in stv0288_set_symbolrate() local
158 struct stv0288_state *state = fe->demodulator_priv; in stv0288_send_diseqc_msg() local
179 struct stv0288_state *state = fe->demodulator_priv; in stv0288_send_diseqc_burst() local
198 struct stv0288_state *state = fe->demodulator_priv; in stv0288_set_tone() local
337 struct stv0288_state *state = fe->demodulator_priv; in stv0288_init() local
366 struct stv0288_state *state = fe->demodulator_priv; in stv0288_read_status() local
389 struct stv0288_state *state = fe->demodulator_priv; in stv0288_read_ber() local
[all …]
Dcx24123.c245 static int cx24123_i2c_writereg(struct cx24123_state *state, in cx24123_i2c_writereg()
266 static int cx24123_i2c_readreg(struct cx24123_state *state, u8 i2c_addr, u8 reg) in cx24123_i2c_readreg()
287 #define cx24123_readreg(state, reg) \ argument
289 #define cx24123_writereg(state, reg, val) \ argument
292 static int cx24123_set_inversion(struct cx24123_state *state, in cx24123_set_inversion()
320 static int cx24123_get_inversion(struct cx24123_state *state, in cx24123_get_inversion()
338 static int cx24123_set_fec(struct cx24123_state *state, fe_code_rate_t fec) in cx24123_set_fec()
400 static int cx24123_get_fec(struct cx24123_state *state, fe_code_rate_t *fec) in cx24123_get_fec()
454 static int cx24123_set_symbolrate(struct cx24123_state *state, u32 srate) in cx24123_set_symbolrate()
518 struct cx24123_state *state = fe->demodulator_priv; in cx24123_pll_calculate() local
[all …]
Ddib3000mb.c53 static int dib3000_read_reg(struct dib3000_state *state, u16 reg) in dib3000_read_reg()
71 static int dib3000_write_reg(struct dib3000_state *state, u16 reg, u16 val) in dib3000_write_reg()
119 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_set_frontend() local
378 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_fe_init() local
456 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_get_frontend() local
616 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_read_status() local
648 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_read_ber() local
657 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_read_signal_strength() local
665 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_read_snr() local
675 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_read_unc_blocks() local
[all …]
Dstv0367.c53 enum stv0367_cab_signal_type state; member
67 enum stv0367_ter_signal_type state; member
770 int stv0367_writeregs(struct stv0367_state *state, u16 reg, u8 *data, int len) in stv0367_writeregs()
803 static int stv0367_writereg(struct stv0367_state *state, u16 reg, u8 data) in stv0367_writereg()
808 static u8 stv0367_readreg(struct stv0367_state *state, u16 reg) in stv0367_readreg()
854 static void stv0367_writebits(struct stv0367_state *state, u32 label, u8 val) in stv0367_writebits()
879 static u8 stv0367_readbits(struct stv0367_state *state, u32 label) in stv0367_readbits()
904 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_gate_ctrl() local
1022 static u32 stv0367ter_get_mclk(struct stv0367_state *state, u32 ExtClk_Hz) in stv0367ter_get_mclk()
1054 static int stv0367ter_filt_coeff_init(struct stv0367_state *state, in stv0367ter_filt_coeff_init()
[all …]
Ddib8000.c167 static u16 __dib8000_read_word(struct dib8000_state *state, u16 reg) in __dib8000_read_word()
192 static u16 dib8000_read_word(struct dib8000_state *state, u16 reg) in dib8000_read_word()
208 static u32 dib8000_read32(struct dib8000_state *state, u16 reg) in dib8000_read32()
247 static int dib8000_write_word(struct dib8000_state *state, u16 reg, u16 val) in dib8000_write_word()
375 static u16 fft_to_mode(struct dib8000_state *state) in fft_to_mode()
394 static void dib8000_set_acquisition_mode(struct dib8000_state *state) in dib8000_set_acquisition_mode()
403 struct dib8000_state *state = fe->demodulator_priv; in dib8000_set_output_mode() local
464 struct dib8000_state *state = fe->demodulator_priv; in dib8000_set_diversity_in() local
501 static void dib8000_set_power_mode(struct dib8000_state *state, enum dib8000_power_mode mode) in dib8000_set_power_mode()
542 static int dib8000_set_adc_state(struct dib8000_state *state, enum dibx000_adc_states no) in dib8000_set_adc_state()
[all …]
Dves1820.c59 static int ves1820_writereg(struct ves1820_state *state, u8 reg, u8 data) in ves1820_writereg()
74 static u8 ves1820_readreg(struct ves1820_state *state, u8 reg) in ves1820_readreg()
93 static int ves1820_setup_reg0(struct ves1820_state *state, u8 reg0, fe_spectral_inversion_t inversi… in ves1820_setup_reg0()
113 static int ves1820_set_symbolrate(struct ves1820_state *state, u32 symbolrate) in ves1820_set_symbolrate()
193 struct ves1820_state* state = fe->demodulator_priv; in ves1820_init() local
211 struct ves1820_state* state = fe->demodulator_priv; in ves1820_set_parameters() local
242 struct ves1820_state* state = fe->demodulator_priv; in ves1820_read_status() local
268 struct ves1820_state* state = fe->demodulator_priv; in ves1820_read_ber() local
280 struct ves1820_state* state = fe->demodulator_priv; in ves1820_read_signal_strength() local
290 struct ves1820_state* state = fe->demodulator_priv; in ves1820_read_snr() local
[all …]
Dmb86a16.c76 static int mb86a16_write(struct mb86a16_state *state, u8 reg, u8 val) in mb86a16_write()
97 static int mb86a16_read(struct mb86a16_state *state, u8 reg, u8 *val) in mb86a16_read()
130 static int CNTM_set(struct mb86a16_state *state, in CNTM_set()
148 static int smrt_set(struct mb86a16_state *state, int rate) in smrt_set()
175 static int srst(struct mb86a16_state *state) in srst()
187 static int afcex_data_set(struct mb86a16_state *state, in afcex_data_set()
203 static int afcofs_data_set(struct mb86a16_state *state, in afcofs_data_set()
218 static int stlp_set(struct mb86a16_state *state, in stlp_set()
231 static int Vi_set(struct mb86a16_state *state, unsigned char ETH, unsigned char VIA) in Vi_set()
244 static int initial_set(struct mb86a16_state *state) in initial_set()
[all …]
Dm88rs2000.c63 static int m88rs2000_writereg(struct m88rs2000_state *state, in m88rs2000_writereg()
84 static u8 m88rs2000_readreg(struct m88rs2000_state *state, u8 reg) in m88rs2000_readreg()
115 struct m88rs2000_state *state = fe->demodulator_priv; in m88rs2000_get_mclk() local
133 struct m88rs2000_state *state = fe->demodulator_priv; in m88rs2000_set_carrieroffset() local
161 struct m88rs2000_state *state = fe->demodulator_priv; in m88rs2000_set_symbolrate() local
208 struct m88rs2000_state *state = fe->demodulator_priv; in m88rs2000_send_diseqc_msg() local
252 struct m88rs2000_state *state = fe->demodulator_priv; in m88rs2000_send_diseqc_burst() local
269 struct m88rs2000_state *state = fe->demodulator_priv; in m88rs2000_set_tone() local
383 static int m88rs2000_tab_set(struct m88rs2000_state *state, in m88rs2000_tab_set()
417 struct m88rs2000_state *state = fe->demodulator_priv; in m88rs2000_set_voltage() local
[all …]
Dds3000.c240 static int ds3000_writereg(struct ds3000_state *state, int reg, int data) in ds3000_writereg()
261 struct ds3000_state *state = fe->demodulator_priv; in ds3000_i2c_gate_ctrl() local
272 static int ds3000_writeFW(struct ds3000_state *state, int reg, in ds3000_writeFW()
313 static int ds3000_readreg(struct ds3000_state *state, u8 reg) in ds3000_readreg()
349 struct ds3000_state *state = fe->demodulator_priv; in ds3000_firmware_ondemand() local
387 struct ds3000_state *state = fe->demodulator_priv; in ds3000_load_firmware() local
409 struct ds3000_state *state = fe->demodulator_priv; in ds3000_set_voltage() local
436 struct ds3000_state *state = fe->demodulator_priv; in ds3000_read_status() local
474 struct ds3000_state *state = fe->demodulator_priv; in ds3000_read_ber() local
548 struct ds3000_state *state = fe->demodulator_priv; in ds3000_read_snr() local
[all …]
Ddib7000p.c96 static u16 dib7000p_read_word(struct dib7000p_state *state, u16 reg) in dib7000p_read_word()
126 static int dib7000p_write_word(struct dib7000p_state *state, u16 reg, u16 val) in dib7000p_write_word()
152 static void dib7000p_write_tab(struct dib7000p_state *state, u16 * buf) in dib7000p_write_tab()
168 static int dib7000p_set_output_mode(struct dib7000p_state *state, int mode) in dib7000p_set_output_mode()
224 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_set_diversity_in() local
247 static int dib7000p_set_power_mode(struct dib7000p_state *state, enum dib7000p_power_mode mode) in dib7000p_set_power_mode()
298 static void dib7000p_set_adc_state(struct dib7000p_state *state, enum dibx000_adc_states no) in dib7000p_set_adc_state()
369 static int dib7000p_set_bandwidth(struct dib7000p_state *state, u32 bw) in dib7000p_set_bandwidth()
392 static int dib7000p_sad_calib(struct dib7000p_state *state) in dib7000p_sad_calib()
413 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_set_wbd_ref() local
[all …]
Dtda10023.c64 static u8 tda10023_readreg (struct tda10023_state* state, u8 reg) in tda10023_readreg()
82 static int tda10023_writereg (struct tda10023_state* state, u8 reg, u8 data) in tda10023_writereg()
99 static int tda10023_writebit (struct tda10023_state* state, u8 reg, u8 mask,u8 data) in tda10023_writebit()
112 static void tda10023_writetab(struct tda10023_state* state, u8* tab) in tda10023_writetab()
131 static int lock_tuner(struct tda10023_state* state) in lock_tuner()
145 static int unlock_tuner(struct tda10023_state* state) in unlock_tuner()
158 static int tda10023_setup_reg0 (struct tda10023_state* state, u8 reg0) in tda10023_setup_reg0()
169 static int tda10023_set_symbolrate (struct tda10023_state* state, u32 sr) in tda10023_set_symbolrate()
233 struct tda10023_state* state = fe->demodulator_priv; in tda10023_init() local
311 struct tda10023_state* state = fe->demodulator_priv; in tda10023_set_parameters() local
[all …]
Dlgdt3305.c115 static int lgdt3305_write_reg(struct lgdt3305_state *state, u16 reg, u8 val) in lgdt3305_write_reg()
139 static int lgdt3305_read_reg(struct lgdt3305_state *state, u16 reg, u8 *val) in lgdt3305_read_reg()
165 #define read_reg(state, reg) \ argument
174 static int lgdt3305_set_reg_bit(struct lgdt3305_state *state, in lgdt3305_set_reg_bit()
199 static int lgdt3305_write_regs(struct lgdt3305_state *state, in lgdt3305_write_regs()
216 static int lgdt3305_soft_reset(struct lgdt3305_state *state) in lgdt3305_soft_reset()
232 static inline int lgdt3305_mpeg_mode(struct lgdt3305_state *state, in lgdt3305_mpeg_mode()
239 static int lgdt3305_mpeg_mode_polarity(struct lgdt3305_state *state) in lgdt3305_mpeg_mode_polarity()
271 static int lgdt3305_set_modulation(struct lgdt3305_state *state, in lgdt3305_set_modulation()
303 static int lgdt3305_set_filter_extension(struct lgdt3305_state *state, in lgdt3305_set_filter_extension()
[all …]
Dtda1004x.c128 static int tda1004x_write_byteI(struct tda1004x_state *state, int reg, int data) in tda1004x_write_byteI()
148 static int tda1004x_read_byte(struct tda1004x_state *state, int reg) in tda1004x_read_byte()
173 static int tda1004x_write_mask(struct tda1004x_state *state, int reg, int mask, int data) in tda1004x_write_mask()
192 static int tda1004x_write_buf(struct tda1004x_state *state, int reg, unsigned char *buf, int len) in tda1004x_write_buf()
209 static int tda1004x_enable_tuner_i2c(struct tda1004x_state *state) in tda1004x_enable_tuner_i2c()
219 static int tda1004x_disable_tuner_i2c(struct tda1004x_state *state) in tda1004x_disable_tuner_i2c()
226 static int tda10045h_set_bandwidth(struct tda1004x_state *state, in tda10045h_set_bandwidth()
255 static int tda10046h_set_bandwidth(struct tda1004x_state *state, in tda10046h_set_bandwidth()
319 static int tda1004x_do_upload(struct tda1004x_state *state, in tda1004x_do_upload()
360 static int tda1004x_check_upload_ok(struct tda1004x_state *state) in tda1004x_check_upload_ok()
[all …]
Ds5h1409.c313 static int s5h1409_writereg(struct s5h1409_state *state, u8 reg, u16 data) in s5h1409_writereg()
330 static u16 s5h1409_readreg(struct s5h1409_state *state, u8 reg) in s5h1409_readreg()
351 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_softreset() local
367 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_set_if_freq() local
392 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_set_spectralinversion() local
405 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_enable_modulation() local
438 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_i2c_gate_ctrl() local
450 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_set_gpio() local
464 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_sleep() local
473 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_register_reset() local
[all …]
Dsi2165.c105 static int si2165_write(struct si2165_state *state, const u16 reg, in si2165_write()
143 static int si2165_read(struct si2165_state *state, in si2165_read()
172 static int si2165_readreg8(struct si2165_state *state, in si2165_readreg8()
182 static int si2165_readreg16(struct si2165_state *state, in si2165_readreg16()
193 static int si2165_writereg8(struct si2165_state *state, const u16 reg, u8 val) in si2165_writereg8()
198 static int si2165_writereg16(struct si2165_state *state, const u16 reg, u16 val) in si2165_writereg16()
205 static int si2165_writereg24(struct si2165_state *state, const u16 reg, u32 val) in si2165_writereg24()
212 static int si2165_writereg32(struct si2165_state *state, const u16 reg, u32 val) in si2165_writereg32()
223 static int si2165_writereg_mask8(struct si2165_state *state, const u16 reg, in si2165_writereg_mask8()
251 static int si2165_init_pll(struct si2165_state *state) in si2165_init_pll()
[all …]
Dzl10353.c55 struct zl10353_state *state = fe->demodulator_priv; in zl10353_single_write() local
77 static int zl10353_read_register(struct zl10353_state *state, u8 reg) in zl10353_read_register()
102 struct zl10353_state *state = fe->demodulator_priv; in zl10353_dump_regs() local
128 struct zl10353_state *state = fe->demodulator_priv; in zl10353_calc_nominal_rate() local
148 struct zl10353_state *state = fe->demodulator_priv; in zl10353_calc_input_freq() local
185 struct zl10353_state *state = fe->demodulator_priv; in zl10353_set_parameters() local
377 struct zl10353_state *state = fe->demodulator_priv; in zl10353_get_parameters() local
467 struct zl10353_state *state = fe->demodulator_priv; in zl10353_read_status() local
498 struct zl10353_state *state = fe->demodulator_priv; in zl10353_read_ber() local
509 struct zl10353_state *state = fe->demodulator_priv; in zl10353_read_signal_strength() local
[all …]
Dlgdt330x.c77 static int i2c_write_demod_bytes (struct lgdt330x_state* state, in i2c_write_demod_bytes()
107 static int i2c_read_demod_bytes(struct lgdt330x_state *state, in i2c_read_demod_bytes()
130 static int lgdt3302_SwReset(struct lgdt330x_state* state) in lgdt3302_SwReset()
151 static int lgdt3303_SwReset(struct lgdt330x_state* state) in lgdt3303_SwReset()
171 static int lgdt330x_SwReset(struct lgdt330x_state* state) in lgdt330x_SwReset()
241 struct lgdt330x_state* state = fe->demodulator_priv; in lgdt330x_init() local
289 struct lgdt330x_state* state = fe->demodulator_priv; in lgdt330x_read_ucblocks() local
348 struct lgdt330x_state* state = fe->demodulator_priv; in lgdt330x_set_parameters() local
445 struct lgdt330x_state *state = fe->demodulator_priv; in lgdt330x_get_frontend() local
452 struct lgdt330x_state* state = fe->demodulator_priv; in lgdt3302_read_status() local
[all …]
Ddrxd_hard.c241 static int Read16(struct drxd_state *state, u32 reg, u16 *data, u8 flags) in Read16()
255 static int Read32(struct drxd_state *state, u32 reg, u32 *data, u8 flags) in Read32()
271 static int Write16(struct drxd_state *state, u32 reg, u16 data, u8 flags) in Write16()
284 static int Write32(struct drxd_state *state, u32 reg, u32 data, u8 flags) in Write32()
298 static int write_chunk(struct drxd_state *state, in write_chunk()
316 static int WriteBlock(struct drxd_state *state, in WriteBlock()
331 static int WriteTable(struct drxd_state *state, u8 * pTable) in WriteTable()
361 static int ResetCEFR(struct drxd_state *state) in ResetCEFR()
366 static int InitCP(struct drxd_state *state) in InitCP()
371 static int InitCE(struct drxd_state *state) in InitCE()
[all …]
Dmt352.c60 struct mt352_state* state = fe->demodulator_priv; in mt352_single_write() local
82 static int mt352_read_register(struct mt352_state* state, u8 reg) in mt352_read_register()
113 static void mt352_calc_nominal_rate(struct mt352_state* state, in mt352_calc_nominal_rate()
143 static void mt352_calc_input_freq(struct mt352_state* state, in mt352_calc_input_freq()
172 struct mt352_state* state = fe->demodulator_priv; in mt352_set_parameters() local
317 struct mt352_state* state = fe->demodulator_priv; in mt352_get_parameters() local
422 struct mt352_state* state = fe->demodulator_priv; in mt352_read_status() local
465 struct mt352_state* state = fe->demodulator_priv; in mt352_read_ber() local
476 struct mt352_state* state = fe->demodulator_priv; in mt352_read_signal_strength() local
489 struct mt352_state* state = fe->demodulator_priv; in mt352_read_snr() local
[all …]
Dlgs8gl5.c72 lgs8gl5_write_reg(struct lgs8gl5_state *state, u8 reg, u8 data) in lgs8gl5_write_reg()
93 lgs8gl5_read_reg(struct lgs8gl5_state *state, u8 reg) in lgs8gl5_read_reg()
122 lgs8gl5_update_reg(struct lgs8gl5_state *state, u8 reg, u8 data) in lgs8gl5_update_reg()
133 lgs8gl5_update_alt_reg(struct lgs8gl5_state *state, u8 reg, u8 data) in lgs8gl5_update_alt_reg()
166 lgs8gl5_soft_reset(struct lgs8gl5_state *state) in lgs8gl5_soft_reset()
181 lgs8gl5_start_demod(struct lgs8gl5_state *state) in lgs8gl5_start_demod()
234 struct lgs8gl5_state *state = fe->demodulator_priv; in lgs8gl5_init() local
254 struct lgs8gl5_state *state = fe->demodulator_priv; in lgs8gl5_read_status() local
285 struct lgs8gl5_state *state = fe->demodulator_priv; in lgs8gl5_read_signal_strength() local
296 struct lgs8gl5_state *state = fe->demodulator_priv; in lgs8gl5_read_snr() local
[all …]
Dstb0899_algo.c78 static u32 stb0899_set_srate(struct stb0899_state *state, u32 master_clk, u32 srate) in stb0899_set_srate()
132 long stb0899_carr_width(struct stb0899_state *state) in stb0899_carr_width()
143 static void stb0899_first_subrange(struct stb0899_state *state) in stb0899_first_subrange()
174 static enum stb0899_status stb0899_check_tmg(struct stb0899_state *state) in stb0899_check_tmg()
207 static enum stb0899_status stb0899_search_tmg(struct stb0899_state *state) in stb0899_search_tmg()
250 static enum stb0899_status stb0899_check_carrier(struct stb0899_state *state) in stb0899_check_carrier()
278 static enum stb0899_status stb0899_search_carrier(struct stb0899_state *state) in stb0899_search_carrier()
334 static enum stb0899_status stb0899_check_data(struct stb0899_state *state) in stb0899_check_data()
389 static enum stb0899_status stb0899_search_data(struct stb0899_state *state) in stb0899_search_data()
448 static enum stb0899_status stb0899_check_range(struct stb0899_state *state) in stb0899_check_range()
[all …]
Ds5h1411.c342 static int s5h1411_writereg(struct s5h1411_state *state, in s5h1411_writereg()
359 static u16 s5h1411_readreg(struct s5h1411_state *state, u8 addr, u8 reg) in s5h1411_readreg()
379 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_softreset() local
390 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_set_if_freq() local
429 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_set_mpeg_timing() local
459 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_set_spectralinversion() local
474 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_set_serialmode() local
489 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_enable_modulation() local
531 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_i2c_gate_ctrl() local
543 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_set_gpio() local
[all …]
Dmb86a20s.c228 static int mb86a20s_i2c_writereg(struct mb86a20s_state *state, in mb86a20s_i2c_writereg()
248 static int mb86a20s_i2c_writeregdata(struct mb86a20s_state *state, in mb86a20s_i2c_writeregdata()
262 static int mb86a20s_i2c_readreg(struct mb86a20s_state *state, in mb86a20s_i2c_readreg()
283 #define mb86a20s_readreg(state, reg) \ argument
285 #define mb86a20s_writereg(state, reg, val) \ argument
287 #define mb86a20s_writeregdata(state, regdata) \ argument
299 struct mb86a20s_state *state = fe->demodulator_priv; in mb86a20s_read_status() local
331 struct mb86a20s_state *state = fe->demodulator_priv; in mb86a20s_read_signal_strength() local
387 static int mb86a20s_get_modulation(struct mb86a20s_state *state, in mb86a20s_get_modulation()
419 static int mb86a20s_get_fec(struct mb86a20s_state *state, in mb86a20s_get_fec()
[all …]
Das102_fe.c65 struct as102_state *state = fe->demodulator_priv; in as102_fe_set_frontend() local
195 struct as102_state *state = fe->demodulator_priv; in as102_fe_get_frontend() local
312 struct as102_state *state = fe->demodulator_priv; in as102_fe_read_status() local
364 struct as102_state *state = fe->demodulator_priv; in as102_fe_read_snr() local
373 struct as102_state *state = fe->demodulator_priv; in as102_fe_read_ber() local
383 struct as102_state *state = fe->demodulator_priv; in as102_fe_read_signal_strength() local
392 struct as102_state *state = fe->demodulator_priv; in as102_fe_read_ucblocks() local
404 struct as102_state *state = fe->demodulator_priv; in as102_fe_ts_bus_ctrl() local
412 struct as102_state *state = fe->demodulator_priv; in as102_fe_release() local
455 struct as102_state *state; in as102_attach() local
Ds921.c206 static int s921_i2c_writereg(struct s921_state *state, in s921_i2c_writereg()
225 static int s921_i2c_writeregdata(struct s921_state *state, u8 i2c_addr, in s921_i2c_writeregdata()
238 static int s921_i2c_readreg(struct s921_state *state, u8 i2c_addr, u8 reg) in s921_i2c_readreg()
257 #define s921_readreg(state, reg) \ argument
259 #define s921_writereg(state, reg, val) \ argument
261 #define s921_writeregdata(state, regdata) \ argument
268 struct s921_state *state = fe->demodulator_priv; in s921_pll_tune() local
339 struct s921_state *state = fe->demodulator_priv; in s921_initfe() local
353 struct s921_state *state = fe->demodulator_priv; in s921_read_status() local
393 struct s921_state *state = fe->demodulator_priv; in s921_read_signal_strength() local
[all …]
Ddib0070.c85 static u16 dib0070_read_reg(struct dib0070_state *state, u8 reg) in dib0070_read_reg()
117 static int dib0070_write_reg(struct dib0070_state *state, u8 reg, u16 val) in dib0070_write_reg()
145 #define HARD_RESET(state) do { \ argument
155 struct dib0070_state *state = fe->tuner_priv; in dib0070_set_bandwidth() local
182 static int dib0070_captrim(struct dib0070_state *state, enum frontend_tune_state *tune_state) in dib0070_captrim()
245 struct dib0070_state *state = fe->tuner_priv; in dib0070_set_ctrl_lo5() local
253 struct dib0070_state *state = fe->tuner_priv; in dib0070_ctrl_agc_filter() local
340 struct dib0070_state *state = fe->tuner_priv; in dib0070_tune_digital() local
521 struct dib0070_state *state = fe->tuner_priv; in dib0070_tune() local
539 struct dib0070_state *state = fe->tuner_priv; in dib0070_wakeup() local
[all …]
Ddib9000.c228 static u16 dib9000_read16_attr(struct dib9000_state *state, u16 reg, u8 * b, u32 len, u16 attribute) in dib9000_read16_attr()
295 static inline u16 dib9000_read_word(struct dib9000_state *state, u16 reg) in dib9000_read_word()
302 static inline u16 dib9000_read_word_attr(struct dib9000_state *state, u16 reg, u16 attribute) in dib9000_read_word_attr()
310 #define dib9000_read16_noinc_attr(state, reg, b, len, attribute) dib9000_read16_attr(state, reg, b,… argument
312 static u16 dib9000_write16_attr(struct dib9000_state *state, u16 reg, const u8 * buf, u32 len, u16 … in dib9000_write16_attr()
371 static inline int dib9000_write_word(struct dib9000_state *state, u16 reg, u16 val) in dib9000_write_word()
377 static inline int dib9000_write_word_attr(struct dib9000_state *state, u16 reg, u16 val, u16 attrib… in dib9000_write_word_attr()
383 #define dib9000_write(state, reg, buf, len) dib9000_write16_attr(state, reg, buf, len, 0) argument
384 #define dib9000_write16_noinc(state, reg, buf, len) dib9000_write16_attr(state, reg, buf, len, DATA… argument
385 #define dib9000_write16_noinc_attr(state, reg, buf, len, attribute) dib9000_write16_attr(state, reg… argument
[all …]
Dzl10036.c71 static int zl10036_read_status_reg(struct zl10036_state *state) in zl10036_read_status_reg()
94 static int zl10036_write(struct zl10036_state *state, u8 buf[], u8 count) in zl10036_write()
139 struct zl10036_state *state = fe->tuner_priv; in zl10036_release() local
149 struct zl10036_state *state = fe->tuner_priv; in zl10036_sleep() local
184 static int zl10036_set_frequency(struct zl10036_state *state, u32 frequency) in zl10036_set_frequency()
203 static int zl10036_set_bandwidth(struct zl10036_state *state, u32 fbw) in zl10036_set_bandwidth()
283 static int zl10036_set_gain_params(struct zl10036_state *state, in zl10036_set_gain_params()
311 struct zl10036_state *state = fe->tuner_priv; in zl10036_set_params() local
386 struct zl10036_state *state = fe->tuner_priv; in zl10036_get_frequency() local
393 static int zl10036_init_regs(struct zl10036_state *state) in zl10036_init_regs()
[all …]
Dstb6100.c133 static int stb6100_read_regs(struct stb6100_state *state, u8 regs[]) in stb6100_read_regs()
160 static int stb6100_read_reg(struct stb6100_state *state, u8 reg) in stb6100_read_reg()
185 static int stb6100_write_reg_range(struct stb6100_state *state, u8 buf[], int start, int len) in stb6100_write_reg_range()
227 static int stb6100_write_reg(struct stb6100_state *state, u8 reg, u8 data) in stb6100_write_reg()
241 struct stb6100_state *state = fe->tuner_priv; in stb6100_get_status() local
255 struct stb6100_state *state = fe->tuner_priv; in stb6100_get_bandwidth() local
273 struct stb6100_state *state = fe->tuner_priv; in stb6100_set_bandwidth() local
312 struct stb6100_state *state = fe->tuner_priv; in stb6100_get_frequency() local
337 struct stb6100_state *state = fe->tuner_priv; in stb6100_set_frequency() local
497 struct stb6100_state *state = fe->tuner_priv; in stb6100_init() local
[all …]
Daf9013.c181 static int af9013_write_ofsm_regs(struct af9013_state *state, u16 reg, u8 *val, in af9013_write_ofsm_regs()
188 static int af9013_wr_reg_bits(struct af9013_state *state, u16 reg, int pos, in af9013_wr_reg_bits()
209 static int af9013_rd_reg_bits(struct af9013_state *state, u16 reg, int pos, in af9013_rd_reg_bits()
225 static int af9013_set_gpio(struct af9013_state *state, u8 gpio, u8 gpioval) in af9013_set_gpio()
278 static u32 af9013_div(struct af9013_state *state, u32 a, u32 b, u32 x) in af9013_div()
305 static int af9013_power_ctrl(struct af9013_state *state, u8 onoff) in af9013_power_ctrl()
361 struct af9013_state *state = fe->demodulator_priv; in af9013_statistics_ber_unc_start() local
379 struct af9013_state *state = fe->demodulator_priv; in af9013_statistics_ber_unc_result() local
410 struct af9013_state *state = fe->demodulator_priv; in af9013_statistics_snr_start() local
428 struct af9013_state *state = fe->demodulator_priv; in af9013_statistics_snr_result() local
[all …]
Dor51132.c75 static int or51132_writebuf(struct or51132_state *state, const u8 *buf, int len) in or51132_writebuf()
93 #define or51132_writebytes(state, data...) \ argument
98 static int or51132_readbuf(struct or51132_state *state, u8 *buf, int len) in or51132_readbuf()
114 static int or51132_readreg(struct or51132_state *state, u8 reg) in or51132_readreg()
134 struct or51132_state* state = fe->demodulator_priv; in or51132_load_firmware() local
236 struct or51132_state* state = fe->demodulator_priv; in or51132_setmode() local
313 struct or51132_state* state = fe->demodulator_priv; in or51132_set_parameters() local
381 struct or51132_state* state = fe->demodulator_priv; in or51132_get_parameters() local
420 struct or51132_state* state = fe->demodulator_priv; in or51132_read_status() local
477 struct or51132_state* state = fe->demodulator_priv; in or51132_read_snr() local
[all …]
Ddib0090.c216 static u16 dib0090_read_reg(struct dib0090_state *state, u8 reg) in dib0090_read_reg()
248 static int dib0090_write_reg(struct dib0090_state *state, u32 reg, u16 val) in dib0090_write_reg()
277 static u16 dib0090_fw_read_reg(struct dib0090_fw_state *state, u8 reg) in dib0090_fw_read_reg()
304 static int dib0090_fw_write_reg(struct dib0090_fw_state *state, u8 reg, u16 val) in dib0090_fw_write_reg()
331 #define HARD_RESET(state) do { if (cfg->reset) { if (cfg->sleep) cfg->sleep(fe, 0); msleep(10); … argument
336 static void dib0090_write_regs(struct dib0090_state *state, u8 r, const u16 * b, u8 c) in dib0090_write_regs()
345 struct dib0090_state *state = fe->tuner_priv; in dib0090_identify() local
437 struct dib0090_fw_state *state = fe->tuner_priv; in dib0090_fw_identify() local
527 struct dib0090_state *state = fe->tuner_priv; in dib0090_reset_digital() local
594 struct dib0090_fw_state *state = fe->tuner_priv; in dib0090_fw_reset_digital() local
[all …]
Dcx24113.c104 static int cx24113_writereg(struct cx24113_state *state, int reg, int data) in cx24113_writereg()
119 static int cx24113_readreg(struct cx24113_state *state, u8 reg) in cx24113_readreg()
141 static void cx24113_set_parameters(struct cx24113_state *state) in cx24113_set_parameters()
201 static int cx24113_set_gain_settings(struct cx24113_state *state, in cx24113_set_gain_settings()
234 static int cx24113_set_Fref(struct cx24113_state *state, u8 high) in cx24113_set_Fref()
246 static int cx24113_enable(struct cx24113_state *state, u8 enable) in cx24113_enable()
254 static int cx24113_set_bandwidth(struct cx24113_state *state, u32 bandwidth_khz) in cx24113_set_bandwidth()
279 static int cx24113_set_clk_inversion(struct cx24113_state *state, u8 on) in cx24113_set_clk_inversion()
287 struct cx24113_state *state = fe->tuner_priv; in cx24113_get_status() local
295 static u8 cx24113_set_ref_div(struct cx24113_state *state, u8 refdiv) in cx24113_set_ref_div()
[all …]
Dor51211.c72 static int i2c_writebytes (struct or51211_state* state, u8 reg, const u8 *buf, in i2c_writebytes()
90 static int i2c_readbytes(struct or51211_state *state, u8 reg, u8 *buf, int len) in i2c_readbytes()
110 struct or51211_state* state = fe->demodulator_priv; in or51211_load_firmware() local
168 struct or51211_state* state = fe->demodulator_priv; in or51211_setmode() local
222 struct or51211_state* state = fe->demodulator_priv; in or51211_set_parameters() local
242 struct or51211_state* state = fe->demodulator_priv; in or51211_read_status() local
297 struct or51211_state* state = fe->demodulator_priv; in or51211_read_snr() local
329 struct or51211_state* state = (struct or51211_state*)fe->demodulator_priv; in or51211_read_signal_strength() local
365 struct or51211_state* state = fe->demodulator_priv; in or51211_init() local
506 struct or51211_state* state = fe->demodulator_priv; in or51211_release() local
[all …]
Dcx24116.c199 static int cx24116_writereg(struct cx24116_state *state, int reg, int data) in cx24116_writereg()
221 static int cx24116_writeregN(struct cx24116_state *state, int reg, in cx24116_writeregN()
260 static int cx24116_readreg(struct cx24116_state *state, u8 reg) in cx24116_readreg()
287 static int cx24116_set_inversion(struct cx24116_state *state, in cx24116_set_inversion()
417 static int cx24116_lookup_fecmod(struct cx24116_state *state, in cx24116_lookup_fecmod()
436 static int cx24116_set_fec(struct cx24116_state *state, in cx24116_set_fec()
457 static int cx24116_set_symbolrate(struct cx24116_state *state, u32 rate) in cx24116_set_symbolrate()
479 struct cx24116_state *state = fe->demodulator_priv; in cx24116_firmware_ondemand() local
530 struct cx24116_state *state = fe->demodulator_priv; in cx24116_cmd_execute() local
567 struct cx24116_state *state = fe->demodulator_priv; in cx24116_load_firmware() local
[all …]
Dcx24117.c269 static int cx24117_writereg(struct cx24117_state *state, u8 reg, u8 data) in cx24117_writereg()
290 static int cx24117_writecmd(struct cx24117_state *state, in cx24117_writecmd()
318 static int cx24117_readreg(struct cx24117_state *state, u8 reg) in cx24117_readreg()
343 static int cx24117_readregN(struct cx24117_state *state, in cx24117_readregN()
364 static int cx24117_set_inversion(struct cx24117_state *state, in cx24117_set_inversion()
389 static int cx24117_lookup_fecmod(struct cx24117_state *state, in cx24117_lookup_fecmod()
410 static int cx24117_set_fec(struct cx24117_state *state, in cx24117_set_fec()
433 static int cx24117_set_symbolrate(struct cx24117_state *state, u32 rate) in cx24117_set_symbolrate()
452 struct cx24117_state *state = fe->demodulator_priv; in cx24117_firmware_ondemand() local
507 struct cx24117_state *state = fe->demodulator_priv; in cx24117_cmd_execute_nolock() local
[all …]
Dzl10039.c71 static int zl10039_read(const struct zl10039_state *state, in zl10039_read()
100 static int zl10039_write(struct zl10039_state *state, in zl10039_write()
131 static inline int zl10039_readreg(struct zl10039_state *state, in zl10039_readreg()
137 static inline int zl10039_writereg(struct zl10039_state *state, in zl10039_writereg()
146 struct zl10039_state *state = fe->tuner_priv; in zl10039_init() local
172 struct zl10039_state *state = fe->tuner_priv; in zl10039_sleep() local
192 struct zl10039_state *state = fe->tuner_priv; in zl10039_set_params() local
250 struct zl10039_state *state = fe->tuner_priv; in zl10039_release() local
268 struct zl10039_state *state = NULL; in zl10039_attach() local
Dsi21xx.c227 static int si21_writeregs(struct si21xx_state *state, u8 reg1, in si21_writeregs()
254 static int si21_writereg(struct si21xx_state *state, u8 reg, u8 data) in si21_writereg()
276 struct si21xx_state *state = fe->demodulator_priv; in si21_write() local
284 static u8 si21_readreg(struct si21xx_state *state, u8 reg) in si21_readreg()
312 static int si21_readregs(struct si21xx_state *state, u8 reg1, u8 *b, u8 len) in si21_readregs()
337 static int si21xx_wait_diseqc_idle(struct si21xx_state *state, int timeout) in si21xx_wait_diseqc_idle()
356 struct si21xx_state *state = fe->demodulator_priv; in si21xx_set_symbolrate() local
386 struct si21xx_state *state = fe->demodulator_priv; in si21xx_send_diseqc_msg() local
415 struct si21xx_state *state = fe->demodulator_priv; in si21xx_send_diseqc_burst() local
439 struct si21xx_state *state = fe->demodulator_priv; in si21xx_set_tone() local
[all …]
Dec100.c34 static int ec100_write_reg(struct ec100_state *state, u8 reg, u8 val) in ec100_write_reg()
60 static int ec100_read_reg(struct ec100_state *state, u8 reg, u8 *val) in ec100_read_reg()
92 struct ec100_state *state = fe->demodulator_priv; in ec100_set_frontend() local
179 struct ec100_state *state = fe->demodulator_priv; in ec100_read_status() local
215 struct ec100_state *state = fe->demodulator_priv; in ec100_read_ber() local
247 struct ec100_state *state = fe->demodulator_priv; in ec100_read_signal_strength() local
279 struct ec100_state *state = fe->demodulator_priv; in ec100_release() local
289 struct ec100_state *state = NULL; in ec100_attach() local
Dtda10048.c221 static int tda10048_writereg(struct tda10048_state *state, u8 reg, u8 data) in tda10048_writereg()
240 static u8 tda10048_readreg(struct tda10048_state *state, u8 reg) in tda10048_readreg()
263 static int tda10048_writeregbulk(struct tda10048_state *state, u8 reg, in tda10048_writeregbulk()
306 struct tda10048_state *state = fe->demodulator_priv; in tda10048_set_phy2() local
342 struct tda10048_state *state = fe->demodulator_priv; in tda10048_set_wref() local
372 struct tda10048_state *state = fe->demodulator_priv; in tda10048_set_invwref() local
398 struct tda10048_state *state = fe->demodulator_priv; in tda10048_set_bandwidth() local
421 struct tda10048_state *state = fe->demodulator_priv; in tda10048_set_if() local
479 struct tda10048_state *state = fe->demodulator_priv; in tda10048_firmware_upload() local
574 struct tda10048_state *state = fe->demodulator_priv; in tda10048_set_inversion() local
[all …]
Dtda665x.c37 static int tda665x_read(struct tda665x_state *state, u8 *buf) in tda665x_read()
53 static int tda665x_write(struct tda665x_state *state, u8 *buf, u8 length) in tda665x_write()
73 struct tda665x_state *state = fe->tuner_priv; in tda665x_get_state() local
93 struct tda665x_state *state = fe->tuner_priv; in tda665x_get_status() local
118 struct tda665x_state *state = fe->tuner_priv; in tda665x_set_state() local
208 struct tda665x_state *state = fe->tuner_priv; in tda665x_release() local
227 struct tda665x_state *state = NULL; in tda665x_attach() local
Dtda8261.c39 static int tda8261_read(struct tda8261_state *state, u8 *buf) in tda8261_read()
51 static int tda8261_write(struct tda8261_state *state, u8 *buf) in tda8261_write()
65 struct tda8261_state *state = fe->tuner_priv; in tda8261_get_status() local
90 struct tda8261_state *state = fe->tuner_priv; in tda8261_get_state() local
113 struct tda8261_state *state = fe->tuner_priv; in tda8261_set_state() local
174 struct tda8261_state *state = fe->tuner_priv; in tda8261_release() local
201 struct tda8261_state *state = NULL; in tda8261_attach() local
Ditd1000.c56 static int itd1000_write_regs(struct itd1000_state *state, u8 reg, u8 v[], u8 len) in itd1000_write_regs()
82 static int itd1000_read_reg(struct itd1000_state *state, u8 reg) in itd1000_read_reg()
100 static inline int itd1000_write_reg(struct itd1000_state *state, u8 r, u8 v) in itd1000_write_reg()
130 static void itd1000_set_lpf_bw(struct itd1000_state *state, u32 symbol_rate) in itd1000_set_lpf_bw()
176 static void itd1000_set_vco(struct itd1000_state *state, u32 freq_khz) in itd1000_set_vco()
226 static void itd1000_set_lo(struct itd1000_state *state, u32 freq_khz) in itd1000_set_lo()
267 struct itd1000_state *state = fe->tuner_priv; in itd1000_set_parameters() local
282 struct itd1000_state *state = fe->tuner_priv; in itd1000_get_frequency() local
334 struct itd1000_state *state = fe->tuner_priv; in itd1000_init() local
379 struct itd1000_state *state = NULL; in itd1000_attach() local
Dtc90522.c55 reg_write(struct tc90522_state *state, const struct reg_val *regs, int num) in reg_write()
75 static int reg_read(struct tc90522_state *state, u8 reg, u8 *val, u8 len) in reg_read()
135 struct tc90522_state *state; in tc90522s_read_status() local
163 struct tc90522_state *state; in tc90522t_read_status() local
206 struct tc90522_state *state; in tc90522s_get_frontend() local
339 struct tc90522_state *state; in tc90522t_get_frontend() local
487 struct tc90522_state *state; in tc90522_set_frontend() local
549 struct tc90522_state *state; in tc90522_set_if_agc() local
575 struct tc90522_state *state; in tc90522_sleep() local
602 struct tc90522_state *state; in tc90522_init() local
[all …]
Dau8522_dig.c246 struct au8522_state *state = fe->demodulator_priv; in au8522_set_if() local
557 struct au8522_state *state = fe->demodulator_priv; in au8522_enable_modulation() local
612 struct au8522_state *state = fe->demodulator_priv; in au8522_set_frontend() local
649 struct au8522_state *state = fe->demodulator_priv; in au8522_read_status() local
705 static int au8522_led_status(struct au8522_state *state, const u16 *snr) in au8522_led_status()
740 struct au8522_state *state = fe->demodulator_priv; in au8522_read_snr() local
804 struct au8522_state *state = fe->demodulator_priv; in au8522_read_ucblocks() local
822 struct au8522_state *state = fe->demodulator_priv; in au8522_get_frontend() local
842 struct au8522_state *state = fe->demodulator_priv; in au8522_release() local
849 struct au8522_state *state = NULL; in au8522_attach() local
Dtda18271c2dd.c142 static int WriteRegs(struct tda_state *state, in WriteRegs()
159 static int WriteReg(struct tda_state *state, u8 SubAddr, u8 Reg) in WriteReg()
166 static int Read(struct tda_state *state, u8 * Regs) in Read()
171 static int ReadExtented(struct tda_state *state, u8 * Regs) in ReadExtented()
176 static int UpdateRegs(struct tda_state *state, u8 RegFrom, u8 RegTo) in UpdateRegs()
181 static int UpdateReg(struct tda_state *state, u8 Reg) in UpdateReg()
188 static void reset(struct tda_state *state) in reset()
274 static int ThermometerRead(struct tda_state *state, u8 *pTM_Value) in ThermometerRead()
314 static int StandBy(struct tda_state *state) in StandBy()
339 static int CalcMainPLL(struct tda_state *state, u32 freq) in CalcMainPLL()
[all …]
Ds5h1432.c55 static int s5h1432_writereg(struct s5h1432_state *state, in s5h1432_writereg()
72 static u8 s5h1432_readreg(struct s5h1432_state *state, u8 addr, u8 reg) in s5h1432_readreg()
99 struct s5h1432_state *state = fe->demodulator_priv; in s5h1432_set_channel_bandwidth() local
125 struct s5h1432_state *state = fe->demodulator_priv; in s5h1432_set_IF() local
185 struct s5h1432_state *state = fe->demodulator_priv; in s5h1432_set_frontend() local
250 struct s5h1432_state *state = fe->demodulator_priv; in s5h1432_init() local
340 struct s5h1432_state *state = fe->demodulator_priv; in s5h1432_release() local
349 struct s5h1432_state *state = NULL; in s5h1432_attach() local
Dix2505v.c62 static int ix2505v_read_status_reg(struct ix2505v_state *state) in ix2505v_read_status_reg()
78 static int ix2505v_write(struct ix2505v_state *state, u8 buf[], u8 count) in ix2505v_write()
99 struct ix2505v_state *state = fe->tuner_priv; in ix2505v_release() local
135 struct ix2505v_state *state = fe->tuner_priv; in ix2505v_set_params() local
254 struct ix2505v_state *state = fe->tuner_priv; in ix2505v_get_frequency() local
276 struct ix2505v_state *state = NULL; in ix2505v_attach() local
Dstb6100_proc.h24 struct tuner_state state; in stb6100_get_freq() local
50 struct tuner_state state; in stb6100_set_freq() local
77 struct tuner_state state; in stb6100_get_bandw() local
103 struct tuner_state state; in stb6100_set_bandw() local
Dstv0900_core.c363 struct stv0900_state *state = fe->demodulator_priv; in stv0900_i2c_gate_ctrl() local
655 struct stv0900_state *state = fe->demodulator_priv; in stv0900_read_signal_strength() local
675 struct stv0900_state *state = fe->demodulator_priv; in stv0900_carr_get_quality() local
741 struct stv0900_state *state = fe->demodulator_priv; in stv0900_read_ucblocks() local
831 struct stv0900_state *state = fe->demodulator_priv; in stv0900_read_ber() local
1345 struct stv0900_state *state = fe->demodulator_priv; in stv0900_init_internal() local
1575 struct stv0900_state *state = fe->demodulator_priv; in stv0900_search() local
1653 struct stv0900_state *state = fe->demodulator_priv; in stv0900_read_status() local
1678 struct stv0900_state *state = fe->demodulator_priv; in stv0900_stop_ts() local
1692 struct stv0900_state *state = fe->demodulator_priv; in stv0900_diseqc_init() local
[all …]
Ddvb_dummy_fe.c112 struct dvb_dummy_fe_state* state = fe->demodulator_priv; in dvb_dummy_fe_release() local
120 struct dvb_dummy_fe_state* state = NULL; in dvb_dummy_fe_ofdm_attach() local
137 struct dvb_dummy_fe_state* state = NULL; in dvb_dummy_fe_qpsk_attach() local
154 struct dvb_dummy_fe_state* state = NULL; in dvb_dummy_fe_qam_attach() local
/linux-4.1.27/kernel/power/
Dsuspend.c100 static bool valid_state(suspend_state_t state) in valid_state()
160 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
166 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported()
171 static int platform_suspend_prepare(suspend_state_t state) in platform_suspend_prepare()
177 static int platform_suspend_prepare_late(suspend_state_t state) in platform_suspend_prepare_late()
183 static int platform_suspend_prepare_noirq(suspend_state_t state) in platform_suspend_prepare_noirq()
189 static void platform_resume_noirq(suspend_state_t state) in platform_resume_noirq()
195 static void platform_resume_early(suspend_state_t state) in platform_resume_early()
201 static void platform_resume_finish(suspend_state_t state) in platform_resume_finish()
207 static int platform_suspend_begin(suspend_state_t state) in platform_suspend_begin()
[all …]
/linux-4.1.27/drivers/media/i2c/s5c73m3/
Ds5c73m3-ctrls.c39 static int s5c73m3_get_af_status(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) in s5c73m3_get_af_status()
71 struct s5c73m3 *state = sensor_sd_to_s5c73m3(sd); in s5c73m3_g_volatile_ctrl() local
88 static int s5c73m3_set_colorfx(struct s5c73m3 *state, int val) in s5c73m3_set_colorfx()
114 static int s5c73m3_set_exposure(struct s5c73m3 *state, int auto_exp) in s5c73m3_set_exposure()
150 static int s5c73m3_set_white_balance(struct s5c73m3 *state, int val) in s5c73m3_set_white_balance()
176 static int s5c73m3_af_run(struct s5c73m3 *state, bool on) in s5c73m3_af_run()
191 static int s5c73m3_3a_lock(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) in s5c73m3_3a_lock()
219 static int s5c73m3_set_auto_focus(struct s5c73m3 *state, int caf) in s5c73m3_set_auto_focus()
244 static int s5c73m3_set_contrast(struct s5c73m3 *state, int val) in s5c73m3_set_contrast()
250 static int s5c73m3_set_saturation(struct s5c73m3 *state, int val) in s5c73m3_set_saturation()
[all …]
Ds5c73m3-core.c182 int s5c73m3_write(struct s5c73m3 *state, u32 addr, u16 data) in s5c73m3_write()
214 int s5c73m3_read(struct s5c73m3 *state, u32 addr, u16 *data) in s5c73m3_read()
246 static int s5c73m3_check_status(struct s5c73m3 *state, unsigned int value) in s5c73m3_check_status()
284 int s5c73m3_isp_command(struct s5c73m3 *state, u16 command, u16 data) in s5c73m3_isp_command()
303 static int s5c73m3_isp_comm_result(struct s5c73m3 *state, u16 command, in s5c73m3_isp_comm_result()
309 static int s5c73m3_set_af_softlanding(struct s5c73m3 *state) in s5c73m3_set_af_softlanding()
351 struct s5c73m3 *state = sensor_sd_to_s5c73m3(sd); in s5c73m3_load_fw() local
379 static int s5c73m3_set_frame_size(struct s5c73m3 *state) in s5c73m3_set_frame_size()
403 static int s5c73m3_set_frame_rate(struct s5c73m3 *state) in s5c73m3_set_frame_rate()
420 static int __s5c73m3_s_stream(struct s5c73m3 *state, struct v4l2_subdev *sd, in __s5c73m3_s_stream()
[all …]
Ds5c73m3-spi.c69 int s5c73m3_spi_write(struct s5c73m3 *state, const void *addr, in s5c73m3_spi_write()
97 int s5c73m3_spi_read(struct s5c73m3 *state, void *addr, in s5c73m3_spi_read()
122 struct s5c73m3 *state = container_of(spi->dev.driver, struct s5c73m3, in s5c73m3_spi_probe() local
145 int s5c73m3_register_spi_driver(struct s5c73m3 *state) in s5c73m3_register_spi_driver()
159 void s5c73m3_unregister_spi_driver(struct s5c73m3 *state) in s5c73m3_unregister_spi_driver()
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-demod.c45 static int mxl111sf_demod_read_reg(struct mxl111sf_demod_state *state, in mxl111sf_demod_read_reg()
53 static int mxl111sf_demod_write_reg(struct mxl111sf_demod_state *state, in mxl111sf_demod_write_reg()
62 int mxl111sf_demod_program_regs(struct mxl111sf_demod_state *state, in mxl111sf_demod_program_regs()
74 int mxl1x1sf_demod_get_tps_code_rate(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_tps_code_rate()
105 int mxl1x1sf_demod_get_tps_modulation(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_tps_modulation()
130 int mxl1x1sf_demod_get_tps_guard_fft_mode(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_tps_guard_fft_mode()
155 int mxl1x1sf_demod_get_tps_guard_interval(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_tps_guard_interval()
183 int mxl1x1sf_demod_get_tps_hierarchy(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_tps_hierarchy()
214 int mxl1x1sf_demod_get_sync_lock_status(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_sync_lock_status()
227 int mxl1x1sf_demod_get_rs_lock_status(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_rs_lock_status()
[all …]
Dmxl111sf-phy.c24 int mxl111sf_init_tuner_demod(struct mxl111sf_state *state) in mxl111sf_init_tuner_demod()
55 int mxl1x1sf_soft_reset(struct mxl111sf_state *state) in mxl1x1sf_soft_reset()
69 int mxl1x1sf_set_device_mode(struct mxl111sf_state *state, int mode) in mxl1x1sf_set_device_mode()
97 int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff) in mxl1x1sf_top_master_ctrl()
104 int mxl111sf_disable_656_port(struct mxl111sf_state *state) in mxl111sf_disable_656_port()
111 int mxl111sf_enable_usb_output(struct mxl111sf_state *state) in mxl111sf_enable_usb_output()
119 int mxl111sf_config_mpeg_in(struct mxl111sf_state *state, in mxl111sf_config_mpeg_in()
202 int mxl111sf_init_i2s_port(struct mxl111sf_state *state, u8 sample_size) in mxl111sf_init_i2s_port()
232 int mxl111sf_disable_i2s_port(struct mxl111sf_state *state) in mxl111sf_disable_i2s_port()
244 int mxl111sf_config_i2s(struct mxl111sf_state *state, in mxl111sf_config_i2s()
[all …]
Dmxl111sf-tuner.c47 static int mxl111sf_tuner_read_reg(struct mxl111sf_tuner_state *state, in mxl111sf_tuner_read_reg()
55 static int mxl111sf_tuner_write_reg(struct mxl111sf_tuner_state *state, in mxl111sf_tuner_write_reg()
63 static int mxl111sf_tuner_program_regs(struct mxl111sf_tuner_state *state, in mxl111sf_tuner_program_regs()
71 static int mxl1x1sf_tuner_top_master_ctrl(struct mxl111sf_tuner_state *state, in mxl1x1sf_tuner_top_master_ctrl()
137 static int mxl1x1sf_tuner_set_if_output_freq(struct mxl111sf_tuner_state *state) in mxl1x1sf_tuner_set_if_output_freq()
201 struct mxl111sf_tuner_state *state = fe->tuner_priv; in mxl1x1sf_tune_rf() local
244 static int mxl1x1sf_tuner_get_lock_status(struct mxl111sf_tuner_state *state, in mxl1x1sf_tuner_get_lock_status()
279 struct mxl111sf_tuner_state *state = fe->tuner_priv; in mxl111sf_tuner_set_params() local
351 struct mxl111sf_tuner_state *state = fe->tuner_priv; in mxl111sf_tuner_get_status() local
370 struct mxl111sf_tuner_state *state = fe->tuner_priv; in mxl111sf_get_rf_strength() local
[all …]
Daf9035.h57 struct state { struct
59 u8 buf[BUF_LEN];
60 u8 seq; /* packet sequence number */
61 u8 prechip_version;
62 u8 chip_version;
63 u16 chip_type;
64 u8 dual_mode:1;
65 u16 eeprom_addr;
66 u8 af9033_i2c_addr[2];
67 struct af9033_config af9033_config[2];
[all …]
Dmxl111sf-i2c.c35 static int mxl111sf_i2c_bitbang_sendbyte(struct mxl111sf_state *state, in mxl111sf_i2c_bitbang_sendbyte()
97 static int mxl111sf_i2c_bitbang_recvbyte(struct mxl111sf_state *state, in mxl111sf_i2c_bitbang_recvbyte()
137 static int mxl111sf_i2c_start(struct mxl111sf_state *state) in mxl111sf_i2c_start()
160 static int mxl111sf_i2c_stop(struct mxl111sf_state *state) in mxl111sf_i2c_stop()
188 static int mxl111sf_i2c_ack(struct mxl111sf_state *state) in mxl111sf_i2c_ack()
217 static int mxl111sf_i2c_nack(struct mxl111sf_state *state) in mxl111sf_i2c_nack()
238 static int mxl111sf_i2c_sw_xfer_msg(struct mxl111sf_state *state, in mxl111sf_i2c_sw_xfer_msg()
320 static int mxl111sf_i2c_send_data(struct mxl111sf_state *state, in mxl111sf_i2c_send_data()
330 static int mxl111sf_i2c_get_data(struct mxl111sf_state *state, in mxl111sf_i2c_get_data()
340 static u8 mxl111sf_i2c_check_status(struct mxl111sf_state *state) in mxl111sf_i2c_check_status()
[all …]
Dmxl111sf-gpio.c35 static int mxl111sf_set_gpo_state(struct mxl111sf_state *state, u8 pin, u8 val) in mxl111sf_set_gpo_state()
68 static int mxl111sf_get_gpi_state(struct mxl111sf_state *state, u8 pin, u8 *val) in mxl111sf_get_gpi_state()
117 static int mxl111sf_config_gpio_pins(struct mxl111sf_state *state, in mxl111sf_config_gpio_pins()
178 static int mxl111sf_hw_do_set_gpio(struct mxl111sf_state *state, in mxl111sf_hw_do_set_gpio()
214 int mxl111sf_config_pin_mux_modes(struct mxl111sf_state *state, in mxl111sf_config_pin_mux_modes()
561 static int mxl111sf_hw_set_gpio(struct mxl111sf_state *state, int gpio, int val) in mxl111sf_hw_set_gpio()
566 static int mxl111sf_hw_gpio_initialize(struct mxl111sf_state *state) in mxl111sf_hw_gpio_initialize()
583 static int pca9534_set_gpio(struct mxl111sf_state *state, int gpio, int val) in pca9534_set_gpio()
618 static int pca9534_init_port_expander(struct mxl111sf_state *state) in pca9534_init_port_expander()
640 int mxl111sf_set_gpio(struct mxl111sf_state *state, int gpio, int val) in mxl111sf_set_gpio()
[all …]
Daf9015.c35 struct af9015_state *state = d_to_priv(d); in af9015_ctrl_msg() local
152 struct af9015_state *state = d_to_priv(d); in af9015_write_reg_i2c() local
165 struct af9015_state *state = d_to_priv(d); in af9015_read_reg_i2c() local
211 struct af9015_state *state = d_to_priv(d); in af9015_i2c_xfer() local
353 struct af9015_state *state = d_to_priv(d); in af9015_download_firmware() local
405 struct af9015_state *state = d_to_priv(d); in af9015_eeprom_hash() local
438 struct af9015_state *state = d_to_priv(d); in af9015_read_config() local
622 struct af9015_state *state = d_to_priv(d); in af9015_get_adapter_count() local
630 struct af9015_state *state = fe_to_priv(fe); in af9015_af9013_set_frontend() local
647 struct af9015_state *state = fe_to_priv(fe); in af9015_af9013_read_status() local
[all …]
Dmxl111sf.c89 int mxl111sf_read_reg(struct mxl111sf_state *state, u8 addr, u8 *data) in mxl111sf_read_reg()
113 int mxl111sf_write_reg(struct mxl111sf_state *state, u8 addr, u8 data) in mxl111sf_write_reg()
128 int mxl111sf_write_reg_mask(struct mxl111sf_state *state, in mxl111sf_write_reg_mask()
158 int mxl111sf_ctrl_program_regs(struct mxl111sf_state *state, in mxl111sf_ctrl_program_regs()
182 static int mxl1x1sf_get_chip_info(struct mxl111sf_state *state) in mxl1x1sf_get_chip_info()
235 #define get_chip_info(state) \ argument
265 struct mxl111sf_state *state = fe_to_priv(fe); in mxl111sf_adap_fe_init() local
321 struct mxl111sf_state *state = fe_to_priv(fe); in mxl111sf_adap_fe_sleep() local
345 struct mxl111sf_state *state = fe_to_priv(fe); in mxl111sf_ep6_streaming_ctrl() local
370 struct mxl111sf_state *state = fe_to_priv(fe); in mxl111sf_ep5_streaming_ctrl() local
[all …]
Daf9035.c51 struct state *state = d_to_priv(d); in af9035_ctrl_msg() local
200 struct state *state = d_to_priv(d); in af9035_add_i2c_dev() local
250 struct state *state = d_to_priv(d); in af9035_del_i2c_dev() local
286 struct state *state = d_to_priv(d); in af9035_i2c_master_xfer() local
477 struct state *state = d_to_priv(d); in af9035_identify_state() local
667 struct state *state = d_to_priv(d); in af9035_download_firmware() local
774 struct state *state = d_to_priv(d); in af9035_read_config() local
1086 struct state *state = d_to_priv(d); in af9035_tuner_callback() local
1121 struct state *state = d_to_priv(d); in af9035_get_adapter_count() local
1128 struct state *state = adap_to_priv(adap); in af9035_frontend_attach() local
[all …]
Danysee.c52 struct anysee_state *state = d_to_priv(d); in anysee_ctrl_msg() local
504 struct anysee_state *state = d_to_priv(d); in anysee_read_config() local
540 struct anysee_state *state = fe_to_priv(fe); in anysee_frontend_ctrl() local
637 struct anysee_state *state = d_to_priv(d); in anysee_add_i2c_dev() local
688 struct anysee_state *state = d_to_priv(d); in anysee_del_i2c_dev() local
721 struct anysee_state *state = adap_to_priv(adap); in anysee_frontend_attach() local
981 struct anysee_state *state = adap_to_priv(adap); in anysee_tuner_attach() local
1230 struct anysee_state *state = d_to_priv(d); in anysee_ci_slot_reset() local
1281 struct anysee_state *state = d_to_priv(d); in anysee_ci_poll_slot_status() local
1300 struct anysee_state *state = d_to_priv(d); in anysee_ci_init() local
[all …]
Ddvbsky.c57 struct dvbsky_state *state = d_to_priv(d); in dvbsky_usb_generic_rw() local
75 struct dvbsky_state *state = d_to_priv(d); in dvbsky_stream_ctrl() local
243 struct dvbsky_state *state = d_to_priv(d); in dvbsky_usb_set_voltage() local
283 struct dvbsky_state *state = d_to_priv(d); in dvbsky_usb_read_status() local
311 struct dvbsky_state *state = adap_to_priv(adap); in dvbsky_s960_attach() local
374 struct dvbsky_state *state = d_to_priv(d); in dvbsky_usb_ci_set_voltage() local
432 struct dvbsky_state *state = adap_to_priv(adap); in dvbsky_s960c_attach() local
521 struct dvbsky_state *state = adap_to_priv(adap); in dvbsky_t680c_attach() local
605 struct dvbsky_state *state = adap_to_priv(adap); in dvbsky_t330_attach() local
678 struct dvbsky_state *state = d_to_priv(d); in dvbsky_init() local
[all …]
/linux-4.1.27/drivers/acpi/acpica/
Dutstate.c64 union acpi_generic_state *state) in acpi_ut_push_generic_state()
90 union acpi_generic_state *state; in acpi_ut_pop_generic_state() local
122 union acpi_generic_state *state; in acpi_ut_create_generic_state() local
151 union acpi_generic_state *state; in acpi_ut_create_thread_state() local
195 union acpi_generic_state *state; in acpi_ut_create_update_state() local
231 union acpi_generic_state *state; in acpi_ut_create_pkg_state() local
267 union acpi_generic_state *state; in acpi_ut_create_control_state() local
298 void acpi_ut_delete_generic_state(union acpi_generic_state *state) in acpi_ut_delete_generic_state()
Ddswstate.c76 union acpi_generic_state *state; in acpi_ds_result_pop() local
149 union acpi_generic_state *state; in acpi_ds_result_push() local
219 union acpi_generic_state *state; in acpi_ds_result_stack_push() local
264 union acpi_generic_state *state; in acpi_ds_result_stack_pop() local
706 union acpi_generic_state *state; in acpi_ds_delete_walk_state() local
/linux-4.1.27/drivers/media/pci/pt1/
Dva1j5jf8007s.c53 struct va1j5jf8007s_state *state; in va1j5jf8007s_read_snr() local
113 struct va1j5jf8007s_state *state; in va1j5jf8007s_read_status() local
174 static int va1j5jf8007s_set_frequency_1(struct va1j5jf8007s_state *state) in va1j5jf8007s_set_frequency_1()
205 static int va1j5jf8007s_set_frequency_2(struct va1j5jf8007s_state *state) in va1j5jf8007s_set_frequency_2()
225 static int va1j5jf8007s_set_frequency_3(struct va1j5jf8007s_state *state) in va1j5jf8007s_set_frequency_3()
250 va1j5jf8007s_check_frequency(struct va1j5jf8007s_state *state, int *lock) in va1j5jf8007s_check_frequency()
278 static int va1j5jf8007s_set_modulation(struct va1j5jf8007s_state *state) in va1j5jf8007s_set_modulation()
298 va1j5jf8007s_check_modulation(struct va1j5jf8007s_state *state, int *lock) in va1j5jf8007s_check_modulation()
326 va1j5jf8007s_set_ts_id(struct va1j5jf8007s_state *state) in va1j5jf8007s_set_ts_id()
352 va1j5jf8007s_check_ts_id(struct va1j5jf8007s_state *state, int *lock) in va1j5jf8007s_check_ts_id()
[all …]
Dva1j5jf8007t.c51 struct va1j5jf8007t_state *state; in va1j5jf8007t_read_snr() local
103 struct va1j5jf8007t_state *state; in va1j5jf8007t_read_status() local
160 static int va1j5jf8007t_set_frequency(struct va1j5jf8007t_state *state) in va1j5jf8007t_set_frequency()
189 va1j5jf8007t_check_frequency(struct va1j5jf8007t_state *state, int *lock) in va1j5jf8007t_check_frequency()
217 static int va1j5jf8007t_set_modulation(struct va1j5jf8007t_state *state) in va1j5jf8007t_set_modulation()
236 static int va1j5jf8007t_check_modulation(struct va1j5jf8007t_state *state, in va1j5jf8007t_check_modulation()
271 struct va1j5jf8007t_state *state; in va1j5jf8007t_tune() local
356 static int va1j5jf8007t_init_frequency(struct va1j5jf8007t_state *state) in va1j5jf8007t_init_frequency()
380 static int va1j5jf8007t_set_sleep(struct va1j5jf8007t_state *state, int sleep) in va1j5jf8007t_set_sleep()
401 struct va1j5jf8007t_state *state; in va1j5jf8007t_sleep() local
[all …]
/linux-4.1.27/drivers/gpu/drm/
Ddrm_atomic_helper.c57 drm_atomic_helper_plane_changed(struct drm_atomic_state *state, in drm_atomic_helper_plane_changed()
103 steal_encoder(struct drm_atomic_state *state, in steal_encoder()
152 update_connector_routing(struct drm_atomic_state *state, int conn_idx) in update_connector_routing()
249 mode_fixup(struct drm_atomic_state *state) in mode_fixup()
333 needs_modeset(struct drm_crtc_state *state) in needs_modeset()
362 struct drm_atomic_state *state) in drm_atomic_helper_check_modeset()
456 struct drm_atomic_state *state) in drm_atomic_helper_check_planes()
523 struct drm_atomic_state *state) in drm_atomic_helper_check()
827 struct drm_atomic_state *state) in wait_for_fences()
937 struct drm_atomic_state *state, in drm_atomic_helper_commit()
[all …]
Ddrm_atomic.c33 static void kfree_state(struct drm_atomic_state *state) in kfree_state()
53 struct drm_atomic_state *state; in drm_atomic_state_alloc() local
119 void drm_atomic_state_clear(struct drm_atomic_state *state) in drm_atomic_state_clear()
174 void drm_atomic_state_free(struct drm_atomic_state *state) in drm_atomic_state_free()
203 drm_atomic_get_crtc_state(struct drm_atomic_state *state, in drm_atomic_get_crtc_state()
250 struct drm_crtc_state *state, struct drm_property *property, in drm_atomic_crtc_set_property()
275 const struct drm_crtc_state *state, in drm_atomic_crtc_get_property()
302 struct drm_crtc_state *state) in drm_atomic_crtc_check()
337 drm_atomic_get_plane_state(struct drm_atomic_state *state, in drm_atomic_get_plane_state()
393 struct drm_plane_state *state, struct drm_property *property, in drm_atomic_plane_set_property()
[all …]
/linux-4.1.27/drivers/media/usb/dvb-usb/
Ddib0700_devices.c276 struct dib0700_adapter_state *state = adap->priv; in stk7700P2_frontend_attach() local
309 struct dib0700_adapter_state *state = adap->priv; in stk7700d_frontend_attach() local
344 struct dib0700_adapter_state *state = adap->priv; in stk7700d_tuner_attach() local
424 struct dib0700_adapter_state *state = adap->priv; in stk7700ph_xc3028_callback() local
457 struct dib0700_adapter_state *state = adap->priv; in stk7700ph_frontend_attach() local
495 struct dib0700_adapter_state *state = adap->priv; in stk7700ph_tuner_attach() local
703 struct dib0700_adapter_state *state = adap->priv; in stk7700p_frontend_attach() local
744 struct dib0700_adapter_state *state = adap->priv; in stk7700p_tuner_attach() local
798 struct dib0700_adapter_state *state = adap->priv; in dib7070_tuner_reset() local
807 struct dib0700_adapter_state *state = adap->priv; in dib7070_tuner_sleep() local
[all …]
Ddtt200u-fe.c25 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_read_status() local
48 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_read_ber() local
57 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_read_unc_blocks() local
67 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_read_signal_strength() local
76 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_read_snr() local
85 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_init() local
106 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_set_frontend() local
145 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_get_frontend() local
152 struct dtt200u_fe_state *state = (struct dtt200u_fe_state*) fe->demodulator_priv; in dtt200u_fe_release() local
160 struct dtt200u_fe_state* state = NULL; in dtt200u_fe_attach() local
Dfriio-fe.c27 static int jdvbt90502_reg_read(struct jdvbt90502_state *state, in jdvbt90502_reg_read()
57 static int jdvbt90502_single_reg_write(struct jdvbt90502_state *state, in jdvbt90502_single_reg_write()
80 struct jdvbt90502_state *state = fe->demodulator_priv; in _jdvbt90502_write() local
94 static int jdvbt90502_pll_read(struct jdvbt90502_state *state, u8 *result) in jdvbt90502_pll_read()
122 static int jdvbt90502_pll_set_freq(struct jdvbt90502_state *state, u32 freq) in jdvbt90502_pll_set_freq()
213 static int jdvbt90502_read_status(struct dvb_frontend *fe, fe_status_t *state) in jdvbt90502_read_status()
309 struct jdvbt90502_state *state = fe->demodulator_priv; in jdvbt90502_set_frontend() local
378 struct jdvbt90502_state *state = fe->demodulator_priv; in jdvbt90502_init() local
404 struct jdvbt90502_state *state = fe->demodulator_priv; in jdvbt90502_release() local
413 struct jdvbt90502_state *state = NULL; in jdvbt90502_attach() local
Dvp7045-fe.c31 struct vp7045_fe_state *state = fe->demodulator_priv; in vp7045_fe_read_status() local
57 struct vp7045_fe_state *state = fe->demodulator_priv; in vp7045_fe_read_ber() local
66 struct vp7045_fe_state *state = fe->demodulator_priv; in vp7045_fe_read_unc_blocks() local
74 struct vp7045_fe_state *state = fe->demodulator_priv; in vp7045_fe_read_signal_strength() local
84 struct vp7045_fe_state *state = fe->demodulator_priv; in vp7045_fe_read_snr() local
109 struct vp7045_fe_state *state = fe->demodulator_priv; in vp7045_fe_set_frontend() local
138 struct vp7045_fe_state *state = fe->demodulator_priv; in vp7045_fe_release() local
Daf9005-fe.c106 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_is_fecmon_available() local
137 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_get_post_vit_err_cw_count() local
240 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_get_pre_vit_err_bit_count() local
335 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_reset_pre_viterbi() local
359 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_reset_post_viterbi() local
384 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_get_statistic() local
428 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_fe_refresh_state() local
442 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_fe_read_status() local
491 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_fe_read_ber() local
501 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_fe_read_unc_blocks() local
[all …]
DcinergyT2-fe.c147 struct cinergyt2_fe_state *state = fe->demodulator_priv; in cinergyt2_fe_read_status() local
179 struct cinergyt2_fe_state *state = fe->demodulator_priv; in cinergyt2_fe_read_ber() local
195 struct cinergyt2_fe_state *state = fe->demodulator_priv; in cinergyt2_fe_read_unc_blocks() local
214 struct cinergyt2_fe_state *state = fe->demodulator_priv; in cinergyt2_fe_read_signal_strength() local
232 struct cinergyt2_fe_state *state = fe->demodulator_priv; in cinergyt2_fe_read_snr() local
268 struct cinergyt2_fe_state *state = fe->demodulator_priv; in cinergyt2_fe_set_frontend() local
302 struct cinergyt2_fe_state *state = fe->demodulator_priv; in cinergyt2_fe_release() local
Dgp8psk-fe.c38 struct gp8psk_fe_state *state = fe->demodulator_priv; in gp8psk_set_tuner_mode() local
118 struct gp8psk_fe_state *state = fe->demodulator_priv; in gp8psk_fe_set_frontend() local
259 struct gp8psk_fe_state* state = fe->demodulator_priv; in gp8psk_fe_set_tone() local
270 struct gp8psk_fe_state* state = fe->demodulator_priv; in gp8psk_fe_set_voltage() local
281 struct gp8psk_fe_state* state = fe->demodulator_priv; in gp8psk_fe_enable_high_lnb_voltage() local
287 struct gp8psk_fe_state* state = fe->demodulator_priv; in gp8psk_fe_send_legacy_dish_cmd() local
304 struct gp8psk_fe_state *state = fe->demodulator_priv; in gp8psk_fe_release() local
/linux-4.1.27/drivers/media/i2c/
Dadv7604.c177 static bool adv76xx_has_afe(struct adv76xx_state *state) in adv76xx_has_afe()
364 static s32 adv_smbus_read_byte_data(struct adv76xx_state *state, in adv_smbus_read_byte_data()
371 static s32 adv_smbus_write_byte_data(struct adv76xx_state *state, in adv_smbus_write_byte_data()
395 static s32 adv_smbus_write_i2c_block_data(struct adv76xx_state *state, in adv_smbus_write_i2c_block_data()
415 struct adv76xx_state *state = to_state(sd); in io_read() local
422 struct adv76xx_state *state = to_state(sd); in io_write() local
434 struct adv76xx_state *state = to_state(sd); in avlink_read() local
441 struct adv76xx_state *state = to_state(sd); in avlink_write() local
448 struct adv76xx_state *state = to_state(sd); in cec_read() local
455 struct adv76xx_state *state = to_state(sd); in cec_write() local
[all …]
Dmsp3400-kthreads.c191 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp_set_source() local
218 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3400c_set_mode() local
259 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3400c_set_audmode() local
388 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3400c_print_mode() local
417 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3400c_detect_stereo() local
495 struct msp_state *state = to_state(i2c_get_clientdata(client)); in watch_stereo() local
507 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3400c_thread() local
698 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3410d_thread() local
867 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp34xxg_modus() local
894 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp34xxg_set_source() local
[all …]
Ds5k5baf.c422 static u16 s5k5baf_i2c_read(struct s5k5baf *state, u16 addr) in s5k5baf_i2c_read()
451 static void s5k5baf_i2c_write(struct s5k5baf *state, u16 addr, u16 val) in s5k5baf_i2c_write()
469 static u16 s5k5baf_read(struct s5k5baf *state, u16 addr) in s5k5baf_read()
475 static void s5k5baf_write(struct s5k5baf *state, u16 addr, u16 val) in s5k5baf_write()
481 static void s5k5baf_write_arr_seq(struct s5k5baf *state, u16 addr, in s5k5baf_write_arr_seq()
515 #define s5k5baf_write_seq(state, addr, seq...) \ argument
530 static void s5k5baf_write_nseq(struct s5k5baf *state, const u16 *nseq) in s5k5baf_write_nseq()
543 static void s5k5baf_synchronize(struct s5k5baf *state, int timeout, u16 addr) in s5k5baf_synchronize()
560 static u16 *s5k5baf_fw_get_seq(struct s5k5baf *state, u16 seq_id) in s5k5baf_fw_get_seq()
579 static void s5k5baf_hw_patch(struct s5k5baf *state) in s5k5baf_hw_patch()
[all …]
Dadv7842.c340 struct adv7842_state *state = to_state(sd); in avlink_read() local
347 struct adv7842_state *state = to_state(sd); in avlink_write() local
354 struct adv7842_state *state = to_state(sd); in cec_read() local
361 struct adv7842_state *state = to_state(sd); in cec_write() local
373 struct adv7842_state *state = to_state(sd); in infoframe_read() local
380 struct adv7842_state *state = to_state(sd); in infoframe_write() local
387 struct adv7842_state *state = to_state(sd); in sdp_io_read() local
394 struct adv7842_state *state = to_state(sd); in sdp_io_write() local
406 struct adv7842_state *state = to_state(sd); in sdp_read() local
413 struct adv7842_state *state = to_state(sd); in sdp_write() local
[all …]
Dadv7180.c209 static int adv7180_select_page(struct adv7180_state *state, unsigned int page) in adv7180_select_page()
220 static int adv7180_write(struct adv7180_state *state, unsigned int reg, in adv7180_write()
228 static int adv7180_read(struct adv7180_state *state, unsigned int reg) in adv7180_read()
235 static int adv7180_csi_write(struct adv7180_state *state, unsigned int reg, in adv7180_csi_write()
241 static int adv7180_set_video_standard(struct adv7180_state *state, in adv7180_set_video_standard()
247 static int adv7180_vpp_write(struct adv7180_state *state, unsigned int reg, in adv7180_vpp_write()
312 static int __adv7180_status(struct adv7180_state *state, u32 *status, in __adv7180_status()
335 struct adv7180_state *state = to_state(sd); in adv7180_querystd() local
353 struct adv7180_state *state = to_state(sd); in adv7180_s_routing() local
375 struct adv7180_state *state = to_state(sd); in adv7180_g_input_status() local
[all …]
Dvp27smpx.c53 struct vp27smpx_state *state = to_state(sd); in vp27smpx_set_audmode() local
78 struct vp27smpx_state *state = to_state(sd); in vp27smpx_s_radio() local
86 struct vp27smpx_state *state = to_state(sd); in vp27smpx_s_std() local
94 struct vp27smpx_state *state = to_state(sd); in vp27smpx_s_tuner() local
103 struct vp27smpx_state *state = to_state(sd); in vp27smpx_g_tuner() local
116 struct vp27smpx_state *state = to_state(sd); in vp27smpx_log_status() local
157 struct vp27smpx_state *state; in vp27smpx_probe() local
Dmsp3400-driver.c291 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp_set_scart() local
317 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp_wake_thread() local
326 int msp_sleep(struct msp_state *state, int timeout) in msp_sleep()
350 struct msp_state *state = ctrl_to_state(ctrl); in msp_s_ctrl() local
410 void msp_update_volume(struct msp_state *state) in msp_update_volume()
423 struct msp_state *state = to_state(sd); in msp_s_radio() local
459 struct msp_state *state = to_state(sd); in msp_querystd() local
473 struct msp_state *state = to_state(sd); in msp_s_std() local
487 struct msp_state *state = to_state(sd); in msp_s_routing() local
522 struct msp_state *state = to_state(sd); in msp_g_tuner() local
[all …]
Dm52790.c53 struct m52790_state *state = to_state(sd); in m52790_write() local
73 struct m52790_state *state = to_state(sd); in m52790_s_routing() local
84 struct m52790_state *state = to_state(sd); in m52790_g_register() local
95 struct m52790_state *state = to_state(sd); in m52790_s_register() local
108 struct m52790_state *state = to_state(sd); in m52790_log_status() local
148 struct m52790_state *state; in m52790_probe() local
Dadv7511.c227 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_edid_rd() local
314 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_set_IT_content_AVI_InfoFrame() local
332 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_set_rgb_quantization_mode() local
360 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_s_ctrl() local
419 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_log_status() local
496 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_s_power() local
620 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_s_stream() local
636 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_s_dv_timings() local
665 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_g_dv_timings() local
785 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_get_edid() local
[all …]
Dsaa7115.c160 struct saa711x_state *state = to_state(sd); in saa711x_writeregs() local
756 struct saa711x_state *state = to_state(sd); in saa711x_s_clock_freq() local
818 struct saa711x_state *state = to_state(sd); in saa711x_g_volatile_ctrl() local
834 struct saa711x_state *state = to_state(sd); in saa711x_s_ctrl() local
870 struct saa711x_state *state = to_state(sd); in saa711x_set_size() local
976 struct saa711x_state *state = to_state(sd); in saa711x_set_v4lstd() local
1054 struct saa711x_state *state = to_state(sd); in saa711x_set_lcr() local
1190 struct saa711x_state *state = to_state(sd); in saa711x_decode_vbi_line() local
1255 struct saa711x_state *state = to_state(sd); in saa711x_g_tuner() local
1269 struct saa711x_state *state = to_state(sd); in saa711x_s_std() local
[all …]
Dad9389b.c155 struct ad9389b_state *state = get_ad9389b_state(sd); in ad9389b_edid_rd() local
240 struct ad9389b_state *state = get_ad9389b_state(sd); in ad9389b_set_IT_content_AVI_InfoFrame() local
253 struct ad9389b_state *state = get_ad9389b_state(sd); in ad9389b_set_rgb_quantization_mode() local
316 struct ad9389b_state *state = get_ad9389b_state(sd); in ad9389b_s_ctrl() local
355 struct ad9389b_state *state = get_ad9389b_state(sd); in ad9389b_log_status() local
448 struct ad9389b_state *state = get_ad9389b_state(sd); in ad9389b_s_power() local
604 struct ad9389b_state *state = get_ad9389b_state(sd); in ad9389b_s_dv_timings() local
637 struct ad9389b_state *state = get_ad9389b_state(sd); in ad9389b_g_dv_timings() local
679 struct ad9389b_state *state = get_ad9389b_state(sd); in ad9389b_get_edid() local
825 struct ad9389b_state *state = in ad9389b_edid_handler() local
[all …]
Dadv7343.c134 struct adv7343_state *state = to_state(sd); in adv7343_setstd() local
207 struct adv7343_state *state = to_state(sd); in adv7343_setoutput() local
290 struct adv7343_state *state = to_state(sd); in adv7343_log_status() local
333 struct adv7343_state *state = to_state(sd); in adv7343_s_std_output() local
349 struct adv7343_state *state = to_state(sd); in adv7343_s_routing() local
374 struct adv7343_state *state = to_state(sd); in adv7343_initialize() local
441 struct adv7343_state *state; in adv7343_probe() local
506 struct adv7343_state *state = to_state(sd); in adv7343_remove() local
Dadv7393.c137 struct adv7393_state *state = to_state(sd); in adv7393_setstd() local
211 struct adv7393_state *state = to_state(sd); in adv7393_setoutput() local
275 struct adv7393_state *state = to_state(sd); in adv7393_log_status() local
320 struct adv7393_state *state = to_state(sd); in adv7393_s_std_output() local
336 struct adv7393_state *state = to_state(sd); in adv7393_s_routing() local
361 struct adv7393_state *state = to_state(sd); in adv7393_initialize() local
394 struct adv7393_state *state; in adv7393_probe() local
450 struct adv7393_state *state = to_state(sd); in adv7393_remove() local
Dsaa7127.c353 struct saa7127_state *state = to_state(sd); in saa7127_set_vps() local
384 struct saa7127_state *state = to_state(sd); in saa7127_set_cc() local
411 struct saa7127_state *state = to_state(sd); in saa7127_set_xds() local
437 struct saa7127_state *state = to_state(sd); in saa7127_set_wss() local
462 struct saa7127_state *state = to_state(sd); in saa7127_set_video_enable() local
481 struct saa7127_state *state = to_state(sd); in saa7127_set_std() local
515 struct saa7127_state *state = to_state(sd); in saa7127_set_output_type() local
574 struct saa7127_state *state = to_state(sd); in saa7127_set_input_type() local
599 struct saa7127_state *state = to_state(sd); in saa7127_s_std_output() local
609 struct saa7127_state *state = to_state(sd); in saa7127_s_routing() local
[all …]
Dths7303.c86 struct ths7303_state *state = to_state(sd); in ths7303_setval() local
141 struct ths7303_state *state = to_state(sd); in ths7303_s_std_output() local
154 struct ths7303_state *state = to_state(sd); in ths7303_config() local
188 struct ths7303_state *state = to_state(sd); in ths7303_s_stream() local
199 struct ths7303_state *state = to_state(sd); in ths7303_s_dv_timings() local
283 struct ths7303_state *state = to_state(sd); in ths7303_log_status() local
329 struct ths7303_state *state; in ths7303_probe() local
Dths8200.c125 struct ths8200_state *state = to_state(sd); in ths8200_log_status() local
147 struct ths8200_state *state = to_state(sd); in ths8200_s_power() local
174 struct ths8200_state *state = to_state(sd); in ths8200_s_stream() local
364 struct ths8200_state *state = to_state(sd); in ths8200_s_dv_timings() local
391 struct ths8200_state *state = to_state(sd); in ths8200_g_dv_timings() local
442 struct ths8200_state *state; in ths8200_probe() local
Dwm8739.c100 struct wm8739_state *state = to_state(sd); in wm8739_s_ctrl() local
136 struct wm8739_state *state = to_state(sd); in wm8739_s_clock_freq() local
164 struct wm8739_state *state = to_state(sd); in wm8739_log_status() local
204 struct wm8739_state *state; in wm8739_probe() local
260 struct wm8739_state *state = to_state(sd); in wm8739_remove() local
/linux-4.1.27/drivers/base/power/
Dmain.c205 int error, pm_message_t state, char *info) in initcall_debug_report()
249 static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_op()
284 pm_message_t state) in pm_late_early_op()
318 static pm_callback_t pm_noirq_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_noirq_op()
344 static void pm_dev_dbg(struct device *dev, pm_message_t state, char *info) in pm_dev_dbg()
351 static void pm_dev_err(struct device *dev, pm_message_t state, char *info, in pm_dev_err()
358 static void dpm_show_time(ktime_t starttime, pm_message_t state, char *info) in dpm_show_time()
376 pm_message_t state, char *info) in dpm_run_callback()
473 static int device_resume_noirq(struct device *dev, pm_message_t state, bool async) in device_resume_noirq()
543 void dpm_resume_noirq(pm_message_t state) in dpm_resume_noirq()
[all …]
/linux-4.1.27/drivers/media/tuners/
Dmxl5007t.c216 static void mxl5007t_set_mode_bits(struct mxl5007t_state *state, in mxl5007t_set_mode_bits()
242 static void mxl5007t_set_if_freq_bits(struct mxl5007t_state *state, in mxl5007t_set_if_freq_bits()
296 static void mxl5007t_set_xtal_freq_bits(struct mxl5007t_state *state, in mxl5007t_set_xtal_freq_bits()
365 static struct reg_pair_t *mxl5007t_calc_init_regs(struct mxl5007t_state *state, in mxl5007t_calc_init_regs()
395 static void mxl5007t_set_bw_bits(struct mxl5007t_state *state, in mxl5007t_set_bw_bits()
421 reg_pair_t *mxl5007t_calc_rf_tune_regs(struct mxl5007t_state *state, in mxl5007t_calc_rf_tune_regs()
463 static int mxl5007t_write_reg(struct mxl5007t_state *state, u8 reg, u8 val) in mxl5007t_write_reg()
478 static int mxl5007t_write_regs(struct mxl5007t_state *state, in mxl5007t_write_regs()
492 static int mxl5007t_read_reg(struct mxl5007t_state *state, u8 reg, u8 *val) in mxl5007t_read_reg()
511 static int mxl5007t_soft_reset(struct mxl5007t_state *state) in mxl5007t_soft_reset()
[all …]
Dqm1d1c0042.c63 static int reg_write(struct qm1d1c0042_state *state, u8 reg, u8 val) in reg_write()
74 static int reg_read(struct qm1d1c0042_state *state, u8 reg, u8 *val) in reg_read()
99 static int qm1d1c0042_set_srch_mode(struct qm1d1c0042_state *state, bool fast) in qm1d1c0042_set_srch_mode()
109 static int qm1d1c0042_wakeup(struct qm1d1c0042_state *state) in qm1d1c0042_wakeup()
130 struct qm1d1c0042_state *state; in qm1d1c0042_set_config() local
180 struct qm1d1c0042_state *state; in qm1d1c0042_set_params() local
300 struct qm1d1c0042_state *state; in qm1d1c0042_sleep() local
318 struct qm1d1c0042_state *state; in qm1d1c0042_init() local
398 struct qm1d1c0042_state *state; in qm1d1c0042_probe() local
420 struct qm1d1c0042_state *state; in qm1d1c0042_remove() local
Dmxl301rf.c44 static int raw_write(struct mxl301rf_state *state, const u8 *buf, int len) in raw_write()
54 static int reg_write(struct mxl301rf_state *state, u8 reg, u8 val) in reg_write()
61 static int reg_read(struct mxl301rf_state *state, u8 reg, u8 *val) in reg_read()
79 struct mxl301rf_state *state; in mxl301rf_get_rf_strength() local
180 struct mxl301rf_state *state; in mxl301rf_set_params() local
245 struct mxl301rf_state *state; in mxl301rf_sleep() local
263 struct mxl301rf_state *state; in mxl301rf_init() local
298 struct mxl301rf_state *state; in mxl301rf_probe() local
321 struct mxl301rf_state *state; in mxl301rf_remove() local
Dmxl5005s.c339 struct mxl5005s_state *state = fe->tuner_priv; in mxl5005s_SetRfFreqHz() local
404 struct mxl5005s_state *state = fe->tuner_priv; in MXL5005_RegisterInit() local
724 struct mxl5005s_state *state = fe->tuner_priv; in MXL5005_ControlInit() local
1694 struct mxl5005s_state *state = fe->tuner_priv; in MXL5005_TunerConfig() local
1722 struct mxl5005s_state *state = fe->tuner_priv; in MXL_SynthIFLO_Calc() local
1735 struct mxl5005s_state *state = fe->tuner_priv; in MXL_SynthRFTGLO_Calc() local
1768 struct mxl5005s_state *state = fe->tuner_priv; in MXL_BlockInit() local
2106 struct mxl5005s_state *state = fe->tuner_priv; in MXL_IFSynthInit() local
2310 struct mxl5005s_state *state = fe->tuner_priv; in MXL_TuneRF() local
3418 struct mxl5005s_state *state = fe->tuner_priv; in MXL_ControlWrite_Group() local
[all …]
/linux-4.1.27/lib/
Drandom32.c59 u32 prandom_u32_state(struct rnd_state *state) in prandom_u32_state()
80 struct rnd_state *state = &get_cpu_var(net_rand_state); in prandom_u32() local
100 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t bytes) in prandom_bytes_state()
128 struct rnd_state *state = &get_cpu_var(net_rand_state); in prandom_bytes() local
135 static void prandom_warmup(struct rnd_state *state) in prandom_warmup()
160 static void prandom_seed_early(struct rnd_state *state, u32 seed, in prandom_seed_early()
185 struct rnd_state *state = &per_cpu(net_rand_state, i); in prandom_seed() local
204 struct rnd_state *state = &per_cpu(net_rand_state,i); in prandom_init() local
271 struct rnd_state *state = &per_cpu(net_rand_state,i); in __prandom_reseed() local
424 struct rnd_state state; in prandom_state_selftest() local
[all …]
Ddebugobjects.c273 debug_object_fixup(int (*fixup)(void *addr, enum debug_obj_state state), in debug_object_fixup()
307 enum debug_obj_state state; in __debug_object_init() local
389 enum debug_obj_state state; in debug_object_activate() local
501 enum debug_obj_state state; in debug_object_destroy() local
547 enum debug_obj_state state; in debug_object_free() local
672 enum debug_obj_state state; in __debug_check_no_obj_freed() local
800 static int __init fixup_init(void *addr, enum debug_obj_state state) in fixup_init()
819 static int __init fixup_activate(void *addr, enum debug_obj_state state) in fixup_activate()
846 static int __init fixup_destroy(void *addr, enum debug_obj_state state) in fixup_destroy()
864 static int __init fixup_free(void *addr, enum debug_obj_state state) in fixup_free()
[all …]
/linux-4.1.27/drivers/net/ppp/
Dppp_deflate.c65 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_comp_free() local
90 struct ppp_deflate_state *state; in z_comp_alloc() local
143 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_comp_init() local
171 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_comp_reset() local
191 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_compress() local
271 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_comp_stats() local
282 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_decomp_free() local
307 struct ppp_deflate_state *state; in z_decomp_alloc() local
358 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_decomp_init() local
387 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_decomp_reset() local
[all …]
Dppp_mppe.c136 static void get_new_key_from_sha(struct ppp_mppe_state * state) in get_new_key_from_sha()
161 static void mppe_rekey(struct ppp_mppe_state * state, int initial_key) in mppe_rekey()
195 struct ppp_mppe_state *state; in mppe_alloc() local
257 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_free() local
276 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_init() local
356 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_comp_reset() local
370 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_compress() local
448 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_comp_stats() local
477 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_decompress() local
666 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_incomp() local
/linux-4.1.27/drivers/media/usb/ttusb-dec/
Dttusbdecfe.c53 struct ttusbdecfe_state* state = fe->demodulator_priv; in ttusbdecfe_dvbt_read_status() local
93 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; in ttusbdecfe_dvbt_set_frontend() local
120 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; in ttusbdecfe_dvbs_set_frontend() local
154 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; in ttusbdecfe_dvbs_diseqc_send_master_cmd() local
174 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; in ttusbdecfe_dvbs_set_tone() local
184 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; in ttusbdecfe_dvbs_set_voltage() local
202 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; in ttusbdecfe_release() local
210 struct ttusbdecfe_state* state = NULL; in ttusbdecfe_dvbt_attach() local
230 struct ttusbdecfe_state* state = NULL; in ttusbdecfe_dvbs_attach() local
/linux-4.1.27/drivers/media/i2c/cx25840/
Dcx25840-audio.c46 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_set_audclk_freq() local
301 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx23885_set_audclk_freq() local
343 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx231xx_set_audclk_freq() local
419 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in set_audclk_freq() local
438 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_audio_set_path() local
520 struct cx25840_state *state = to_state(sd); in cx25840_s_clock_freq() local
540 struct cx25840_state *state = to_state(sd); in cx25840_audio_s_ctrl() local
Dcx25840-core.c326 struct cx25840_state *state = to_state(sd); in common_s_io_pin_config() local
391 struct cx25840_state *state = container_of(work, struct cx25840_state, fw_work); in cx25840_work_handler() local
399 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_initialize() local
467 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx23885_initialize() local
698 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx231xx_initialize() local
775 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_std_setup() local
924 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in input_change() local
1000 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in set_input() local
1276 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in set_v4lstd() local
1331 struct cx25840_state *state = to_state(sd); in cx25840_s_ctrl() local
[all …]
Dcx25840-core.h90 static inline bool is_cx2583x(struct cx25840_state *state) in is_cx2583x()
96 static inline bool is_cx231xx(struct cx25840_state *state) in is_cx231xx()
101 static inline bool is_cx2388x(struct cx25840_state *state) in is_cx2388x()
108 static inline bool is_cx23885(struct cx25840_state *state) in is_cx23885()
113 static inline bool is_cx23887(struct cx25840_state *state) in is_cx23887()
118 static inline bool is_cx23888(struct cx25840_state *state) in is_cx23888()
Dcx25840-vbi.c88 struct cx25840_state *state = to_state(sd); in cx25840_g_sliced_fmt() local
130 struct cx25840_state *state = to_state(sd); in cx25840_s_raw_fmt() local
146 struct cx25840_state *state = to_state(sd); in cx25840_s_sliced_fmt() local
213 struct cx25840_state *state = to_state(sd); in cx25840_decode_vbi_line() local
/linux-4.1.27/drivers/ata/
Dpata_icside.c62 struct pata_icside_state *state; member
87 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v5() local
97 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqdisable_arcin_v5() local
114 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v6() local
128 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqdisable_arcin_v6() local
139 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqpending_arcin_v6() local
189 struct pata_icside_state *state = ap->host->private_data; in pata_icside_set_dmamode() local
222 struct pata_icside_state *state = ap->host->private_data; in pata_icside_bmdma_setup() local
247 struct pata_icside_state *state = ap->host->private_data; in pata_icside_bmdma_start() local
256 struct pata_icside_state *state = ap->host->private_data; in pata_icside_bmdma_stop() local
[all …]
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_atomic_plane.c51 struct intel_plane_state *state; in intel_create_plane_state() local
75 struct drm_plane_state *state; in intel_plane_duplicate_state() local
104 struct drm_plane_state *state) in intel_plane_destroy_state()
110 struct drm_plane_state *state) in intel_plane_atomic_check()
202 const struct drm_plane_state *state, in intel_plane_atomic_get_property()
224 struct drm_plane_state *state, in intel_plane_atomic_set_property()
Dintel_atomic.c45 struct drm_atomic_state *state) in intel_atomic_check()
116 struct drm_atomic_state *state, in intel_atomic_commit()
179 const struct drm_connector_state *state, in intel_connector_atomic_get_property()
240 struct drm_crtc_state *state) in intel_crtc_destroy_state()
/linux-4.1.27/drivers/mtd/maps/
Dbfin-async-flash.c46 static void switch_to_flash(struct async_state *state) in switch_to_flash()
59 static void switch_back(struct async_state *state) in switch_back()
72 struct async_state *state = (struct async_state *)map->map_priv_1; in bfin_flash_read() local
88 struct async_state *state = (struct async_state *)map->map_priv_1; in bfin_flash_copy_from() local
99 struct async_state *state = (struct async_state *)map->map_priv_1; in bfin_flash_write() local
114 struct async_state *state = (struct async_state *)map->map_priv_1; in bfin_flash_copy_to() local
132 struct async_state *state; in bfin_flash_probe() local
177 struct async_state *state = platform_get_drvdata(pdev); in bfin_flash_remove() local
Dgpio-addr-flash.c63 static void gf_set_gpios(struct async_state *state, unsigned long ofs) in gf_set_gpios()
84 struct async_state *state = gf_map_info_to_state(map); in gf_read() local
107 struct async_state *state = gf_map_info_to_state(map); in gf_copy_from() local
133 struct async_state *state = gf_map_info_to_state(map); in gf_write() local
154 struct async_state *state = gf_map_info_to_state(map); in gf_copy_to() local
210 struct async_state *state; in gpio_flash_probe() local
279 struct async_state *state = platform_get_drvdata(pdev); in gpio_flash_remove() local
/linux-4.1.27/drivers/tty/serial/
Dserial_core.c73 struct uart_state *state = port->state; in uart_write_wakeup() local
84 struct uart_state *state = tty->driver_data; in uart_stop() local
95 struct uart_state *state = tty->driver_data; in __uart_start() local
104 struct uart_state *state = tty->driver_data; in uart_start() local
134 static int uart_port_startup(struct tty_struct *tty, struct uart_state *state, in uart_port_startup()
195 static int uart_startup(struct tty_struct *tty, struct uart_state *state, in uart_startup()
225 static void uart_shutdown(struct tty_struct *tty, struct uart_state *state) in uart_shutdown()
432 static void uart_change_speed(struct tty_struct *tty, struct uart_state *state, in uart_change_speed()
498 struct uart_state *state = tty->driver_data; in uart_put_char() local
511 struct uart_state *state = tty->driver_data; in uart_write() local
[all …]
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c47 struct rcar_du_plane_state *state = in rcar_du_plane_setup_fb() local
111 struct rcar_du_plane_state *state = in rcar_du_plane_setup_mode() local
174 struct rcar_du_plane_state *state = in __rcar_du_plane_setup() local
224 struct rcar_du_plane_state *state = in rcar_du_plane_setup() local
235 struct drm_plane_state *state) in rcar_du_plane_atomic_check()
278 struct rcar_du_plane_state *state; in rcar_du_plane_reset() local
302 struct rcar_du_plane_state *state; in rcar_du_plane_atomic_duplicate_state() local
317 struct drm_plane_state *state) in rcar_du_plane_atomic_destroy_state()
326 struct drm_plane_state *state, in rcar_du_plane_atomic_set_property()
347 const struct drm_plane_state *state, struct drm_property *property, in rcar_du_plane_atomic_get_property()
/linux-4.1.27/net/ipv4/netfilter/
Dnft_chain_nat_ipv4.c31 const struct nf_hook_state *state, in nft_nat_do_chain()
43 const struct nf_hook_state *state) in nft_nat_ipv4_fn()
50 const struct nf_hook_state *state) in nft_nat_ipv4_in()
57 const struct nf_hook_state *state) in nft_nat_ipv4_out()
64 const struct nf_hook_state *state) in nft_nat_ipv4_local_fn()
Diptable_nat.c33 const struct nf_hook_state *state, in iptable_nat_do_chain()
43 const struct nf_hook_state *state) in iptable_nat_ipv4_fn()
50 const struct nf_hook_state *state) in iptable_nat_ipv4_in()
57 const struct nf_hook_state *state) in iptable_nat_ipv4_out()
64 const struct nf_hook_state *state) in iptable_nat_ipv4_local_fn()
Dnf_nat_l3proto_ipv4.c259 const struct nf_hook_state *state, in nf_nat_ipv4_fn()
349 const struct nf_hook_state *state, in nf_nat_ipv4_in()
369 const struct nf_hook_state *state, in nf_nat_ipv4_out()
411 const struct nf_hook_state *state, in nf_nat_ipv4_local_fn()
/linux-4.1.27/net/ipv6/netfilter/
Dnft_chain_nat_ipv6.c29 const struct nf_hook_state *state, in nft_nat_do_chain()
41 const struct nf_hook_state *state) in nft_nat_ipv6_fn()
48 const struct nf_hook_state *state) in nft_nat_ipv6_in()
55 const struct nf_hook_state *state) in nft_nat_ipv6_out()
62 const struct nf_hook_state *state) in nft_nat_ipv6_local_fn()
Dip6table_nat.c35 const struct nf_hook_state *state, in ip6table_nat_do_chain()
45 const struct nf_hook_state *state) in ip6table_nat_fn()
52 const struct nf_hook_state *state) in ip6table_nat_in()
59 const struct nf_hook_state *state) in ip6table_nat_out()
66 const struct nf_hook_state *state) in ip6table_nat_local_fn()
Dnf_nat_l3proto_ipv6.c266 const struct nf_hook_state *state, in nf_nat_ipv6_fn()
357 const struct nf_hook_state *state, in nf_nat_ipv6_in()
377 const struct nf_hook_state *state, in nf_nat_ipv6_out()
418 const struct nf_hook_state *state, in nf_nat_ipv6_local_fn()
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dmipi-csis.c293 static void s5pcsis_enable_interrupts(struct csis_state *state, bool on) in s5pcsis_enable_interrupts()
303 static void s5pcsis_reset(struct csis_state *state) in s5pcsis_reset()
311 static void s5pcsis_system_enable(struct csis_state *state, int on) in s5pcsis_system_enable()
332 static void __s5pcsis_set_format(struct csis_state *state) in __s5pcsis_set_format()
350 static void s5pcsis_set_hsync_settle(struct csis_state *state, int settle) in s5pcsis_set_hsync_settle()
358 static void s5pcsis_set_params(struct csis_state *state) in s5pcsis_set_params()
385 static void s5pcsis_clk_put(struct csis_state *state) in s5pcsis_clk_put()
398 static int s5pcsis_clk_get(struct csis_state *state) in s5pcsis_clk_get()
426 static void dump_regs(struct csis_state *state, const char *label) in dump_regs()
450 static void s5pcsis_start_stream(struct csis_state *state) in s5pcsis_start_stream()
[all …]
/linux-4.1.27/drivers/video/
Dvgastate.c48 static void save_vga_text(struct vgastate *state, void __iomem *fbbase) in save_vga_text()
138 static void restore_vga_text(struct vgastate *state, void __iomem *fbbase) in restore_vga_text()
226 static void save_vga_mode(struct vgastate *state) in save_vga_mode()
257 static void restore_vga_mode(struct vgastate *state) in restore_vga_mode()
309 static void save_vga_cmap(struct vgastate *state) in save_vga_cmap()
322 static void restore_vga_cmap(struct vgastate *state) in restore_vga_cmap()
335 static void vga_cleanup(struct vgastate *state) in vga_cleanup()
350 int save_vga(struct vgastate *state) in save_vga()
458 int restore_vga (struct vgastate *state) in restore_vga()
/linux-4.1.27/drivers/video/fbdev/via/
Dvia_clock.c140 static void set_primary_pll_state(u8 state) in set_primary_pll_state()
158 static void set_secondary_pll_state(u8 state) in set_secondary_pll_state()
176 static void set_engine_pll_state(u8 state) in set_engine_pll_state()
194 static void set_primary_clock_state(u8 state) in set_primary_clock_state()
212 static void set_secondary_clock_state(u8 state) in set_secondary_clock_state()
273 static void dummy_set_clock_state(u8 state) in dummy_set_clock_state()
283 static void dummy_set_pll_state(u8 state) in dummy_set_pll_state()
293 static void noop_set_clock_state(u8 state) in noop_set_clock_state()
/linux-4.1.27/lib/zlib_inflate/
Dinflate.c25 struct inflate_state *state; in zlib_inflateReset() local
50 struct inflate_state *state; in zlib_inflateInit2() local
78 static void zlib_fixedtables(struct inflate_state *state) in zlib_fixedtables()
103 struct inflate_state *state; in zlib_updatewindow() local
148 struct inflate_state *state; in zlib_inflateSyncPacket() local
319 struct inflate_state *state; in zlib_inflate() local
759 struct inflate_state *state = (struct inflate_state *)z->state; in zlib_inflateIncomp() local
/linux-4.1.27/arch/powerpc/boot/
Dgunzip_util.c42 void gunzip_start(struct gunzip_state *state, void *src, int srclen) in gunzip_start()
102 int gunzip_partial(struct gunzip_state *state, void *dst, int dstlen) in gunzip_partial()
140 void gunzip_exactly(struct gunzip_state *state, void *dst, int dstlen) in gunzip_exactly()
165 void gunzip_discard(struct gunzip_state *state, int len) in gunzip_discard()
193 int gunzip_finish(struct gunzip_state *state, void *dst, int dstlen) in gunzip_finish()
/linux-4.1.27/block/partitions/
Dmsdos.c68 static int aix_magic_present(struct parsed_partitions *state, unsigned char *p) in aix_magic_present()
98 static void set_info(struct parsed_partitions *state, int slot, in set_info()
120 static void parse_extended(struct parsed_partitions *state, in parse_extended()
215 static void parse_solaris_x86(struct parsed_partitions *state, in parse_solaris_x86()
272 static void parse_bsd(struct parsed_partitions *state, in parse_bsd()
322 static void parse_freebsd(struct parsed_partitions *state, in parse_freebsd()
330 static void parse_netbsd(struct parsed_partitions *state, in parse_netbsd()
338 static void parse_openbsd(struct parsed_partitions *state, in parse_openbsd()
351 static void parse_unixware(struct parsed_partitions *state, in parse_unixware()
395 static void parse_minix(struct parsed_partitions *state, in parse_minix()
[all …]
Dcheck.c116 struct parsed_partitions *state; in allocate_partitions() local
135 void free_partitions(struct parsed_partitions *state) in free_partitions()
144 struct parsed_partitions *state; in check_partition() local
Defi.c251 static size_t read_lba(struct parsed_partitions *state, in read_lba()
287 static gpt_entry *alloc_read_gpt_entries(struct parsed_partitions *state, in alloc_read_gpt_entries()
322 static gpt_header *alloc_read_gpt_header(struct parsed_partitions *state, in alloc_read_gpt_header()
351 static int is_gpt_valid(struct parsed_partitions *state, u64 lba, in is_gpt_valid()
590 static int find_valid_gpt(struct parsed_partitions *state, gpt_header **gpt, in find_valid_gpt()
685 int efi_partition(struct parsed_partitions *state) in efi_partition()
Dacorn.c31 adfs_partition(struct parsed_partitions *state, char *name, char *data, in adfs_partition()
76 static int riscix_partition(struct parsed_partitions *state, in riscix_partition()
131 static int linux_partition(struct parsed_partitions *state, in linux_partition()
165 int adfspart_check_CUMANA(struct parsed_partitions *state) in adfspart_check_CUMANA()
256 int adfspart_check_ADFS(struct parsed_partitions *state) in adfspart_check_ADFS()
314 static int adfspart_check_ICSLinux(struct parsed_partitions *state, in adfspart_check_ICSLinux()
356 int adfspart_check_ICS(struct parsed_partitions *state) in adfspart_check_ICS()
452 int adfspart_check_POWERTEC(struct parsed_partitions *state) in adfspart_check_POWERTEC()
513 int adfspart_check_EESOX(struct parsed_partitions *state) in adfspart_check_EESOX()
/linux-4.1.27/drivers/ide/
Dicside.c89 struct icside_state *state = ec->irq_data; in icside_irqenable_arcin_v5() local
99 struct icside_state *state = ec->irq_data; in icside_irqdisable_arcin_v5() local
116 struct icside_state *state = ec->irq_data; in icside_irqenable_arcin_v6() local
138 struct icside_state *state = ec->irq_data; in icside_irqdisable_arcin_v6() local
151 struct icside_state *state = ec->irq_data; in icside_irqpending_arcin_v6() local
171 struct icside_state *state = ecard_get_drvdata(ec); in icside_maskproc() local
312 struct icside_state *state = ecard_get_drvdata(ec); in icside_dma_setup() local
354 struct icside_state *state = ecard_get_drvdata(ec); in icside_dma_test_irq() local
409 static int icside_register_v5(struct icside_state *state, in icside_register_v5()
463 static int icside_register_v6(struct icside_state *state, in icside_register_v6()
[all …]
/linux-4.1.27/fs/nfs/
Dnfs4state.c637 struct nfs4_state *state; in nfs4_alloc_open_state() local
650 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked()
668 struct nfs4_state *state; in __nfs4_find_state_byowner() local
682 nfs4_free_open_state(struct nfs4_state *state) in nfs4_free_open_state()
690 struct nfs4_state *state, *new; in nfs4_get_open_state() local
724 void nfs4_put_open_state(struct nfs4_state *state) in nfs4_put_open_state()
744 static void __nfs4_close(struct nfs4_state *state, in __nfs4_close()
789 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) in nfs4_close_state()
794 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) in nfs4_close_sync()
804 __nfs4_find_lock_state(struct nfs4_state *state, fl_owner_t fl_owner) in __nfs4_find_lock_state()
[all …]
/linux-4.1.27/arch/um/drivers/
Dhostaudio_kern.c73 struct hostaudio_state *state = file->private_data; in hostaudio_read() local
100 struct hostaudio_state *state = file->private_data; in hostaudio_write() local
141 struct hostaudio_state *state = file->private_data; in hostaudio_ioctl() local
183 struct hostaudio_state *state; in hostaudio_open() local
219 struct hostaudio_state *state = file->private_data; in hostaudio_release() local
235 struct hostmixer_state *state = file->private_data; in hostmixer_ioctl_mixdev() local
246 struct hostmixer_state *state; in hostmixer_open_mixdev() local
284 struct hostmixer_state *state = file->private_data; in hostmixer_release() local
/linux-4.1.27/security/apparmor/include/
Dfile.h131 #define dfa_user_allow(dfa, state) (((ACCEPT_TABLE(dfa)[state]) & 0x7f) | \ argument
133 #define dfa_user_audit(dfa, state) ((ACCEPT_TABLE2(dfa)[state]) & 0x7f) argument
134 #define dfa_user_quiet(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 7) & 0x7f) argument
135 #define dfa_user_xindex(dfa, state) \ argument
138 #define dfa_other_allow(dfa, state) ((((ACCEPT_TABLE(dfa)[state]) >> 14) & \ argument
141 #define dfa_other_audit(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 14) & 0x7f) argument
142 #define dfa_other_quiet(dfa, state) \ argument
144 #define dfa_other_xindex(dfa, state) \ argument
/linux-4.1.27/drivers/misc/mei/
Dinit.c28 const char *mei_dev_state_str(int state) in mei_dev_state_str()
30 #define MEI_DEV_STATE(state) case MEI_DEV_##state: return #state in mei_dev_state_str() argument
45 const char *mei_pg_state_str(enum mei_pg_state state) in mei_pg_state_str()
47 #define MEI_PG_STATE(state) case MEI_PG_##state: return #state in mei_pg_state_str() argument
110 enum mei_dev_state state = dev->dev_state; in mei_reset() local
/linux-4.1.27/drivers/input/misc/
Dsparcspkr.c67 struct sparcspkr_state *state = dev_get_drvdata(dev->dev.parent); in bbc_spkr_event() local
105 struct sparcspkr_state *state = dev_get_drvdata(dev->dev.parent); in grover_spkr_event() local
144 struct sparcspkr_state *state = dev_get_drvdata(dev); in sparcspkr_probe() local
178 struct sparcspkr_state *state = platform_get_drvdata(dev); in sparcspkr_shutdown() local
187 struct sparcspkr_state *state; in bbc_beep_probe() local
233 struct sparcspkr_state *state = platform_get_drvdata(op); in bbc_remove() local
269 struct sparcspkr_state *state; in grover_beep_probe() local
311 struct sparcspkr_state *state = platform_get_drvdata(op); in grover_remove() local
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-av-core.c129 struct cx18_av_state *state = to_cx18_av_state(sd); in cx18_av_initialize() local
277 struct cx18_av_state *state = to_cx18_av_state(sd); in cx18_av_load_fw() local
289 struct cx18_av_state *state = &cx->av_state; in cx18_av_std_setup() local
534 struct cx18_av_state *state = &cx->av_state; in input_change() local
588 struct cx18_av_state *state = &cx->av_state; in set_input() local
761 struct cx18_av_state *state = to_cx18_av_state(sd); in cx18_av_s_video_routing() local
769 struct cx18_av_state *state = to_cx18_av_state(sd); in cx18_av_s_audio_routing() local
776 struct cx18_av_state *state = to_cx18_av_state(sd); in cx18_av_g_tuner() local
813 struct cx18_av_state *state = to_cx18_av_state(sd); in cx18_av_s_tuner() local
858 struct cx18_av_state *state = to_cx18_av_state(sd); in cx18_av_s_std() local
[all …]
Dcx18-av-audio.c29 struct cx18_av_state *state = &cx->av_state; in set_audclk_freq() local
305 struct cx18_av_state *state = &cx->av_state; in cx18_av_audio_set_path() local
391 struct cx18_av_state *state = &cx->av_state; in set_mute() local
419 struct cx18_av_state *state = &cx->av_state; in cx18_av_s_clock_freq() local
/linux-4.1.27/drivers/media/pci/cx88/
Dcx88-vp3054-i2c.c40 static void vp3054_bit_setscl(void *data, int state) in vp3054_bit_setscl()
57 static void vp3054_bit_setsda(void *data, int state) in vp3054_bit_setsda()
78 u32 state; in vp3054_bit_getscl() local
88 u32 state; in vp3054_bit_getsda() local
Dcx88-i2c.c56 static void cx8800_bit_setscl(void *data, int state) in cx8800_bit_setscl()
68 static void cx8800_bit_setsda(void *data, int state) in cx8800_bit_setsda()
83 u32 state; in cx8800_bit_getscl() local
92 u32 state; in cx8800_bit_getsda() local
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-tb10x.c504 static inline void tb10x_pinctrl_set_config(struct tb10x_pinctrl *state, in tb10x_pinctrl_set_config()
520 struct tb10x_pinctrl *state, in tb10x_pinctrl_get_config()
529 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_groups_count() local
535 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_group_name() local
543 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_group_pins() local
590 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_functions_count() local
597 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_function_name() local
605 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_function_groups() local
617 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_gpio_request_enable() local
691 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_gpio_disable_free() local
[all …]
/linux-4.1.27/drivers/iio/dac/
Dmcp4922.c60 static int mcp4922_spi_write(struct mcp4922_state *state, u8 addr, u32 val) in mcp4922_spi_write()
75 struct mcp4922_state *state = iio_priv(indio_dev); in mcp4922_read_raw() local
96 struct mcp4922_state *state = iio_priv(indio_dev); in mcp4922_write_raw() local
128 struct mcp4922_state *state; in mcp4922_probe() local
186 struct mcp4922_state *state; in mcp4922_remove() local
/linux-4.1.27/drivers/scsi/
Dmac53c94.c71 struct fsc_state *state; in mac53c94_queue_lck() local
106 struct fsc_state *state = (struct fsc_state *) cmd->device->host->hostdata; in DEF_SCSI_QCMD() local
125 static void mac53c94_init(struct fsc_state *state) in mac53c94_init()
146 static void mac53c94_start(struct fsc_state *state) in mac53c94_start()
195 struct fsc_state *state = (struct fsc_state *) dev_id; in mac53c94_interrupt() local
344 static void cmd_done(struct fsc_state *state, int result) in cmd_done()
361 static void set_dma_cmds(struct fsc_state *state, struct scsi_cmnd *cmd) in set_dma_cmds()
414 struct fsc_state *state; in mac53c94_probe() local
/linux-4.1.27/include/drm/
Ddrm_atomic.h78 #define for_each_connector_in_state(state, connector, connector_state, __i) \ argument
86 #define for_each_crtc_in_state(state, crtc, crtc_state, __i) \ argument
94 #define for_each_plane_in_state(state, plane, plane_state, __i) \ argument
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_atomic.c24 struct drm_atomic_state *state; member
62 static struct msm_commit *commit_init(struct drm_atomic_state *state) in commit_init()
92 struct drm_atomic_state *state = c->state; in complete_commit() local
144 struct drm_atomic_state *state) in msm_atomic_check()
177 struct drm_atomic_state *state, bool async) in msm_atomic_commit()
/linux-4.1.27/drivers/pinctrl/qcom/
Dpinctrl-spmi-gpio.c166 static int pmic_gpio_read(struct pmic_gpio_state *state, in pmic_gpio_read()
181 static int pmic_gpio_write(struct pmic_gpio_state *state, in pmic_gpio_write()
246 struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); in pmic_gpio_set_mux() local
340 struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); in pmic_gpio_config_set() local
445 struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); in pmic_gpio_config_dbg_show() local
498 struct pmic_gpio_state *state = to_gpio_state(chip); in pmic_gpio_direction_input() local
509 struct pmic_gpio_state *state = to_gpio_state(chip); in pmic_gpio_direction_output() local
519 struct pmic_gpio_state *state = to_gpio_state(chip); in pmic_gpio_get() local
541 struct pmic_gpio_state *state = to_gpio_state(chip); in pmic_gpio_set() local
574 struct pmic_gpio_state *state = to_gpio_state(chip); in pmic_gpio_to_irq() local
[all …]
Dpinctrl-spmi-mpp.c158 static int pmic_mpp_read(struct pmic_mpp_state *state, in pmic_mpp_read()
173 static int pmic_mpp_write(struct pmic_mpp_state *state, in pmic_mpp_write()
346 struct pmic_mpp_state *state = pinctrl_dev_get_drvdata(pctldev); in pmic_mpp_set_mux() local
454 struct pmic_mpp_state *state = pinctrl_dev_get_drvdata(pctldev); in pmic_mpp_config_set() local
559 struct pmic_mpp_state *state = pinctrl_dev_get_drvdata(pctldev); in pmic_mpp_config_dbg_show() local
604 struct pmic_mpp_state *state = to_mpp_state(chip); in pmic_mpp_direction_input() local
615 struct pmic_mpp_state *state = to_mpp_state(chip); in pmic_mpp_direction_output() local
625 struct pmic_mpp_state *state = to_mpp_state(chip); in pmic_mpp_get() local
644 struct pmic_mpp_state *state = to_mpp_state(chip); in pmic_mpp_set() local
677 struct pmic_mpp_state *state = to_mpp_state(chip); in pmic_mpp_to_irq() local
[all …]
/linux-4.1.27/drivers/media/pci/cx23885/
Dcimax2.c180 struct netup_ci_state *state = en50221->data; in netup_ci_op_cam() local
274 struct netup_ci_state *state = en50221->data; in netup_ci_slot_reset() local
309 struct netup_ci_state *state = en50221->data; in netup_ci_set_irq() local
330 struct netup_ci_state *state = en50221->data; in netup_ci_slot_ts_ctl() local
347 struct netup_ci_state *state = in netup_read_ci_status() local
387 struct netup_ci_state *state = NULL; in netup_ci_slot_status() local
414 struct netup_ci_state *state = en50221->data; in netup_poll_ci_slot_status() local
427 struct netup_ci_state *state; in netup_ci_init() local
532 struct netup_ci_state *state; in netup_ci_exit() local
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c260 struct atmel_hlcdc_plane_state *state) in atmel_hlcdc_plane_update_pos_and_size()
343 struct atmel_hlcdc_plane_state *state) in atmel_hlcdc_plane_update_general_settings()
376 struct atmel_hlcdc_plane_state *state) in atmel_hlcdc_plane_update_format()
411 struct atmel_hlcdc_plane_state *state) in atmel_hlcdc_plane_update_buffers()
506 struct atmel_hlcdc_plane_state *state) in atmel_hlcdc_plane_update_disc_area()
540 struct atmel_hlcdc_plane_state *state = in atmel_hlcdc_plane_atomic_check() local
727 struct atmel_hlcdc_plane_state *state = in atmel_hlcdc_plane_atomic_update() local
770 struct atmel_hlcdc_plane_state *state = in atmel_hlcdc_plane_atomic_set_property() local
788 const struct atmel_hlcdc_plane_state *state = in atmel_hlcdc_plane_atomic_get_property() local
852 struct atmel_hlcdc_plane_state *state; in atmel_hlcdc_plane_reset() local
[all …]
/linux-4.1.27/drivers/phy/
Dphy-exynos-mipi-video.c49 static int __set_phy_state(struct exynos_mipi_video_phy *state, in __set_phy_state()
103 struct exynos_mipi_video_phy *state = to_mipi_video_phy(phy_desc); in exynos_mipi_video_phy_power_on() local
111 struct exynos_mipi_video_phy *state = to_mipi_video_phy(phy_desc); in exynos_mipi_video_phy_power_off() local
119 struct exynos_mipi_video_phy *state = dev_get_drvdata(dev); in exynos_mipi_video_phy_xlate() local
135 struct exynos_mipi_video_phy *state; in exynos_mipi_video_phy_probe() local
Dphy-exynos-dp-video.c35 struct exynos_dp_video_phy *state = phy_get_drvdata(phy); in exynos_dp_video_phy_power_on() local
44 struct exynos_dp_video_phy *state = phy_get_drvdata(phy); in exynos_dp_video_phy_power_off() local
79 struct exynos_dp_video_phy *state; in exynos_dp_video_phy_probe() local
/linux-4.1.27/lib/xz/
Dxz_lzma2.h64 static inline void lzma_state_literal(enum lzma_state *state) in lzma_state_literal()
75 static inline void lzma_state_match(enum lzma_state *state) in lzma_state_match()
81 static inline void lzma_state_long_rep(enum lzma_state *state) in lzma_state_long_rep()
87 static inline void lzma_state_short_rep(enum lzma_state *state) in lzma_state_short_rep()
93 static inline bool lzma_state_is_literal(enum lzma_state state) in lzma_state_is_literal()
/linux-4.1.27/tools/perf/tests/
Dcode-reading.c22 struct state { struct
23 u64 done[1024];
24 size_t done_cnt;
136 struct thread *thread, struct state *state) in read_object_code()
246 union perf_event *event, struct state *state) in process_sample_event()
269 union perf_event *event, struct state *state) in process_event()
292 struct state *state) in process_events()
399 struct state state = { in do_test_code_reading() local
/linux-4.1.27/drivers/auxdisplay/
Dcfag12864b.c92 static void cfag12864b_setbit(unsigned char state, unsigned char n) in cfag12864b_setbit()
100 static void cfag12864b_e(unsigned char state) in cfag12864b_e()
106 static void cfag12864b_cs1(unsigned char state) in cfag12864b_cs1()
111 static void cfag12864b_cs2(unsigned char state) in cfag12864b_cs2()
116 static void cfag12864b_di(unsigned char state) in cfag12864b_di()
143 static void cfag12864b_displaystate(unsigned char state) in cfag12864b_displaystate()
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c388 struct nv04_mode_state *state) in nv_save_state_ramdac()
463 struct nv04_mode_state *state) in nv_load_state_ramdac()
535 struct nv04_mode_state *state) in nv_save_state_vga()
559 struct nv04_mode_state *state) in nv_load_state_vga()
585 struct nv04_mode_state *state) in nv_save_state_ext()
660 struct nv04_mode_state *state) in nv_load_state_ext()
766 struct nv04_mode_state *state) in nv_save_state_palette()
785 struct nv04_mode_state *state) in nouveau_hw_load_state_palette()
803 struct nv04_mode_state *state) in nouveau_hw_save_state()
817 struct nv04_mode_state *state) in nouveau_hw_load_state()
/linux-4.1.27/include/linux/pinctrl/
Dmachine.h81 #define PIN_MAP_DUMMY_STATE(dev, state) \ argument
88 #define PIN_MAP_MUX_GROUP(dev, state, pinctrl, grp, func) \ argument
103 #define PIN_MAP_MUX_GROUP_HOG(dev, state, grp, func) \ argument
109 #define PIN_MAP_CONFIGS_PIN(dev, state, pinctrl, pin, cfgs) \ argument
125 #define PIN_MAP_CONFIGS_PIN_HOG(dev, state, pin, cfgs) \ argument
131 #define PIN_MAP_CONFIGS_GROUP(dev, state, pinctrl, grp, cfgs) \ argument
147 #define PIN_MAP_CONFIGS_GROUP_HOG(dev, state, grp, cfgs) \ argument
/linux-4.1.27/arch/arm/mach-mmp/
Dpm-pxa910.c133 void pxa910_pm_enter_lowpower_mode(int state) in pxa910_pm_enter_lowpower_mode()
188 static int pxa910_pm_enter(suspend_state_t state) in pxa910_pm_enter()
241 static int pxa910_pm_valid(suspend_state_t state) in pxa910_pm_valid()
/linux-4.1.27/drivers/xen/
Dprivcmd.c132 int (*fn)(void *data, void *state), in traverse_pages()
168 int (*fn)(void *data, int nr, void *state), in traverse_pages_block()
202 static int mmap_mfn_range(void *data, void *state) in mmap_mfn_range()
239 struct mmap_mfn_state state; in privcmd_ioctl_mmap() local
311 static int mmap_batch_fn(void *data, int nr, void *state) in mmap_batch_fn()
376 static int mmap_return_errors(void *data, int nr, void *state) in mmap_return_errors()
427 struct mmap_batch_state state; in privcmd_ioctl_mmap_batch() local
/linux-4.1.27/drivers/acpi/
Ddevice_pm.c40 const char *acpi_power_state_string(int state) in acpi_power_state_string()
67 int acpi_device_get_power(struct acpi_device *device, int *state) in acpi_device_get_power()
133 static int acpi_dev_pm_explicit_set(struct acpi_device *adev, int state) in acpi_dev_pm_explicit_set()
154 int acpi_device_set_power(struct acpi_device *device, int state) in acpi_device_set_power()
237 int acpi_bus_set_power(acpi_handle handle, int state) in acpi_bus_set_power()
252 int state; in acpi_bus_init_power() local
309 int state; in acpi_device_update_power() local
763 int ret, state; in acpi_dev_pm_low_power() local
928 int ret, state; in acpi_subsys_prepare() local
Dfan.c98 static int fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_max_state()
111 static int fan_get_state_acpi4(struct acpi_device *device, unsigned long *state) in fan_get_state_acpi4()
152 static int fan_get_state(struct acpi_device *device, unsigned long *state) in fan_get_state()
166 static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_cur_state()
178 static int fan_set_state(struct acpi_device *device, unsigned long state) in fan_set_state()
187 static int fan_set_state_acpi4(struct acpi_device *device, unsigned long state) in fan_set_state_acpi4()
206 fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in fan_set_cur_state()
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddc.c54 static inline struct tegra_dc_state *to_dc_state(struct drm_crtc_state *state) in to_dc_state()
71 to_tegra_plane_state(struct drm_plane_state *state) in to_tegra_plane_state()
426 struct tegra_plane_state *state; in tegra_plane_reset() local
443 struct tegra_plane_state *state = to_tegra_plane_state(plane->state); in tegra_plane_atomic_duplicate_state() local
459 struct drm_plane_state *state) in tegra_plane_atomic_destroy_state()
488 struct drm_plane_state *state) in tegra_plane_state_add()
506 struct drm_plane_state *state) in tegra_plane_atomic_check()
555 struct tegra_plane_state *state = to_tegra_plane_state(plane->state); in tegra_plane_atomic_update() local
673 struct drm_plane_state *state) in tegra_cursor_atomic_check()
707 struct drm_plane_state *state = plane->state; in tegra_cursor_atomic_update() local
[all …]
/linux-4.1.27/net/wimax/
Dop-rfkill.c94 enum wimax_rf_state state) in wimax_report_rfkill_hw()
150 enum wimax_rf_state state) in wimax_report_rfkill_sw()
207 enum wimax_rf_state state) in __wimax_rf_toggle_radio()
301 int wimax_rfkill(struct wimax_dev *wimax_dev, enum wimax_rf_state state) in wimax_rfkill()
/linux-4.1.27/drivers/leds/trigger/
Dledtrig-transient.c32 int state; member
61 unsigned long state; in transient_activate_store() local
113 unsigned long state; in transient_duration_store() local
129 int state; in transient_state_show() local
140 unsigned long state; in transient_state_store() local
/linux-4.1.27/net/irda/irlan/
Dirlan_event.c41 void irlan_next_client_state(struct irlan_cb *self, IRLAN_STATE state) in irlan_next_client_state()
51 void irlan_next_provider_state(struct irlan_cb *self, IRLAN_STATE state) in irlan_next_provider_state()
/linux-4.1.27/kernel/sched/
Dcompletion.c62 long (*action)(long), long timeout, int state) in do_wait_for_common()
88 long (*action)(long), long timeout, int state) in __wait_for_common()
99 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common()
105 wait_for_common_io(struct completion *x, long timeout, int state) in wait_for_common_io()
/linux-4.1.27/tools/usb/ffs-aio-example/multibuff/host_app/
Dtest.c59 int test_init(struct test_state *state) in test_init()
145 void test_exit(struct test_state *state) in test_exit()
156 struct test_state state; in main() local
/linux-4.1.27/drivers/scsi/isci/
Dremote_node_context.c65 const char *rnc_state_name(enum scis_sds_remote_node_context_states state) in rnc_state_name()
428 enum scis_sds_remote_node_context_states state; in sci_remote_node_context_event_handler() local
532 enum scis_sds_remote_node_context_states state; in sci_remote_node_context_destruct() local
572 enum scis_sds_remote_node_context_states state in sci_remote_node_context_suspend() local
663 enum scis_sds_remote_node_context_states state; in sci_remote_node_context_resume() local
751 enum scis_sds_remote_node_context_states state; in sci_remote_node_context_start_io() local
790 enum scis_sds_remote_node_context_states state; in sci_remote_node_context_is_safe_to_abort() local
/linux-4.1.27/arch/mips/cavium-octeon/crypto/
Docteon-crypto.c26 unsigned long octeon_crypto_enable(struct octeon_cop2_state *state) in octeon_crypto_enable()
55 void octeon_crypto_disable(struct octeon_cop2_state *state, in octeon_crypto_disable()
/linux-4.1.27/tools/usb/ffs-aio-example/simple/host_app/
Dtest.c59 int test_init(struct test_state *state) in test_init()
145 void test_exit(struct test_state *state) in test_exit()
156 struct test_state state; in main() local
/linux-4.1.27/drivers/crypto/caam/
Dcaamhash.c141 struct caam_hash_state *state, in map_seq_out_ptr_ctx()
212 struct caam_hash_state *state, int ctx_len, in ctx_map_to_sec4_sg()
277 static inline void ahash_ctx_data_to_out(u32 *desc, u32 op, u32 state, in ahash_ctx_data_to_out()
297 static inline void ahash_data_to_out(u32 *desc, u32 op, u32 state, in ahash_data_to_out()
625 struct caam_hash_state *state = ahash_request_ctx(req); in ahash_unmap_ctx() local
641 struct caam_hash_state *state = ahash_request_ctx(req); in ahash_done() local
675 struct caam_hash_state *state = ahash_request_ctx(req); in ahash_done_bi() local
711 struct caam_hash_state *state = ahash_request_ctx(req); in ahash_done_ctx_src() local
745 struct caam_hash_state *state = ahash_request_ctx(req); in ahash_done_ctx_dst() local
777 struct caam_hash_state *state = ahash_request_ctx(req); in ahash_update_ctx() local
[all …]
/linux-4.1.27/drivers/i2c/busses/
Di2c-gpio.c28 static void i2c_gpio_setsda_dir(void *data, int state) in i2c_gpio_setsda_dir()
43 static void i2c_gpio_setsda_val(void *data, int state) in i2c_gpio_setsda_val()
51 static void i2c_gpio_setscl_dir(void *data, int state) in i2c_gpio_setscl_dir()
67 static void i2c_gpio_setscl_val(void *data, int state) in i2c_gpio_setscl_val()

12345678910>>...14