/openbmc/linux/include/net/ |
H A D | codel_impl.h | 66 memset(vars, 0, sizeof(*vars)); in codel_vars_init() 161 vars->dropping = false; in codel_dequeue() 167 if (vars->dropping) { in codel_dequeue() 170 vars->dropping = false; in codel_dequeue() 188 vars->drop_next = in codel_dequeue() 207 vars->drop_next = in codel_dequeue() 229 vars->dropping = true; in codel_dequeue() 234 delta = vars->count - vars->lastcount; in codel_dequeue() 238 vars->count = delta; in codel_dequeue() 245 vars->count = 1; in codel_dequeue() [all …]
|
H A D | pie.h | 101 static inline void pie_vars_init(struct pie_vars *vars) in pie_vars_init() argument 103 vars->burst_time = PSCHED_NS2TICKS(150 * NSEC_PER_MSEC); /* 150 ms */ in pie_vars_init() 104 vars->dq_tstamp = DTIME_INVALID; in pie_vars_init() 105 vars->accu_prob = 0; in pie_vars_init() 106 vars->dq_count = DQCOUNT_INVALID; in pie_vars_init() 107 vars->avg_dq_rate = 0; in pie_vars_init() 127 struct pie_vars *vars, u32 backlog, u32 packet_size); 130 struct pie_vars *vars, u32 backlog); 132 void pie_calculate_probability(struct pie_params *params, struct pie_vars *vars,
|
/openbmc/linux/net/sched/ |
H A D | sch_pie.c | 26 struct pie_vars vars; member 41 if (vars->burst_time > 0) in pie_drop_early() 66 vars->accu_prob = 0; in pie_drop_early() 77 vars->accu_prob = 0; in pie_drop_early() 123 q->vars.accu_prob = 0; in pie_qdisc_enqueue() 223 vars->qdelay = 0; in pie_process_dequeue() 237 vars->dq_count = 0; in pie_process_dequeue() 310 vars->qdelay_old = vars->qdelay; in pie_calculate_probability() 372 vars->prob += delta; in pie_calculate_probability() 388 vars->prob = 0; in pie_calculate_probability() [all …]
|
H A D | sch_choke.c | 56 struct red_vars vars; member 220 q->vars.qavg = red_calc_qavg(p, &q->vars, sch->q.qlen); in choke_enqueue() 221 if (red_is_idling(&q->vars)) in choke_enqueue() 226 q->vars.qcount = -1; in choke_enqueue() 239 q->vars.qcount = -1; in choke_enqueue() 250 if (red_mark_probability(p, &q->vars, q->vars.qavg)) { in choke_enqueue() 251 q->vars.qcount = 0; in choke_enqueue() 252 q->vars.qR = red_random(p); in choke_enqueue() 263 q->vars.qR = red_random(p); in choke_enqueue() 320 red_restart(&q->vars); in choke_reset() [all …]
|
H A D | sch_codel.c | 60 struct codel_vars vars; member 69 static struct sk_buff *dequeue_func(struct codel_vars *vars, void *ctx) in dequeue_func() argument 94 skb = codel_dequeue(sch, &sch->qstats.backlog, &q->params, &q->vars, in codel_qdisc_dequeue() 194 codel_vars_init(&q->vars); in codel_init() 247 .count = q->vars.count, in codel_dump_stats() 248 .lastcount = q->vars.lastcount, in codel_dump_stats() 250 .ldelay = codel_time_to_us(q->vars.ldelay), in codel_dump_stats() 251 .dropping = q->vars.dropping, in codel_dump_stats() 256 if (q->vars.dropping) { in codel_dump_stats() 257 codel_tdiff_t delta = q->vars.drop_next - codel_get_time(); in codel_dump_stats() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | setup.py | 24 vars = get_config_vars() variable 26 vars[var] = sub("-specs=[^ ]+", "", vars[var]) 28 vars[var] = sub("-mcet", "", vars[var]) 30 vars[var] = sub("-fcf-protection", "", vars[var]) 32 vars[var] = sub("-fstack-clash-protection", "", vars[var]) 34 vars[var] = sub("-fstack-protector-strong", "", vars[var]) 36 vars[var] = sub("-fno-semantic-interposition", "", vars[var]) 38 vars[var] = sub("-ffat-lto-objects", "", vars[var]) 40 vars[var] = sub("-ftree-loop-distribute-patterns", "", vars[var]) 42 vars[var] = sub("-gno-variable-location-views", "", vars[var])
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | convert-overrides.py | 39 vars = args.override variable 40 vars += ["append", "prepend", "remove"] 41 vars += ["qemuarm", "qemux86", "qemumips", "qemuppc", "qemuriscv", "qemuall"] 42 vars += ["genericx86", "edgerouter", "beaglebone-yocto"] 46 vars += ["tune-", "pn-", "forcevariable"] 47 vars += ["libc-musl", "libc-glibc", "libc-newlib","libc-baremetal"] 49 vars += ["toolchain-clang", "mydistro", "nios2", "sdkmingw32", "overrideone", "overridetwo"] 51 vars += ["linux-gnueabi", "eabi"] 52 vars += ["virtclass-multilib", "virtclass-mcextend"] 83 for exp in vars: [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | tee.c | 87 rc = tee_shm_alloc(dev, 256, 0, &vars->alloc_shm); in test_tee() 91 ut_assert(tee_shm_is_registered(vars->reg_shm, dev)); in test_tee() 92 ut_assert(tee_shm_is_registered(vars->alloc_shm, dev)); in test_tee() 94 tee_shm_free(vars->reg_shm); in test_tee() 95 vars->reg_shm = NULL; in test_tee() 96 tee_shm_free(vars->alloc_shm); in test_tee() 97 vars->alloc_shm = NULL; in test_tee() 105 struct test_tee_vars vars = { NULL, NULL }; in dm_test_tee() local 106 int rc = test_tee(uts, &vars); in dm_test_tee() 109 tee_shm_free(vars.reg_shm); in dm_test_tee() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.c | 4407 vars->turn_to_run_wc_rt = vars->turn_to_run_wc_rt ? 0 : 1; in bnx2x_warpcore_config_runtime() 4705 vars->link_up = (vars->link_status & LINK_STATUS_LINK_UP); in bnx2x_sync_link() 4866 vars->link_status, vars->phy_link_up, vars->aeu_int_mask); in bnx2x_link_status_update() 4868 vars->line_speed, vars->duplex, vars->flow_ctrl); in bnx2x_link_status_update() 5614 vars->phy_link_up, vars->line_speed); in bnx2x_get_link_speed_duplex() 5688 vars->duplex, vars->flow_ctrl, vars->link_status); in bnx2x_link_settings_status() 5814 vars->duplex, vars->flow_ctrl, vars->link_status); in bnx2x_warpcore_read_status() 5899 bnx2x_set_led(params, vars, LED_MODE_OPER, vars->line_speed); in bnx2x_emac_program() 7026 vars); in bnx2x_link_update() 7032 vars->link_up = (vars->phy_link_up && in bnx2x_link_update() [all …]
|
H A D | bnx2x_link.h | 131 struct link_vars *vars); 133 struct link_vars *vars); 378 int bnx2x_phy_init(struct link_params *params, struct link_vars *vars); 383 int bnx2x_link_reset(struct link_params *params, struct link_vars *vars, 385 int bnx2x_lfa_reset(struct link_params *params, struct link_vars *vars); 412 struct link_vars *vars, u8 mode, u32 speed); 424 int bnx2x_test_link(struct link_params *params, struct link_vars *vars, 520 struct link_vars *vars, 526 struct link_vars *vars); 538 const struct link_vars *vars, [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_lock.c | 24 int vars[17], i, j, rnd, key = 0; in parallel_map_access() local 27 err = bpf_map_lookup_elem_flags(map_fd, &key, vars, BPF_F_LOCK); in parallel_map_access() 32 if (CHECK_FAIL(vars[0] != 0)) { in parallel_map_access() 33 printf("lookup #%d var[0]=%d\n", i, vars[0]); in parallel_map_access() 36 rnd = vars[1]; in parallel_map_access() 38 if (vars[j] == rnd) in parallel_map_access() 41 i, rnd, j, vars[j]); in parallel_map_access() 42 CHECK_FAIL(vars[j] != rnd); in parallel_map_access() 53 int prog_fd, map_fd[2], vars[17] = {}; in test_map_lock() local 71 bpf_map_update_elem(map_fd[0], &key, vars, BPF_F_LOCK); in test_map_lock()
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/management/commands/ |
H A D | buildimport.py | 88 vars = {} variable in Command 128 vars = self.vars 181 if not var in vars: 182 vars[var] = '' 186 vars[var] = "%s%s" % (value,vars[var]) 188 vars[var] = "%s %s" % (value,vars[var]) 190 vars[var] = "%s %s" % (vars[var],value) 199 self.vars = vars 205 if (not name in self.vars.keys()) or (not self.vars[name]): 450 if self.vars: [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | cve_check.py | 83 vars = get_bb_vars(["CVE_CHECK_SUMMARY_DIR", "CVE_CHECK_SUMMARY_FILE_NAME_JSON"]) 84 …summary_json = os.path.join(vars["CVE_CHECK_SUMMARY_DIR"], vars["CVE_CHECK_SUMMARY_FILE_NAME_JSON"… 85 recipe_json = os.path.join(vars["CVE_CHECK_SUMMARY_DIR"], "m4-native_cve.json") 120 …report_json = os.path.join(vars["CVE_CHECK_SUMMARY_DIR"], vars["CVE_CHECK_SUMMARY_FILE_NAME_JSON"]) 138 recipe_report = os.path.join(vars["CVE_CHECK_DIR"], recipename + "_cve.json") 155 vars = get_bb_vars(["CVE_CHECK_SUMMARY_DIR", "CVE_CHECK_SUMMARY_FILE_NAME_JSON"]) 156 …summary_json = os.path.join(vars["CVE_CHECK_SUMMARY_DIR"], vars["CVE_CHECK_SUMMARY_FILE_NAME_JSON"… 157 recipe_json = os.path.join(vars["CVE_CHECK_SUMMARY_DIR"], "m4-native_cve.json") 191 vars = get_bb_vars(["CVE_CHECK_SUMMARY_DIR", "CVE_CHECK_SUMMARY_FILE_NAME_JSON"]) 192 …summary_json = os.path.join(vars["CVE_CHECK_SUMMARY_DIR"], vars["CVE_CHECK_SUMMARY_FILE_NAME_JSON"… [all …]
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | speakup_dummy.c | 34 static struct var_t vars[NB_ID] = { variable 119 .vars = vars, 145 module_param_named(rate, vars[RATE_ID].u.n.default_val, int, 0444); 146 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444); 147 module_param_named(inflection, vars[INFLECTION_ID].u.n.default_val, int, 0444); 148 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 149 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444); 150 module_param_named(punct, vars[PUNCT_ID].u.n.default_val, int, 0444); 151 module_param_named(direct, vars[DIRECT_ID].u.n.default_val, int, 0444);
|
H A D | speakup_ltlk.c | 32 static struct var_t vars[NB_ID] = { variable 115 .vars = vars, 174 module_param_named(rate, vars[RATE_ID].u.n.default_val, int, 0444); 175 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444); 176 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 177 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444); 178 module_param_named(punct, vars[PUNCT_ID].u.n.default_val, int, 0444); 179 module_param_named(voice, vars[VOICE_ID].u.n.default_val, int, 0444); 180 module_param_named(frequency, vars[FREQUENCY_ID].u.n.default_val, int, 0444); 181 module_param_named(direct, vars[DIRECT_ID].u.n.default_val, int, 0444);
|
H A D | speakup_bns.c | 28 static struct var_t vars[NB_ID] = { variable 99 .vars = vars, 125 module_param_named(rate, vars[RATE_ID].u.n.default_val, int, 0444); 126 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444); 127 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 128 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444); 129 module_param_named(direct, vars[DIRECT_ID].u.n.default_val, int, 0444);
|
H A D | speakup_txprt.c | 34 static struct var_t vars[NB_ID] = { variable 104 .vars = vars, 130 module_param_named(rate, vars[RATE_ID].u.n.default_val, int, 0444); 131 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444); 132 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 133 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444); 134 module_param_named(direct, vars[DIRECT_ID].u.n.default_val, int, 0444);
|
H A D | speakup_acntsa.c | 32 static struct var_t vars[NB_ID] = { variable 103 .vars = vars, 142 module_param_named(rate, vars[RATE_ID].u.n.default_val, int, 0444); 143 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444); 144 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 145 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444); 146 module_param_named(direct, vars[DIRECT_ID].u.n.default_val, int, 0444);
|
H A D | speakup_spkout.c | 32 static struct var_t vars[NB_ID] = { variable 106 .vars = vars, 138 module_param_named(rate, vars[RATE_ID].u.n.default_val, int, 0444); 139 module_param_named(vol, vars[PITCH_ID].u.n.default_val, int, 0444); 140 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444); 141 module_param_named(punct, vars[PUNCT_ID].u.n.default_val, int, 0444); 142 module_param_named(direct, vars[DIRECT_ID].u.n.default_val, int, 0444);
|
H A D | speakup_audptr.c | 31 static struct var_t vars[NB_ID] = { variable 106 .vars = vars, 170 module_param_named(rate, vars[RATE_ID].u.n.default_val, int, 0444); 171 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444); 172 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 173 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444); 174 module_param_named(punct, vars[PUNCT_ID].u.n.default_val, int, 0444); 175 module_param_named(direct, vars[DIRECT_ID].u.n.default_val, int, 0444);
|
H A D | speakup_decext.c | 50 static struct var_t vars[NB_ID] = { variable 130 .vars = vars, 237 module_param_named(rate, vars[RATE_ID].u.n.default_val, int, 0444); 238 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444); 239 module_param_named(inflection, vars[INFLECTION_ID].u.n.default_val, int, 0444); 240 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 241 module_param_named(punct, vars[PUNCT_ID].u.n.default_val, int, 0444); 242 module_param_named(voice, vars[VOICE_ID].u.n.default_val, int, 0444); 243 module_param_named(direct, vars[DIRECT_ID].u.n.default_val, int, 0444);
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 865 vars[i + k].pbn); in set_dsc_configs_from_fairness_vars() 912 if (vars[i + k].dsc_enabled) { in increase_dsc_bpp() 951 vars[next_index].pbn); in increase_dsc_bpp() 957 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp() 972 vars[next_index].pbn); in increase_dsc_bpp() 1013 if (vars[i + k].dsc_enabled in try_disable_dsc() 1044 vars[next_index].pbn); in try_disable_dsc() 1051 vars[next_index].bpp_x16 = 0; in try_disable_dsc() 1149 vars[i + k].bpp_x16 = 0; in compute_mst_dsc_configs_for_link() 1151 vars[i + k].pbn); in compute_mst_dsc_configs_for_link() [all …]
|
/openbmc/linux/drivers/misc/altera-stapl/ |
H A D | altera.c | 226 long *vars = NULL; in altera_execute() local 295 if (vars == NULL) in altera_execute() 353 vars[i] = value; in altera_execute() 360 if (vars[i] == 0L) in altera_execute() 369 (u8 *)vars[i], in altera_execute() 402 if (vars[i] == 0) { in altera_execute() 411 vars[i] = 0; in altera_execute() 414 vars[i] = 0; in altera_execute() 1559 vars[variable_id] = 0; in altera_execute() 2081 kfree((void *)vars[i]); in altera_execute() [all …]
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | packagedata.bbclass | 10 vars = { 17 data = oe.packagedata.read_pkgdata(vars["PN"], d) 25 if key in vars: 26 if sdata[key] != vars[key]: 28 …ackage from one recipe or the other or only build one of the recipes." % (vars[key], pkg, sdata[ke… 29 …ll be used and they will be unable to find the right workdir." % (vars["PN"], key, vars[key], sdat…
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | image-buildinfo.bbclass | 20 def image_buildinfo_outputvars(vars, d): 21 vars = vars.split() 23 for var in vars: 41 vars = (d.getVar("IMAGE_BUILDINFO_VARS") or "") 42 return image_buildinfo_outputvars(vars, d)
|