/linux-master/net/mac80211/ |
H A D | airtime.c | 16 /* Number of kilo-symbols (symbols * 1024) for a packet with (bps) bits per 19 #define MCS_N_KSYMS(bps) DIV_ROUND_UP(MCS_NBITS << 10, (bps)) 31 #define MCS_DURATION(streams, sgi, bps) \ 32 ((u32)MCS_SYMBOL_TIME(sgi, MCS_N_KSYMS((streams) * (bps)))) 34 #define MCS_DURATION_S(shift, streams, sgi, bps) \ 35 ((u16)((MCS_DURATION(streams, sgi, bps) >> shift))) 52 #define HE_DURATION(streams, gi, bps) \ 53 ((u32)HE_SYMBOL_TIME(gi, MCS_N_KSYMS((streams) * (bps)))) 55 #define HE_DURATION_S(shift, streams, gi, bps) \ [all...] |
H A D | rc80211_minstrel_ht.c | 25 /* Number of symbols for a packet with (bps) bits per symbol */ 26 #define MCS_NSYMS(bps) DIV_ROUND_UP(MCS_NBITS, (bps)) 36 #define MCS_DURATION(streams, sgi, bps) \ 37 (MCS_SYMBOL_TIME(sgi, MCS_NSYMS((streams) * (bps))) / AVG_AMPDU_SIZE)
|
/linux-master/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-vchiq.c | 274 unsigned int bps) 280 .config.bps = bps, 269 bcm2835_audio_set_params(struct bcm2835_alsa_stream *alsa_stream, unsigned int channels, unsigned int samplerate, unsigned int bps) argument
|
/linux-master/include/linux/ |
H A D | slimbus.h | 127 * @bps: bits per data sample 136 unsigned int bps; member in struct:slim_stream_config
|
/linux-master/arch/powerpc/mm/ptdump/ |
H A D | hashpagetable.c | 184 unsigned long rpn, int bps, int aps, unsigned long lp) 198 calculate_pagesize(st, bps, "base"); 279 static void decode_r(int bps, unsigned long r, unsigned long *rpn, int *aps, argument 299 entry = mmu_psize_defs[bps]; 183 dump_hpte_info(struct pg_state *st, unsigned long ea, u64 v, u64 r, unsigned long rpn, int bps, int aps, unsigned long lp) argument
|
/linux-master/drivers/net/hamradio/ |
H A D | baycom_epp.c | 168 unsigned int bps; member in struct:baycom_state::__anon676 304 sprintf(modearg, "%sclk,%smodem,fclk=%d,bps=%d,divider=%d%s,extstat", 306 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, 307 (bc->cfg.fclk + 8 * bc->cfg.bps) / (16 * bc->cfg.bps), 990 if ((cp = strstr(modestr,"bps="))) { 991 bc->cfg.bps = simple_strtoul(cp+4, NULL, 0); 992 if (bc->cfg.bps < 1000) 993 bc->cfg.bps = 1000; 994 if (bc->cfg.bps > 150000 [all...] |
/linux-master/drivers/usb/serial/ |
H A D | generic.c | 271 unsigned int bps; local 275 bps = tty_get_baud_rate(tty); 276 if (!bps) 277 bps = 9600; /* B0 */ 282 period = max_t(unsigned long, (10 * HZ / bps), 1);
|
/linux-master/block/ |
H A D | blk-throttle.c | 111 return tg->bps[rw]; 277 tg->bps[READ] = U64_MAX; 278 tg->bps[WRITE] = U64_MAX; 302 * read_bps limit is set on a parent group, summary bps of 604 * If bps are unlimited (-1), then time slice don't get 777 /* If tg->bps = -1, then BW is unlimited */ 1348 .private = offsetof(struct throtl_grp, bps[READ]), 1354 .private = offsetof(struct throtl_grp, bps[WRITE]), 1473 v[0] = tg->bps[READ]; 1474 v[1] = tg->bps[WRIT [all...] |
/linux-master/drivers/tty/ |
H A D | tty_port.c | 598 unsigned int bps = tty_get_baud_rate(tty); local 601 if (bps > 1200) { 602 timeout = (HZ * 10 * port->drain_delay) / bps;
|
/linux-master/include/linux/soundwire/ |
H A D | sdw.h | 739 * @bps: Word length of the Port 748 unsigned int bps; 960 * @bps: Number of bits per audio sample 967 unsigned int bps; 998 * @bps: bits per channel sample 1003 unsigned int bps; 761 unsigned int bps; member in struct:sdw_port_params 978 unsigned int bps; member in struct:sdw_stream_config 1014 unsigned int bps; member in struct:sdw_stream_params
|
/linux-master/drivers/soundwire/ |
H A D | amd_manager.c | 393 unsigned int rate, bps; 403 bps = m_rt->stream->params.bps; 415 p_rt->num, bps, 449 u32p_replace_bits(&dpn_frame_fmt, p_params->bps - 1, AMD_DPN_FRAME_FMT_WORD_LEN); 623 sconfig.bps = snd_pcm_format_width(params_format(params)); 394 unsigned int rate, bps; local
|
H A D | stream.c | 176 ret = sdw_write_no_pm(s_rt->slave, addr2, (p_params->bps - 1)); 1247 * Update the stream rate, channel and bps based on data 1249 * match the rate, bps, stream type and increment number of channels. 1251 * If rate/bps is zero, it means the values are not set, so skip 1260 if (stream->params.bps && 1261 stream->params.bps != stream_config->bps) { 1262 dev_err(dev, "bps not matching, stream:%s\n", stream->name); 1268 stream->params.bps = stream_config->bps; [all...] |
/linux-master/drivers/slimbus/ |
H A D | slimbus.h | 327 * @bps: bits per sample 339 unsigned int bps; member in struct:slim_stream_runtime
|
/linux-master/net/core/ |
H A D | gen_estimator.c | 271 sample->bps = est->avbps >> 8;
|
H A D | pktgen.c | 3295 __u64 bps, mbps, pps; local 3315 bps = 0; 3318 bps += entry->size * entry->count_so_far; 3320 bps = div64_u64(bps * 8 * NSEC_PER_SEC, ktime_to_ns(elapsed)); 3322 bps = pps * 8 * pkt_dev->cur_pkt_size; 3325 mbps = bps; 3330 (unsigned long long)bps,
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_virt.h | 230 struct eeprom_table_record *bps; member in struct:amdgpu_virt_ras_err_handler_data
|
H A D | amdgpu_ras.h | 592 struct eeprom_table_record *bps; member in struct:ras_err_handler_data 741 struct eeprom_table_record *bps, int pages);
|
/linux-master/sound/soc/codecs/ |
H A D | max98363.c | 231 stream_config.bps = snd_pcm_format_width(params_format(params));
|
/linux-master/sound/soc/atmel/ |
H A D | mchp-spdiftx.c | 353 unsigned int bps = params_physical_width(params) / 8; local 382 if (bps > 2) 438 mr |= FIELD_PREP(SPDIFTX_MR_BPS_MASK, bps - 1);
|
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | qos_conf.c | 57 * [15] p(pps) 1 for pps, 0 for bps 323 /* 0:bps 1:pps 650 meter_entry->bps = true; 654 meter_entry->bps = false; 775 pps = !meter_entry->bps;
|
H A D | main.h | 500 bool bps; member in struct:nfp_meter_entry
|
/linux-master/drivers/tty/serial/ |
H A D | sh-sci.c | 2265 static int sci_sck_calc(struct sci_port *s, unsigned int bps, 2276 err = DIV_ROUND_CLOSEST(freq, sr) - bps; 2287 dev_dbg(s->port.dev, "SCK: %u%+d bps using SR %u\n", bps, min_err, 2292 static int sci_brg_calc(struct sci_port *s, unsigned int bps, 2303 dl = DIV_ROUND_CLOSEST(freq, sr * bps); 2306 err = DIV_ROUND_CLOSEST(freq, sr * dl) - bps; 2318 dev_dbg(s->port.dev, "BRG: %u%+d bps using DL %u SR %u\n", bps, argument 2324 static int sci_scbrr_calc(struct sci_port *s, unsigned int bps, 2259 sci_sck_calc(struct sci_port *s, unsigned int bps, unsigned int *srr) argument 2286 sci_brg_calc(struct sci_port *s, unsigned int bps, unsigned long freq, unsigned int *dlr, unsigned int *srr) argument [all...] |
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-topology.h | 302 u8 bps; member in struct:skl_pipe_fmt
|
/linux-master/sound/drivers/ |
H A D | aloop.c | 483 int err, bps, salign; local 493 bps = salign * runtime->rate; 494 if (bps <= 0 || salign <= 0) 509 dpcm->pcm_bps = bps;
|
/linux-master/fs/smb/client/ |
H A D | cifs_debug.c | 170 static inline const char *smb_speed_to_str(size_t bps) argument 172 size_t mbps = bps / 1000 / 1000;
|