/linux/arch/powerpc/platforms/cell/spufs/ |
A D | switch.c | 209 csa->prob.spu_runcntl_RW = in_be32(&prob->spu_runcntl_RW); in save_spu_runcntl() 228 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status() 242 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status() 374 csa->prob.dma_querymask_RW = in_be32(&prob->dma_querymask_RW); in save_ppu_querymask() 385 csa->prob.dma_querytype_RW = in_be32(&prob->dma_querytype_RW); in save_ppu_querytype() 398 csa->prob.dma_tagstatus_R = in_be32(&prob->dma_tagstatus_R); in save_ppu_tagstatus() 508 csa->prob.spu_npc_RW = in_be32(&prob->spu_npc_RW); in save_spu_npc() 592 csa->prob.mb_stat_R = in_be32(&prob->mb_stat_R); in save_ppu_mb_stat() 602 csa->prob.pu_mb_R = in_be32(&prob->pu_mb_R); in save_ppu_mb() 1457 out_be32(&prob->dma_querymask_RW, csa->prob.dma_querymask_RW); in restore_ppu_querymask() [all …]
|
A 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() 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() 244 return ctx->csa.prob.spu_npc_RW; in spu_backing_npc_read() 249 ctx->csa.prob.spu_npc_RW = val; in spu_backing_npc_write() 277 ctx->csa.prob.spu_status_R &= in spu_backing_runcntl_write() 320 struct spu_problem_collapsed *prob = &ctx->csa.prob; in spu_backing_set_mfc_query() local 325 if (prob->dma_querytype_RW) in spu_backing_set_mfc_query() 329 prob->dma_querymask_RW = mask; in spu_backing_set_mfc_query() [all …]
|
A 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() 90 if (in_be32(&prob->mb_stat_R) & 0xff0000) { in spu_hw_ibox_read() 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() 254 if (in_be32(&prob->dma_querytype_RW)) in spu_hw_set_mfc_query() 257 out_be32(&prob->dma_querymask_RW, mask); in spu_hw_set_mfc_query() 258 out_be32(&prob->dma_querytype_RW, mode); in spu_hw_set_mfc_query() 281 out_be32(&prob->mfc_lsa_W, cmd->lsa); in spu_hw_send_mfc_command() [all …]
|
A D | file.c | 1954 if (!(ctx->csa.prob.mb_stat_R & 0x0000ff)) in spufs_mbox_info_dump() 1956 return spufs_dump_emit(cprm, &ctx->csa.prob.pu_mb_R, in spufs_mbox_info_dump() 1957 sizeof(ctx->csa.prob.pu_mb_R)); in spufs_mbox_info_dump() 1971 stat = ctx->csa.prob.mb_stat_R; in spufs_mbox_info_read() 1972 data = ctx->csa.prob.pu_mb_R; in spufs_mbox_info_read() 1992 if (!(ctx->csa.prob.mb_stat_R & 0xff0000)) in spufs_ibox_info_dump() 2009 stat = ctx->csa.prob.mb_stat_R; in spufs_ibox_info_read() 2029 return (4 - ((ctx->csa.prob.mb_stat_R & 0x00ff00) >> 8)) * sizeof(u32); in spufs_wbox_info_cnt() 2125 info->proxydma_info_type = ctx->csa.prob.dma_querytype_RW; in spufs_get_proxydma_info() 2126 info->proxydma_info_mask = ctx->csa.prob.dma_querymask_RW; in spufs_get_proxydma_info() [all …]
|
/linux/lib/ |
A D | decompress_unlzma.c | 352 rc_update_bit_0(rc, prob); in process_bit0() 353 prob = (p + LZMA_LITERAL + in process_bit0() 399 rc_update_bit_1(rc, prob); in process_bit1() 401 if (rc_is_bit_0(rc, prob)) { in process_bit1() 402 rc_update_bit_0(rc, prob); in process_bit1() 407 prob = p + LZMA_LEN_CODER; in process_bit1() 409 rc_update_bit_1(rc, prob); in process_bit1() 412 rc_update_bit_0(rc, prob); in process_bit1() 429 rc_update_bit_1(rc, prob); in process_bit1() 488 prob = in process_bit1() [all …]
|
/linux/net/sched/ |
A D | sch_pie.c | 37 u64 local_prob = vars->prob; in pie_drop_early() 48 (vars->prob < MAX_PROB / 5)) in pie_drop_early() 63 local_prob = vars->prob; in pie_drop_early() 360 oldprob = vars->prob; in pie_calculate_probability() 375 vars->prob += delta; in pie_calculate_probability() 380 vars->prob = MAX_PROB; in pie_calculate_probability() 390 if (vars->prob > oldprob) in pie_calculate_probability() 391 vars->prob = 0; in pie_calculate_probability() 400 vars->prob -= vars->prob / 64; in pie_calculate_probability() 413 vars->prob == 0 && in pie_calculate_probability() [all …]
|
A 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()
|
A D | sch_fq_pie.c | 166 sel_flow->vars.prob <= (MAX_PROB / 100) * q->ecn_prob && in fq_pie_qdisc_enqueue()
|
/linux/lib/xz/ |
A D | xz_dec_lzma2.c | 529 static __always_inline int rc_bit(struct rc_dec *rc, uint16_t *prob) in rc_bit() argument 535 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob; in rc_bit() 538 *prob += (RC_BIT_MODEL_TOTAL - *prob) >> RC_MOVE_BITS; in rc_bit() 543 *prob -= *prob >> RC_MOVE_BITS; in rc_bit()
|
/linux/include/net/ |
A D | pie.h | 56 u64 prob; member
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_qdisc.c | 722 u64 prob; in mlxsw_sp_qdisc_red_replace() local 735 prob = p->probability; in mlxsw_sp_qdisc_red_replace() 736 prob *= 100; in mlxsw_sp_qdisc_red_replace() 737 prob = DIV_ROUND_UP(prob, 1 << 16); in mlxsw_sp_qdisc_red_replace() 738 prob = DIV_ROUND_UP(prob, 1 << 16); in mlxsw_sp_qdisc_red_replace() 742 min, max, prob, in mlxsw_sp_qdisc_red_replace()
|
/linux/tools/tracing/latency/ |
A D | latency-collector.c | 993 static bool toss_coin(struct drand48_data *buffer, unsigned int prob) in toss_coin() argument 1002 if (r < prob) in toss_coin() 1557 int prob = 0; in do_printloop() local 1596 prob = table_get_probability(&req, &resize_msg); in do_printloop() 1597 if (!toss_coin(&drandbuf, prob)) in do_printloop()
|
/linux/arch/powerpc/include/asm/ |
A D | spu_csa.h | 231 struct spu_problem_collapsed prob; member
|
/linux/net/mac80211/ |
A D | rc80211_minstrel_ht.c | 1872 int i, j, prob, tp_avg; in minstrel_ht_get_expected_throughput() local 1876 prob = mi->groups[i].rates[j].prob_avg; in minstrel_ht_get_expected_throughput() 1879 tp_avg = minstrel_ht_get_tp_avg(mi, i, j, prob) * 10; in minstrel_ht_get_expected_throughput()
|
/linux/tools/include/uapi/linux/ |
A D | pkt_sched.h | 958 __u32 prob; /* current probability */ member
|
/linux/include/uapi/linux/ |
A D | pkt_sched.h | 991 __u64 prob; /* current probability */ member
|