Home
last modified time | relevance | path

Searched refs:bps (Results 1 – 38 of 38) sorted by relevance

/linux-4.4.14/sound/soc/intel/skylake/
Dskl-nhlt.c58 u8 no_ch, u32 rate, u16 bps) in skl_get_specific_cfg() argument
72 wfmt->bits_per_sample == bps) { in skl_get_specific_cfg()
86 u8 s_fmt, u8 num_channels, u32 s_rate, u8 dirn, u16 bps) in dump_config() argument
91 dev_dbg(dev, "bits_per_sample=%d\n", bps); in dump_config()
118 u16 bps = num_ch * s_fmt; in skl_get_ep_blob() local
121 dump_config(dev, instance, link_type, s_fmt, num_ch, s_rate, dirn, bps); in skl_get_ep_blob()
131 sp_config = skl_get_specific_cfg(dev, fmt, num_ch, s_rate, bps); in skl_get_ep_blob()
/linux-4.4.14/net/netfilter/
Dxt_rateest.c28 bps1 = info->bps1 >= r->bps ? info->bps1 - r->bps : 0; in xt_rateest_mt()
31 bps1 = r->bps; in xt_rateest_mt()
43 bps2 = info->bps2 >= r->bps ? info->bps2 - r->bps : 0; in xt_rateest_mt()
46 bps2 = r->bps; in xt_rateest_mt()
/linux-4.4.14/drivers/usb/serial/
Dark3116.c108 static inline int calc_divisor(int bps) in calc_divisor() argument
115 return (12000000 + 2*bps) / (4*bps); in calc_divisor()
225 int bps = tty_get_baud_rate(tty); in ark3116_set_termios() local
259 dev_dbg(&port->dev, "%s - setting bps to %d\n", __func__, bps); in ark3116_set_termios()
261 switch (bps) { in ark3116_set_termios()
266 if ((bps < 75) || (bps > 3000000)) in ark3116_set_termios()
267 bps = 9600; in ark3116_set_termios()
268 quot = calc_divisor(bps); in ark3116_set_termios()
272 quot = calc_divisor(bps); in ark3116_set_termios()
276 quot = calc_divisor(bps); in ark3116_set_termios()
[all …]
Dgeneric.c249 unsigned int bps; in usb_serial_generic_wait_until_sent() local
253 bps = tty_get_baud_rate(tty); in usb_serial_generic_wait_until_sent()
254 if (!bps) in usb_serial_generic_wait_until_sent()
255 bps = 9600; /* B0 */ in usb_serial_generic_wait_until_sent()
260 period = max_t(unsigned long, (10 * HZ / bps), 1); in usb_serial_generic_wait_until_sent()
/linux-4.4.14/block/
Dblk-throttle.c123 uint64_t bps[2]; member
343 tg->bps[READ] = -1; in throtl_pd_alloc()
344 tg->bps[WRITE] = -1; in throtl_pd_alloc()
389 (tg->bps[rw] != -1 || tg->iops[rw] != -1); in tg_update_has_rules()
641 tmp = tg->bps[rw] * throtl_slice * nr_slices; in throtl_trim_slice()
733 tmp = tg->bps[rw] * jiffy_elapsed_rnd; in tg_with_in_bps_limit()
745 jiffy_wait = div64_u64(extra_bytes * HZ, tg->bps[rw]); in tg_with_in_bps_limit()
780 if (tg->bps[rw] == -1 && tg->iops[rw] == -1) { in tg_may_dispatch()
1155 tg->bps[READ], tg->bps[WRITE], in tg_conf_updated()
1233 .private = offsetof(struct throtl_grp, bps[READ]),
[all …]
/linux-4.4.14/sound/hda/
Dhdac_device.c859 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local
865 bps = 0; in snd_hdac_query_supported_pcm()
869 bps = 8; in snd_hdac_query_supported_pcm()
873 bps = 16; in snd_hdac_query_supported_pcm()
881 bps = 24; in snd_hdac_query_supported_pcm()
883 bps = 20; in snd_hdac_query_supported_pcm()
888 bps = 32; in snd_hdac_query_supported_pcm()
890 bps = 24; in snd_hdac_query_supported_pcm()
892 bps = 20; in snd_hdac_query_supported_pcm()
898 if (!bps) in snd_hdac_query_supported_pcm()
[all …]
/linux-4.4.14/net/core/
Dgen_stats.c200 est.bps = min_t(u64, UINT_MAX, r->bps); in gnet_stats_copy_rate_est()
205 d->tc_stats.bps = est.bps; in gnet_stats_copy_rate_est()
211 if (res < 0 || est.bps == r->bps) in gnet_stats_copy_rate_est()
Dgen_estimator.c134 e->rate_est->bps = (e->avbps+0xF)>>5; in est_timer()
236 est->avbps = rate_est->bps<<5; in gen_new_estimator()
Dpktgen.c3211 __u64 bps, mbps, pps; in show_results() local
3227 bps = pps * 8 * pkt_dev->cur_pkt_size; in show_results()
3229 mbps = bps; in show_results()
3234 (unsigned long long)bps, in show_results()
/linux-4.4.14/include/uapi/linux/
Dgen_stats.h37 __u32 bps; member
47 __u64 bps; member
Dpkt_sched.h38 __u32 bps; /* Current flow byte rate */ member
/linux-4.4.14/drivers/tty/serial/
Dzs.h52 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
Dip22zilog.h31 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
Dsunzilog.h23 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
Dpmac_zilog.h117 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
Dsh-sci.c1841 static unsigned int sci_scbrr_calc(struct sci_port *s, unsigned int bps, in sci_scbrr_calc() argument
1845 return DIV_ROUND_CLOSEST(freq, s->sampling_rate * bps) - 1; in sci_scbrr_calc()
1850 return ((freq + 16 * bps) / (32 * bps) - 1); in sci_scbrr_calc()
1870 static void sci_baud_calc_hscif(unsigned int bps, unsigned long freq, in sci_baud_calc_hscif() argument
1884 (1 << (2 * c + 1)) * bps)) - 1; in sci_baud_calc_hscif()
1886 err = DIV_ROUND_CLOSEST(freq, ((br + 1) * bps * sr * in sci_baud_calc_hscif()
/linux-4.4.14/drivers/net/wan/
Dz85230.h18 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
Ddscc4.c1253 static int dscc4_set_clock(struct net_device *dev, u32 *bps, u32 *state) in dscc4_set_clock() argument
1260 if (*bps) { /* Clock generated - required for DCE */ in dscc4_set_clock()
1269 divider = xtal / *bps; in dscc4_set_clock()
1291 *bps = xtal / divider; in dscc4_set_clock()
1370 u32 bps, state; in dscc4_clock_setting() local
1372 bps = settings->clock_rate; in dscc4_clock_setting()
1374 if (dscc4_set_clock(dev, &bps, &state) < 0) in dscc4_clock_setting()
1376 if (bps) { /* DCE */ in dscc4_clock_setting()
1378 if (settings->clock_rate != bps) { in dscc4_clock_setting()
1380 dev->name, settings->clock_rate, bps); in dscc4_clock_setting()
[all …]
/linux-4.4.14/drivers/net/hamradio/
Dbaycom_epp.c183 unsigned int bps; member
317 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in eppconfig()
318 (bc->cfg.fclk + 8 * bc->cfg.bps) / (16 * bc->cfg.bps), in eppconfig()
992 bc->cfg.bps = simple_strtoul(cp+4, NULL, 0); in baycom_setmode()
993 if (bc->cfg.bps < 1000) in baycom_setmode()
994 bc->cfg.bps = 1000; in baycom_setmode()
995 if (bc->cfg.bps > 1500000) in baycom_setmode()
996 bc->cfg.bps = 1500000; in baycom_setmode()
1083 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in baycom_ioctl()
1192 bc->cfg.bps = 9600; in baycom_epp_dev_setup()
/linux-4.4.14/drivers/tty/
Dtty_port.c442 unsigned int bps = tty_get_baud_rate(tty); in tty_port_drain_delay() local
445 if (bps > 1200) { in tty_port_drain_delay()
446 timeout = (HZ * 10 * port->drain_delay) / bps; in tty_port_drain_delay()
/linux-4.4.14/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uvc189 frame interval in bps
191 frame interval in bps
236 frame interval in bps
238 frame interval in bps
/linux-4.4.14/Documentation/devicetree/bindings/media/i2c/
Dtc358743.txt23 is half of the bps per lane due to DDR transmission.
/linux-4.4.14/Documentation/i2c/busses/
Di2c-taos-evm45 to operate at 1200 bps. However, I don't think this is a big concern in
/linux-4.4.14/drivers/media/i2c/soc_camera/
Dmt9m001.c614 unsigned int bps = soc_mbus_get_fmtdesc(mt9m001->fmt->code)->bits_per_sample; in mt9m001_s_mbus_config() local
617 return ssdd->set_bus_param(ssdd, 1 << (bps - 1)); in mt9m001_s_mbus_config()
623 return bps == 10 ? 0 : -EINVAL; in mt9m001_s_mbus_config()
Dmt9v022.c812 unsigned int bps = soc_mbus_get_fmtdesc(mt9v022->fmt->code)->bits_per_sample; in mt9v022_s_mbus_config() local
817 ret = ssdd->set_bus_param(ssdd, 1 << (bps - 1)); in mt9v022_s_mbus_config()
820 } else if (bps != 10) { in mt9v022_s_mbus_config()
/linux-4.4.14/drivers/net/irda/
DKconfig16 connection to 115200 bps (IrDA SIR mode).
208 dongle supports SIR speed only (9600 bps).
222 dongle supports SIR speeds only (9600 through 115200 bps).
236 dongle supports SIR speeds only (9600 through 57600 bps).
/linux-4.4.14/sound/drivers/
Daloop.c343 int bps, salign; in loopback_prepare() local
347 bps = salign * runtime->rate; in loopback_prepare()
348 if (bps <= 0 || salign <= 0) in loopback_prepare()
362 dpcm->pcm_bps = bps; in loopback_prepare()
/linux-4.4.14/Documentation/networking/
Deql.txt143 <slave-name> <estimated-bps>". Here are some example enslavings:
247 at 28800 bps or slower, and the other connecting at 14400 bps all the
Dgeneric-hdlc.txt59 * rate - sets clock rate in bps (for "int" or "txint" clock only)
Dpktgen.txt109 6480562pps 3110Mb/sec (3110669760bps) errors: 0
/linux-4.4.14/net/mac80211/
Drc80211_minstrel_ht.c27 #define MCS_NSYMS(bps) DIV_ROUND_UP(MCS_NBITS, (bps)) argument
37 #define MCS_DURATION(streams, sgi, bps) \ argument
38 (MCS_SYMBOL_TIME(sgi, MCS_NSYMS((streams) * (bps))) / AVG_AMPDU_SIZE)
/linux-4.4.14/net/sched/
Dact_police.c268 police->tcf_rate_est.bps >= police->tcfp_ewma_rate) { in tcf_act_police()
/linux-4.4.14/Documentation/m68k/
Dkernel-options.txt188 - "ser": built-in serial port; parameters: 9600bps, 8N1
195 - "ser1": ST-MFP serial port ("Modem1"); parameters: 9600bps, 8N1
196 - "ser2": SCC channel B serial port ("Modem2"); parameters: 9600bps, 8N1
199 - "midi": The MIDI port; parameters: 31250bps, 8N1
/linux-4.4.14/drivers/media/i2c/
Dtc358743.c677 u32 bps = bt->width * bt->height * fps(bt) * bits_pr_pixel; in tc358743_num_csi_lanes_needed() local
680 return DIV_ROUND_UP(bps, bps_pr_lane); in tc358743_num_csi_lanes_needed()
/linux-4.4.14/drivers/staging/comedi/
Dcomedi_fops.c2286 unsigned int bps = comedi_bytes_per_sample(s); in comedi_poll() local
2292 comedi_buf_write_n_available(s) >= bps) in comedi_poll()
/linux-4.4.14/Documentation/usb/
Dusb-serial.txt251 The hid->com adapter can run at a maximum baud of 115200bps. Please note
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c2825 static int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain) in be_cmd_set_qos() argument
2846 req->max_bps_nic = cpu_to_le32(bps); in be_cmd_set_qos()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_display.c8806 u32 bps = target_clock * bpp * 21 / 20; in ironlake_get_lanes_required() local
8807 return DIV_ROUND_UP(bps, link_bw * 8); in ironlake_get_lanes_required()