Home
last modified time | relevance | path

Searched refs:burst (Results 1 – 25 of 107) sorted by relevance

12345

/drivers/gpu/drm/nouveau/dispnv04/
Darb.c38 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
233 *burst = ilog2(fifo_data.burst >> 4); in nv04_update_arb()
238 nv20_update_arb(int *burst, int *lwm) in nv20_update_arb() argument
[all …]
/drivers/dma/dw-edma/
Ddw-edma-core.c45 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()
97 chunk->burst = NULL; in dw_edma_alloc_chunk()
127 list_for_each_entry_safe(child, _next, &chunk->burst->list, list) { in dw_edma_free_burst()
[all …]
/drivers/gpu/drm/bridge/
Dsil-sii8620.c101 } 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/
Dqos_conf.c72 u32 burst; in nfp_flower_install_rate_limiter() local
108 burst = action->police.burst; in nfp_flower_install_rate_limiter()
119 config->bkt_tkn_p = cpu_to_be32(burst); in nfp_flower_install_rate_limiter()
120 config->bkt_tkn_c = cpu_to_be32(burst); in nfp_flower_install_rate_limiter()
121 config->pbs = cpu_to_be32(burst); in nfp_flower_install_rate_limiter()
122 config->cbs = cpu_to_be32(burst); in nfp_flower_install_rate_limiter()
/drivers/net/dsa/sja1105/
Dsja1105_flower.c34 u32 burst) in sja1105_setup_bcast_policer() argument
82 policing[rule->bcast_pol.sharindx].smax = burst; in sja1105_setup_bcast_policer()
105 u32 burst) in sja1105_setup_tc_policer() argument
154 policing[rule->tc_pol.sharindx].smax = burst; in sja1105_setup_tc_policer()
178 u32 burst) in sja1105_flower_policer() argument
183 rate_bytes_per_sec, burst); in sja1105_flower_policer()
187 burst); in sja1105_flower_policer()
328 act->police.burst); in sja1105_cls_flower_add()
/drivers/dma/
Dmilbeaut-hdmac.c120 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()
Dpxa_dma.c206 int burst = (dcmd >> 16) & 0x3; in dbg_burst_from_dcmd() local
208 return burst ? 4 << burst : 0; in dbg_burst_from_dcmd()
222 int i, max_show = 20, burst, width; in descriptors_show() local
234 burst = dbg_burst_from_dcmd(dcmd); in descriptors_show()
247 PXA_DCMD_STR(ENDIAN), burst, width, in descriptors_show()
266 int burst, width; in chan_state_show() local
273 burst = dbg_burst_from_dcmd(dcmd); in chan_state_show()
297 PXA_DCMD_STR(ENDIAN), burst, width, dcmd & PXA_DCMD_LENGTH); in chan_state_show()
/drivers/media/pci/ttpci/
Dbudget-patch.c84 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/
Dtegra210-emc-cc-r21021.c1006 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/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_flex_actions.c172 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()
Dcore_acl_flex_actions.h29 int (*policer_add)(void *priv, u64 rate_bytes_ps, u32 burst,
92 u32 fa_index, u64 rate_bytes_ps, u32 burst,
Dspectrum_policer.c157 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()
Dcore_acl_flex_actions.c869 u64 rate_bytes_ps, u32 burst, in mlxsw_afa_policer_create() argument
880 burst, &policer->policer_index, in mlxsw_afa_policer_create()
918 u64 rate_bytes_ps, u32 burst, in mlxsw_afa_policer_get() argument
931 burst, extack); in mlxsw_afa_policer_get()
969 u64 rate_bytes_ps, u32 burst, in mlxsw_afa_policer_ref_create() argument
981 burst, extack); in mlxsw_afa_policer_ref_create()
1809 u32 fa_index, u64 rate_bytes_ps, u32 burst, in mlxsw_afa_block_append_police() argument
1819 burst, extack); in mlxsw_afa_block_append_police()
/drivers/gpu/drm/i915/display/
Dintel_tv.c56 u8 burst; member
194 .blank = 225, .black = 267, .burst = 113,
204 .blank = 266, .black = 316, .burst = 133,
214 .blank = 225, .black = 225, .burst = 113,
224 .blank = 266, .black = 266, .burst = 133,
234 .blank = 237, .black = 237, .burst = 118,
244 .blank = 280, .black = 280, .burst = 139,
254 .blank = 225, .black = 267, .burst = 113,
264 .blank = 266, .black = 316, .burst = 133,
274 .blank = 225, .black = 267, .burst = 118,
[all …]
/drivers/media/dvb-frontends/
Dtda8083.c201 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()
Dcx24110.c372 enum fe_sec_mini_cmd burst) in cx24110_diseqc_send_burst() argument
378 if (burst == SEC_MINI_A) in cx24110_diseqc_send_burst()
380 else if (burst == SEC_MINI_B) in cx24110_diseqc_send_burst()
/drivers/mmc/host/
Domap.c985 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/
Dnv_hw.c382 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/
Dcx18-av-core.c285 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/video/fbdev/matrox/
Dmatroxfb_g450.c233 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/
Dedma.c954 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 …]
Domap-dma.c966 u32 burst; in omap_dma_prep_slave_sg() local
972 burst = c->cfg.src_maxburst; in omap_dma_prep_slave_sg()
977 burst = c->cfg.dst_maxburst; in omap_dma_prep_slave_sg()
1010 burst = port_window; in omap_dma_prep_slave_sg()
1090 en = burst; in omap_dma_prep_slave_sg()
1146 u32 burst; in omap_dma_prep_dma_cyclic() local
1151 burst = c->cfg.src_maxburst; in omap_dma_prep_dma_cyclic()
1155 burst = c->cfg.dst_maxburst; in omap_dma_prep_dma_cyclic()
1183 d->fi = burst; in omap_dma_prep_dma_cyclic()
1210 if (burst) in omap_dma_prep_dma_cyclic()
/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c91 int burst; member
540 tx_ring->burst = tx_ring->max_burst; in prestera_sdma_tx_init()
742 if (tx_ring->burst) { in prestera_sdma_xmit()
743 tx_ring->burst--; in prestera_sdma_xmit()
745 tx_ring->burst = tx_ring->max_burst; in prestera_sdma_xmit()
/drivers/video/fbdev/riva/
Driva_hw.c612 unsigned *burst, in nv3UpdateArbitrationSettings() argument
642 *burst = 0; in nv3UpdateArbitrationSettings()
644 (*burst)++; in nv3UpdateArbitrationSettings()
650 *burst = 0x2; in nv3UpdateArbitrationSettings()
801 unsigned *burst, in nv4UpdateArbitrationSettings() argument
833 *burst = 0; in nv4UpdateArbitrationSettings()
835 (*burst)++; in nv4UpdateArbitrationSettings()
1064 unsigned *burst, in nv10UpdateArbitrationSettings() argument
1098 *burst = 0; in nv10UpdateArbitrationSettings()
1100 (*burst)++; in nv10UpdateArbitrationSettings()
[all …]
/drivers/gpu/drm/via/
Dvia_verifier.c723 int burst = 0; in via_parse_header2() local
736 (burst & 63), *buf++); in via_parse_header2()
737 burst += 4; in via_parse_header2()
757 (burst & 63), *buf++); in via_parse_header2()
758 burst += 4; in via_parse_header2()

12345