/Linux-v4.19/net/netfilter/ |
D | xt_rateest.c | 28 bps1 = info->bps1 >= sample.bps ? info->bps1 - sample.bps : 0; in xt_rateest_mt() 31 bps1 = sample.bps; in xt_rateest_mt() 42 bps2 = info->bps2 >= sample.bps ? info->bps2 - sample.bps : 0; in xt_rateest_mt() 45 bps2 = sample.bps; in xt_rateest_mt()
|
/Linux-v4.19/drivers/usb/serial/ |
D | ark3116.c | 114 static inline int calc_divisor(int bps) in calc_divisor() argument 121 return (12000000 + 2*bps) / (4*bps); in calc_divisor() 210 int bps = tty_get_baud_rate(tty); in ark3116_set_termios() local 244 dev_dbg(&port->dev, "%s - setting bps to %d\n", __func__, bps); in ark3116_set_termios() 246 switch (bps) { in ark3116_set_termios() 251 if ((bps < 75) || (bps > 3000000)) in ark3116_set_termios() 252 bps = 9600; in ark3116_set_termios() 253 quot = calc_divisor(bps); in ark3116_set_termios() 257 quot = calc_divisor(bps); in ark3116_set_termios() 261 quot = calc_divisor(bps); in ark3116_set_termios() [all …]
|
D | generic.c | 275 unsigned int bps; in usb_serial_generic_wait_until_sent() local 279 bps = tty_get_baud_rate(tty); in usb_serial_generic_wait_until_sent() 280 if (!bps) in usb_serial_generic_wait_until_sent() 281 bps = 9600; /* B0 */ in usb_serial_generic_wait_until_sent() 286 period = max_t(unsigned long, (10 * HZ / bps), 1); in usb_serial_generic_wait_until_sent()
|
/Linux-v4.19/sound/soc/intel/skylake/ |
D | skl-nhlt.c | 74 u8 no_ch, u32 rate, u16 bps, u8 linktype) in skl_get_specific_cfg() argument 87 if (wfmt->channels == no_ch && wfmt->bits_per_sample == bps) { in skl_get_specific_cfg() 108 u8 s_fmt, u8 num_channels, u32 s_rate, u8 dirn, u16 bps) in dump_config() argument 113 dev_dbg(dev, "bits_per_sample=%d\n", bps); in dump_config() 148 u16 bps = (s_fmt == 16) ? 16 : 32; in skl_get_ep_blob() local 151 dump_config(dev, instance, link_type, s_fmt, num_ch, s_rate, dirn, bps); in skl_get_ep_blob() 163 s_rate, bps, link_type); in skl_get_ep_blob() 300 u16 channels, bps; in skl_get_ssp_clks() local 316 bps = wav_fmt->fmt.bits_per_sample; in skl_get_ssp_clks() 334 (bps == wav_fmt->fmt.bits_per_sample)) in skl_get_ssp_clks() [all …]
|
/Linux-v4.19/block/ |
D | blk-throttle.c | 144 uint64_t bps[2][LIMIT_CNT]; member 303 ret = tg->bps[rw][td->limit_index]; in tg_bps_limit() 313 if (td->limit_index == LIMIT_MAX && tg->bps[rw][LIMIT_LOW] && in tg_bps_limit() 314 tg->bps[rw][LIMIT_LOW] != tg->bps[rw][LIMIT_MAX]) { in tg_bps_limit() 317 adjusted = throtl_adjusted_limit(tg->bps[rw][LIMIT_LOW], td); in tg_bps_limit() 318 ret = min(tg->bps[rw][LIMIT_MAX], adjusted); in tg_bps_limit() 337 tg->bps[rw][td->limit_index]) in tg_iops_limit() 499 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 500 tg->bps[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 581 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid() [all …]
|
/Linux-v4.19/sound/hda/ |
D | hdac_device.c | 852 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local 858 bps = 0; in snd_hdac_query_supported_pcm() 862 bps = 8; in snd_hdac_query_supported_pcm() 866 bps = 16; in snd_hdac_query_supported_pcm() 874 bps = 24; in snd_hdac_query_supported_pcm() 876 bps = 20; in snd_hdac_query_supported_pcm() 881 bps = 32; in snd_hdac_query_supported_pcm() 883 bps = 24; in snd_hdac_query_supported_pcm() 885 bps = 20; in snd_hdac_query_supported_pcm() 891 if (!bps) in snd_hdac_query_supported_pcm() [all …]
|
/Linux-v4.19/net/core/ |
D | gen_stats.c | 227 est.bps = min_t(u64, UINT_MAX, sample.bps); in gnet_stats_copy_rate_est() 232 d->tc_stats.bps = est.bps; in gnet_stats_copy_rate_est() 239 if (res < 0 || est.bps == sample.bps) in gnet_stats_copy_rate_est()
|
/Linux-v4.19/include/uapi/linux/ |
D | gen_stats.h | 39 __u32 bps; member 49 __u64 bps; member
|
/Linux-v4.19/drivers/tty/serial/ |
D | zs.h | 53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | ip22zilog.h | 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | sunzilog.h | 24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | pmac_zilog.h | 118 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
/Linux-v4.19/drivers/slimbus/ |
D | stream.c | 221 rt->bps = cfg->bps; in slim_stream_prepare() 280 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS; in slim_define_channel_content() 313 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS; in slim_define_channel() 315 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS + 1; in slim_define_channel()
|
/Linux-v4.19/drivers/net/wan/ |
D | z85230.h | 19 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | dscc4.c | 1248 static int dscc4_set_clock(struct net_device *dev, u32 *bps, u32 *state) in dscc4_set_clock() argument 1255 if (*bps) { /* Clock generated - required for DCE */ in dscc4_set_clock() 1264 divider = xtal / *bps; in dscc4_set_clock() 1286 *bps = xtal / divider; in dscc4_set_clock() 1365 u32 bps, state; in dscc4_clock_setting() local 1367 bps = settings->clock_rate; in dscc4_clock_setting() 1369 if (dscc4_set_clock(dev, &bps, &state) < 0) in dscc4_clock_setting() 1371 if (bps) { /* DCE */ in dscc4_clock_setting() 1373 if (settings->clock_rate != bps) { in dscc4_clock_setting() 1375 dev->name, settings->clock_rate, bps); in dscc4_clock_setting() [all …]
|
/Linux-v4.19/drivers/net/hamradio/ |
D | baycom_epp.c | 183 unsigned int bps; member 321 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in eppconfig() 322 (bc->cfg.fclk + 8 * bc->cfg.bps) / (16 * bc->cfg.bps), in eppconfig() 1012 bc->cfg.bps = simple_strtoul(cp+4, NULL, 0); in baycom_setmode() 1013 if (bc->cfg.bps < 1000) in baycom_setmode() 1014 bc->cfg.bps = 1000; in baycom_setmode() 1015 if (bc->cfg.bps > 1500000) in baycom_setmode() 1016 bc->cfg.bps = 1500000; in baycom_setmode() 1103 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in baycom_ioctl() 1229 bc->cfg.bps = 9600; in baycom_epp_dev_setup()
|
/Linux-v4.19/include/linux/soundwire/ |
D | sdw.h | 547 unsigned int bps; member 725 unsigned int bps; member 761 unsigned int bps; member
|
/Linux-v4.19/arch/powerpc/mm/ |
D | dump_hashpagetable.c | 189 unsigned long rpn, int bps, int aps, unsigned long lp) in dump_hpte_info() argument 203 calculate_pagesize(st, bps, "base"); in dump_hpte_info() 283 static void decode_r(int bps, unsigned long r, unsigned long *rpn, int *aps, in decode_r() argument 303 entry = mmu_psize_defs[bps]; in decode_r()
|
/Linux-v4.19/drivers/soundwire/ |
D | stream.c | 168 ret = sdw_write(s_rt->slave, addr2, (p_params->bps - 1)); in sdw_program_slave_port_params() 985 if (stream->params.bps && in sdw_config_stream() 986 stream->params.bps != stream_config->bps) { in sdw_config_stream() 993 stream->params.bps = stream_config->bps; in sdw_config_stream() 1268 m_rt->ch_count * m_rt->stream->params.bps; in _sdw_prepare_stream() 1453 m_rt->ch_count * m_rt->stream->params.bps; in _sdw_deprepare_stream()
|
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-audio/ |
D | vc_vchi_audioserv_defs.h | 36 u32 bps; member
|
D | bcm2835-vchiq.c | 555 unsigned int bps) in bcm2835_audio_set_params() argument 563 channels, samplerate, bps); in bcm2835_audio_set_params() 583 m.u.config.bps = bps; in bcm2835_audio_set_params()
|
D | bcm2835.h | 161 unsigned int bps);
|
/Linux-v4.19/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-v4.19/drivers/tty/ |
D | tty_port.c | 552 unsigned int bps = tty_get_baud_rate(tty); in tty_port_drain_delay() local 555 if (bps > 1200) { in tty_port_drain_delay() 556 timeout = (HZ * 10 * port->drain_delay) / bps; in tty_port_drain_delay()
|
/Linux-v4.19/include/linux/ |
D | slimbus.h | 136 unsigned int bps; member
|