Searched refs:bps (Results 1 - 25 of 79) sorted by path

1234

/linux-master/drivers/tty/serial/
H A Dip22zilog.h32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
H A Dsunzilog.h24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
H A Dzs.h53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
/linux-master/net/netfilter/
H A Dxt_rateest.c25 bps1 = info->bps1 >= sample.bps ? info->bps1 - sample.bps : 0;
28 bps1 = sample.bps;
39 bps2 = info->bps2 >= sample.bps ? info->bps2 - sample.bps : 0;
42 bps2 = sample.bps;
/linux-master/arch/powerpc/mm/ptdump/
H A Dhashpagetable.c184 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/block/
H A Dblk-iocost.c858 * @bps maximum sequential throughput
864 * *@page per-page cost 1s / (@bps / 4096)
868 static void calc_lcoefs(u64 bps, u64 seqiops, u64 randiops, argument
875 if (bps) {
876 u64 bps_pages = DIV_ROUND_UP_ULL(bps, IOC_PAGE_SIZE);
H A Dblk-throttle.c157 ret = tg->bps[rw][td->limit_index];
167 if (td->limit_index == LIMIT_MAX && tg->bps[rw][LIMIT_LOW] &&
168 tg->bps[rw][LIMIT_LOW] != tg->bps[rw][LIMIT_MAX]) {
171 adjusted = throtl_adjusted_limit(tg->bps[rw][LIMIT_LOW], td);
172 ret = min(tg->bps[rw][LIMIT_MAX], adjusted);
189 /* intermediate node or bps isn't 0 */
191 tg->bps[rw][td->limit_index])
362 tg->bps[READ][LIMIT_MAX] = U64_MAX;
363 tg->bps[WRIT
1996 uint64_t bps; local
[all...]
H A Dblk-throttle.h105 uint64_t bps[2][LIMIT_CNT]; member in struct:throtl_grp
106 /* user configured bps limits */
/linux-master/drivers/comedi/
H A Dcomedi_fops.c2451 unsigned int bps = comedi_bytes_per_sample(s); local
2457 comedi_buf_write_n_available(s) >= bps)
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras.c1604 struct ras_badpage **bps, unsigned int *count);
1661 struct ras_badpage *bps = NULL; local
1666 if (amdgpu_ras_badpages_read(adev, &bps, &bps_count))
1672 bps[start].bp,
1673 bps[start].size,
1674 amdgpu_ras_badpage_flags_str(bps[start].flags));
1676 kfree(bps);
2340 * caller need free bps.
2343 struct ras_badpage **bps, unsigned int *count)
2350 if (!con || !con->eh_data || !bps || !coun
2342 amdgpu_ras_badpages_read(struct amdgpu_device *adev, struct ras_badpage **bps, unsigned int *count) argument
2474 void *bps = kmalloc(align_space * sizeof(*data->bps), GFP_KERNEL); local
2492 amdgpu_ras_add_bad_pages(struct amdgpu_device *adev, struct eeprom_table_record *bps, int pages) argument
2585 struct eeprom_table_record *bps; local
[all...]
H A Damdgpu_ras.h524 struct eeprom_table_record *bps; member in struct:ras_err_handler_data
673 struct eeprom_table_record *bps, int pages);
H A Damdgpu_virt.c246 void *bps = NULL; local
253 bps = kmalloc_array(align_space, sizeof(*(*data)->bps), GFP_KERNEL);
254 if (!bps)
261 (*data)->bps = bps;
271 kfree(bps);
310 kfree(data->bps);
317 struct eeprom_table_record *bps, int pages)
325 memcpy(&data->bps[dat
316 amdgpu_virt_ras_add_bps(struct amdgpu_device *adev, struct eeprom_table_record *bps, int pages) argument
[all...]
H A Damdgpu_virt.h226 struct eeprom_table_record *bps; member in struct:amdgpu_virt_ras_err_handler_data
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_display.c3246 u32 bps = target_clock * bpp * 21 / 20; local
3247 return DIV_ROUND_UP(bps, link_bw * 8);
/linux-master/drivers/media/i2c/
H A Dtc358743.c673 u32 bps = bt->width * bt->height * fps(bt) * bits_pr_pixel; local
676 return DIV_ROUND_UP(bps, bps_pr_lane);
1954 * The CSI bps per lane must be between 62.5 Mbps and 1 Gbps.
1959 dev_err(dev, "unsupported bps per lane: %u bps\n", bps_pr_lane);
1974 dev_warn(dev, "untested bps per lane: %u bps\n", bps_pr_lane);
/linux-master/drivers/media/platform/renesas/
H A Drenesas-ceu.c125 * @bps: number of bits sent over bus for each sample
133 u8 bps; member in struct:ceu_mbus_fmt
1012 mbus_fmt->bps = 8;
/linux-master/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c3476 static int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain) argument
3497 req->max_bps_nic = cpu_to_le32(bps);
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.h500 bool bps; member in struct:nfp_meter_entry
H A Dqos_conf.c57 * [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;
/linux-master/drivers/net/hamradio/
H A Dbaycom_epp.c168 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/scsi/lpfc/
H A Dlpfc_init.c5692 uint64_t bps; local
5727 * bps will get bytes per sec before finally converting to MB/sec.
5729 bps = div_u64(phba->rx_block_cnt, LPFC_SEC_MIN) * 512;
5731 mvalue = bps / (1024 * 1024); /* convert to MB/sec */
/linux-master/drivers/slimbus/
H A Dqcom-ngd-ctrl.c1021 wbuf[txn.msg->num_bytes] = rt->bps >> 2 |
H A Dslimbus.h327 * @bps: bits per sample
339 unsigned int bps; member in struct:slim_stream_runtime
H A Dstream.c221 rt->bps = cfg->bps;
287 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS;
320 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS;
322 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS + 1;
/linux-master/drivers/soundwire/
H A Damd_manager.c394 unsigned int rate, bps; local
404 bps = m_rt->stream->params.bps;
416 p_rt->num, bps,
450 u32p_replace_bits(&dpn_frame_fmt, p_params->bps - 1, AMD_DPN_FRAME_FMT_WORD_LEN);
624 sconfig.bps = snd_pcm_format_width(params_format(params));

Completed in 742 milliseconds

1234