/openbmc/qemu/tests/fp/ |
H A D | fp-test-log2.c | 25 static void compare(ufloat64 test, ufloat64 real, ufloat64 soft, bool exact) in compare() argument 30 if (real.i == soft.i) { in compare() 33 msb = 63 - __builtin_clzll(real.i ^ soft.i); in compare() 36 if (real.i > soft.i) { in compare() 37 ulp = real.i - soft.i; in compare() 39 ulp = soft.i - real.i; in compare() 51 test.i, test.d, soft.i, soft.d, real.i, real.d); in compare() 57 (int)(soft.i >> 52) - (int)(real.i >> 52)); in compare() 69 ufloat64 test, real, soft; in main() local 78 soft.i = float64_log2(test.i, &qsf); in main() [all …]
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | rfc1201.c | 94 struct arc_rfc1201 *soft = &pkt->soft.rfc1201; in type_trans() local 109 switch (soft->proto) { in type_trans() 138 struct arc_rfc1201 *soft = &pkthdr->soft.rfc1201; in rx() local 150 if (soft->split_flag == 0xFF) { /* Exception Packet */ in rx() 163 soft, sizeof(pkt->soft)); in rx() 165 if (!soft->split_flag) { /* not split */ in rx() 167 soft->split_flag); in rx() 171 in->sequence, soft->split_flag, in rx() 172 soft->sequence); in rx() 173 lp->rfc1201.aborted_seq = soft->sequence; in rx() [all …]
|
H A D | capmode.c | 70 /* up to sizeof(pkt->soft) has already been copied from the card in rx() 77 memcpy(pktbuf, pkthdrbuf, ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto)); in rx() 78 memcpy(pktbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto) + sizeof(int), in rx() 79 pkthdrbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto), in rx() 80 sizeof(struct archdr) - ARC_HDR_SIZE - sizeof(pkt->soft.cap.proto)); in rx() 82 if (length > sizeof(pkt->soft)) in rx() 83 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx() 84 pkt->soft.raw + sizeof(pkt->soft) in rx() 86 length - sizeof(pkt->soft)); in rx() 95 /* Create the ARCnet hard/soft headers for cap mode. [all …]
|
H A D | rfc1051.c | 90 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; in type_trans() local 105 switch (soft->proto) { in type_trans() 146 /* up to sizeof(pkt->soft) has already been copied from the card */ in rx() 148 if (length > sizeof(pkt->soft)) in rx() 149 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx() 150 pkt->soft.raw + sizeof(pkt->soft), in rx() 151 length - sizeof(pkt->soft)); in rx() 160 /* Create the ARCnet hard/soft headers for RFC1051 */ 166 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; in build_header() local 171 soft->proto = ARC_P_IP_RFC1051; in build_header() [all …]
|
H A D | arc-rawmode.c | 2 * Linux ARCnet driver - "raw mode" packet encapsulation (no soft headers) 67 /* up to sizeof(pkt->soft) has already been copied from the card */ in rx() 69 if (length > sizeof(pkt->soft)) in rx() 70 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx() 71 pkt->soft.raw + sizeof(pkt->soft), in rx() 72 length - sizeof(pkt->soft)); in rx() 81 /* Create the ARCnet hard/soft headers for raw mode. 82 * There aren't any soft headers in raw mode - not even the protocol id. 146 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | soft-dirty.rst | 2 Soft-Dirty PTEs 5 The soft-dirty is a bit on a PTE which helps to track which pages a task 8 1. Clear soft-dirty bits from the task's PTEs. 15 3. Read soft-dirty bits from the PTEs. 18 64-bit qword is the soft-dirty one. If set, the respective PTE was 23 when the soft-dirty bit is cleared. So, after this, when the task tries to 25 the soft-dirty bit on the respective PTE. 28 soft-dirty bits clear, the #PF-s that occur after that are processed fast. 30 the kernel does is finds this fact out and puts both writable and soft-dirty 34 there is still a scenario when we can lose soft dirty bits -- a task [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/microblaze/ |
H A D | feature-microblaze-math.inc | 7 TUNEVALID[fpu-soft] = "Software FPU" 11 TUNECONFLICTS[fpu-soft] = "fpu-hard fpu-hard-extended" 12 TUNECONFLICTS[fpu-hard] = "fpu-soft" 13 TUNECONFLICTS[fpu-hard-extended] = "fpu-soft" 16 …any('TUNE_FEATURES', ['multiply-low', 'multiply-high'], ' -mno-xl-soft-mul', ' -mxl-soft-mul', d)}" 19 …= "${@bb.utils.contains('TUNE_FEATURES', 'divide-hard', ' -mno-xl-soft-div', ' -mxl-soft-div', d)}" 21 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', '', '', d)}" 25 # Set target fpu (bitbake known target) to soft or hard (basic or extended) 26 …{@bb.utils.contains_any('TUNE_FEATURES', 'fpu-hard fpu-hard-extended', 'fpu-hard', 'fpu-soft', d)}"
|
/openbmc/linux/drivers/platform/mellanox/ |
H A D | mlxbf-bootctl.h | 11 * the next chip soft reset. This call does not affect the current 14 * will not be enabled after the next soft reset. Non-zero errors are 21 * after the next chip soft reset. Returns the interval as set by 27 * Request that a specific boot action be taken at the next soft 39 * soft reset. Returns the reset action (see below for the parameter 45 * Request that a specific boot action be taken at the soft reset 46 * after the next soft reset. For a specified valid boot mode, the 48 * MLXBF_BOOTCTL_SET_RESET_ACTION after the next chip soft reset; in 53 * MLXBF_BOOTCTL_SET_RESET_ACTION be taken after the next chip soft reset. 54 * This call does not affect the action to be taken at the next soft [all …]
|
/openbmc/linux/arch/x86/math-emu/ |
H A D | fpu_system.h | 77 #define FPU_info (I387->soft.info) 87 #define FPU_lookahead (I387->soft.lookahead) 91 #define no_ip_update (*(u_char *)&(I387->soft.no_update)) 92 #define FPU_rm (*(u_char *)&(I387->soft.rm)) 96 #define access_limit (*(u_char *)&(I387->soft.alimit)) 98 #define partial_status (I387->soft.swd) 99 #define control_word (I387->soft.cwd) 100 #define fpu_tag_word (I387->soft.twd) 101 #define registers (I387->soft.st_space) 102 #define top (I387->soft.ftop) [all …]
|
H A D | fpu_aux.c | 34 void fpstate_init_soft(struct swregs_state *soft) in fpstate_init_soft() argument 37 memset(soft, 0, sizeof(*soft)); in fpstate_init_soft() 38 soft->cwd = 0x037f; in fpstate_init_soft() 39 soft->swd = 0; in fpstate_init_soft() 40 soft->ftop = 0; /* We don't keep top in the status word internally. */ in fpstate_init_soft() 41 soft->twd = 0xffff; in fpstate_init_soft() 44 oaddr = (struct address *)&soft->foo; in fpstate_init_soft() 47 iaddr = (struct address *)&soft->fip; in fpstate_init_soft() 51 soft->no_update = 1; in fpstate_init_soft() 56 fpstate_init_soft(¤t->thread.fpu.fpstate->regs.soft); in finit()
|
/openbmc/openbmc/poky/meta/conf/machine/include/powerpc/ |
H A D | arch-powerpc.inc | 3 # *) Hard/Soft Floating Point 24 TUNEVALID[fpu-soft] = "Use software FPU." 25 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', ' -msoft-float', '', d)}" 26 TARGET_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', 'soft', '', d)}" 33 TUNE_FEATURES:tune-powerpc-nf = "m32 fpu-soft bigendian" 43 TUNE_FEATURES:tune-powerpcle-nf = "m32 fpu-soft"
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | mirror_gre.sh | 45 # unsupported soft device. 47 tunnel_create gt6-soft ip6gretap 2001:db8:4::1 2001:db8:4::2 \ 50 tunnel_create h3-gt6-soft ip6gretap 2001:db8:4::2 2001:db8:4::1 51 ip link set h3-gt6-soft vrf v$h3 52 matchall_sink_create h3-gt6-soft 67 tunnel_destroy h3-gt6-soft 68 tunnel_destroy gt6-soft 175 test_span_failable $should_fail gt6-soft "mirror to gretap w/ soft underlay"
|
/openbmc/u-boot/drivers/misc/ |
H A D | fsl_sec_mon.c | 53 * If initial state is Trusted, Secure or Soft-Fail, then first set in set_sec_mon_state_non_sec() 54 * the Software Security Violation Bit and transition to Soft-Fail in set_sec_mon_state_non_sec() 60 printf("SEC_MON state transitioning to Soft Fail.\n"); in set_sec_mon_state_non_sec() 63 /* polling loop till SEC_MON is in Soft-Fail state */ in set_sec_mon_state_non_sec() 83 * If SSM Soft Fail to Non-Secure State Transition in set_sec_mon_state_non_sec() 124 printf("SEC_MON state transitioning to Soft Fail.\n"); in set_sec_mon_state_soft_fail() 127 /* polling loop till SEC_MON is in Soft-Fail state */ in set_sec_mon_state_soft_fail()
|
/openbmc/linux/drivers/parisc/ |
H A D | power.c | 3 * HP PARISC soft power switch support driver 33 * Support of the soft power switch button may be enabled or disabled at 110 /* soft power switch enabled/disabled */ 182 * the soft-power switch and allows the user to switch off 190 /* re-enable the soft-power switch */ in parisc_panic_event() 200 /* qemu soft power-off function */ 219 /* enable the soft power switch if possible */ in power_init() 227 case 0: printk(KERN_INFO DRIVER_NAME ": Gecko-style soft power switch enabled.\n"); in power_init() 230 case -1UL: printk(KERN_INFO DRIVER_NAME ": Soft power switch support not available.\n"); in power_init() 233 default: printk(KERN_INFO DRIVER_NAME ": Soft power switch at 0x%08lx enabled.\n", in power_init() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_qm_syscalls.c | 232 xfs_qcnt_t soft, in xfs_setqlim_limits() argument 235 /* The hard limit can't be less than the soft limit. */ in xfs_setqlim_limits() 236 if (hard != 0 && hard < soft) { in xfs_setqlim_limits() 238 soft); in xfs_setqlim_limits() 243 res->softlimit = soft; in xfs_setqlim_limits() 246 qlim->soft = soft; in xfs_setqlim_limits() 286 xfs_qcnt_t hard, soft; in xfs_qm_scall_setqlim() local 320 * Make sure that hardlimits are >= soft limits before changing. in xfs_qm_scall_setqlim() 326 * used. Ditto for the default soft and hard limit values (already in xfs_qm_scall_setqlim() 330 * the soft limit. in xfs_qm_scall_setqlim() [all …]
|
/openbmc/openbmc-test-automation/systest/ |
H A D | htx_softbootme_test.robot | 33 Soft Bootme Test 34 [Documentation] Using HTX exerciser soft boot option. 40 # Set up the (soft) bootme iteration (loop) counter. 44 Repeat Keyword ${HTX_LOOP} times Run HTX Soft Bootme Exerciser 50 Run HTX Soft Bootme Exerciser 51 [Documentation] Run HTX Soft Bootme Exerciser. 56 # - Soft bootme (OS Reboot). 82 Run Soft Bootme ${BOOTME_PERIOD}
|
/openbmc/linux/sound/oss/dmasound/ |
H A D | dmasound_q40.c | 14 * [0.3] - put in default hard/soft settings. 66 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law() 123 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law() 127 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_law() 163 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_s8() 200 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_u8() 233 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law() 237 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_law() 276 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_s8() 315 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_u8() [all …]
|
H A D | dmasound_atari.c | 14 * 01/02/2001 [0.3] - put in default hard/soft settings. 159 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ct_law() 165 if (dmasound.soft.stereo) in ata_ct_law() 188 if (dmasound.soft.stereo) in ata_ct_s8() 204 if (!dmasound.soft.stereo) { in ata_ct_u8() 239 if (!dmasound.soft.stereo) { in ata_ct_s16be() 271 if (!dmasound.soft.stereo) { in ata_ct_u16be() 311 if (!dmasound.soft.stereo) { in ata_ct_s16le() 352 if (!dmasound.soft.stereo) { in ata_ct_u16le() 389 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ctx_law() [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | linuxloader.bbclass | 15 …SPKGSFX_BYTE}${MIPSPKGSFX_R6}${MIPSPKGSFX_ENDIAN}${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}" 17 ldso_arch = "powerpc${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}" 29 ldso_arch = "riscv64${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}" 31 ldso_arch = "riscv32${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}" 64 …loader = "${base_libdir}/ld-linux-riscv64-lp64${@['d', ''][d.getVar('TARGET_FPU') == 'soft']}.so.1" 66 …oader = "${base_libdir}/ld-linux-riscv32-ilp32${@['d', ''][d.getVar('TARGET_FPU') == 'soft']}.so.1"
|
/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | keystone-reset.txt | 10 Additionally soft or hard reset can be configured. 26 - ti,soft-reset: Boolean option indicating soft reset. 59 WDT0 or WDT2 is triggered it issues soft reset for SoC. 66 ti,soft-reset;
|
/openbmc/openbmc/poky/meta/recipes-core/images/build-appliance-image/ |
H A D | Yocto_Build_Appliance.vmx | 40 powerType.powerOff = "soft" 41 powerType.powerOn = "soft" 42 powerType.suspend = "soft" 43 powerType.reset = "soft"
|
/openbmc/linux/include/dt-bindings/reset/ |
H A D | realtek,rtd1195.h | 10 /* soft reset 1 */ 40 /* soft reset 2 */ 55 /* soft reset 3 */ 58 /* iso soft reset */
|
/openbmc/u-boot/doc/device-tree-bindings/spi/ |
H A D | soft-spi.txt | 1 Soft SPI 3 The soft SPI bus implementation allows the use of GPIO pins to simulate a 7 The soft SPI node requires the following properties: 27 soft-spi {
|
/openbmc/linux/net/batman-adv/ |
H A D | multicast.c | 59 #include "soft-interface.h" 67 * @bat_priv: the bat priv with all the soft interface information 79 * If the given soft interface has a bridge on top then the refcount 152 * @bat_priv: the bat priv with all the soft interface information 183 * @bat_priv: the bat priv with all the soft interface information 214 * @bat_priv: the bat priv with all the soft interface information 240 * @bat_priv: the bat priv with all the soft interface information 329 * on this kernel on the given soft interface, dev, in 395 * on this kernel on the given soft interface, dev, in 477 * on this kernel on the given soft interface, dev, in [all …]
|
/openbmc/pldm/softoff/ |
H A D | softoff.hpp | 35 * trigger the host soft off,so the pldm-softpoweroff will exit. 49 /** @brief Is the host soft off completed. 90 /** @brief When host soft off completed, stop the timer and 139 /** @brief Failed to send host soft off command flag. 143 /** @brief Host soft off completed flag. 158 * When the host soft off is complete, it sends an platform event message
|