| /Linux-v5.4/arch/powerpc/platforms/cell/spufs/ |
| D | switch.c | 83 struct spu_problem __iomem *prob = spu->problem; in check_spu_isolate() local 94 return (in_be32(&prob->spu_status_R) & isolate_state) ? 1 : 0; in check_spu_isolate() 203 struct spu_problem __iomem *prob = spu->problem; in save_spu_runcntl() local 209 csa->prob.spu_runcntl_RW = in_be32(&prob->spu_runcntl_RW); in save_spu_runcntl() 222 struct spu_problem __iomem *prob = spu->problem; in save_spu_status() local 227 if ((in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING) == 0) { in save_spu_status() 228 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status() 232 out_be32(&prob->spu_runcntl_RW, SPU_RUNCNTL_STOP); in save_spu_status() 234 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in save_spu_status() 239 if ((in_be32(&prob->spu_status_R) & stopped) == 0) in save_spu_status() [all …]
|
| D | backing_ops.c | 55 mbox_stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_read() 61 *data = ctx->csa.prob.pu_mb_R; in spu_backing_mbox_read() 62 ctx->csa.prob.mb_stat_R &= ~(0x0000ff); in spu_backing_mbox_read() 73 return ctx->csa.prob.mb_stat_R; in spu_backing_mbox_stat_read() 84 stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_stat_poll() 120 if (ctx->csa.prob.mb_stat_R & 0xff0000) { in spu_backing_ibox_read() 126 ctx->csa.prob.mb_stat_R &= ~(0xff0000); in spu_backing_ibox_read() 144 if ((ctx->csa.prob.mb_stat_R) & 0x00ff00) { in spu_backing_wbox_write() 146 int avail = (ctx->csa.prob.mb_stat_R & 0x00ff00) >> 8; in spu_backing_wbox_write() 155 ctx->csa.prob.mb_stat_R &= ~(0x00ff00); in spu_backing_wbox_write() [all …]
|
| D | hw_ops.c | 27 struct spu_problem __iomem *prob = spu->problem; in spu_hw_mbox_read() local 32 mbox_stat = in_be32(&prob->mb_stat_R); in spu_hw_mbox_read() 34 *data = in_be32(&prob->pu_mb_R); in spu_hw_mbox_read() 85 struct spu_problem __iomem *prob = spu->problem; in spu_hw_ibox_read() local 90 if (in_be32(&prob->mb_stat_R) & 0xff0000) { in spu_hw_ibox_read() 106 struct spu_problem __iomem *prob = spu->problem; in spu_hw_wbox_write() local 110 if (in_be32(&prob->mb_stat_R) & 0x00ff00) { in spu_hw_wbox_write() 112 out_be32(&prob->spu_mb_W, data); in spu_hw_wbox_write() 249 struct spu_problem __iomem *prob = ctx->spu->problem; in spu_hw_set_mfc_query() local 254 if (in_be32(&prob->dma_querytype_RW)) in spu_hw_set_mfc_query() [all …]
|
| D | file.c | 1970 if (!(ctx->csa.prob.mb_stat_R & 0x0000ff)) in __spufs_mbox_info_read() 1973 data = ctx->csa.prob.pu_mb_R; in __spufs_mbox_info_read() 2010 if (!(ctx->csa.prob.mb_stat_R & 0xff0000)) in __spufs_ibox_info_read() 2051 wbox_stat = ctx->csa.prob.mb_stat_R; in __spufs_wbox_info_read() 2153 info.proxydma_info_type = ctx->csa.prob.dma_querytype_RW; in __spufs_proxydma_info_read() 2154 info.proxydma_info_mask = ctx->csa.prob.dma_querymask_RW; in __spufs_proxydma_info_read() 2155 info.proxydma_info_status = ctx->csa.prob.dma_tagstatus_R; in __spufs_proxydma_info_read()
|
| /Linux-v5.4/lib/ |
| D | decompress_unlzma.c | 349 int pos_state, uint16_t *prob, in process_bit0() argument 352 rc_update_bit_0(rc, prob); in process_bit0() 353 prob = (p + LZMA_LITERAL + in process_bit0() 367 prob_lit = prob + 0x100 + bit + mi; in process_bit0() 378 uint16_t *prob_lit = prob + mi; in process_bit0() 393 int pos_state, uint16_t *prob) { in process_bit1() argument 399 rc_update_bit_1(rc, prob); in process_bit1() 400 prob = p + LZMA_IS_REP + cst->state; in process_bit1() 401 if (rc_is_bit_0(rc, prob)) { in process_bit1() 402 rc_update_bit_0(rc, prob); in process_bit1() [all …]
|
| /Linux-v5.4/net/sched/ |
| D | sch_pie.c | 41 u64 prob; /* probability but scaled by u64 limit. */ member 96 u64 local_prob = q->vars.prob; in drop_early() 107 (q->vars.prob < MAX_PROB / 5)) in drop_early() 122 local_prob = q->vars.prob; in drop_early() 164 } else if (q->params.ecn && (q->vars.prob <= MAX_PROB / 10) && in pie_qdisc_enqueue() 368 if (q->vars.prob < MAX_PROB / 10) { in calculate_probability() 373 while (q->vars.prob < div_u64(MAX_PROB, power) && in calculate_probability() 385 oldprob = q->vars.prob; in calculate_probability() 389 q->vars.prob >= MAX_PROB / 10) in calculate_probability() 400 q->vars.prob += delta; in calculate_probability() [all …]
|
| D | sch_sfb.c | 201 u32 qlen = 0, prob = 0, totalpm = 0; in sfb_compute_qlen() local 208 if (prob < b->p_mark) in sfb_compute_qlen() 209 prob = b->p_mark; in sfb_compute_qlen() 212 *prob_r = prob; in sfb_compute_qlen()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_qdisc.c | 330 u64 prob; in mlxsw_sp_qdisc_red_replace() local 333 prob = p->probability; in mlxsw_sp_qdisc_red_replace() 334 prob *= 100; in mlxsw_sp_qdisc_red_replace() 335 prob = DIV_ROUND_UP(prob, 1 << 16); in mlxsw_sp_qdisc_red_replace() 336 prob = DIV_ROUND_UP(prob, 1 << 16); in mlxsw_sp_qdisc_red_replace() 340 max, prob, p->is_ecn); in mlxsw_sp_qdisc_red_replace()
|
| /Linux-v5.4/lib/xz/ |
| D | xz_dec_lzma2.c | 497 static __always_inline int rc_bit(struct rc_dec *rc, uint16_t *prob) in rc_bit() argument 503 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob; in rc_bit() 506 *prob += (RC_BIT_MODEL_TOTAL - *prob) >> RC_MOVE_BITS; in rc_bit() 511 *prob -= *prob >> RC_MOVE_BITS; in rc_bit()
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | spu_csa.h | 231 struct spu_problem_collapsed prob; member
|
| /Linux-v5.4/net/mac80211/ |
| D | rc80211_minstrel_ht.c | 1694 int i, j, prob, tp_avg; in minstrel_ht_get_expected_throughput() local 1701 prob = mi->groups[i].rates[j].prob_ewma; in minstrel_ht_get_expected_throughput() 1704 tp_avg = minstrel_ht_get_tp_avg(mi, i, j, prob) * 10; in minstrel_ht_get_expected_throughput()
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | pkt_sched.h | 957 __u32 prob; /* current probability */ member
|
| /Linux-v5.4/include/uapi/linux/ |
| D | pkt_sched.h | 958 __u64 prob; /* current probability */ member
|