Home
last modified time | relevance | path

Searched refs:timf (Results 1 – 9 of 9) sorted by relevance

/drivers/media/dvb-frontends/
Ddib3000mc.c41 u32 timf; member
99 u32 timf; in dib3000mc_set_timing() local
101 if (state->timf == 0) { in dib3000mc_set_timing()
102 timf = 1384402; // default value for 8MHz in dib3000mc_set_timing()
106 timf = state->timf; in dib3000mc_set_timing()
108 timf *= (bw / 1000); in dib3000mc_set_timing()
119 timf += tim_offs; in dib3000mc_set_timing()
120 state->timf = timf / (bw / 1000); in dib3000mc_set_timing()
123 dprintk("timf: %d\n", timf); in dib3000mc_set_timing()
125 dib3000mc_write_word(state, 23, (u16) (timf >> 16)); in dib3000mc_set_timing()
[all …]
Ddib7000m.c43 u32 timf; member
314 u32 timf; in dib7000m_set_bandwidth() local
322 if (state->timf == 0) { in dib7000m_set_bandwidth()
324 timf = state->timf_default; in dib7000m_set_bandwidth()
327 timf = state->timf; in dib7000m_set_bandwidth()
330 timf = timf * (bw / 50) / 160; in dib7000m_set_bandwidth()
332 dib7000m_write_word(state, 23, (u16) ((timf >> 16) & 0xffff)); in dib7000m_set_bandwidth()
333 dib7000m_write_word(state, 24, (u16) ((timf ) & 0xffff)); in dib7000m_set_bandwidth()
741 u32 timf = (dib7000m_read_word(state, 436) << 16) | dib7000m_read_word(state, 437); in dib7000m_update_timf() local
742 state->timf = timf * 160 / (state->current_bandwidth / 50); in dib7000m_update_timf()
[all …]
Ddib7000p.c49 u32 timf; member
364 u32 timf; in dib7000p_set_bandwidth() local
369 if (state->timf == 0) { in dib7000p_set_bandwidth()
371 timf = state->cfg.bw->timf; in dib7000p_set_bandwidth()
374 timf = state->timf; in dib7000p_set_bandwidth()
377 timf = timf * (bw / 50) / 160; in dib7000p_set_bandwidth()
379 dib7000p_write_word(state, 23, (u16) ((timf >> 16) & 0xffff)); in dib7000p_set_bandwidth()
380 dib7000p_write_word(state, 24, (u16) ((timf) & 0xffff)); in dib7000p_set_bandwidth()
929 u32 timf = (dib7000p_read_word(state, 427) << 16) | dib7000p_read_word(state, 428); in dib7000p_update_timf() local
930 state->timf = timf * 160 / (state->current_bandwidth / 50); in dib7000p_update_timf()
[all …]
Ddib7000p.h59 extern u32 dib7000p_ctrl_timf(struct dvb_frontend *fe, u8 op, u32 timf);
122 static inline u32 dib7000p_ctrl_timf(struct dvb_frontend *fe, u8 op, u32 timf) in dib7000p_ctrl_timf() argument
Ddib8000.h61 uint8_t op, uint32_t timf);
146 uint8_t op, uint32_t timf) in dib8000_ctrl_timf() argument
Ddib8000.c72 u32 timf; member
592 u32 timf; in dib8000_set_bandwidth() local
597 if (state->timf == 0) { in dib8000_set_bandwidth()
599 timf = state->timf_default; in dib8000_set_bandwidth()
602 timf = state->timf; in dib8000_set_bandwidth()
605 dib8000_write_word(state, 29, (u16) ((timf >> 16) & 0xffff)); in dib8000_set_bandwidth()
606 dib8000_write_word(state, 30, (u16) ((timf) & 0xffff)); in dib8000_set_bandwidth()
1899 u32 timf = state->timf = dib8000_read32(state, 435); in dib8000_update_timf() local
1901 dib8000_write_word(state, 29, (u16) (timf >> 16)); in dib8000_update_timf()
1902 dib8000_write_word(state, 30, (u16) (timf & 0xffff)); in dib8000_update_timf()
[all …]
Ddibx000_common.h135 u32 timf; member
/drivers/media/usb/dvb-usb/
Ddib0700_devices.c1546 u32 timf; in dib8096_set_param_override() local
1576 timf = 21387946; in dib8096_set_param_override()
1578 timf = 20199727; in dib8096_set_param_override()
1580 timf = 19136583; in dib8096_set_param_override()
1582 timf = 18179756; in dib8096_set_param_override()
1587 dib8000_ctrl_timf(fe, DEMOD_TIMF_SET, timf); in dib8096_set_param_override()
1885 u32 timf; /* New Timf */ member
1891 u32 timf; member
1907 adc->timf = 0; in dib8096p_get_best_sampling()
1950 adc->timf = (4260880253U / fdem) * (1 << 8); in dib8096p_get_best_sampling()
[all …]
Dcxusb.c1007 .timf = 20452225,