Home
last modified time | relevance | path

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

12345678910

/linux-6.6.21/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.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 …]
/linux-6.6.21/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.6.21/Documentation/admin-guide/mm/
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 …]
/linux-6.6.21/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.6.21/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.6.21/Documentation/mm/
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 …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/arch/mips/kernel/
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()
/linux-6.6.21/Documentation/devicetree/bindings/usb/
Dhisilicon,histb-xhci.txt19 "soft": for soft reset
42 reset-names = "soft";
/linux-6.6.21/include/uapi/linux/
Drfkill.h97 __u8 soft; member
120 __u8 soft; member
/linux-6.6.21/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.6.21/Documentation/devicetree/bindings/pci/
Dhisilicon-histb-pcie.txt31 "soft": soft reset;
66 reset-names = "soft", "sys", "bus";
/linux-6.6.21/arch/x86/include/asm/fpu/
Dapi.h126 extern void fpstate_init_soft(struct swregs_state *soft);
128 static inline void fpstate_init_soft(struct swregs_state *soft) {} in fpstate_init_soft() argument
/linux-6.6.21/include/linux/
Dhrtimer.h430 ktime_t soft, hard; in hrtimer_start_expires() local
431 soft = hrtimer_get_softexpires(timer); in hrtimer_start_expires()
433 delta = ktime_to_ns(ktime_sub(hard, soft)); in hrtimer_start_expires()
434 hrtimer_start_range_ns(timer, soft, delta, mode); in hrtimer_start_expires()
/linux-6.6.21/kernel/time/
Dposix-cpu-timers.c902 unsigned long soft; in check_thread_timers() local
916 soft = task_rlimit(tsk, RLIMIT_RTTIME); in check_thread_timers()
917 if (soft != RLIM_INFINITY) { in check_thread_timers()
928 if (check_rlimit(rttime, soft, SIGXCPU, true, false)) { in check_thread_timers()
929 soft += USEC_PER_SEC; in check_thread_timers()
930 tsk->signal->rlim[RLIMIT_RTTIME].rlim_cur = soft; in check_thread_timers()
980 unsigned long soft; in check_process_timers() local
1013 soft = task_rlimit(tsk, RLIMIT_CPU); in check_process_timers()
1014 if (soft != RLIM_INFINITY) { in check_process_timers()
1018 u64 softns = (u64)soft * NSEC_PER_SEC; in check_process_timers()
[all …]

12345678910