/Linux-v4.19/arch/powerpc/platforms/cell/spufs/ |
D | switch.c | 97 struct spu_problem __iomem *prob = spu->problem; in check_spu_isolate() local 108 return (in_be32(&prob->spu_status_R) & isolate_state) ? 1 : 0; in check_spu_isolate() 217 struct spu_problem __iomem *prob = spu->problem; in save_spu_runcntl() local 223 csa->prob.spu_runcntl_RW = in_be32(&prob->spu_runcntl_RW); in save_spu_runcntl() 236 struct spu_problem __iomem *prob = spu->problem; in save_spu_status() local 241 if ((in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING) == 0) { in save_spu_status() 242 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status() 246 out_be32(&prob->spu_runcntl_RW, SPU_RUNCNTL_STOP); in save_spu_status() 248 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in save_spu_status() 253 if ((in_be32(&prob->spu_status_R) & stopped) == 0) in save_spu_status() [all …]
|
D | backing_ops.c | 68 mbox_stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_read() 74 *data = ctx->csa.prob.pu_mb_R; in spu_backing_mbox_read() 75 ctx->csa.prob.mb_stat_R &= ~(0x0000ff); in spu_backing_mbox_read() 86 return ctx->csa.prob.mb_stat_R; in spu_backing_mbox_stat_read() 97 stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_stat_poll() 133 if (ctx->csa.prob.mb_stat_R & 0xff0000) { in spu_backing_ibox_read() 139 ctx->csa.prob.mb_stat_R &= ~(0xff0000); in spu_backing_ibox_read() 157 if ((ctx->csa.prob.mb_stat_R) & 0x00ff00) { in spu_backing_wbox_write() 159 int avail = (ctx->csa.prob.mb_stat_R & 0x00ff00) >> 8; in spu_backing_wbox_write() 168 ctx->csa.prob.mb_stat_R &= ~(0x00ff00); in spu_backing_wbox_write() [all …]
|
D | hw_ops.c | 40 struct spu_problem __iomem *prob = spu->problem; in spu_hw_mbox_read() local 45 mbox_stat = in_be32(&prob->mb_stat_R); in spu_hw_mbox_read() 47 *data = in_be32(&prob->pu_mb_R); in spu_hw_mbox_read() 98 struct spu_problem __iomem *prob = spu->problem; in spu_hw_ibox_read() local 103 if (in_be32(&prob->mb_stat_R) & 0xff0000) { in spu_hw_ibox_read() 119 struct spu_problem __iomem *prob = spu->problem; in spu_hw_wbox_write() local 123 if (in_be32(&prob->mb_stat_R) & 0x00ff00) { in spu_hw_wbox_write() 125 out_be32(&prob->spu_mb_W, data); in spu_hw_wbox_write() 262 struct spu_problem __iomem *prob = ctx->spu->problem; in spu_hw_set_mfc_query() local 267 if (in_be32(&prob->dma_querytype_RW)) in spu_hw_set_mfc_query() [all …]
|
D | file.c | 1983 if (!(ctx->csa.prob.mb_stat_R & 0x0000ff)) in __spufs_mbox_info_read() 1986 data = ctx->csa.prob.pu_mb_R; in __spufs_mbox_info_read() 2023 if (!(ctx->csa.prob.mb_stat_R & 0xff0000)) in __spufs_ibox_info_read() 2064 wbox_stat = ctx->csa.prob.mb_stat_R; in __spufs_wbox_info_read() 2166 info.proxydma_info_type = ctx->csa.prob.dma_querytype_RW; in __spufs_proxydma_info_read() 2167 info.proxydma_info_mask = ctx->csa.prob.dma_querymask_RW; in __spufs_proxydma_info_read() 2168 info.proxydma_info_status = ctx->csa.prob.dma_tagstatus_R; in __spufs_proxydma_info_read()
|
/Linux-v4.19/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-v4.19/net/sched/ |
D | sch_pie.c | 52 u32 prob; /* probability but scaled by u32 limit. */ member 103 u32 local_prob = q->vars.prob; in drop_early() 114 && (q->vars.prob < MAX_PROB / 5)) in drop_early() 129 local_prob = q->vars.prob; in drop_early() 151 } else if (q->params.ecn && (q->vars.prob <= MAX_PROB / 10) && in pie_qdisc_enqueue() 349 if (q->vars.prob < MAX_PROB / 100) { in calculate_probability() 354 } else if (q->vars.prob < MAX_PROB / 10) { in calculate_probability() 370 oldprob = q->vars.prob; in calculate_probability() 374 q->vars.prob >= MAX_PROB / 10) in calculate_probability() 385 q->vars.prob += delta; in calculate_probability() [all …]
|
D | sch_sfb.c | 205 u32 qlen = 0, prob = 0, totalpm = 0; in sfb_compute_qlen() local 212 if (prob < b->p_mark) in sfb_compute_qlen() 213 prob = b->p_mark; in sfb_compute_qlen() 216 *prob_r = prob; in sfb_compute_qlen()
|
/Linux-v4.19/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-v4.19/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-v4.19/arch/powerpc/include/asm/ |
D | spu_csa.h | 244 struct spu_problem_collapsed prob; member
|
/Linux-v4.19/net/mac80211/ |
D | rc80211_minstrel_ht.c | 1359 int i, j, prob, tp_avg; in minstrel_ht_get_expected_throughput() local 1366 prob = mi->groups[i].rates[j].prob_ewma; in minstrel_ht_get_expected_throughput() 1369 tp_avg = minstrel_ht_get_tp_avg(mi, i, j, prob) * 10; in minstrel_ht_get_expected_throughput()
|
/Linux-v4.19/include/uapi/linux/ |
D | pkt_sched.h | 927 __u32 prob; /* current probability */ member
|