Home
last modified time | relevance | path

Searched defs:state (Results 1 – 25 of 1991) sorted by relevance

12345678910>>...80

/linux/drivers/media/pci/bt8xx/
H A Ddst.c47 static void dst_packsize(struct dst_state *state, int psize) in dst_packsize()
55 static int dst_gpio_outb(struct dst_state *state, u32 mask, u32 enbb, in dst_gpio_outb()
89 static int dst_gpio_inb(struct dst_state *state, u8 *result) in dst_gpio_inb()
104 int rdc_reset_state(struct dst_state *state) in rdc_reset_state()
122 static int rdc_8820_reset(struct dst_state *state) in rdc_8820_reset()
138 static int dst_pio_enable(struct dst_state *state) in dst_pio_enable()
149 int dst_pio_disable(struct dst_state *state) in dst_pio_disable()
162 int dst_wait_dst_ready(struct dst_state *state, u8 delay_mode) in dst_wait_dst_ready()
184 int dst_error_recovery(struct dst_state *state) in dst_error_recovery()
196 int dst_error_bailout(struct dst_state *state) in dst_error_bailout()
[all …]
/linux/drivers/media/dvb-frontends/
H A Dtda8083.c49 static int tda8083_writereg (struct tda8083_state* state, u8 reg, u8 data) in tda8083_writereg()
64 static int tda8083_readregs (struct tda8083_state* state, u8 reg1, u8 *b, u8 len) in tda8083_readregs()
79 static inline u8 tda8083_readreg (struct tda8083_state* state, u8 reg) in tda8083_readreg()
88 static int tda8083_set_inversion(struct tda8083_state *state, in tda8083_set_inversion()
98 static int tda8083_set_fec(struct tda8083_state *state, enum fe_code_rate fec) in tda8083_set_fec()
109 static enum fe_code_rate tda8083_get_fec(struct tda8083_state *state) in tda8083_get_fec()
122 static int tda8083_set_symbolrate (struct tda8083_state* state, u32 srate) in tda8083_set_symbolrate()
161 static void tda8083_wait_diseqc_fifo (struct tda8083_state* state, int timeout) in tda8083_wait_diseqc_fifo()
172 static int tda8083_set_tone(struct tda8083_state *state, in tda8083_set_tone()
187 static int tda8083_set_voltage(struct tda8083_state *state, in tda8083_set_voltage()
[all …]
H A Ddrxk_hard.c43 is_dvbt(struct drxk_state * state) is_dvbt() argument
48 is_qam(struct drxk_state * state) is_qam() argument
191 drxk_i2c_lock(struct drxk_state * state) drxk_i2c_lock() argument
199 drxk_i2c_unlock(struct drxk_state * state) drxk_i2c_unlock() argument
208 drxk_i2c_transfer(struct drxk_state * state,struct i2c_msg * msgs,unsigned len) drxk_i2c_transfer() argument
217 i2c_read1(struct drxk_state * state,u8 adr,u8 * val) i2c_read1() argument
226 i2c_write(struct drxk_state * state,u8 adr,u8 * data,int len) i2c_write() argument
244 i2c_read(struct drxk_state * state,u8 adr,u8 * msg,int len,u8 * answ,int alen) i2c_read() argument
269 read16_flags(struct drxk_state * state,u32 reg,u16 * data,u8 flags) read16_flags() argument
298 read16(struct drxk_state * state,u32 reg,u16 * data) read16() argument
303 read32_flags(struct drxk_state * state,u32 reg,u32 * data,u8 flags) read32_flags() argument
333 read32(struct drxk_state * state,u32 reg,u32 * data) read32() argument
338 write16_flags(struct drxk_state * state,u32 reg,u16 data,u8 flags) write16_flags() argument
362 write16(struct drxk_state * state,u32 reg,u16 data) write16() argument
367 write32_flags(struct drxk_state * state,u32 reg,u32 data,u8 flags) write32_flags() argument
393 write32(struct drxk_state * state,u32 reg,u32 data) write32() argument
398 write_block(struct drxk_state * state,u32 address,const int block_size,const u8 p_block[]) write_block() argument
450 power_up_device(struct drxk_state * state) power_up_device() argument
498 init_state(struct drxk_state * state) init_state() argument
733 drxx_open(struct drxk_state * state) drxx_open() argument
766 get_device_capabilities(struct drxk_state * state) get_device_capabilities() argument
966 hi_command(struct drxk_state * state,u16 cmd,u16 * p_result) hi_command() argument
1007 hi_cfg_command(struct drxk_state * state) hi_cfg_command() argument
1051 init_hi(struct drxk_state * state) init_hi() argument
1063 mpegts_configure_pins(struct drxk_state * state,bool mpeg_enable) mpegts_configure_pins() argument
1222 mpegts_disable(struct drxk_state * state) mpegts_disable() argument
1229 bl_chain_cmd(struct drxk_state * state,u16 rom_offset,u16 nr_of_elements,u32 time_out) bl_chain_cmd() argument
1274 download_microcode(struct drxk_state * state,const u8 p_mc_image[],u32 length) download_microcode() argument
1338 dvbt_enable_ofdm_token_ring(struct drxk_state * state,bool enable) dvbt_enable_ofdm_token_ring() argument
1376 mpegts_stop(struct drxk_state * state) mpegts_stop() argument
1407 scu_command(struct drxk_state * state,u16 cmd,u8 parameter_len,u16 * parameter,u8 result_len,u16 * result) scu_command() argument
1507 set_iqm_af(struct drxk_state * state,bool active) set_iqm_af() argument
1541 ctrl_power_mode(struct drxk_state * state,enum drx_power_mode * mode) ctrl_power_mode() argument
1647 power_down_dvbt(struct drxk_state * state,bool set_power_mode) power_down_dvbt() argument
1704 setoperation_mode(struct drxk_state * state,enum operation_mode o_mode) setoperation_mode() argument
1785 start(struct drxk_state * state,s32 offset_freq,s32 intermediate_frequency) start() argument
1836 shut_down(struct drxk_state * state) shut_down() argument
1844 get_lock_status(struct drxk_state * state,u32 * p_lock_status) get_lock_status() argument
1876 mpegts_start(struct drxk_state * state) mpegts_start() argument
1897 mpegts_dto_init(struct drxk_state * state) mpegts_dto_init() argument
1944 mpegts_dto_setup(struct drxk_state * state,enum operation_mode o_mode) mpegts_dto_setup() argument
2081 mpegts_configure_polarity(struct drxk_state * state) mpegts_configure_polarity() argument
2116 set_agc_rf(struct drxk_state * state,struct s_cfg_agc * p_agc_cfg,bool is_dtv) set_agc_rf() argument
2269 set_agc_if(struct drxk_state * state,struct s_cfg_agc * p_agc_cfg,bool is_dtv) set_agc_if() argument
2397 get_qam_signal_to_noise(struct drxk_state * state,s32 * p_signal_to_noise) get_qam_signal_to_noise() argument
2446 get_dvbt_signal_to_noise(struct drxk_state * state,s32 * p_signal_to_noise) get_dvbt_signal_to_noise() argument
2550 get_signal_to_noise(struct drxk_state * state,s32 * p_signal_to_noise) get_signal_to_noise() argument
2712 ConfigureI2CBridge(struct drxk_state * state,bool b_enable_bridge) ConfigureI2CBridge() argument
2750 set_pre_saw(struct drxk_state * state,struct s_cfg_pre_saw * p_pre_saw_cfg) set_pre_saw() argument
2768 bl_direct_cmd(struct drxk_state * state,u32 target_addr,u16 rom_offset,u16 nr_of_elements,u32 time_out) bl_direct_cmd() argument
2819 adc_sync_measurement(struct drxk_state * state,u16 * count) adc_sync_measurement() argument
2857 adc_synchronization(struct drxk_state * state) adc_synchronization() argument
2901 set_frequency_shifter(struct drxk_state * state,u16 intermediate_freqk_hz,s32 tuner_freq_offset,bool is_dtv) set_frequency_shifter() argument
2967 init_agc(struct drxk_state * state,bool is_dtv) init_agc() argument
3161 dvbtqam_get_acc_pkt_err(struct drxk_state * state,u16 * packet_err) dvbtqam_get_acc_pkt_err() argument
3176 dvbt_sc_command(struct drxk_state * state,u16 cmd,u16 subcmd,u16 param0,u16 param1,u16 param2,u16 param3,u16 param4) dvbt_sc_command() argument
3298 power_up_dvbt(struct drxk_state * state) power_up_dvbt() argument
3310 dvbt_ctrl_set_inc_enable(struct drxk_state * state,bool * enabled) dvbt_ctrl_set_inc_enable() argument
3325 dvbt_ctrl_set_fr_enable(struct drxk_state * state,bool * enabled) dvbt_ctrl_set_fr_enable() argument
3345 dvbt_ctrl_set_echo_threshold(struct drxk_state * state,struct drxk_cfg_dvbt_echo_thres_t * echo_thres) dvbt_ctrl_set_echo_threshold() argument
3380 dvbt_ctrl_set_sqi_speed(struct drxk_state * state,enum drxk_cfg_dvbt_sqi_speed * speed) dvbt_ctrl_set_sqi_speed() argument
3413 dvbt_activate_presets(struct drxk_state * state) dvbt_activate_presets() argument
3453 set_dvbt_standard(struct drxk_state * state,enum operation_mode o_mode) set_dvbt_standard() argument
3662 dvbt_start(struct drxk_state * state) dvbt_start() argument
3699 set_dvbt(struct drxk_state * state,u16 intermediate_freqk_hz,s32 tuner_freq_offset) set_dvbt() argument
4037 get_dvbt_lock_status(struct drxk_state * state,u32 * p_lock_status) get_dvbt_lock_status() argument
4078 power_up_qam(struct drxk_state * state) power_up_qam() argument
4093 power_down_qam(struct drxk_state * state) power_down_qam() argument
4141 set_qam_measurement(struct drxk_state * state,enum e_drxk_constellation modulation,u32 symbol_rate) set_qam_measurement() argument
4216 set_qam16(struct drxk_state * state) set_qam16() argument
4410 set_qam32(struct drxk_state * state) set_qam32() argument
4606 set_qam64(struct drxk_state * state) set_qam64() argument
4801 set_qam128(struct drxk_state * state) set_qam128() argument
4998 set_qam256(struct drxk_state * state) set_qam256() argument
5194 qam_reset_qam(struct drxk_state * state) qam_reset_qam() argument
5222 qam_set_symbolrate(struct drxk_state * state) qam_set_symbolrate() argument
5292 get_qam_lock_status(struct drxk_state * state,u32 * p_lock_status) get_qam_lock_status() argument
5333 qam_demodulator_command(struct drxk_state * state,int number_of_parameters) qam_demodulator_command() argument
5391 set_qam(struct drxk_state * state,u16 intermediate_freqk_hz,s32 tuner_freq_offset) set_qam() argument
5651 set_qam_standard(struct drxk_state * state,enum operation_mode o_mode) set_qam_standard() argument
5823 write_gpio(struct drxk_state * state) write_gpio() argument
5910 switch_antenna_to_qam(struct drxk_state * state) switch_antenna_to_qam() argument
5935 switch_antenna_to_dvbt(struct drxk_state * state) switch_antenna_to_dvbt() argument
5961 power_down_device(struct drxk_state * state) power_down_device() argument
5999 init_drxk(struct drxk_state * state) init_drxk() argument
6227 struct drxk_state *state = context; load_firmware_cb() local
6255 struct drxk_state *state = fe->demodulator_priv; drxk_release() local
6265 struct drxk_state *state = fe->demodulator_priv; drxk_sleep() local
6280 struct drxk_state *state = fe->demodulator_priv; drxk_gate_ctrl() local
6294 struct drxk_state *state = fe->demodulator_priv; drxk_set_parameters() local
6362 get_strength(struct drxk_state * state,u64 * strength) get_strength() argument
6466 struct drxk_state *state = fe->demodulator_priv; drxk_get_stats() local
6589 struct drxk_state *state = fe->demodulator_priv; drxk_read_status() local
6606 struct drxk_state *state = fe->demodulator_priv; drxk_read_signal_strength() local
6622 struct drxk_state *state = fe->demodulator_priv; drxk_read_snr() local
6643 struct drxk_state *state = fe->demodulator_priv; drxk_read_ucblocks() local
6661 struct drxk_state *state = fe->demodulator_priv; drxk_get_tune_settings() local
6721 struct drxk_state *state = NULL; drxk_attach() local
[all...]
H A Dstv090x.c683 static int stv090x_read_reg(struct stv090x_state *state, unsigned int reg) in stv090x_read_reg()
712 static int stv090x_write_regs(struct stv090x_state *state, unsigned int reg, u8 *data, u32 count) in stv090x_write_regs()
744 static int stv090x_write_reg(struct stv090x_state *state, unsigned int reg, u8 data) in stv090x_write_reg()
751 static inline void stv090x_tuner_i2c_lock(struct stv090x_state *state) in stv090x_tuner_i2c_lock()
759 static inline void stv090x_tuner_i2c_unlock(struct stv090x_state *state) in stv090x_tuner_i2c_unlock()
767 static int stv090x_i2c_gate_ctrl(struct stv090x_state *state, int enable) in stv090x_i2c_gate_ctrl()
807 static void stv090x_get_lock_tmg(struct stv090x_state *state) in stv090x_get_lock_tmg()
854 static int stv090x_set_srate(struct stv090x_state *state, u32 srate) in stv090x_set_srate()
880 static int stv090x_set_max_srate(struct stv090x_state *state, u32 clk, u32 srate) in stv090x_set_max_srate()
914 static int stv090x_set_min_srate(struct stv090x_state *state, u32 clk, u32 srate) in stv090x_set_min_srate()
[all …]
H A Dlgdt3306a.c123 static int lgdt3306a_write_reg(struct lgdt3306a_state *state, u16 reg, u8 val) in lgdt3306a_write_reg()
147 static int lgdt3306a_read_reg(struct lgdt3306a_state *state, u16 reg, u8 *val) in lgdt3306a_read_reg()
173 #define read_reg(state, reg) \ argument
182 static int lgdt3306a_set_reg_bit(struct lgdt3306a_state *state, in lgdt3306a_set_reg_bit()
205 static int lgdt3306a_soft_reset(struct lgdt3306a_state *state) in lgdt3306a_soft_reset()
223 static int lgdt3306a_mpeg_mode(struct lgdt3306a_state *state, in lgdt3306a_mpeg_mode()
260 static int lgdt3306a_mpeg_mode_polarity(struct lgdt3306a_state *state, in lgdt3306a_mpeg_mode_polarity()
287 static int lgdt3306a_mpeg_tristate(struct lgdt3306a_state *state, in lgdt3306a_mpeg_tristate()
335 struct lgdt3306a_state *state = fe->demodulator_priv; in lgdt3306a_ts_bus_ctrl() local
343 static int lgdt3306a_power(struct lgdt3306a_state *state, in lgdt3306a_power()
[all …]
H A Ds5h1420.c65 static u8 s5h1420_readreg(struct s5h1420_state *state, u8 reg) in s5h1420_readreg()
96 static int s5h1420_writereg (struct s5h1420_state* state, u8 reg, u8 data) in s5h1420_writereg()
116 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_set_voltage() local
142 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_set_tone() local
164 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_send_master_cmd() local
209 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_recv_slave_reply() local
264 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_send_burst() local
299 static enum fe_status s5h1420_get_status_bits(struct s5h1420_state *state) in s5h1420_get_status_bits()
323 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_read_status() local
423 struct s5h1420_state* state = fe->demodulator_priv; in s5h1420_read_ber() local
[all …]
H A Dstb0899_drv.c213 static int _stb0899_read_reg(struct stb0899_state *state, unsigned int reg) in _stb0899_read_reg()
250 int stb0899_read_reg(struct stb0899_state *state, unsigned int reg) in stb0899_read_reg()
267 u32 _stb0899_read_s2reg(struct stb0899_state *state, in _stb0899_read_s2reg()
367 int stb0899_write_s2reg(struct stb0899_state *state, in stb0899_write_s2reg()
440 int stb0899_read_regs(struct stb0899_state *state, unsigned int reg, u8 *buf, u32 count) in stb0899_read_regs()
484 int stb0899_write_regs(struct stb0899_state *state, unsigned int reg, u8 *data, u32 count) in stb0899_write_regs()
528 int stb0899_write_reg(struct stb0899_state *state, unsigned int reg, u8 data) in stb0899_write_reg()
539 static u32 stb0899_get_mclk(struct stb0899_state *state) in stb0899_get_mclk()
556 static void stb0899_set_mclk(struct stb0899_state *state, u32 Mclk) in stb0899_set_mclk()
571 static int stb0899_postproc(struct stb0899_state *state, u8 ctl, int enable) in stb0899_postproc()
[all …]
H A Dlg2160.c53 static int lg216x_write_reg(struct lg216x_state *state, u16 reg, u8 val) in lg216x_write_reg()
77 static int lg216x_read_reg(struct lg216x_state *state, u16 reg, u8 *val) in lg216x_read_reg()
108 static int lg216x_write_regs(struct lg216x_state *state, in lg216x_write_regs()
123 static int lg216x_set_reg_bit(struct lg216x_state *state, in lg216x_set_reg_bit()
148 struct lg216x_state *state = fe->demodulator_priv; in lg216x_i2c_gate_ctrl() local
163 static int lg216x_soft_reset(struct lg216x_state *state) in lg216x_soft_reset()
183 static int lg216x_initialize(struct lg216x_state *state) in lg216x_initialize()
236 static int lg216x_set_if(struct lg216x_state *state) in lg216x_set_if()
260 static int lg2160_agc_fix(struct lg216x_state *state, in lg2160_agc_fix()
302 static int lg2160_agc_polarity(struct lg216x_state *state, in lg2160_agc_polarity()
[all …]
H A Dstv0297.c39 static int stv0297_writereg(struct stv0297_state *state, u8 reg, u8 data) in stv0297_writereg()
54 static int stv0297_readreg(struct stv0297_state *state, u8 reg) in stv0297_readreg()
83 static int stv0297_writereg_mask(struct stv0297_state *state, u8 reg, u8 mask, u8 data) in stv0297_writereg_mask()
95 static int stv0297_readregs(struct stv0297_state *state, u8 reg1, u8 * b, u8 len) in stv0297_readregs()
123 static u32 stv0297_get_symbolrate(struct stv0297_state *state) in stv0297_get_symbolrate()
138 static void stv0297_set_symbolrate(struct stv0297_state *state, u32 srate) in stv0297_set_symbolrate()
152 static void stv0297_set_sweeprate(struct stv0297_state *state, short fshift, long symrate) in stv0297_set_sweeprate()
172 static void stv0297_set_carrieroffset(struct stv0297_state *state, long offset) in stv0297_set_carrieroffset()
207 static void stv0297_set_initialdemodfreq(struct stv0297_state *state, long freq) in stv0297_set_initialdemodfreq()
224 static int stv0297_set_qam(struct stv0297_state *state, in stv0297_set_qam()
[all …]
H A Dnxt6000.c38 static int nxt6000_writereg(struct nxt6000_state* state, u8 reg, u8 data) in nxt6000_writereg()
50 static u8 nxt6000_readreg(struct nxt6000_state* state, u8 reg) in nxt6000_readreg()
68 static void nxt6000_reset(struct nxt6000_state* state) in nxt6000_reset()
78 static int nxt6000_set_bandwidth(struct nxt6000_state *state, u32 bandwidth) in nxt6000_set_bandwidth()
106 static int nxt6000_set_guard_interval(struct nxt6000_state *state, in nxt6000_set_guard_interval()
129 static int nxt6000_set_inversion(struct nxt6000_state *state, in nxt6000_set_inversion()
147 nxt6000_set_transmission_mode(struct nxt6000_state *state, in nxt6000_set_transmission_mode()
175 struct nxt6000_state* state = fe->demodulator_priv; in nxt6000_setup() local
208 static void nxt6000_dump_status(struct nxt6000_state *state) in nxt6000_dump_status()
430 struct nxt6000_state* state = fe->demodulator_priv; in nxt6000_read_status() local
[all …]
H A Dstv0367.c44 enum stv0367_cab_signal_type state; member
59 enum stv0367_ter_signal_type state; member
122 int stv0367_writereg(struct stv0367_state *state, u16 reg, u8 data) in stv0367_writereg()
146 u8 stv0367_readreg(struct stv0367_state *state, u16 reg) in stv0367_readreg()
194 static void stv0367_writebits(struct stv0367_state *state, u32 label, u8 val) in stv0367_writebits()
219 static u8 stv0367_readbits(struct stv0367_state *state, u32 label) in stv0367_readbits()
243 static void stv0367_write_table(struct stv0367_state *state, in stv0367_write_table()
256 static void stv0367_pll_setup(struct stv0367_state *state, in stv0367_pll_setup()
303 static int stv0367_get_if_khz(struct stv0367_state *state, u32 *ifkhz) in stv0367_get_if_khz()
316 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_gate_ctrl() local
[all …]
H A Dtda10086.c39 static int tda10086_write_byte(struct tda10086_state *state, int reg, int data) in tda10086_write_byte()
55 static int tda10086_read_byte(struct tda10086_state *state, int reg) in tda10086_read_byte()
76 static int tda10086_write_mask(struct tda10086_state *state, int reg, int mask, int data) in tda10086_write_mask()
95 struct tda10086_state* state = fe->demodulator_priv; in tda10086_init() local
163 static void tda10086_diseqc_wait(struct tda10086_state *state) in tda10086_diseqc_wait()
178 struct tda10086_state* state = fe->demodulator_priv; in tda10086_set_tone() local
202 struct tda10086_state* state = fe->demodulator_priv; in tda10086_send_master_cmd() local
232 struct tda10086_state* state = fe->demodulator_priv; in tda10086_send_burst() local
258 static int tda10086_set_inversion(struct tda10086_state *state, in tda10086_set_inversion()
283 static int tda10086_set_symbol_rate(struct tda10086_state *state, in tda10086_set_symbol_rate()
[all …]
H A Dcx24110.c103 static int cx24110_writereg (struct cx24110_state* state, int reg, int data) in cx24110_writereg()
118 static int cx24110_readreg (struct cx24110_state* state, u8 reg) in cx24110_readreg()
133 static int cx24110_set_inversion(struct cx24110_state *state, in cx24110_set_inversion()
168 static int cx24110_set_fec(struct cx24110_state *state, enum fe_code_rate fec) in cx24110_set_fec()
211 static enum fe_code_rate cx24110_get_fec(struct cx24110_state *state) in cx24110_get_fec()
227 static int cx24110_set_symbolrate (struct cx24110_state *state, u32 srate) in cx24110_set_symbolrate()
301 struct cx24110_state *state = fe->demodulator_priv; in _cx24110_pll_write() local
343 struct cx24110_state *state = fe->demodulator_priv; in cx24110_initfe() local
359 struct cx24110_state *state = fe->demodulator_priv; in cx24110_set_voltage() local
375 struct cx24110_state *state = fe->demodulator_priv; in cx24110_diseqc_send_burst() local
[all …]
H A Dves1x93.c82 static int ves1x93_writereg (struct ves1x93_state* state, u8 reg, u8 data) in ves1x93_writereg()
96 static u8 ves1x93_readreg (struct ves1x93_state* state, u8 reg) in ves1x93_readreg()
111 static int ves1x93_clr_bit (struct ves1x93_state* state) in ves1x93_clr_bit()
120 static int ves1x93_set_inversion(struct ves1x93_state *state, in ves1x93_set_inversion()
147 static int ves1x93_set_fec(struct ves1x93_state *state, enum fe_code_rate fec) in ves1x93_set_fec()
157 static enum fe_code_rate ves1x93_get_fec(struct ves1x93_state *state) in ves1x93_get_fec()
162 static int ves1x93_set_symbolrate (struct ves1x93_state* state, u32 srate) in ves1x93_set_symbolrate()
254 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_init() local
275 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_set_voltage() local
292 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_read_status() local
[all …]
H A Ddib7000m.c76 static u16 dib7000m_read_word(struct dib7000m_state *state, u16 reg) in dib7000m_read_word()
107 static int dib7000m_write_word(struct dib7000m_state *state, u16 reg, u16 val) in dib7000m_write_word()
132 static void dib7000m_write_tab(struct dib7000m_state *state, u16 *buf) in dib7000m_write_tab()
151 static int dib7000m_set_output_mode(struct dib7000m_state *state, int mode) in dib7000m_set_output_mode()
209 static void dib7000m_set_power_mode(struct dib7000m_state *state, enum dib7000m_power_mode mode) in dib7000m_set_power_mode()
261 static int dib7000m_set_adc_state(struct dib7000m_state *state, enum dibx000_adc_states no) in dib7000m_set_adc_state()
316 static int dib7000m_set_bandwidth(struct dib7000m_state *state, u32 bw) in dib7000m_set_bandwidth()
344 struct dib7000m_state *state = demod->demodulator_priv; in dib7000m_set_diversity_in() local
365 static int dib7000m_sad_calib(struct dib7000m_state *state) in dib7000m_sad_calib()
382 static void dib7000m_reset_pll_common(struct dib7000m_state *state, const struct dibx000_bandwidth_… in dib7000m_reset_pll_common()
[all …]
H A Ddib3000mc.c53 static u16 dib3000mc_read_word(struct dib3000mc_state *state, u16 reg) in dib3000mc_read_word()
83 static int dib3000mc_write_word(struct dib3000mc_state *state, u16 reg, u16 val) in dib3000mc_write_word()
108 static int dib3000mc_identify(struct dib3000mc_state *state) in dib3000mc_identify()
128 static int dib3000mc_set_timing(struct dib3000mc_state *state, s16 nfft, u32 bw, u8 update_offset) in dib3000mc_set_timing()
162 static int dib3000mc_setup_pwm_state(struct dib3000mc_state *state) in dib3000mc_setup_pwm_state()
184 static int dib3000mc_set_output_mode(struct dib3000mc_state *state, int mode) in dib3000mc_set_output_mode()
245 static int dib3000mc_set_bandwidth(struct dib3000mc_state *state, u32 bw) in dib3000mc_set_bandwidth()
305 static void dib3000mc_set_impulse_noise(struct dib3000mc_state *state, u8 mode, s16 nfft) in dib3000mc_set_impulse_noise()
325 struct dib3000mc_state *state = demod->demodulator_priv; in dib3000mc_init() local
445 struct dib3000mc_state *state = demod->demodulator_priv; in dib3000mc_sleep() local
[all …]
H A Dau8522_decoder.c173 static void setup_decoder_defaults(struct au8522_state *state, bool is_svideo) in setup_decoder_defaults()
301 static void au8522_setup_cvbs_mode(struct au8522_state *state, u8 input_mode) in au8522_setup_cvbs_mode()
321 static void au8522_setup_cvbs_tuner_mode(struct au8522_state *state, in au8522_setup_cvbs_tuner_mode()
347 static void au8522_setup_svideo_mode(struct au8522_state *state, in au8522_setup_svideo_mode()
370 static void disable_audio_input(struct au8522_state *state) in disable_audio_input()
384 static void set_audio_input(struct au8522_state *state) in set_audio_input()
439 struct au8522_state *state = in au8522_s_ctrl() local
476 struct au8522_state *state = to_state(sd); in au8522_g_register() local
485 struct au8522_state *state = to_state(sd); in au8522_s_register() local
492 static void au8522_video_set(struct au8522_state *state) in au8522_video_set()
[all …]
/linux/kernel/power/
H A Dsuspend.c176 static bool valid_state(suspend_state_t state) in valid_state()
202 suspend_state_t state; in mem_sleep_default_setup() local
252 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
258 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported()
264 static int platform_suspend_prepare(suspend_state_t state) in platform_suspend_prepare()
270 static int platform_suspend_prepare_late(suspend_state_t state) in platform_suspend_prepare_late()
276 static int platform_suspend_prepare_noirq(suspend_state_t state) in platform_suspend_prepare_noirq()
285 static void platform_resume_noirq(suspend_state_t state) in platform_resume_noirq()
295 static void platform_resume_early(suspend_state_t state) in platform_resume_early()
301 static void platform_resume_finish(suspend_state_t state) in platform_resume_finish()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_atomic_state_helper.c135 struct drm_crtc_state *state) in __drm_atomic_helper_crtc_duplicate_state()
173 struct drm_crtc_state *state; in drm_atomic_helper_crtc_duplicate_state() local
194 void __drm_atomic_helper_crtc_destroy_state(struct drm_crtc_state *state) in __drm_atomic_helper_crtc_destroy_state()
231 struct drm_crtc_state *state) in drm_atomic_helper_crtc_destroy_state()
351 struct drm_plane_state *state) in __drm_atomic_helper_plane_duplicate_state()
375 struct drm_plane_state *state; in drm_atomic_helper_plane_duplicate_state() local
396 void __drm_atomic_helper_plane_destroy_state(struct drm_plane_state *state) in __drm_atomic_helper_plane_destroy_state()
420 struct drm_plane_state *state) in drm_atomic_helper_plane_destroy_state()
496 struct drm_connector_state *state = connector->state; in drm_atomic_helper_connector_tv_margins_reset() local
515 struct drm_connector_state *state = connector->state; in drm_atomic_helper_connector_tv_reset() local
[all …]
H A Ddrm_atomic.c106 void drm_atomic_state_default_release(struct drm_atomic_state *state) in drm_atomic_state_default_release()
126 drm_atomic_state_init(struct drm_device *dev, struct drm_atomic_state *state) in drm_atomic_state_init()
177 struct drm_atomic_state *state; in drm_atomic_state_alloc() local
201 void drm_atomic_state_default_clear(struct drm_atomic_state *state) in drm_atomic_state_default_clear()
307 void drm_atomic_state_clear(struct drm_atomic_state *state) in drm_atomic_state_clear()
328 struct drm_atomic_state *state = container_of(ref, typeof(*state), ref); in __drm_atomic_state_free() local
366 drm_atomic_get_crtc_state(struct drm_atomic_state *state, in drm_atomic_get_crtc_state()
462 const struct drm_crtc_state *state) in drm_atomic_crtc_print_state()
485 struct drm_connector_state *state) in drm_atomic_connector_check()
547 drm_atomic_get_plane_state(struct drm_atomic_state *state, in drm_atomic_get_plane_state()
[all …]
/linux/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-ctrls.c29 static int s5c73m3_get_af_status(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) in s5c73m3_get_af_status()
61 struct s5c73m3 *state = sensor_sd_to_s5c73m3(sd); in s5c73m3_g_volatile_ctrl() local
78 static int s5c73m3_set_colorfx(struct s5c73m3 *state, int val) in s5c73m3_set_colorfx()
104 static int s5c73m3_set_exposure(struct s5c73m3 *state, int auto_exp) in s5c73m3_set_exposure()
140 static int s5c73m3_set_white_balance(struct s5c73m3 *state, int val) in s5c73m3_set_white_balance()
166 static int s5c73m3_af_run(struct s5c73m3 *state, bool on) in s5c73m3_af_run()
181 static int s5c73m3_3a_lock(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) in s5c73m3_3a_lock()
209 static int s5c73m3_set_auto_focus(struct s5c73m3 *state, int caf) in s5c73m3_set_auto_focus()
234 static int s5c73m3_set_contrast(struct s5c73m3 *state, int val) in s5c73m3_set_contrast()
240 static int s5c73m3_set_saturation(struct s5c73m3 *state, int val) in s5c73m3_set_saturation()
[all …]
/linux/security/apparmor/
H A Dpolicy_compat.c53 #define dfa_user_allow(dfa, state) (((ACCEPT_TABLE(dfa)[state]) & 0x7f) | \ argument
55 #define dfa_user_xbits(dfa, state) (((ACCEPT_TABLE(dfa)[state]) >> 7) & 0x7f) argument
56 #define dfa_user_audit(dfa, state) ((ACCEPT_TABLE2(dfa)[state]) & 0x7f) argument
57 #define dfa_user_quiet(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 7) & 0x7f) argument
58 #define dfa_user_xindex(dfa, state) \ argument
61 #define dfa_other_allow(dfa, state) ((((ACCEPT_TABLE(dfa)[state]) >> 14) & \ argument
64 #define dfa_other_xbits(dfa, state) \ argument
66 #define dfa_other_audit(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 14) & 0x7f) argument
67 #define dfa_other_quiet(dfa, state) \ argument
69 #define dfa_other_xindex(dfa, state) \ argument
[all …]
/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-demod.c32 static int mxl111sf_demod_read_reg(struct mxl111sf_demod_state *state, in mxl111sf_demod_read_reg()
40 static int mxl111sf_demod_write_reg(struct mxl111sf_demod_state *state, in mxl111sf_demod_write_reg()
49 int mxl111sf_demod_program_regs(struct mxl111sf_demod_state *state, in mxl111sf_demod_program_regs()
61 int mxl1x1sf_demod_get_tps_code_rate(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_tps_code_rate()
92 int mxl1x1sf_demod_get_tps_modulation(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_tps_modulation()
117 int mxl1x1sf_demod_get_tps_guard_fft_mode(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_tps_guard_fft_mode()
142 int mxl1x1sf_demod_get_tps_guard_interval(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_tps_guard_interval()
170 int mxl1x1sf_demod_get_tps_hierarchy(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_tps_hierarchy()
201 int mxl1x1sf_demod_get_sync_lock_status(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_sync_lock_status()
214 int mxl1x1sf_demod_get_rs_lock_status(struct mxl111sf_demod_state *state, in mxl1x1sf_demod_get_rs_lock_status()
[all …]
H A Daf9035.h45 struct state { struct
47 u8 buf[BUF_LEN];
48 u8 seq; /* packet sequence number */
49 u8 prechip_version;
50 u8 chip_version;
51 u16 chip_type;
52 u8 eeprom[256];
53 bool no_eeprom;
54 u8 ir_mode;
55 u8 ir_type;
[all …]
/linux/drivers/media/i2c/adv748x/
H A Dadv748x-core.c59 static int adv748x_configure_regmap(struct adv748x_state *state, int region) in adv748x_configure_regmap()
100 static int adv748x_read_check(struct adv748x_state *state, in adv748x_read_check()
118 int adv748x_read(struct adv748x_state *state, u8 page, u8 reg) in adv748x_read()
123 int adv748x_write(struct adv748x_state *state, u8 page, u8 reg, u8 value) in adv748x_write()
128 static int adv748x_write_check(struct adv748x_state *state, u8 page, u8 reg, in adv748x_write_check()
144 int adv748x_write_block(struct adv748x_state *state, int client_page, in adv748x_write_block()
156 static int adv748x_set_slave_addresses(struct adv748x_state *state) in adv748x_set_slave_addresses()
172 static void adv748x_unregister_clients(struct adv748x_state *state) in adv748x_unregister_clients()
180 static int adv748x_initialise_clients(struct adv748x_state *state) in adv748x_initialise_clients()
216 static int adv748x_write_regs(struct adv748x_state *state, in adv748x_write_regs()
[all …]

12345678910>>...80