Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/drivers/net/arcnet/
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 …]
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 …]
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()
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()
Darcnet.c703 struct arc_rfc1201 *soft; in arcnet_send_packet() local
714 soft = &pkt->soft.rfc1201; in arcnet_send_packet()
715 proto = arc_proto_map[soft->proto]; in arcnet_send_packet()
1127 struct arc_rfc1201 *soft; in arcnet_rx() local
1130 soft = &rxdata.pkt.soft.rfc1201; in arcnet_rx()
1142 if (sizeof(rxdata.pkt.soft) <= length) { in arcnet_rx()
1143 lp->hw.copy_from_card(dev, bufnum, ofs, soft, sizeof(rxdata.pkt.soft)); in arcnet_rx()
1145 memset(&rxdata.pkt.soft, 0, sizeof(rxdata.pkt.soft)); in arcnet_rx()
1146 lp->hw.copy_from_card(dev, bufnum, ofs, soft, length); in arcnet_rx()
1156 if (arc_proto_map[soft->proto]->is_ip) { in arcnet_rx()
[all …]
/linux-6.1.9/arch/x86/math-emu/
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 …]
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()
/linux-6.1.9/Documentation/admin-guide/mm/
Dsoft-dirty.rst7 The soft-dirty is a bit on a PTE which helps to track which pages a task
10 1. Clear soft-dirty bits from the task's PTEs.
17 3. Read soft-dirty bits from the PTEs.
20 64-bit qword is the soft-dirty one. If set, the respective PTE was
25 when the soft-dirty bit is cleared. So, after this, when the task tries to
27 the soft-dirty bit on the respective PTE.
30 soft-dirty bits clear, the #PF-s that occur after that are processed fast.
32 the kernel does is finds this fact out and puts both writable and soft-dirty
36 there is still a scenario when we can lose soft dirty bits -- a task
39 including soft dirty bits. To notify user space application about such
[all …]
/linux-6.1.9/sound/oss/dmasound/
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 …]
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 …]
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 …]
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()
/linux-6.1.9/fs/xfs/
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 …]
/linux-6.1.9/Documentation/mm/
Darch_pgtable_helpers.rst39 | pte_soft_dirty | Tests a soft dirty PTE |
41 | pte_swp_soft_dirty | Tests a soft dirty swapped PTE |
59 | pte_mksoft_dirty | Creates a soft dirty PTE |
61 | pte_clear_soft_dirty | Clears a soft dirty PTE |
63 | pte_swp_mksoft_dirty | Creates a soft dirty swapped PTE |
65 | pte_swp_clear_soft_dirty | Clears a soft dirty swapped PTE |
111 | pmd_soft_dirty | Tests a soft dirty PMD |
113 | pmd_swp_soft_dirty | Tests a soft dirty swapped PMD |
131 | pmd_mksoft_dirty | Creates a soft dirty PMD |
133 | pmd_clear_soft_dirty | Clears a soft dirty PMD |
[all …]
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
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"
/linux-6.1.9/Documentation/devicetree/bindings/power/reset/
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;
/linux-6.1.9/drivers/watchdog/
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()
/linux-6.1.9/arch/mips/kernel/
Delf.c52 bool soft; member
220 prog_req.soft = interp_req.soft && prog_req.soft; in arch_check_elf()
260 !prog_req.fr1 && !prog_req.single && !prog_req.soft) in arch_check_elf()
/linux-6.1.9/Documentation/devicetree/bindings/usb/
Dhisilicon,histb-xhci.txt19 "soft": for soft reset
42 reset-names = "soft";
/linux-6.1.9/include/uapi/linux/
Drfkill.h97 __u8 soft; member
120 __u8 soft; member
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-class-rfkill37 Description: Whether the soft blocked state is initialised from non-volatile
53 "soft" interfaces should be preferred, since it is not possible
54 to express the 'soft and hard block' state of the rfkill driver
82 What: /sys/class/rfkill/rfkill[0-9]+/soft
/linux-6.1.9/Documentation/devicetree/bindings/pci/
Dhisilicon-histb-pcie.txt31 "soft": soft reset;
66 reset-names = "soft", "sys", "bus";
/linux-6.1.9/arch/x86/include/asm/fpu/
Dapi.h117 extern void fpstate_init_soft(struct swregs_state *soft);
119 static inline void fpstate_init_soft(struct swregs_state *soft) {} in fpstate_init_soft() argument
/linux-6.1.9/include/linux/
Dhrtimer.h428 ktime_t soft, hard; in hrtimer_start_expires() local
429 soft = hrtimer_get_softexpires(timer); in hrtimer_start_expires()
431 delta = ktime_to_ns(ktime_sub(hard, soft)); in hrtimer_start_expires()
432 hrtimer_start_range_ns(timer, soft, delta, mode); in hrtimer_start_expires()
/linux-6.1.9/kernel/time/
Dposix-cpu-timers.c901 unsigned long soft; in check_thread_timers() local
915 soft = task_rlimit(tsk, RLIMIT_RTTIME); in check_thread_timers()
916 if (soft != RLIM_INFINITY) { in check_thread_timers()
927 if (check_rlimit(rttime, soft, SIGXCPU, true, false)) { in check_thread_timers()
928 soft += USEC_PER_SEC; in check_thread_timers()
929 tsk->signal->rlim[RLIMIT_RTTIME].rlim_cur = soft; in check_thread_timers()
979 unsigned long soft; in check_process_timers() local
1012 soft = task_rlimit(tsk, RLIMIT_CPU); in check_process_timers()
1013 if (soft != RLIM_INFINITY) { in check_process_timers()
1017 u64 softns = (u64)soft * NSEC_PER_SEC; in check_process_timers()
[all …]

123456789