| /OK3568_Linux_fs/kernel/tools/perf/util/intel-pt-decoder/ |
| H A D | intel-pt-insn-decoder.c | 31 enum intel_pt_insn_branch branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder() local 38 intel_pt_insn->branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder() 49 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 54 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 58 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder() 66 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder() 73 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 77 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 81 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 85 branch = INTEL_PT_BR_UNCONDITIONAL; in intel_pt_insn_decoder() [all …]
|
| /OK3568_Linux_fs/yocto/poky/documentation/ |
| H A D | set_versions.py | 107 …branch = subprocess.run(["git", "branch", "--show-current"], capture_output=True, text=True).stdou… variable 108 ourbranch = branch 109 if branch != "master" and branch not in release_series: 123 branch = possible_branch variable 125 branch = "master" variable 126 print("Nearest release branch estimated to be %s" % branch) 127 if branch == "master": 131 elif branch in release_series: 132 ourseries = branch 133 if branch in bitbake_mapping: [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/contrib/ |
| H A D | build-perf-test-wrapper.sh | 25 -c COMMITISH test (checkout) this commit, <branch>:<commit> can be 26 specified to test specific commit of certain branch 117 branch=`echo "$commitish" | cut -d":" -f1` 120 branch="$commitish" 124 git branch -D $branch &> /dev/null 125 if ! git checkout -f $branch &> /dev/null; then 132 if [ -z "$commit_hash" -o "`git merge-base $branch $commit`" != "$commit_hash" ]; then 133 echo "ERROR: branch $branch does not contain commit $commit" 140 branch=`git symbolic-ref HEAD 2> /dev/null` 142 branch=${branch:11} [all …]
|
| /OK3568_Linux_fs/kernel/drivers/edac/ |
| H A D | i7300_edac.c | 67 #define to_channel(ch, branch) ((((branch)) << 1) | (ch)) argument 69 #define to_csrow(slot, ch, branch) \ argument 70 (to_channel(ch, branch) | ((slot) << 2)) 411 unsigned branch, channel, bank, rank, cas, ras; in i7300_process_fbd_error() local 428 branch = (GET_FBD_FAT_IDX(error_reg) == 2) ? 1 : 0; in i7300_process_fbd_error() 450 branch, -1, rank, in i7300_process_fbd_error() 464 branch = (GET_FBD_NF_IDX(error_reg) == 2) ? 1 : 0; in i7300_process_fbd_error() 482 channel = (branch << 1); in i7300_process_fbd_error() 498 branch >> 1, channel % 2, rank, in i7300_process_fbd_error() 586 int slot, int ch, int branch, in decode_mtr() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/nxp/ |
| H A D | clk-lpc18xx-ccu.c | 205 static void lpc18xx_ccu_register_branch_gate_div(struct lpc18xx_clk_branch *branch, in lpc18xx_ccu_register_branch_gate_div() argument 213 if (branch->flags & CCU_BRANCH_HAVE_DIV2) { in lpc18xx_ccu_register_branch_gate_div() 218 div->reg = branch->offset + reg_base; in lpc18xx_ccu_register_branch_gate_div() 227 branch->gate.reg = branch->offset + reg_base; in lpc18xx_ccu_register_branch_gate_div() 228 branch->gate.bit_idx = 0; in lpc18xx_ccu_register_branch_gate_div() 230 branch->clk = clk_register_composite(NULL, branch->name, &parent, 1, in lpc18xx_ccu_register_branch_gate_div() 233 &branch->gate.hw, &lpc18xx_ccu_gate_ops, 0); in lpc18xx_ccu_register_branch_gate_div() 234 if (IS_ERR(branch->clk)) { in lpc18xx_ccu_register_branch_gate_div() 236 pr_warn("%s: failed to register %s\n", __func__, branch->name); in lpc18xx_ccu_register_branch_gate_div() 241 switch (branch->offset) { in lpc18xx_ccu_register_branch_gate_div() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | intel-bts.c | 80 struct branch { struct 89 struct branch *branch; in intel_bts_dump() argument 90 size_t i, pos = 0, br_sz = sizeof(struct branch), sz; in intel_bts_dump() 109 branch = (struct branch *)buf; in intel_bts_dump() 111 le64_to_cpu(branch->from), in intel_bts_dump() 112 le64_to_cpu(branch->to), in intel_bts_dump() 113 le64_to_cpu(branch->misc) & 0x10 ? in intel_bts_dump() 239 for (; offs < len_a; offs += sizeof(struct branch)) { in intel_bts_find_overlap() 273 struct branch *branch) in intel_bts_synth_branch_sample() argument 284 sample.ip = le64_to_cpu(branch->from); in intel_bts_synth_branch_sample() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/hw-vuln/ |
| H A D | spectre.rst | 6 Spectre is a class of side channel attacks that exploit branch prediction 18 use branch prediction and speculative execution. 55 buffers, and branch predictors. Malicious software may be able to 70 of speculative execution that bypasses conditional branch instructions 92 The branch target injection attack takes advantage of speculative 94 branch predictors inside the processor used to guess the target of 103 branches in the victim to gadget code by poisoning the branch target 104 buffer of a CPU used for predicting indirect branch addresses. Such 106 with the address offset of the indirect branch under the attacker's 107 control. Since the branch prediction on impacted hardware does not [all …]
|
| /OK3568_Linux_fs/u-boot/tools/buildman/ |
| H A D | control.py | 151 has_range = options.branch and '..' in options.branch 153 if not options.branch: 158 options.branch) 161 options.branch) 166 options.branch)) 173 "set branch's upstream or use -c flag" % options.branch) 206 if options.branch: 209 range_expr = options.branch 212 options.branch) 214 options.branch) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_vop2_clk.c | 274 static struct clk *vop2_clk_register(struct vop2 *vop2, struct vop2_clk_branch *branch) in vop2_clk_register() argument 286 vop2_clk->div.shift = branch->div_shift; in vop2_clk_register() 287 vop2_clk->div.width = branch->div_width; in vop2_clk_register() 289 init.name = branch->name; in vop2_clk_register() 290 init.flags = branch->flags; in vop2_clk_register() 291 init.num_parents = branch->num_parents; in vop2_clk_register() 292 init.parent_names = branch->parent_names; in vop2_clk_register() 293 if (branch->branch_type == branch_divider) { in vop2_clk_register() 295 } else if (branch->branch_type == branch_virtual) { in vop2_clk_register() 307 DRM_DEV_ERROR(vop2->dev, "Register %s failed\n", branch->name); in vop2_clk_register() [all …]
|
| /OK3568_Linux_fs/yocto/poky/documentation/overview-manual/ |
| H A D | development-environment.rst | 167 branch of ``poky`` and you are going to use ``meta-intel``, be 168 sure to checkout the "&DISTRO_NAME_NO_CAP;" branch of ``meta-intel``. 236 responsible for the integrity of the development branch of a given Git 237 repository. The development branch is the "upstream" repository from which 240 organizing the underlying branch structure to reflect release strategies 258 branches into the "master" branch of the Git repository. 268 with whatever upstream branch they are working against. They are also 276 maintainer include them into an upstream branch. This process is called 283 development branch of the Git repository, which is controlled by the 314 have merged it into your local development branch, simply discard the [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/expression/ |
| H A D | case.cpp | 9 for (const auto& branch : branches) { in evaluate() local 10 const EvaluationResult evaluatedTest = branch.first->evaluate(params); in evaluate() 15 return branch.second->evaluate(params); in evaluate() 23 for (const Branch& branch : branches) { in eachChild() local 24 visit(*branch.first); in eachChild() 25 visit(*branch.second); in eachChild() 40 for (const auto& branch : branches) { in possibleOutputs() local 41 for (auto& output : branch.second->possibleOutputs()) { in possibleOutputs()
|
| /OK3568_Linux_fs/u-boot/tools/patman/ |
| H A D | gitutil.py | 85 def GuessUpstream(git_dir, branch): argument 101 pipe = [LogCmd(branch, git_dir=git_dir, oneline=True, count=100)] 105 return None, "Branch '%s' not found" % branch 113 return None, "Cannot find a suitable upstream for branch '%s'" % branch 115 def GetUpstream(git_dir, branch): argument 129 'branch.%s.remote' % branch) 131 'branch.%s.merge' % branch) 133 upstream, msg = GuessUpstream(git_dir, branch) 143 "'%s' remote='%s', merge='%s'" % (branch, remote, merge)) 146 def GetRangeInBranch(git_dir, branch, include_upstream=False): argument [all …]
|
| /OK3568_Linux_fs/kernel/scripts/tracing/ |
| H A D | draw_functrace.py | 70 def __toString(self, branch, lastChild): argument 72 s = "%s----%s (%s)\n" % (branch, self._func, self._time) 74 s = "%s----%s\n" % (branch, self._func) 78 branch = branch[:-1] + " " 81 s += "%s" % self._children[i].__toString(branch +\ 84 s += "%s" % self._children[i].__toString(branch +\
|
| /OK3568_Linux_fs/kernel/Documentation/staging/ |
| H A D | static-keys.rst | 48 The static_branch_unlikely() branch will be generated into the code with as little 56 Currently, tracepoints are implemented using a conditional branch. The 78 the branch site to change the branch direction. 80 For example, if we have a simple branch that is disabled by default:: 83 printk("I am the true branch\n"); 87 straight-line code path. When the branch is 'flipped', we will patch the 89 out-of-line true branch. Thus, changing branch direction is expensive but 90 branch selection is basically 'free'. That is the basic tradeoff of this 138 The branch(es) can then be switched via reference counts:: 144 Thus, 'static_branch_inc()' means 'make the branch true', and [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | jump_label.h | 479 bool branch; \ 481 branch = !arch_static_branch(&(x)->key, true); \ 483 branch = !arch_static_branch_jump(&(x)->key, true); \ 485 branch = ____wrong_branch_error(); \ 486 likely(branch); \ 491 bool branch; \ 493 branch = arch_static_branch_jump(&(x)->key, false); \ 495 branch = arch_static_branch(&(x)->key, false); \ 497 branch = ____wrong_branch_error(); \ 498 unlikely(branch); \
|
| /OK3568_Linux_fs/buildroot/package/mkpimage/ |
| H A D | mkpimage.c | 163 static void branch(uint8_t *branch, uint8_t *dest) in branch() function 165 int offset = dest - branch - 8; /* PC is offset +8 bytes on ARM */ in branch() 167 branch[0] = (offset >> 2) & 0xff; /* instruction uses offset/4 */ in branch() 168 branch[1] = (offset >> 10) & 0xff; in branch() 169 branch[2] = (offset >> 18) & 0xff; in branch() 170 branch[3] = BRANCH_INST; in branch() 199 branch(trampoline, entry); in add_socfpga_header() 220 branch(header->v0.start_vector, entry); in add_socfpga_header()
|
| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A D | jump_label.h | 19 bool branch) in arch_static_branch() argument 28 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch() 36 bool branch) in arch_static_branch_jump() argument 45 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
| /OK3568_Linux_fs/kernel/arch/riscv/include/asm/ |
| H A D | jump_label.h | 18 bool branch) in arch_static_branch() argument 31 : : "i"(&((char *)key)[branch]) : : label); in arch_static_branch() 39 bool branch) in arch_static_branch_jump() argument 52 : : "i"(&((char *)key)[branch]) : : label); in arch_static_branch_jump()
|
| /OK3568_Linux_fs/kernel/arch/parisc/include/asm/ |
| H A D | jump_label.h | 12 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 20 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 27 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 35 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
| /OK3568_Linux_fs/kernel/arch/xtensa/include/asm/ |
| H A D | jump_label.h | 14 bool branch) in arch_static_branch() argument 21 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 29 bool branch) in arch_static_branch_jump() argument 49 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/asm/ |
| H A D | jump_label.h | 11 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 20 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 27 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 36 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
| /OK3568_Linux_fs/kernel/tools/perf/arch/x86/tests/ |
| H A D | insn-x86.c | 99 int op, branch; in test_data_item() local 116 branch = get_branch(dat->expected_branch_str); in test_data_item() 129 if ((int)intel_pt_insn.branch != branch) { in test_data_item() 131 intel_pt_insn.branch, branch, dat->asm_rep); in test_data_item()
|
| /OK3568_Linux_fs/kernel/arch/s390/include/asm/ |
| H A D | jump_label.h | 25 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 33 : : JUMP_LABEL_STATIC_KEY_CONSTRAINT (key), "i" (branch) : : label); in arch_static_branch() 39 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 47 : : JUMP_LABEL_STATIC_KEY_CONSTRAINT (key), "i" (branch) : : label); in arch_static_branch_jump()
|
| /OK3568_Linux_fs/kernel/arch/arm/include/asm/ |
| H A D | jump_label.h | 12 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 19 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 26 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 33 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
| /OK3568_Linux_fs/kernel/arch/arc/include/asm/ |
| H A D | jump_label.h | 32 bool branch) in arch_static_branch() argument 40 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 48 bool branch) in arch_static_branch_jump() argument 56 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|