/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_interrupt.S | 3 #define LSBIT(v) ((v) & -(v)) 70 assert eqi, a2, 0x10 /* only EXCM is set for level-1 interrupt */ 81 assert eq, a2, a3 102 assert eq, a2, a3 124 assert eq, a2, a3 143 assert eq, a2, a3 162 assert eq, a2, a3 181 assert eq, a2, a3 198 set_vector glue(level, HIGH_LEVEL_SOFT_LEVEL), 2f 214 assert eq, a2, a3 /* EXCM and INTMASK are set [all …]
|
H A D | test_break.S | 8 #define debug_vector glue(level, XCHAL_DEBUGLEVEL) 17 rsil a2, debug_level - 1 26 assert eq, a2, a3 29 assert eq, a2, a3 32 assert eq, a2, a3 41 rsil a2, debug_level - 1 50 assert eq, a2, a3 53 assert eq, a2, a3 56 assert eq, a2, a3 69 rsil a2, debug_level - 1 [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | ml26124.c | 1 // SPDX-License-Identifier: GPL-2.0-only 53 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7150, 50, 0); 55 static const DECLARE_TLV_DB_SCALE(alclvl, -2250, 150, 0); 56 static const DECLARE_TLV_DB_SCALE(mingain, -1200, 600, 0); 57 static const DECLARE_TLV_DB_SCALE(maxgain, -675, 600, 0); 58 static const DECLARE_TLV_DB_SCALE(boost_vol, -1200, 75, 0); 60 static const char * const ml26124_companding[] = {"16bit PCM", "u-law", 61 "A-law"}; 76 SOC_SINGLE_TLV("EQ Band0 Volume", ML26124_EQ_GAIN_BRAND0, 0, 78 SOC_SINGLE_TLV("EQ Band1 Volume", ML26124_EQ_GAIN_BRAND1, 0, [all …]
|
/openbmc/qemu/scripts/ |
H A D | checkpatch.pl | 5 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 49 $P [OPTION]... [GIT-REV-LIST] 54 -q, --quiet quiet 55 --no-tree run without a qemu tree 56 --no-signoff do not check for 'Signed-off-by' line 57 --patch treat FILE as patchfile 58 --branch treat args as GIT revision list 59 --emacs emacs compile window format 60 --terse one line per report 61 -f, --file treat FILE as regular source file [all …]
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | macro.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * include/asm-arm/macro.h 5 * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 24 * caches are enabled or on a multi-core system. 68 * Branch according to exception level 73 b.eq \el3_label 75 b.eq \el2_label 77 b.eq \el1_label 81 * Branch if current processor is a Cortex-A57 core. 87 cmp \xreg, #0xD07 /* Cortex-A57 MPCore processor. */ [all …]
|
/openbmc/phosphor-mrw-tools/ |
H A D | Util.pm | 16 for my $target (keys %{$targetObj->getAllTargets()}) { 17 if ($targetObj->getType($target) eq "BMC") { 35 my @children = $targetObj->getAllTargetChildren($chip); 38 if ($targetObj->getTargetType($child) eq $unitTargetType) { 54 my @children = $targetObj->getAllTargetChildren($chip); 56 if ($targetObj->getType($child) eq $type) { 74 if($item->{TARGET} eq $targetName) 76 return $item->{OBMC_NAME}; 94 if (!$targetObj->isBadAttribute($item->{TARGET}, "TYPE")) { 95 $fruType = $targetObj->getAttribute($item->{TARGET}, "TYPE"); [all …]
|
/openbmc/linux/Documentation/virt/kvm/devices/ |
H A D | xive.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 - KVM_DEV_TYPE_XIVE POWER9 XIVE Interrupt Controller generation 1 32 - Interrupt Pending Buffer (IPB) 33 - Current Processor Priority (CPPR) 34 - Notification Source Register (NSR) 39 third (operating system) and the fourth (user level) are exposed the 49 3. Device pass-through 51 When a device is passed-through into the guest, the source 61 interrupt of the device being passed-through or the initial IPI ESB 66 helpers in KVM-PPC. [all …]
|
/openbmc/linux/sound/usb/ |
H A D | mixer_us16x08.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 /* define some bias, cause some alsa-mixers wont work with 8 * negative ranges or if mixer-min != 0 18 #define SND_US16X08_KCBIAS(x) (((x)->private_value >> 24) & 0xff) 19 #define SND_US16X08_KCSTEP(x) (((x)->private_value >> 16) & 0xff) 20 #define SND_US16X08_KCMIN(x) (((x)->private_value >> 8) & 0xff) 21 #define SND_US16X08_KCMAX(x) (((x)->private_value >> 0) & 0xff) 57 /* EQ level IDs */ 63 /* EQ frequence IDs */ 69 /* EQ width IDs */ [all …]
|
H A D | mixer_us16x08.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Tascam US-16x08 ALSA driver 10 #include <linux/usb/audio-v2.h> 28 0x01, /* input index (0x01/0x02 eq. left/right) or bus (0x01-0x08) */ 36 0x01, /* output index (0x01-0x08) */ 94 0xf0, /* 0x08: Threshold db (8) (e0 ... 00) (+-0dB -- -32dB) x-32 */ 122 0x04, /* 0x08: EQ set num (0x01..0x04) (LOW, LOWMID, HIGHMID, HIGH)) */ 125 0x0c, /* 0x0b: value dB (0 ... 12) (-12db .. +12db) x-6 */ 128 0x0f, /* 0x0e: value freq (32-47) (1.7kHz..18kHz) */ 131 0x02, /* 0x11: band width (0-6) (Q16-Q0.25) 2^x/4 (EQ xxMID only) */ [all …]
|
/openbmc/linux/scripts/ |
H A D | checkpatch.pl | 2 # SPDX-License-Identifier: GPL-2.0 7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 8 # (c) 2010-2018 Joe Perches <joe@perches.com> 69 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst"; 72 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE 74 my $git_command ='export LANGUAGE=en_US.UTF-8; git'; 88 -q, --quiet quiet 89 -v, --verbose verbose mode 90 --no-tree run without a kernel tree 91 --no-signoff do not check for 'Signed-off-by' line [all …]
|
H A D | dev-needs.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 Usage: $(basename $0) [-c|-d|-m|-f] [filter options] <list of devices> 25 -c lists the compatible string of the dependencies 26 -d lists the driver name of the dependencies that have probed 27 -m lists the module name of the dependencies that have a module 28 -f list the firmware node path of the dependencies 29 -g list the dependencies as edges and nodes for graphviz 30 -t list the dependencies as edges for tsort 33 --allow-no-driver By default dependencies that don't have a driver 40 --exclude-devlinks Don't follow device links when tracking probe [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | fan-board-efuse-fault | 10 "xyz.openbmc_project.Logging.Entry.Level.Error" 1 "FAULT" "$COMBINED_INFO" 15 # if $1 == 0, fan board 0 IOE is at i2c-30 0x22. 16 # if $1 == 1, fan board 1 IOE is at i2c-31 0x22. 18 if [ "$1" -eq 0 ]; then 22 elif [ "$1" -eq 1 ]; then 33 read -r INT_BYTE <<< "$(i2ctransfer -f -y $i2c_bus w1@$ioe_addr 0 r1)" 39 while [ $count -lt $EFUSE_RANGE ] 43 if [ $fault -eq 0 ]; then
|
/openbmc/u-boot/scripts/ |
H A D | checkpatch.pl | 5 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 71 -q, --quiet quiet 72 --no-tree run without a kernel tree 73 --no-signoff do not check for 'Signed-off-by' line 74 --patch treat FILE as patchfile (default) 75 --emacs emacs compile window format 76 --terse one line per report 77 --showfile emit diffed file position, not input file position 78 -g, --git treat FILE as a single commit or git revision range 86 <rev>-<count> [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Copyright (C) 1998-2003, 2005 Hewlett-Packard Co 8 * David Mosberger-Tang <davidm@hpl.hp.com> 9 * Copyright (C) 1999, 2002-2003 46 #include <asm/asm-offsets.h> 75 sxt4 r8=r8 // return 64-bit result 84 * security sensitive state (e.g., if current->mm->dumpable is zero). However, 147 mov out2=16 // stacksize (compensates for 16-byte scratch area) 160 * prev_task <- ia64_switch_to(struct task_struct *next) 179 cmp.eq p7,p6=r25,in0 [all …]
|
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-phosphor/sensors/dbus-sensors/ |
H A D | critical-leak-handler | 3 if [ $# -ne 1 ]; then 24 if [ $SUPPORTED_LEAK -eq 0 ]; then 38 if [ ! -f "$file" ]; then 49 curl -f -s -o /dev/null \ 50 --cacert /var/facebook/rootcanal/rc_digicert_ca.pem \ 51 --cert /mnt/data/etc/x509_highpriv_host.cert \ 52 --key /mnt/data/etc/x509_highpriv_host.key \ 53 -X POST "https://${RACKPOWER_HOSTNAME}/${RACKPOWER_URI}" \ 54 --data '{"ResetType": "ForceOff"}' \ 55 --resolve "${RACKPOWER_HOSTNAME}:443:${RACKPOWER_IP}" [all …]
|
/openbmc/linux/sound/pci/au88x0/ |
H A D | au88x0_eq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Aureal Vortex Hardware EQ control/access. 13 * - Debug (testing) 14 * - Test peak visualization support. 22 The Aureal Hardware EQ is found on AU8810 and AU8830 chips only. 39 static void vortex_EqHw_SetTimeConsts(vortex_t * vortex, u16 gain, u16 level) in vortex_EqHw_SetTimeConsts() argument 41 hwwrite(vortex->mmio, 0x2b3c4, gain); in vortex_EqHw_SetTimeConsts() 42 hwwrite(vortex->mmio, 0x2b3c8, level); in vortex_EqHw_SetTimeConsts() 47 /* -(-32768) -> -32768 so we do -(-32768) -> 32767 to make the result positive */ in sign_invert() 48 if (a == (u16)-32768) in sign_invert() [all …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/event/ |
H A D | event-enable.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event tracing - enable/disable with event level files 21 count=`cat trace | grep sched_switch | wc -l` 22 if [ $count -eq 0 ]; then 32 count=`cat trace | grep sched_switch | wc -l` 33 if [ $count -eq 0 ]; then 43 count=`cat trace | grep sched_switch | wc -l` 44 if [ $count -ne 0 ]; then
|
H A D | toplevel-enable.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event tracing - enable/disable with top level files 22 count=`head -n 128 trace | grep -v ^# | wc -l` 23 if [ $count -eq 0 ]; then 35 count=`head -n 128 trace | grep -v ^# | wc -l` 36 if [ $count -eq 0 ]; then 46 count=`cat trace | grep -v ^# | wc -l` 47 if [ $count -ne 0 ]; then
|
/openbmc/qemu/include/hw/ppc/ |
H A D | xive2_regs.h | 4 * Copyright (c) 2019-2024, IBM Corporation. 6 * SPDX-License-Identifier: GPL-2.0-or-later 43 #define EAS2_END_BLOCK PPC_BITMASK(4, 7) /* Destination EQ block# */ 44 #define EAS2_END_INDEX PPC_BITMASK(8, 31) /* Destination EQ index */ 46 #define EAS2_END_DATA PPC_BITMASK(33, 63) /* written to the EQ */ 49 #define xive2_eas_is_valid(eas) (be64_to_cpu((eas)->w) & EAS2_VALID) 50 #define xive2_eas_is_masked(eas) (be64_to_cpu((eas)->w) & EAS2_MASKED) 111 #define xive2_end_is_valid(end) (be32_to_cpu((end)->w0) & END2_W0_VALID) 112 #define xive2_end_is_enqueue(end) (be32_to_cpu((end)->w0) & END2_W0_ENQUEUE) 114 (be32_to_cpu((end)->w0) & END2_W0_UCOND_NOTIFY) [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | cpu_setup_6xx.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * This file contains low level CPU setup functions. 13 #include <asm/asm-offsets.h> 16 #include <asm/feature-fixups.h> 100 bne 1f /* don't invalidate the D-cache */ 217 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 218 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq 371 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq 373 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq 374 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq [all …]
|
/openbmc/linux/Documentation/trace/postprocess/ |
H A D | trace-pagealloc-postprocess.pl | 4 # to extract some high-level information on what is going on. The accuracy of the parser 7 # Example usage: trace-pagealloc-postprocess.pl < /sys/kernel/tracing/trace_pipe 9 # --prepend-parent Report on the parent proc and PID 10 # --read-procstat If the trace lacks process info, get it from /proc 11 # --ignore-pid Aggregate processes of the same name together 31 # High-level events extrapolated from tracepoints 52 if ($current_time - 2 > $sigint_received) { 53 print "SIGINT received, report pending. Hit ctrl-c again to exit\n"; 74 'ignore-pid' => \$opt_ignorepid, 75 'read-procstat' => \$opt_read_procstat, [all …]
|
/openbmc/linux/arch/sh/lib/ |
H A D | checksum.S | 1 /* SPDX-License-Identifier: GPL-2.0+ 7 * interface as the means of communication with the user level. 44 * is aligned on either a 2-byte or 4-byte boundary. We get at 45 * least a twofold speedup on 486 and Pentium if it is 4-byte aligned. 46 * Fortunately, it is easy to convert 2-byte alignment to 4-byte 54 add #-2, r5 ! Alignment uses up two bytes. 68 mov #-5, r0 94 cmp/eq #1, r0 111 cmp/eq #1, r0 113 addc r5, r6 ! r5==0 here, so it means add carry-bit [all …]
|
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libtest/ |
H A D | libtest-deep-perl_1.204.bb | 1 SUMMARY = "Test::Deep - Extremely flexible deep comparison" 8 by going through each level, ensuring that the values match, that arrays and \ 14 simple exact comparisons. With strings, the \'eq\' operator checks that 2 \ 17 about how it should look, \'eq\' is no good and you must use pattern matching \ 23 HOMEPAGE = "http://github.com/rjbs/Test-Deep/" 25 LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 28 SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Deep-${PV}.tar.gz" 31 UPSTREAM_CHECK_REGEX = "Test\-Deep\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" 33 S = "${WORKDIR}/Test-Deep-${PV}" 35 inherit cpan ptest-perl [all …]
|
/openbmc/linux/security/selinux/ss/ |
H A D | constraint.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * beyond the type-based rules in `te' or the role-based 36 #define CEXPR_L1L2 32 /* low level 1 vs. low level 2 */ 37 #define CEXPR_L1H2 64 /* low level 1 vs. high level 2 */ 38 #define CEXPR_H1L2 128 /* high level 1 vs. low level 2 */ 39 #define CEXPR_H1H2 256 /* high level 1 vs. high level 2 */ 40 #define CEXPR_L1H1 512 /* low level 1 vs. high level 1 */ 41 #define CEXPR_L2H2 1024 /* low level 2 vs. high level 2 */ 44 #define CEXPR_EQ 1 /* == or eq */
|
/openbmc/qemu/hw/intc/ |
H A D | spapr_xive_kvm.c | 4 * Copyright (c) 2017-2019, IBM Corporation. 7 * COPYING file in the top-level directory. 12 #include "qemu/error-report.h" 46 if (enabled_cpu->vcpu_id == vcpu_id) { in kvm_cpu_is_enabled() 59 enabled_cpu->vcpu_id = vcpu_id; in kvm_cpu_enable() 79 SpaprXive *xive = SPAPR_XIVE(tctx->xptr); in kvmppc_xive_cpu_set_state() 83 assert(xive->fd != -1); in kvmppc_xive_cpu_set_state() 86 state[0] = *((uint64_t *) &tctx->regs[TM_QW1_OS]); in kvmppc_xive_cpu_set_state() 88 ret = kvm_set_one_reg(tctx->cs, KVM_REG_PPC_VP_STATE, state); in kvmppc_xive_cpu_set_state() 90 error_setg_errno(errp, -ret, in kvmppc_xive_cpu_set_state() [all …]
|