/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras.c | 721 struct ras_badpage **bps, unsigned int *count); 771 struct ras_badpage *bps = NULL; in amdgpu_ras_sysfs_badpages_read() local 776 if (amdgpu_ras_badpages_read(adev, &bps, &bps_count)) in amdgpu_ras_sysfs_badpages_read() 782 bps[start].bp, in amdgpu_ras_sysfs_badpages_read() 783 bps[start].size, in amdgpu_ras_sysfs_badpages_read() 784 amdgpu_ras_badpage_flags_str(bps[start].flags)); in amdgpu_ras_sysfs_badpages_read() 786 kfree(bps); in amdgpu_ras_sysfs_badpages_read() 1166 struct ras_badpage **bps, unsigned int *count) in amdgpu_ras_badpages_read() argument 1173 if (!con || !con->eh_data || !bps || !count) in amdgpu_ras_badpages_read() 1179 *bps = NULL; in amdgpu_ras_badpages_read() [all …]
|
/Linux-v5.4/net/netfilter/ |
D | xt_rateest.c | 25 bps1 = info->bps1 >= sample.bps ? info->bps1 - sample.bps : 0; in xt_rateest_mt() 28 bps1 = sample.bps; in xt_rateest_mt() 39 bps2 = info->bps2 >= sample.bps ? info->bps2 - sample.bps : 0; in xt_rateest_mt() 42 bps2 = sample.bps; in xt_rateest_mt()
|
/Linux-v5.4/sound/soc/intel/skylake/ |
D | skl-nhlt.c | 18 u8 no_ch, u32 rate, u16 bps, u8 linktype) in skl_get_specific_cfg() argument 31 if (wfmt->channels == no_ch && wfmt->bits_per_sample == bps) { in skl_get_specific_cfg() 52 u8 s_fmt, u8 num_channels, u32 s_rate, u8 dirn, u16 bps) in dump_config() argument 57 dev_dbg(dev, "bits_per_sample=%d\n", bps); in dump_config() 92 u16 bps = (s_fmt == 16) ? 16 : 32; in skl_get_ep_blob() local 95 dump_config(dev, instance, link_type, s_fmt, num_ch, s_rate, dirn, bps); in skl_get_ep_blob() 107 s_rate, bps, link_type); in skl_get_ep_blob() 205 u16 channels, bps; in skl_get_ssp_clks() local 221 bps = wav_fmt->fmt.bits_per_sample; in skl_get_ssp_clks() 239 (bps == wav_fmt->fmt.bits_per_sample)) in skl_get_ssp_clks() [all …]
|
/Linux-v5.4/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() 200 int bps = tty_get_baud_rate(tty); in ark3116_set_termios() local 234 dev_dbg(&port->dev, "%s - setting bps to %d\n", __func__, bps); in ark3116_set_termios() 236 switch (bps) { in ark3116_set_termios() 241 if ((bps < 75) || (bps > 3000000)) in ark3116_set_termios() 242 bps = 9600; in ark3116_set_termios() 243 quot = calc_divisor(bps); in ark3116_set_termios() 247 quot = calc_divisor(bps); in ark3116_set_termios() 251 quot = calc_divisor(bps); in ark3116_set_termios() [all …]
|
D | generic.c | 271 unsigned int bps; in usb_serial_generic_wait_until_sent() local 275 bps = tty_get_baud_rate(tty); in usb_serial_generic_wait_until_sent() 276 if (!bps) in usb_serial_generic_wait_until_sent() 277 bps = 9600; /* B0 */ in usb_serial_generic_wait_until_sent() 282 period = max_t(unsigned long, (10 * HZ / bps), 1); in usb_serial_generic_wait_until_sent()
|
/Linux-v5.4/block/ |
D | blk-throttle.c | 143 uint64_t bps[2][LIMIT_CNT]; member 302 ret = tg->bps[rw][td->limit_index]; in tg_bps_limit() 312 if (td->limit_index == LIMIT_MAX && tg->bps[rw][LIMIT_LOW] && in tg_bps_limit() 313 tg->bps[rw][LIMIT_LOW] != tg->bps[rw][LIMIT_MAX]) { in tg_bps_limit() 316 adjusted = throtl_adjusted_limit(tg->bps[rw][LIMIT_LOW], td); in tg_bps_limit() 317 ret = min(tg->bps[rw][LIMIT_MAX], adjusted); in tg_bps_limit() 336 tg->bps[rw][td->limit_index]) in tg_iops_limit() 500 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 501 tg->bps[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 582 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid() [all …]
|
/Linux-v5.4/sound/hda/ |
D | hdac_device.c | 844 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local 850 bps = 0; in snd_hdac_query_supported_pcm() 854 bps = 8; in snd_hdac_query_supported_pcm() 858 bps = 16; in snd_hdac_query_supported_pcm() 866 bps = 24; in snd_hdac_query_supported_pcm() 868 bps = 20; in snd_hdac_query_supported_pcm() 873 bps = 32; in snd_hdac_query_supported_pcm() 875 bps = 24; in snd_hdac_query_supported_pcm() 877 bps = 20; in snd_hdac_query_supported_pcm() 883 if (!bps) in snd_hdac_query_supported_pcm() [all …]
|
/Linux-v5.4/net/core/ |
D | gen_stats.c | 258 est.bps = min_t(u64, UINT_MAX, sample.bps); in gnet_stats_copy_rate_est() 263 d->tc_stats.bps = est.bps; in gnet_stats_copy_rate_est() 270 if (res < 0 || est.bps == sample.bps) in gnet_stats_copy_rate_est()
|
/Linux-v5.4/include/uapi/linux/ |
D | gen_stats.h | 40 __u32 bps; member 50 __u64 bps; member
|
/Linux-v5.4/drivers/tty/serial/ |
D | zs.h | 53 #define ZS_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 | ip22zilog.h | 32 #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-v5.4/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-v5.4/drivers/net/wan/ |
D | z85230.h | 19 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
/Linux-v5.4/drivers/net/hamradio/ |
D | baycom_epp.c | 168 unsigned int bps; member 306 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in eppconfig() 307 (bc->cfg.fclk + 8 * bc->cfg.bps) / (16 * bc->cfg.bps), in eppconfig() 997 bc->cfg.bps = simple_strtoul(cp+4, NULL, 0); in baycom_setmode() 998 if (bc->cfg.bps < 1000) in baycom_setmode() 999 bc->cfg.bps = 1000; in baycom_setmode() 1000 if (bc->cfg.bps > 1500000) in baycom_setmode() 1001 bc->cfg.bps = 1500000; in baycom_setmode() 1088 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in baycom_ioctl() 1214 bc->cfg.bps = 9600; in baycom_epp_dev_setup()
|
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-vchiq.c | 262 unsigned int bps) in bcm2835_audio_set_params() argument 268 .config.bps = bps, in bcm2835_audio_set_params()
|
D | vc_vchi_audioserv_defs.h | 38 u32 bps; member
|
D | bcm2835.h | 101 unsigned int bps);
|
/Linux-v5.4/include/linux/soundwire/ |
D | sdw.h | 607 unsigned int bps; member 795 unsigned int bps; member 831 unsigned int bps; member
|
/Linux-v5.4/arch/powerpc/mm/ptdump/ |
D | hashpagetable.c | 185 unsigned long rpn, int bps, int aps, unsigned long lp) in dump_hpte_info() argument 199 calculate_pagesize(st, bps, "base"); in dump_hpte_info() 277 static void decode_r(int bps, unsigned long r, unsigned long *rpn, int *aps, in decode_r() argument 297 entry = mmu_psize_defs[bps]; in decode_r()
|
/Linux-v5.4/drivers/soundwire/ |
D | stream.c | 171 ret = sdw_write(s_rt->slave, addr2, (p_params->bps - 1)); in sdw_program_slave_port_params() 1143 if (stream->params.bps && in sdw_config_stream() 1144 stream->params.bps != stream_config->bps) { in sdw_config_stream() 1151 stream->params.bps = stream_config->bps; in sdw_config_stream() 1486 m_rt->ch_count * m_rt->stream->params.bps; in _sdw_prepare_stream() 1727 m_rt->ch_count * m_rt->stream->params.bps; in _sdw_deprepare_stream()
|
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/ |
D | qos_lib.sh | 7 for unit in bps Kbps Mbps Gbps; do
|
/Linux-v5.4/drivers/tty/ |
D | tty_port.c | 545 unsigned int bps = tty_get_baud_rate(tty); in tty_port_drain_delay() local 548 if (bps > 1200) { in tty_port_drain_delay() 549 timeout = (HZ * 10 * port->drain_delay) / bps; in tty_port_drain_delay()
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uvc | 205 frame interval in bps 207 frame interval in bps 260 frame interval in bps 262 frame interval in bps
|