/drivers/gpu/drm/nouveau/dispnv04/ |
D | arb.c | 38 int burst; member 103 fifo->burst = cbs; in nv04_calc_arb() 174 fifo->burst = min(max_burst_o, 1024); in nv10_calc_arb() 178 fifo->burst = min(max_burst_l, fifo->burst); in nv10_calc_arb() 180 fifo->burst = rounddown_pow_of_two(fifo->burst); in nv10_calc_arb() 185 max_lwm = fifo_len - fifo->burst in nv10_calc_arb() 187 + fifo->burst * drain_rate / fill_rate; in nv10_calc_arb() 194 int *burst, int *lwm) in nv04_update_arb() argument 234 *burst = ilog2(fifo_data.burst >> 4); in nv04_update_arb() 239 nv20_update_arb(int *burst, int *lwm) in nv20_update_arb() argument [all …]
|
/drivers/dma/dw-edma/ |
D | dw-edma-core.c | 45 struct dw_edma_burst *burst; in dw_edma_alloc_burst() local 47 burst = kzalloc(sizeof(*burst), GFP_NOWAIT); in dw_edma_alloc_burst() 48 if (unlikely(!burst)) in dw_edma_alloc_burst() 51 INIT_LIST_HEAD(&burst->list); in dw_edma_alloc_burst() 52 if (chunk->burst) { in dw_edma_alloc_burst() 55 list_add_tail(&burst->list, &chunk->burst->list); in dw_edma_alloc_burst() 59 chunk->burst = burst; in dw_edma_alloc_burst() 62 return burst; in dw_edma_alloc_burst() 102 chunk->burst = NULL; in dw_edma_alloc_chunk() 132 list_for_each_entry_safe(child, _next, &chunk->burst->list, list) { in dw_edma_free_burst() [all …]
|
/drivers/dma/qcom/ |
D | qcom_adm.c | 191 static int adm_get_blksize(unsigned int burst) in adm_get_blksize() argument 195 switch (burst) { in adm_get_blksize() 200 ret = ffs(burst >> 4) - 1; in adm_get_blksize() 228 u32 burst, in adm_process_fc_descriptors() argument 241 row_offset = burst; in adm_process_fc_descriptors() 246 row_offset = burst << 16; in adm_process_fc_descriptors() 251 while (remainder >= burst) { in adm_process_fc_descriptors() 258 rows = remainder / burst; in adm_process_fc_descriptors() 261 box_desc->row_len = burst << 16 | burst; in adm_process_fc_descriptors() 263 *incr_addr += burst * rows; in adm_process_fc_descriptors() [all …]
|
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_tc.c | 86 static void otx2_get_egress_burst_cfg(struct otx2_nic *nic, u32 burst, in otx2_get_egress_burst_cfg() argument 104 burst = min_t(u32, burst, max_burst); in otx2_get_egress_burst_cfg() 105 if (burst) { in otx2_get_egress_burst_cfg() 106 *burst_exp = ilog2(burst) ? ilog2(burst) - 1 : 0; in otx2_get_egress_burst_cfg() 107 tmp = burst - rounddown_pow_of_two(burst); in otx2_get_egress_burst_cfg() 108 if (burst < max_mantissa) in otx2_get_egress_burst_cfg() 151 u64 maxrate, u32 burst) in otx2_get_txschq_rate_regval() argument 158 otx2_get_egress_burst_cfg(nic, burst, &burst_exp, &burst_mantissa); in otx2_get_txschq_rate_regval() 179 u32 burst, u64 maxrate) in otx2_set_matchall_egress_rate() argument 198 req->regval[0] = otx2_get_txschq_rate_regval(nic, maxrate, burst); in otx2_set_matchall_egress_rate() [all …]
|
D | cn10k.c | 237 static void cn10k_get_ingress_burst_cfg(u32 burst, u32 *burst_exp, in cn10k_get_ingress_burst_cfg() argument 247 *burst_exp = ilog2(burst); in cn10k_get_ingress_burst_cfg() 248 if (burst < 256) { in cn10k_get_ingress_burst_cfg() 261 tmp = burst - rounddown_pow_of_two(burst); in cn10k_get_ingress_burst_cfg() 360 u32 burst, u64 rate, bool pps) in cn10k_set_ipolicer_rate() argument 368 cn10k_get_ingress_burst_cfg(burst, &burst_exp, &burst_mantissa); in cn10k_set_ipolicer_rate() 461 u32 burst, u64 rate) in cn10k_set_matchall_ipolicer_rate() argument 468 rc = cn10k_set_ipolicer_rate(pfvf, hw->matchall_ipolicer, burst, in cn10k_set_matchall_ipolicer_rate()
|
D | cn10k.h | 35 u32 burst, u64 rate); 40 u32 burst, u64 rate, bool pps);
|
/drivers/gpu/drm/bridge/ |
D | sil-sii8620.c | 101 } burst; member 605 u8 *buf = &ctx->burst.tx_buf[ctx->burst.tx_count]; in sii8620_burst_get_tx_buf() 608 if (ctx->burst.tx_count + size >= ARRAY_SIZE(ctx->burst.tx_buf)) { in sii8620_burst_get_tx_buf() 614 ctx->burst.tx_count += size; in sii8620_burst_get_tx_buf() 622 u8 *buf = &ctx->burst.rx_buf[ctx->burst.rx_count]; in sii8620_burst_get_rx_buf() 625 if (ctx->burst.rx_count + size >= ARRAY_SIZE(ctx->burst.rx_buf)) { in sii8620_burst_get_rx_buf() 631 ctx->burst.rx_count += size; in sii8620_burst_get_rx_buf() 639 int tx_left = ctx->burst.tx_count; in sii8620_burst_send() 640 u8 *d = ctx->burst.tx_buf; in sii8620_burst_send() 645 if (ctx->burst.r_count + len > ctx->burst.r_size) in sii8620_burst_send() [all …]
|
/drivers/net/ethernet/netronome/nfp/flower/ |
D | qos_conf.c | 87 u32 burst; in nfp_flower_install_rate_limiter() local 161 burst = action->police.burst; in nfp_flower_install_rate_limiter() 164 burst = action->police.burst_pkt; in nfp_flower_install_rate_limiter() 182 config->bkt_tkn_p = cpu_to_be32(burst); in nfp_flower_install_rate_limiter() 183 config->bkt_tkn_c = cpu_to_be32(burst); in nfp_flower_install_rate_limiter() 184 config->pbs = cpu_to_be32(burst); in nfp_flower_install_rate_limiter() 185 config->cbs = cpu_to_be32(burst); in nfp_flower_install_rate_limiter()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_flower.c | 34 u32 burst) in sja1105_setup_bcast_policer() argument 83 policing[rule->bcast_pol.sharindx].smax = burst; in sja1105_setup_bcast_policer() 106 u32 burst) in sja1105_setup_tc_policer() argument 155 policing[rule->tc_pol.sharindx].smax = burst; in sja1105_setup_tc_policer() 179 u32 burst) in sja1105_flower_policer() argument 184 rate_bytes_per_sec, burst); in sja1105_flower_policer() 188 burst); in sja1105_flower_policer() 334 act->police.burst); in sja1105_cls_flower_add()
|
/drivers/dma/ |
D | milbeaut-hdmac.c | 120 u32 width, burst; in milbeaut_chan_start() local 129 burst = mc->cfg.dst_maxburst; in milbeaut_chan_start() 135 burst = mc->cfg.src_maxburst; in milbeaut_chan_start() 148 if (burst == 16) in milbeaut_chan_start() 150 else if (burst == 8) in milbeaut_chan_start() 152 else if (burst == 4) in milbeaut_chan_start() 154 burst *= width; in milbeaut_chan_start() 155 ca |= FIELD_PREP(MLB_HDMAC_TC, (len / burst - 1)); in milbeaut_chan_start()
|
/drivers/misc/ |
D | dw-xdata-pcie.c | 80 u32 burst; in dw_xdata_stop() local 84 burst = readl(&(__dw_regs(dw)->burst_cnt)); in dw_xdata_stop() 86 if (burst & BURST_REPEAT) { in dw_xdata_stop() 87 burst &= ~(u32)BURST_REPEAT; in dw_xdata_stop() 88 writel(burst, &(__dw_regs(dw)->burst_cnt)); in dw_xdata_stop()
|
/drivers/staging/media/av7110/ |
D | budget-patch.c | 84 static int SendDiSEqCMsg (struct budget *budget, int len, u8 *msg, unsigned long burst) in SendDiSEqCMsg() argument 99 if (burst!=-1) { in SendDiSEqCMsg() 100 if (burst) in SendDiSEqCMsg() 184 static int av7110_send_diseqc_msg(struct budget_patch *budget, int len, u8 *msg, int burst) in av7110_send_diseqc_msg() argument 198 if (burst != -1) in av7110_send_diseqc_msg() 199 buf[3]=burst ? 0x01 : 0x00; in av7110_send_diseqc_msg()
|
/drivers/memory/tegra/ |
D | tegra210-emc-cc-r21021.c | 1006 const u16 *offsets = emc->offsets->burst; in tegra210_emc_r21021_set_clock() 1085 const struct tegra210_emc_per_channel_regs *burst = in tegra210_emc_r21021_set_clock() local 1088 if (!burst[i].offset) in tegra210_emc_r21021_set_clock() 1092 (burst[i].offset == EMC_MRW6 || in tegra210_emc_r21021_set_clock() 1093 burst[i].offset == EMC_MRW7 || in tegra210_emc_r21021_set_clock() 1094 burst[i].offset == EMC_MRW8 || in tegra210_emc_r21021_set_clock() 1095 burst[i].offset == EMC_MRW9 || in tegra210_emc_r21021_set_clock() 1096 burst[i].offset == EMC_MRW10 || in tegra210_emc_r21021_set_clock() 1097 burst[i].offset == EMC_MRW11 || in tegra210_emc_r21021_set_clock() 1098 burst[i].offset == EMC_MRW12 || in tegra210_emc_r21021_set_clock() [all …]
|
/drivers/gpu/drm/i915/display/ |
D | intel_tv.c | 57 u8 burst; member 195 .blank = 225, .black = 267, .burst = 113, 205 .blank = 266, .black = 316, .burst = 133, 215 .blank = 225, .black = 225, .burst = 113, 225 .blank = 266, .black = 266, .burst = 133, 235 .blank = 237, .black = 237, .burst = 118, 245 .blank = 280, .black = 280, .burst = 139, 255 .blank = 225, .black = 267, .burst = 113, 265 .blank = 266, .black = 316, .burst = 133, 275 .blank = 225, .black = 267, .burst = 118, [all …]
|
/drivers/media/dvb-frontends/ |
D | tda8083.c | 201 enum fe_sec_mini_cmd burst) in tda8083_send_diseqc_burst() argument 203 switch (burst) { in tda8083_send_diseqc_burst() 371 enum fe_sec_mini_cmd burst) in tda8083_diseqc_send_burst() argument 375 tda8083_send_diseqc_burst (state, burst); in tda8083_diseqc_send_burst()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_flex_actions.c | 172 static int mlxsw_sp_act_policer_add(void *priv, u64 rate_bytes_ps, u32 burst, in mlxsw_sp_act_policer_add() argument 180 params.burst = burst; in mlxsw_sp_act_policer_add()
|
D | core_acl_flex_actions.h | 29 int (*policer_add)(void *priv, u64 rate_bytes_ps, u32 burst, 98 u32 fa_index, u64 rate_bytes_ps, u32 burst,
|
D | spectrum_policer.c | 157 u8 bs = mlxsw_sp_policer_burst_bytes_hw_units(policer->params.burst); in mlxsw_sp_policer_single_rate_init() 182 if (!is_power_of_2(params->burst)) { in mlxsw_sp_policer_single_rate_params_check() 187 bs = mlxsw_sp_policer_burst_bytes_hw_units(params->burst); in mlxsw_sp_policer_single_rate_params_check()
|
/drivers/mmc/host/ |
D | omap.c | 985 u32 burst, *bp; in mmc_omap_prepare_data() local 994 burst = mmc_omap15xx() ? 32 : 64; in mmc_omap_prepare_data() 995 if (burst > data->blksz) in mmc_omap_prepare_data() 996 burst = data->blksz; in mmc_omap_prepare_data() 998 burst >>= 1; in mmc_omap_prepare_data() 1003 buf = 0x0f80 | (burst - 1) << 0; in mmc_omap_prepare_data() 1008 buf = 0x800f | (burst - 1) << 8; in mmc_omap_prepare_data() 1016 if (*bp != burst) { in mmc_omap_prepare_data() 1024 .src_maxburst = burst, in mmc_omap_prepare_data() 1025 .dst_maxburst = burst, in mmc_omap_prepare_data() [all …]
|
/drivers/video/fbdev/nvidia/ |
D | nv_hw.c | 382 unsigned *burst, in nv4UpdateArbitrationSettings() argument 408 *burst = 0; in nv4UpdateArbitrationSettings() 410 (*burst)++; in nv4UpdateArbitrationSettings() 620 unsigned *burst, in nv10UpdateArbitrationSettings() argument 648 *burst = 0; in nv10UpdateArbitrationSettings() 650 (*burst)++; in nv10UpdateArbitrationSettings() 657 unsigned int *burst, in nv30UpdateArbitrationSettings() argument 670 *burst = 0; in nv30UpdateArbitrationSettings() 672 while(burst_size >>= 1) (*burst)++; in nv30UpdateArbitrationSettings() 678 unsigned *burst, in nForceUpdateArbitrationSettings() argument [all …]
|
/drivers/media/pci/cx18/ |
D | cx18-av-core.c | 285 int hblank, hactive, burst, vblank, vactive, sc; in cx18_av_std_setup() local 357 burst = 93; in cx18_av_std_setup() 420 burst = 90; in cx18_av_std_setup() 427 burst = 97; in cx18_av_std_setup() 432 burst = 90; in cx18_av_std_setup() 471 src_decimation, burst, luma_lpf, uv_lpf, in cx18_av_std_setup() 482 cx18_av_write(cx, 0x473, burst); in cx18_av_std_setup()
|
/drivers/char/tpm/ |
D | tpm_tis_i2c_cr50.c | 411 size_t *burst, u32 *status) in tpm_cr50_i2c_get_burst_and_status() argument 428 *burst = le16_to_cpup((__le16 *)(buf + 1)); in tpm_cr50_i2c_get_burst_and_status() 431 *burst > 0 && *burst <= TPM_CR50_MAX_BUFSIZE - 1) in tpm_cr50_i2c_get_burst_and_status()
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_g450.c | 233 unsigned int burst; member 308 r->regs[0x09] = (outd->burst + pixclock - 1) / pixclock; /* burst length */ in computeRegs() 368 .burst = 2518518, // ps in cve2_init_TVdata() 377 .burst = 2418418, // ps in cve2_init_TVdata()
|
/drivers/dma/ti/ |
D | edma.c | 954 dma_addr_t src_addr, dma_addr_t dst_addr, u32 burst, in edma_config_pset() argument 966 if (!burst) in edma_config_pset() 967 burst = 1; in edma_config_pset() 973 if (burst == 1) { in edma_config_pset() 1009 bcnt = burst; in edma_config_pset() 1076 u32 burst; in edma_prep_slave_sg() local 1086 burst = echan->cfg.src_maxburst; in edma_prep_slave_sg() 1090 burst = echan->cfg.dst_maxburst; in edma_prep_slave_sg() 1135 dst_addr, burst, dev_width, in edma_prep_slave_sg() 1364 u32 burst; in edma_prep_dma_cyclic() local [all …]
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_rxtx.c | 92 int burst; member 545 tx_ring->burst = tx_ring->max_burst; in prestera_sdma_tx_init() 747 if (tx_ring->burst) { in prestera_sdma_xmit() 748 tx_ring->burst--; in prestera_sdma_xmit() 750 tx_ring->burst = tx_ring->max_burst; in prestera_sdma_xmit()
|