Home
last modified time | relevance | path

Searched refs:bandwidth (Results 1 – 25 of 208) sorted by relevance

123456789

/drivers/media/tuners/
A Dsi2157.c450 u32 bandwidth; in si2157_set_params() local
463 bandwidth = 1700000; in si2157_set_params()
466 bandwidth = 6000000; in si2157_set_params()
469 bandwidth = 6100000; in si2157_set_params()
472 bandwidth = 7000000; in si2157_set_params()
555 dev->bandwidth = bandwidth; in si2157_set_params()
562 dev->bandwidth = 0; in si2157_set_params()
577 u32 bandwidth = 0; in si2157_set_analog_params() local
753 dev->bandwidth = bandwidth; in si2157_set_analog_params()
759 dev->bandwidth = 0; in si2157_set_analog_params()
[all …]
A Dmsi001.c37 struct v4l2_ctrl *bandwidth; member
132 unsigned int bandwidth; in msi001_set_tuner() local
175 bandwidth = dev->bandwidth->val; in msi001_set_tuner()
176 bandwidth = clamp(bandwidth, 200000U, 8000000U); in msi001_set_tuner()
179 if (bandwidth <= bandwidth_lut[i].freq) { in msi001_set_tuner()
180 bandwidth = bandwidth_lut[i].val; in msi001_set_tuner()
189 dev->bandwidth->val = bandwidth_lut[i].freq; in msi001_set_tuner()
245 reg |= bandwidth << 14; in msi001_set_tuner()
443 dev->bandwidth = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe()
A Dfc0011.c63 u32 bandwidth; member
170 u32 bandwidth = p->bandwidth_hz / 1000; in fc0011_set_params() local
243 switch (bandwidth) { in fc0011_set_params()
251 bandwidth); in fc0011_set_params()
252 bandwidth = 6000; in fc0011_set_params()
431 (unsigned int)bandwidth); in fc0011_set_params()
434 priv->bandwidth = p->bandwidth_hz; in fc0011_set_params()
455 static int fc0011_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in fc0011_get_bandwidth() argument
459 *bandwidth = priv->bandwidth; in fc0011_get_bandwidth()
A Dtuner-simple.c118 u32 bandwidth; member
791 priv->bandwidth = 0; in simple_set_params()
799 const u32 bandwidth) in simple_set_dvb() argument
806 if (bandwidth == 8000000 && in simple_set_dvb()
816 if (bandwidth == 8000000) in simple_set_dvb()
907 priv->bandwidth = c->bandwidth_hz; in simple_dvb_calc_regs()
928 prev_bw = priv->bandwidth; in simple_dvb_set_params()
937 priv->bandwidth = bw; in simple_dvb_set_params()
956 priv->bandwidth = prev_bw; in simple_dvb_set_params()
1028 static int simple_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in simple_get_bandwidth() argument
[all …]
A Dmt2266.c32 u32 bandwidth; member
155 priv->bandwidth = c->bandwidth_hz; in mt2266_set_params()
262 static int mt2266_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in mt2266_get_bandwidth() argument
265 *bandwidth = priv->bandwidth; in mt2266_get_bandwidth()
/drivers/media/dvb-frontends/
A Dtda826x.c67 u32 bandwidth; in tda826x_set_params() local
78 bandwidth = (878 * ksyms + 6500000) / 1000000 + 1; in tda826x_set_params()
79 if (bandwidth < 5) in tda826x_set_params()
80 bandwidth = 5; in tda826x_set_params()
81 else if (bandwidth > 36) in tda826x_set_params()
82 bandwidth = 36; in tda826x_set_params()
91 buf[5] = ((bandwidth - 5) << 3) | 7; /* baseband cut-off */ in tda826x_set_params()
A Dstb6100.c241 static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in stb6100_get_bandwidth() argument
255 *bandwidth = state->bandwidth = bw * 1000; in stb6100_get_bandwidth()
256 dprintk(verbose, FE_DEBUG, 1, "bandwidth = %u Hz", state->bandwidth); in stb6100_get_bandwidth()
260 static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) in stb6100_set_bandwidth() argument
266 dprintk(verbose, FE_DEBUG, 1, "set bandwidth to %u Hz", bandwidth); in stb6100_set_bandwidth()
268 bandwidth /= 2; /* ZIF */ in stb6100_set_bandwidth()
270 if (bandwidth >= 36000000) /* F[4:0] BW/2 max =31+5=36 mhz for F=31 */ in stb6100_set_bandwidth()
272 else if (bandwidth <= 5000000) /* bw/2 min = 5Mhz for F=0 */ in stb6100_set_bandwidth()
275 tmp = (bandwidth + 500000) / 1000000 - 5; in stb6100_set_bandwidth()
495 state->bandwidth = 36000000; /* Hz */ in stb6100_init()
A Dstb6100_cfg.h51 static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in stb6100_get_bandwidth() argument
58 err = tuner_ops->get_bandwidth(fe, bandwidth); in stb6100_get_bandwidth()
67 static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) in stb6100_set_bandwidth() argument
75 c->bandwidth_hz = bandwidth; in stb6100_set_bandwidth()
A Dstb6100_proc.h64 static int stb6100_get_bandw(struct dvb_frontend *fe, u32 *bandwidth) in stb6100_get_bandw() argument
74 err = tuner_ops->get_bandwidth(fe, bandwidth); in stb6100_get_bandw()
87 static int stb6100_set_bandw(struct dvb_frontend *fe, u32 bandwidth) in stb6100_set_bandw() argument
95 c->bandwidth_hz = bandwidth; in stb6100_set_bandw()
A Dstv6110.c165 static int stv6110_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) in stv6110_set_bandwidth() argument
171 if ((bandwidth / 2) > 36000000) /*BW/2 max=31+5=36 mhz for r8=31*/ in stv6110_set_bandwidth()
173 else if ((bandwidth / 2) < 5000000) /* BW/2 min=5Mhz for F=0 */ in stv6110_set_bandwidth()
176 r8 = (bandwidth / 2) / 1000000 - 5; in stv6110_set_bandwidth()
339 u32 bandwidth = carrier_width(c->symbol_rate, c->rolloff); in stv6110_set_params() local
342 stv6110_set_bandwidth(fe, bandwidth); in stv6110_set_params()
347 static int stv6110_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in stv6110_get_bandwidth() argument
356 *bandwidth = (r8 + 5) * 2000000;/* x2 for ZIF tuner BW/2 = F+5 Mhz */ in stv6110_get_bandwidth()
A Dstb6000.c71 int bandwidth; in stb6000_set_params() local
83 bandwidth = p->symbol_rate / 1000000; in stb6000_set_params()
85 if (bandwidth > 31) in stb6000_set_params()
86 bandwidth = 31; in stb6000_set_params()
124 buf[6] = (unsigned char)(bandwidth); in stb6000_set_params()
A Dcxd2841er.c467 u32 bandwidth);
473 u32 bandwidth);
1203 switch (bandwidth) { in cxd2841er_get_carrier_offset_i()
1272 switch (bandwidth) { in cxd2841er_get_carrier_offset_t2()
2167 u32 bandwidth) in cxd2841er_sleep_tc_to_active_t2_band() argument
2255 switch (bandwidth) { in cxd2841er_sleep_tc_to_active_t2_band()
2485 switch (bandwidth) { in cxd2841er_sleep_tc_to_active_t_band()
2701 switch (bandwidth) { in cxd2841er_sleep_tc_to_active_i_band()
2830 switch (bandwidth) { in cxd2841er_sleep_tc_to_active_c_band()
2860 switch (bandwidth) { in cxd2841er_sleep_tc_to_active_c_band()
[all …]
A Dsi2168.c237 u8 bandwidth, delivery_system; in si2168_set_frontend() local
269 bandwidth = 0x02; in si2168_set_frontend()
271 bandwidth = 0x05; in si2168_set_frontend()
273 bandwidth = 0x06; in si2168_set_frontend()
275 bandwidth = 0x07; in si2168_set_frontend()
277 bandwidth = 0x08; in si2168_set_frontend()
279 bandwidth = 0x09; in si2168_set_frontend()
281 bandwidth = 0x0a; in si2168_set_frontend()
283 bandwidth = 0x0f; in si2168_set_frontend()
346 cmd.args[4] = delivery_system | bandwidth; in si2168_set_frontend()
A Das102_fe.c68 tune_args.bandwidth = BW_8_MHZ; in as102_fe_set_frontend()
71 tune_args.bandwidth = BW_7_MHZ; in as102_fe_set_frontend()
74 tune_args.bandwidth = BW_6_MHZ; in as102_fe_set_frontend()
77 tune_args.bandwidth = BW_8_MHZ; in as102_fe_set_frontend()
145 tune_args.bandwidth, in as102_fe_set_frontend()
A Dtda8261_cfg.h43 static int tda8261_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in tda8261_get_bandwidth() argument
46 *bandwidth = 40000000; in tda8261_get_bandwidth()
A Drtl2832_sdr.c144 struct v4l2_ctrl *bandwidth; member
782 struct v4l2_ctrl *bandwidth; in rtl2832_sdr_set_tuner_freq() local
798 v4l2_ctrl_s_ctrl(bandwidth, dev->f_adc); in rtl2832_sdr_set_tuner_freq()
800 c->bandwidth_hz = v4l2_ctrl_g_ctrl(bandwidth); in rtl2832_sdr_set_tuner_freq()
1265 val = clamp_t(s32, val, dev->bandwidth->minimum, in rtl2832_sdr_s_ctrl()
1266 dev->bandwidth->maximum); in rtl2832_sdr_s_ctrl()
1267 offset = val - dev->bandwidth->minimum; in rtl2832_sdr_s_ctrl()
1268 offset = dev->bandwidth->step * in rtl2832_sdr_s_ctrl()
1269 div_u64(offset, dev->bandwidth->step); in rtl2832_sdr_s_ctrl()
1270 dev->bandwidth->val = dev->bandwidth->minimum + offset; in rtl2832_sdr_s_ctrl()
[all …]
A Dstv6110x.h38 int (*tuner_set_bandwidth) (struct dvb_frontend *fe, u32 bandwidth);
39 int (*tuner_get_bandwidth) (struct dvb_frontend *fe, u32 *bandwidth);
/drivers/firewire/
A Dcore-iso.c277 int bandwidth, bool allocate) in manage_bandwidth() argument
288 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth()
300 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth()
304 return bandwidth; in manage_bandwidth()
411 u64 channels_mask, int *channel, int *bandwidth, in fw_iso_resource_manage() argument
435 *bandwidth = 0; in fw_iso_resource_manage()
437 if (*bandwidth == 0) in fw_iso_resource_manage()
440 ret = manage_bandwidth(card, irm_id, generation, *bandwidth, allocate); in fw_iso_resource_manage()
442 *bandwidth = 0; in fw_iso_resource_manage()
/drivers/media/usb/gspca/
A Dgspca.c533 u32 bandwidth; in which_bandwidth() local
542 bandwidth = bandwidth * 3 / 8; /* 0.375 */ in which_bandwidth()
563 return bandwidth; in which_bandwidth()
570 u32 bandwidth; member
583 u32 bandwidth, last_bw; in build_isoc_ep_tb() local
607 bandwidth = psize * 1000; in build_isoc_ep_tb()
610 bandwidth *= 8; in build_isoc_ep_tb()
612 if (bandwidth <= last_bw) in build_isoc_ep_tb()
614 if (bandwidth < ep_tb->bandwidth) { in build_isoc_ep_tb()
615 ep_tb->bandwidth = bandwidth; in build_isoc_ep_tb()
[all …]
/drivers/media/dvb-frontends/cxd2880/
A Dcxd2880_tnrdmd_dvbt.c47 bandwidth, in x_tune_dvbt_demod_setting()
226 switch (bandwidth) { in x_tune_dvbt_demod_setting()
717 tune_param->bandwidth, 0, 0); in cxd2880_tnrdmd_dvbt_tune1()
722 x_tune_dvbt_demod_setting(tnr_dmd, tune_param->bandwidth, in cxd2880_tnrdmd_dvbt_tune1()
730 tune_param->bandwidth, in cxd2880_tnrdmd_dvbt_tune1()
764 tnr_dmd->bandwidth = tune_param->bandwidth; in cxd2880_tnrdmd_dvbt_tune2()
770 tnr_dmd->diver_sub->bandwidth = tune_param->bandwidth; in cxd2880_tnrdmd_dvbt_tune2()
A Dcxd2880_tnrdmd_dvbt2.c26 bandwidth, in x_tune_dvbt2_demod_setting()
347 switch (bandwidth) { in x_tune_dvbt2_demod_setting()
869 tune_param->bandwidth, 0, 0); in cxd2880_tnrdmd_dvbt2_tune1()
874 x_tune_dvbt2_demod_setting(tnr_dmd, tune_param->bandwidth, in cxd2880_tnrdmd_dvbt2_tune1()
882 tune_param->bandwidth, in cxd2880_tnrdmd_dvbt2_tune1()
954 tnr_dmd->bandwidth = tune_param->bandwidth; in cxd2880_tnrdmd_dvbt2_tune2()
960 tnr_dmd->diver_sub->bandwidth = tune_param->bandwidth; in cxd2880_tnrdmd_dvbt2_tune2()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
A Drf.c13 void rtl92ee_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth) in rtl92ee_phy_rf6052_set_bandwidth() argument
18 switch (bandwidth) { in rtl92ee_phy_rf6052_set_bandwidth()
36 pr_err("unknown bandwidth: %#X\n", bandwidth); in rtl92ee_phy_rf6052_set_bandwidth()
/drivers/media/test-drivers/vidtv/
A Dvidtv_tuner.c100 u32 bandwidth; member
310 tuner_dev->hw_state.bandwidth = c->bandwidth_hz; in vidtv_tuner_set_params()
345 u32 *bandwidth) in vidtv_tuner_get_bandwidth() argument
349 *bandwidth = tuner_dev->hw_state.bandwidth; in vidtv_tuner_get_bandwidth()
/drivers/media/usb/dvb-usb-v2/
A Dmxl111sf-tuner.c31 u32 bandwidth; member
305 state->bandwidth = c->bandwidth_hz; in mxl111sf_tuner_set_params()
390 static int mxl111sf_tuner_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in mxl111sf_tuner_get_bandwidth() argument
393 *bandwidth = state->bandwidth; in mxl111sf_tuner_get_bandwidth()
/drivers/media/usb/dvb-usb/
A DcinergyT2.h56 uint8_t bandwidth; member
72 uint8_t bandwidth; member

Completed in 60 milliseconds

123456789