bps 185 arch/powerpc/mm/ptdump/hashpagetable.c unsigned long rpn, int bps, int aps, unsigned long lp) bps 199 arch/powerpc/mm/ptdump/hashpagetable.c calculate_pagesize(st, bps, "base"); bps 277 arch/powerpc/mm/ptdump/hashpagetable.c static void decode_r(int bps, unsigned long r, unsigned long *rpn, int *aps, bps 297 arch/powerpc/mm/ptdump/hashpagetable.c entry = mmu_psize_defs[bps]; bps 781 block/blk-iocost.c static void calc_lcoefs(u64 bps, u64 seqiops, u64 randiops, bps 788 block/blk-iocost.c if (bps) bps 790 block/blk-iocost.c DIV_ROUND_UP_ULL(bps, IOC_PAGE_SIZE)); bps 143 block/blk-throttle.c uint64_t bps[2][LIMIT_CNT]; bps 302 block/blk-throttle.c ret = tg->bps[rw][td->limit_index]; bps 312 block/blk-throttle.c if (td->limit_index == LIMIT_MAX && tg->bps[rw][LIMIT_LOW] && bps 313 block/blk-throttle.c tg->bps[rw][LIMIT_LOW] != tg->bps[rw][LIMIT_MAX]) { bps 316 block/blk-throttle.c adjusted = throtl_adjusted_limit(tg->bps[rw][LIMIT_LOW], td); bps 317 block/blk-throttle.c ret = min(tg->bps[rw][LIMIT_MAX], adjusted); bps 336 block/blk-throttle.c tg->bps[rw][td->limit_index]) bps 500 block/blk-throttle.c tg->bps[READ][LIMIT_MAX] = U64_MAX; bps 501 block/blk-throttle.c tg->bps[WRITE][LIMIT_MAX] = U64_MAX; bps 582 block/blk-throttle.c if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || bps 598 block/blk-throttle.c tg->bps[READ][LIMIT_LOW] = 0; bps 599 block/blk-throttle.c tg->bps[WRITE][LIMIT_LOW] = 0; bps 1470 block/blk-throttle.c .private = offsetof(struct throtl_grp, bps[READ][LIMIT_MAX]), bps 1476 block/blk-throttle.c .private = offsetof(struct throtl_grp, bps[WRITE][LIMIT_MAX]), bps 1655 block/blk-throttle.c tg->bps[READ][index] = v[0]; bps 1656 block/blk-throttle.c tg->bps[WRITE][index] = v[1]; bps 1660 block/blk-throttle.c tg->bps[READ][LIMIT_LOW] = min(tg->bps_conf[READ][LIMIT_LOW], bps 1662 block/blk-throttle.c tg->bps[WRITE][LIMIT_LOW] = min(tg->bps_conf[WRITE][LIMIT_LOW], bps 1672 block/blk-throttle.c if (!(tg->bps[READ][LIMIT_LOW] || tg->iops[READ][LIMIT_LOW] || bps 1673 block/blk-throttle.c tg->bps[WRITE][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) || bps 1676 block/blk-throttle.c tg->bps[READ][LIMIT_LOW] = 0; bps 1677 block/blk-throttle.c tg->bps[WRITE][LIMIT_LOW] = 0; bps 1743 block/blk-throttle.c if (tg->bps[READ][LIMIT_LOW] || tg->iops[READ][LIMIT_LOW]) bps 1745 block/blk-throttle.c if (tg->bps[WRITE][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) bps 1767 block/blk-throttle.c if (!parent->bps[READ][LIMIT_LOW] && bps 1769 block/blk-throttle.c !parent->bps[WRITE][LIMIT_LOW] && bps 1813 block/blk-throttle.c read_limit = tg->bps[READ][LIMIT_LOW] || tg->iops[READ][LIMIT_LOW]; bps 1814 block/blk-throttle.c write_limit = tg->bps[WRITE][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]; bps 1962 block/blk-throttle.c uint64_t bps; bps 1982 block/blk-throttle.c if (tg->bps[READ][LIMIT_LOW]) { bps 1983 block/blk-throttle.c bps = tg->last_bytes_disp[READ] * HZ; bps 1984 block/blk-throttle.c do_div(bps, elapsed_time); bps 1985 block/blk-throttle.c if (bps >= tg->bps[READ][LIMIT_LOW]) bps 1989 block/blk-throttle.c if (tg->bps[WRITE][LIMIT_LOW]) { bps 1990 block/blk-throttle.c bps = tg->last_bytes_disp[WRITE] * HZ; bps 1991 block/blk-throttle.c do_div(bps, elapsed_time); bps 1992 block/blk-throttle.c if (bps >= tg->bps[WRITE][LIMIT_LOW]) bps 715 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c struct ras_badpage **bps, unsigned int *count); bps 765 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c struct ras_badpage *bps = NULL; bps 770 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (amdgpu_ras_badpages_read(adev, &bps, &bps_count)) bps 776 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c bps[start].bp, bps 777 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c bps[start].size, bps 778 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_badpage_flags_str(bps[start].flags)); bps 780 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c kfree(bps); bps 1160 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c struct ras_badpage **bps, unsigned int *count) bps 1167 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (!con || !con->eh_data || !bps || !count) bps 1173 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c *bps = NULL; bps 1177 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c *bps = kmalloc(sizeof(struct ras_badpage) * data->count, GFP_KERNEL); bps 1178 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (!*bps) { bps 1184 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c (*bps)[i] = (struct ras_badpage){ bps 1185 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c .bp = data->bps[i].bp, bps 1191 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c (*bps)[i].flags = 1; bps 1192 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c else if (data->bps[i].bo == NULL) bps 1193 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c (*bps)[i].flags = 2; bps 1218 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c void *tmp = kmalloc(align_space * sizeof(*data->bps), GFP_KERNEL); bps 1223 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (data->bps) { bps 1224 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c memcpy(tmp, data->bps, bps 1225 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c data->count * sizeof(*data->bps)); bps 1226 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c kfree(data->bps); bps 1229 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c data->bps = tmp; bps 1236 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c unsigned long *bps, int pages) bps 1243 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (!con || !con->eh_data || !bps || pages <= 0) bps 1258 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c data->bps[data->count++].bp = bps[i]; bps 1285 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c bp = data->bps[i].bp; bps 1292 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c data->bps[i].bo = bo; bps 1318 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c bo = data->bps[i].bo; bps 1322 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c data->bps[i].bo = bo; bps 1378 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c kfree(data->bps); bps 358 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h } *bps; bps 495 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h unsigned long *bps, int pages); bps 9522 drivers/gpu/drm/i915/display/intel_display.c u32 bps = target_clock * bpp * 21 / 20; bps 9523 drivers/gpu/drm/i915/display/intel_display.c return DIV_ROUND_UP(bps, link_bw * 8); bps 673 drivers/media/i2c/tc358743.c u32 bps = bt->width * bt->height * fps(bt) * bits_pr_pixel; bps 676 drivers/media/i2c/tc358743.c return DIV_ROUND_UP(bps, bps_pr_lane); bps 134 drivers/media/platform/renesas-ceu.c u8 bps; bps 1019 drivers/media/platform/renesas-ceu.c mbus_fmt->bps = 8; bps 3473 drivers/net/ethernet/emulex/benet/be_cmds.c static int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain) bps 3494 drivers/net/ethernet/emulex/benet/be_cmds.c req->max_bps_nic = cpu_to_le32(bps); bps 1200 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_eth_init_rx_port(struct fman_port *port, struct dpaa_bp **bps, bps 1230 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c rx_p->ext_buf_pools.ext_buf_pool[i].id = bps[i]->bpid; bps 1231 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c rx_p->ext_buf_pools.ext_buf_pool[i].size = (u16)bps[i]->size; bps 1255 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct dpaa_bp **bps, size_t count, bps 1269 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c err = dpaa_eth_init_rx_port(rxport, bps, count, port_fqs->rx_errq, bps 168 drivers/net/hamradio/baycom_epp.c unsigned int bps; bps 306 drivers/net/hamradio/baycom_epp.c bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, bps 307 drivers/net/hamradio/baycom_epp.c (bc->cfg.fclk + 8 * bc->cfg.bps) / (16 * bc->cfg.bps), bps 997 drivers/net/hamradio/baycom_epp.c bc->cfg.bps = simple_strtoul(cp+4, NULL, 0); bps 998 drivers/net/hamradio/baycom_epp.c if (bc->cfg.bps < 1000) bps 999 drivers/net/hamradio/baycom_epp.c bc->cfg.bps = 1000; bps 1000 drivers/net/hamradio/baycom_epp.c if (bc->cfg.bps > 1500000) bps 1001 drivers/net/hamradio/baycom_epp.c bc->cfg.bps = 1500000; bps 1088 drivers/net/hamradio/baycom_epp.c bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, bps 1214 drivers/net/hamradio/baycom_epp.c bc->cfg.bps = 9600; bps 19 drivers/net/wan/z85230.h #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) bps 940 drivers/slimbus/qcom-ngd-ctrl.c wbuf[txn.msg->num_bytes] = rt->bps >> 2 | bps 339 drivers/slimbus/slimbus.h unsigned int bps; bps 221 drivers/slimbus/stream.c rt->bps = cfg->bps; bps 280 drivers/slimbus/stream.c wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS; bps 313 drivers/slimbus/stream.c wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS; bps 315 drivers/slimbus/stream.c wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS + 1; bps 1050 drivers/soundwire/cadence_master.c dpn_config |= ((p_params->bps - 1) << bps 734 drivers/soundwire/intel.c sconfig.bps = 1; bps 736 drivers/soundwire/intel.c sconfig.bps = snd_pcm_format_width(params_format(params)); bps 171 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr2, (p_params->bps - 1)); bps 1143 drivers/soundwire/stream.c if (stream->params.bps && bps 1144 drivers/soundwire/stream.c stream->params.bps != stream_config->bps) { bps 1151 drivers/soundwire/stream.c stream->params.bps = stream_config->bps; bps 1486 drivers/soundwire/stream.c m_rt->ch_count * m_rt->stream->params.bps; bps 1727 drivers/soundwire/stream.c m_rt->ch_count * m_rt->stream->params.bps; bps 2427 drivers/staging/comedi/comedi_fops.c unsigned int bps = comedi_bytes_per_sample(s); bps 2433 drivers/staging/comedi/comedi_fops.c comedi_buf_write_n_available(s) >= bps) bps 814 drivers/staging/media/soc_camera/soc_mt9v022.c unsigned int bps = soc_mbus_get_fmtdesc(mt9v022->fmt->code)->bits_per_sample; bps 819 drivers/staging/media/soc_camera/soc_mt9v022.c ret = ssdd->set_bus_param(ssdd, 1 << (bps - 1)); bps 822 drivers/staging/media/soc_camera/soc_mt9v022.c } else if (bps != 10) { bps 262 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c unsigned int bps) bps 268 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c .config.bps = bps, bps 101 drivers/staging/vc04_services/bcm2835-audio/bcm2835.h unsigned int bps); bps 38 drivers/staging/vc04_services/bcm2835-audio/vc_vchi_audioserv_defs.h u32 bps; bps 32 drivers/tty/serial/ip22zilog.h #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) bps 118 drivers/tty/serial/pmac_zilog.h #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) bps 2211 drivers/tty/serial/sh-sci.c static int sci_sck_calc(struct sci_port *s, unsigned int bps, bps 2222 drivers/tty/serial/sh-sci.c err = DIV_ROUND_CLOSEST(freq, sr) - bps; bps 2233 drivers/tty/serial/sh-sci.c dev_dbg(s->port.dev, "SCK: %u%+d bps using SR %u\n", bps, min_err, bps 2238 drivers/tty/serial/sh-sci.c static int sci_brg_calc(struct sci_port *s, unsigned int bps, bps 2249 drivers/tty/serial/sh-sci.c dl = DIV_ROUND_CLOSEST(freq, sr * bps); bps 2252 drivers/tty/serial/sh-sci.c err = DIV_ROUND_CLOSEST(freq, sr * dl) - bps; bps 2264 drivers/tty/serial/sh-sci.c dev_dbg(s->port.dev, "BRG: %u%+d bps using DL %u SR %u\n", bps, bps 2270 drivers/tty/serial/sh-sci.c static int sci_scbrr_calc(struct sci_port *s, unsigned int bps, bps 2310 drivers/tty/serial/sh-sci.c if (bps > UINT_MAX / prediv) bps 2313 drivers/tty/serial/sh-sci.c scrate = prediv * bps; bps 2317 drivers/tty/serial/sh-sci.c err = DIV_ROUND_CLOSEST(freq, br * prediv) - bps; bps 2332 drivers/tty/serial/sh-sci.c dev_dbg(s->port.dev, "BRR: %u%+d bps using N %u SR %u cks %u\n", bps, bps 24 drivers/tty/serial/sunzilog.h #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) bps 53 drivers/tty/serial/zs.h #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) bps 546 drivers/tty/tty_port.c unsigned int bps = tty_get_baud_rate(tty); bps 549 drivers/tty/tty_port.c if (bps > 1200) { bps 550 drivers/tty/tty_port.c timeout = (HZ * 10 * port->drain_delay) / bps; bps 114 drivers/usb/serial/ark3116.c static inline int calc_divisor(int bps) bps 121 drivers/usb/serial/ark3116.c return (12000000 + 2*bps) / (4*bps); bps 200 drivers/usb/serial/ark3116.c int bps = tty_get_baud_rate(tty); bps 234 drivers/usb/serial/ark3116.c dev_dbg(&port->dev, "%s - setting bps to %d\n", __func__, bps); bps 236 drivers/usb/serial/ark3116.c switch (bps) { bps 241 drivers/usb/serial/ark3116.c if ((bps < 75) || (bps > 3000000)) bps 242 drivers/usb/serial/ark3116.c bps = 9600; bps 243 drivers/usb/serial/ark3116.c quot = calc_divisor(bps); bps 247 drivers/usb/serial/ark3116.c quot = calc_divisor(bps); bps 251 drivers/usb/serial/ark3116.c quot = calc_divisor(bps); bps 309 drivers/usb/serial/ark3116.c tty_termios_encode_baud_rate(termios, bps, bps); bps 271 drivers/usb/serial/generic.c unsigned int bps; bps 275 drivers/usb/serial/generic.c bps = tty_get_baud_rate(tty); bps 276 drivers/usb/serial/generic.c if (!bps) bps 277 drivers/usb/serial/generic.c bps = 9600; /* B0 */ bps 282 drivers/usb/serial/generic.c period = max_t(unsigned long, (10 * HZ / bps), 1); bps 136 include/linux/slimbus.h unsigned int bps; bps 607 include/linux/soundwire/sdw.h unsigned int bps; bps 795 include/linux/soundwire/sdw.h unsigned int bps; bps 831 include/linux/soundwire/sdw.h unsigned int bps; bps 40 include/uapi/linux/gen_stats.h __u32 bps; bps 50 include/uapi/linux/gen_stats.h __u64 bps; bps 40 include/uapi/linux/pkt_sched.h __u32 bps; /* Current flow byte rate */ bps 260 net/core/gen_estimator.c sample->bps = est->avbps >> 8; bps 258 net/core/gen_stats.c est.bps = min_t(u64, UINT_MAX, sample.bps); bps 263 net/core/gen_stats.c d->tc_stats.bps = est.bps; bps 270 net/core/gen_stats.c if (res < 0 || est.bps == sample.bps) bps 3144 net/core/pktgen.c __u64 bps, mbps, pps; bps 3160 net/core/pktgen.c bps = pps * 8 * pkt_dev->cur_pkt_size; bps 3162 net/core/pktgen.c mbps = bps; bps 3167 net/core/pktgen.c (unsigned long long)bps, bps 27 net/mac80211/rc80211_minstrel_ht.c #define MCS_NSYMS(bps) DIV_ROUND_UP(MCS_NBITS, (bps)) bps 37 net/mac80211/rc80211_minstrel_ht.c #define MCS_DURATION(streams, sgi, bps) \ bps 38 net/mac80211/rc80211_minstrel_ht.c (MCS_SYMBOL_TIME(sgi, MCS_NSYMS((streams) * (bps))) / AVG_AMPDU_SIZE) bps 25 net/netfilter/xt_rateest.c bps1 = info->bps1 >= sample.bps ? info->bps1 - sample.bps : 0; bps 28 net/netfilter/xt_rateest.c bps1 = sample.bps; bps 39 net/netfilter/xt_rateest.c bps2 = info->bps2 >= sample.bps ? info->bps2 - sample.bps : 0; bps 42 net/netfilter/xt_rateest.c bps2 = sample.bps; bps 236 net/sched/act_police.c sample.bps >= p->tcfp_ewma_rate) bps 322 sound/drivers/aloop.c int bps, salign; bps 328 sound/drivers/aloop.c bps = salign * runtime->rate; bps 329 sound/drivers/aloop.c if (bps <= 0 || salign <= 0) bps 343 sound/drivers/aloop.c dpcm->pcm_bps = bps; bps 845 sound/hda/hdac_device.c unsigned int streams, bps; bps 851 sound/hda/hdac_device.c bps = 0; bps 855 sound/hda/hdac_device.c bps = 8; bps 859 sound/hda/hdac_device.c bps = 16; bps 867 sound/hda/hdac_device.c bps = 24; bps 869 sound/hda/hdac_device.c bps = 20; bps 874 sound/hda/hdac_device.c bps = 32; bps 876 sound/hda/hdac_device.c bps = 24; bps 878 sound/hda/hdac_device.c bps = 20; bps 884 sound/hda/hdac_device.c if (!bps) bps 885 sound/hda/hdac_device.c bps = 32; bps 894 sound/hda/hdac_device.c bps = 8; bps 907 sound/hda/hdac_device.c *bpsp = bps; bps 1442 sound/soc/codecs/hdac_hdmi.c u32 rates, bps; bps 1455 sound/soc/codecs/hdac_hdmi.c &rates, &formats, &bps); bps 1488 sound/soc/codecs/hdac_hdmi.c hdmi_dais[i].playback.sig_bits = bps; bps 1885 sound/soc/codecs/wcd9335.c wcd->dai[dai->id].sconfig.bps = params_width(params); bps 1932 sound/soc/codecs/wcd9335.c wcd->dai[dai->id].sconfig.bps = params_width(params); bps 18 sound/soc/intel/skylake/skl-nhlt.c u8 no_ch, u32 rate, u16 bps, u8 linktype) bps 31 sound/soc/intel/skylake/skl-nhlt.c if (wfmt->channels == no_ch && wfmt->bits_per_sample == bps) { bps 52 sound/soc/intel/skylake/skl-nhlt.c u8 s_fmt, u8 num_channels, u32 s_rate, u8 dirn, u16 bps) bps 57 sound/soc/intel/skylake/skl-nhlt.c dev_dbg(dev, "bits_per_sample=%d\n", bps); bps 92 sound/soc/intel/skylake/skl-nhlt.c u16 bps = (s_fmt == 16) ? 16 : 32; bps 95 sound/soc/intel/skylake/skl-nhlt.c dump_config(dev, instance, link_type, s_fmt, num_ch, s_rate, dirn, bps); bps 107 sound/soc/intel/skylake/skl-nhlt.c s_rate, bps, link_type); bps 205 sound/soc/intel/skylake/skl-nhlt.c u16 channels, bps; bps 221 sound/soc/intel/skylake/skl-nhlt.c bps = wav_fmt->fmt.bits_per_sample; bps 239 sound/soc/intel/skylake/skl-nhlt.c (bps == wav_fmt->fmt.bits_per_sample)) bps 244 sound/soc/intel/skylake/skl-nhlt.c rate = channels * bps * fs; bps 46 sound/soc/intel/skylake/skl-topology.c #define CHECK_HW_PARAMS(ch, freq, bps, prm_ch, prm_freq, prm_bps) \ bps 47 sound/soc/intel/skylake/skl-topology.c ((ch == prm_ch) && (bps == prm_bps) && (freq == prm_freq)) bps 625 sound/soc/intel/skylake/skl-topology.c fmt->channels, fmt->freq, fmt->bps)) { bps 1891 sound/soc/intel/skylake/skl-topology.c fmt->bps = tkn_val; bps 281 sound/soc/intel/skylake/skl-topology.h u8 bps; bps 39 tools/include/uapi/linux/pkt_sched.h __u32 bps; /* Current flow byte rate */