Home
last modified time | relevance | path

Searched refs:soft (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/openbmc/linux/drivers/net/arcnet/
H A Drfc1201.c94 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 Dcapmode.c77 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()
107 *((int *)&pkt->soft.cap.cookie[0])); in build_header()
148 *((int *)&pkt->soft.cap.cookie[0])); in prepare_tx()
[all …]
H A Drfc1051.c90 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; in type_trans() local
105 switch (soft->proto) { in type_trans()
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()
166 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; in build_header() local
171 soft->proto = ARC_P_IP_RFC1051; in build_header()
174 soft->proto = ARC_P_ARP_RFC1051; in build_header()
237 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
H A Darc-rawmode.c69 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()
146 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
H A Darcnet.c699 struct arc_rfc1201 *soft; in arcnet_send_packet() local
710 soft = &pkt->soft.rfc1201; in arcnet_send_packet()
711 proto = arc_proto_map[soft->proto]; in arcnet_send_packet()
1123 struct arc_rfc1201 *soft; in arcnet_rx() local
1126 soft = &rxdata.pkt.soft.rfc1201; in arcnet_rx()
1138 if (sizeof(rxdata.pkt.soft) <= length) { in arcnet_rx()
1139 lp->hw.copy_from_card(dev, bufnum, ofs, soft, sizeof(rxdata.pkt.soft)); in arcnet_rx()
1141 memset(&rxdata.pkt.soft, 0, sizeof(rxdata.pkt.soft)); in arcnet_rx()
1142 lp->hw.copy_from_card(dev, bufnum, ofs, soft, length); in arcnet_rx()
1152 if (arc_proto_map[soft->proto]->is_ip) { in arcnet_rx()
[all …]
/openbmc/qemu/tests/fp/
H A Dfp-test-log2.c25 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/arch/x86/math-emu/
H A Dfpu_system.h77 #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 Dfpu_aux.c34 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(&current->thread.fpu.fpstate->regs.soft); in finit()
/openbmc/openbmc/poky/meta/conf/machine/include/microblaze/
H A Dfeature-microblaze-math.inc7 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/Documentation/admin-guide/mm/
H A Dsoft-dirty.rst5 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
37 including soft dirty bits. To notify user space application about such
[all …]
/openbmc/linux/sound/oss/dmasound/
H A Ddmasound_atari.c159 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()
393 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_law()
[all …]
H A Ddmasound_q40.c66 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()
424 if (dmasound.soft.stereo) in Q40PlayNextFrame()
[all …]
H A Ddmasound_core.c240 return dmasound.soft.speed; in sound_set_speed()
251 dmasound.soft.speed = speed; in sound_set_speed()
254 dmasound.dsp.speed = dmasound.soft.speed; in sound_set_speed()
256 return dmasound.soft.speed; in sound_set_speed()
262 return dmasound.soft.stereo; in sound_set_stereo()
266 dmasound.soft.stereo = stereo; in sound_set_stereo()
279 switch (dmasound.soft.format) { in sound_copy_translate()
487 (dmasound.soft.size * (dmasound.soft.stereo+1) ) ; in sq_setup()
496 (dmasound.soft.size * (dmasound.soft.stereo+1) ) ; in sq_setup()
499 sq->block_size /= dmasound.soft.speed ; in sq_setup()
[all …]
H A Ddmasound_paula.c162 if (!dmasound.soft.stereo) { in ami_ct_s8()
196 if (!dmasound.soft.stereo) { \
249 if (!dmasound.soft.stereo) { \
364 if (dmasound.soft.speed) in AmiInit()
365 period = amiga_colorclock/dmasound.soft.speed-1; in AmiInit()
368 dmasound.hard = dmasound.soft; in AmiInit()
393 return dmasound.soft.format; in AmiSetFormat()
411 dmasound.soft.format = format; in AmiSetFormat()
412 dmasound.soft.size = size; in AmiSetFormat()
415 dmasound.dsp.size = dmasound.soft.size; in AmiSetFormat()
/openbmc/openbmc/poky/meta/conf/machine/include/powerpc/
H A Darch-powerpc.inc24 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/fs/xfs/
H A Dxfs_qm_syscalls.c232 xfs_qcnt_t soft, in xfs_setqlim_limits() argument
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
337 soft = (newlim->d_fieldmask & QC_SPC_SOFT) ? in xfs_qm_scall_setqlim()
343 if (xfs_setqlim_limits(mp, res, qlim, hard, soft, "blk")) in xfs_qm_scall_setqlim()
352 soft = (newlim->d_fieldmask & QC_RT_SPC_SOFT) ? in xfs_qm_scall_setqlim()
358 xfs_setqlim_limits(mp, res, qlim, hard, soft, "rtb"); in xfs_qm_scall_setqlim()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dmirror_gre.sh47 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/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst37 | pte_soft_dirty | Tests a soft dirty PTE |
39 | pte_swp_soft_dirty | Tests a soft dirty swapped PTE |
61 | pte_mksoft_dirty | Creates a soft dirty PTE |
63 | pte_clear_soft_dirty | Clears a soft dirty PTE |
65 | pte_swp_mksoft_dirty | Creates a soft dirty swapped PTE |
67 | pte_swp_clear_soft_dirty | Clears a soft dirty swapped PTE |
113 | pmd_soft_dirty | Tests a soft dirty PMD |
115 | pmd_swp_soft_dirty | Tests a soft dirty swapped PMD |
137 | pmd_mksoft_dirty | Creates a soft dirty PMD |
139 | pmd_clear_soft_dirty | Clears a soft dirty PMD |
[all …]
/openbmc/openbmc/poky/meta/recipes-core/images/build-appliance-image/
H A DYocto_Build_Appliance.vmx40 powerType.powerOff = "soft"
41 powerType.powerOn = "soft"
42 powerType.suspend = "soft"
43 powerType.reset = "soft"
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dlinuxloader.bbclass15 …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/drivers/watchdog/
H A Dbcm47xx_wdt.c180 bool soft; in bcm47xx_wdt_probe() local
186 soft = wdt->max_timer_ms < WDT_SOFTTIMER_THRESHOLD * 1000; in bcm47xx_wdt_probe()
188 if (soft) { in bcm47xx_wdt_probe()
211 soft ? ", Software Timer" : ""); in bcm47xx_wdt_probe()
215 if (soft) in bcm47xx_wdt_probe()
/openbmc/linux/Documentation/devicetree/bindings/power/reset/
H A Dkeystone-reset.txt10 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/linux/arch/mips/kernel/
H A Delf.c53 bool soft; member
221 prog_req.soft = interp_req.soft && prog_req.soft; in arch_check_elf()
261 !prog_req.fr1 && !prog_req.single && !prog_req.soft) in arch_check_elf()
/openbmc/u-boot/doc/device-tree-bindings/spi/
H A Dsoft-spi.txt3 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/phosphor-fan-presence/docs/monitor/
H A Dpower_off_config.md12 - `type` - ["hard", "soft", "epow"]
14 - "soft" - Perform an orderly shutdown requesting that the host OS power off
27 ### "hard" & "soft" `type` power offs
67 "type": "soft",

12345678910>>...13