/linux-4.1.27/net/netfilter/ |
D | xt_rateest.c | 28 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.1.27/drivers/usb/serial/ |
D | ark3116.c | 108 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 …]
|
D | generic.c | 249 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.1.27/net/core/ |
D | gen_stats.c | 200 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()
|
D | gen_estimator.c | 134 e->rate_est->bps = (e->avbps+0xF)>>5; in est_timer() 235 est->avbps = rate_est->bps<<5; in gen_new_estimator()
|
D | pktgen.c | 3160 __u64 bps, mbps, pps; in show_results() local 3176 bps = pps * 8 * pkt_dev->cur_pkt_size; in show_results() 3178 mbps = bps; in show_results() 3183 (unsigned long long)bps, in show_results()
|
/linux-4.1.27/include/uapi/linux/ |
D | gen_stats.h | 37 __u32 bps; member 47 __u64 bps; member
|
D | pkt_sched.h | 38 __u32 bps; /* Current flow byte rate */ member
|
/linux-4.1.27/drivers/tty/serial/ |
D | zs.h | 52 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | ip22zilog.h | 31 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | sunzilog.h | 23 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | pmac_zilog.h | 117 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | sh-sci.c | 1803 static unsigned int sci_scbrr_calc(struct sci_port *s, unsigned int bps, in sci_scbrr_calc() argument 1807 return DIV_ROUND_CLOSEST(freq, s->sampling_rate * bps) - 1; in sci_scbrr_calc() 1812 return ((freq + 16 * bps) / (32 * bps) - 1); in sci_scbrr_calc() 1832 static void sci_baud_calc_hscif(unsigned int bps, unsigned long freq, in sci_baud_calc_hscif() argument 1846 (1 << (2 * c + 1)) * bps)) - 1; in sci_baud_calc_hscif() 1848 err = DIV_ROUND_CLOSEST(freq, ((br + 1) * bps * sr * in sci_baud_calc_hscif()
|
/linux-4.1.27/block/ |
D | blk-throttle.c | 131 uint64_t bps[2]; member 442 tg->bps[READ] = -1; in throtl_pd_init() 443 tg->bps[WRITE] = -1; in throtl_pd_init() 470 (tg->bps[rw] != -1 || tg->iops[rw] != -1); in tg_update_has_rules() 784 tmp = tg->bps[rw] * throtl_slice * nr_slices; in throtl_trim_slice() 876 tmp = tg->bps[rw] * jiffy_elapsed_rnd; in tg_with_in_bps_limit() 888 jiffy_wait = div64_u64(extra_bytes * HZ, tg->bps[rw]); in tg_with_in_bps_limit() 923 if (tg->bps[rw] == -1 && tg->iops[rw] == -1) { in tg_may_dispatch() 1380 tg->bps[READ], tg->bps[WRITE], in tg_set_conf() 1428 .private = offsetof(struct throtl_grp, bps[READ]), [all …]
|
/linux-4.1.27/drivers/net/wan/ |
D | z85230.h | 18 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | dscc4.c | 1256 static int dscc4_set_clock(struct net_device *dev, u32 *bps, u32 *state) in dscc4_set_clock() argument 1263 if (*bps) { /* Clock generated - required for DCE */ in dscc4_set_clock() 1272 divider = xtal / *bps; in dscc4_set_clock() 1294 *bps = xtal / divider; in dscc4_set_clock() 1373 u32 bps, state; in dscc4_clock_setting() local 1375 bps = settings->clock_rate; in dscc4_clock_setting() 1377 if (dscc4_set_clock(dev, &bps, &state) < 0) in dscc4_clock_setting() 1379 if (bps) { /* DCE */ in dscc4_clock_setting() 1381 if (settings->clock_rate != bps) { in dscc4_clock_setting() 1383 dev->name, settings->clock_rate, bps); in dscc4_clock_setting() [all …]
|
/linux-4.1.27/drivers/net/hamradio/ |
D | baycom_epp.c | 183 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.1.27/drivers/tty/ |
D | tty_port.c | 454 unsigned int bps = tty_get_baud_rate(tty); in tty_port_drain_delay() local 457 if (bps > 1200) { in tty_port_drain_delay() 458 timeout = (HZ * 10 * port->drain_delay) / bps; in tty_port_drain_delay()
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uvc | 189 frame interval in bps 191 frame interval in bps 236 frame interval in bps 238 frame interval in bps
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
D | mt9m001.c | 600 unsigned int bps = soc_mbus_get_fmtdesc(mt9m001->fmt->code)->bits_per_sample; in mt9m001_s_mbus_config() local 603 return ssdd->set_bus_param(ssdd, 1 << (bps - 1)); in mt9m001_s_mbus_config() 609 return bps == 10 ? 0 : -EINVAL; in mt9m001_s_mbus_config()
|
D | mt9v022.c | 798 unsigned int bps = soc_mbus_get_fmtdesc(mt9v022->fmt->code)->bits_per_sample; in mt9v022_s_mbus_config() local 803 ret = ssdd->set_bus_param(ssdd, 1 << (bps - 1)); in mt9v022_s_mbus_config() 806 } else if (bps != 10) { in mt9v022_s_mbus_config()
|
/linux-4.1.27/Documentation/i2c/busses/ |
D | i2c-taos-evm | 45 to operate at 1200 bps. However, I don't think this is a big concern in
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_codec.c | 3484 unsigned int streams, bps; in snd_hda_query_supported_pcm() local 3490 bps = 0; in snd_hda_query_supported_pcm() 3494 bps = 8; in snd_hda_query_supported_pcm() 3498 bps = 16; in snd_hda_query_supported_pcm() 3506 bps = 24; in snd_hda_query_supported_pcm() 3508 bps = 20; in snd_hda_query_supported_pcm() 3513 bps = 32; in snd_hda_query_supported_pcm() 3515 bps = 24; in snd_hda_query_supported_pcm() 3517 bps = 20; in snd_hda_query_supported_pcm() 3523 if (!bps) in snd_hda_query_supported_pcm() [all …]
|
/linux-4.1.27/sound/drivers/ |
D | aloop.c | 343 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.1.27/drivers/net/irda/ |
D | Kconfig | 16 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.1.27/net/mac80211/ |
D | rc80211_minstrel_ht.c | 27 #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.1.27/Documentation/networking/ |
D | eql.txt | 143 <slave-name> <estimated-bps>". Here are some example enslavings: 247 at 28800 bps or slower, and the other connecting at 14400 bps all the
|
D | generic-hdlc.txt | 59 * rate - sets clock rate in bps (for "int" or "txint" clock only)
|
D | pktgen.txt | 91 763292pps 390Mb/sec (390805504bps) errors: 39664
|
/linux-4.1.27/net/sched/ |
D | act_police.c | 268 police->tcf_rate_est.bps >= police->tcfp_ewma_rate) { in tcf_act_police()
|
/linux-4.1.27/Documentation/m68k/ |
D | kernel-options.txt | 188 - "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.1.27/Documentation/sound/alsa/ |
D | hda_codec.txt | 154 hda_nid_t nid; /* default NID to query rates/formats/bps, or set up */
|
/linux-4.1.27/drivers/staging/comedi/ |
D | comedi_fops.c | 2251 unsigned int bps = comedi_bytes_per_sample(s); in comedi_poll() local 2257 comedi_buf_write_n_allocated(s) >= bps) in comedi_poll()
|
/linux-4.1.27/Documentation/usb/ |
D | usb-serial.txt | 251 The hid->com adapter can run at a maximum baud of 115200bps. Please note
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 2764 static int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain) in be_cmd_set_qos() argument 2785 req->max_bps_nic = cpu_to_le32(bps); in be_cmd_set_qos()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_display.c | 7729 u32 bps = target_clock * bpp * 21 / 20; in ironlake_get_lanes_required() local 7730 return DIV_ROUND_UP(bps, link_bw * 8); in ironlake_get_lanes_required()
|