/linux-master/drivers/tty/serial/ |
H A D | ip22zilog.h | 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
|
H A D | sunzilog.h | 24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
|
H A D | zs.h | 53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
|
/linux-master/net/netfilter/ |
H A D | xt_rateest.c | 25 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 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/block/ |
H A D | blk-iocost.c | 858 * @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 D | blk-throttle.c | 157 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 D | blk-throttle.h | 105 uint64_t bps[2][LIMIT_CNT]; member in struct:throtl_grp 106 /* user configured bps limits */
|
/linux-master/drivers/comedi/ |
H A D | comedi_fops.c | 2451 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 D | amdgpu_ras.c | 1604 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 D | amdgpu_ras.h | 524 struct eeprom_table_record *bps; member in struct:ras_err_handler_data 673 struct eeprom_table_record *bps, int pages);
|
H A D | amdgpu_virt.c | 246 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 D | amdgpu_virt.h | 226 struct eeprom_table_record *bps; member in struct:amdgpu_virt_ras_err_handler_data
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_display.c | 3246 u32 bps = target_clock * bpp * 21 / 20; local 3247 return DIV_ROUND_UP(bps, link_bw * 8);
|
/linux-master/drivers/media/i2c/ |
H A D | tc358743.c | 673 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 D | renesas-ceu.c | 125 * @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 D | be_cmds.c | 3476 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 D | main.h | 500 bool bps; member in struct:nfp_meter_entry
|
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;
|
/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/scsi/lpfc/ |
H A D | lpfc_init.c | 5692 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 D | qcom-ngd-ctrl.c | 1021 wbuf[txn.msg->num_bytes] = rt->bps >> 2 |
|
H A D | slimbus.h | 327 * @bps: bits per sample 339 unsigned int bps; member in struct:slim_stream_runtime
|
H A D | stream.c | 221 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 D | amd_manager.c | 394 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));
|