/linux/drivers/net/arcnet/ |
H A D | rfc1201.c | 95 struct arc_rfc1201 *soft = &pkt->soft.rfc1201; in type_trans() local 110 switch (soft->proto) { in type_trans() 139 struct arc_rfc1201 *soft = &pkthdr->soft.rfc1201; in rx() local 151 if (soft->split_flag == 0xFF) { /* Exception Packet */ in rx() 164 soft, sizeof(pkt->soft)); in rx() 166 if (!soft->split_flag) { /* not split */ in rx() 168 soft->split_flag); in rx() 172 in->sequence, soft->split_flag, in rx() 173 soft->sequence); in rx() 174 lp->rfc1201.aborted_seq = soft->sequence; in rx() [all …]
|
H A D | capmode.c | 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() 107 *((int *)&pkt->soft.cap.cookie[0])); in build_header() 148 *((int *)&pkt->soft.cap.cookie[0])); in prepare_tx() [all …]
|
H A D | rfc1051.c | 91 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; in type_trans() local 106 switch (soft->proto) { in type_trans() 149 if (length > sizeof(pkt->soft)) in rx() 150 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx() 151 pkt->soft.raw + sizeof(pkt->soft), in rx() 152 length - sizeof(pkt->soft)); in rx() 167 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; in build_header() local 172 soft->proto = ARC_P_IP_RFC1051; in build_header() 175 soft->proto = ARC_P_ARP_RFC1051; in build_header() 238 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
|
H A D | arc-rawmode.c | 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() 146 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
|
H A D | arcnet.c | 701 struct arc_rfc1201 *soft; in arcnet_send_packet() local 712 soft = &pkt->soft.rfc1201; in arcnet_send_packet() 713 proto = arc_proto_map[soft->proto]; in arcnet_send_packet() 1125 struct arc_rfc1201 *soft; in arcnet_rx() local 1128 soft = &rxdata.pkt.soft.rfc1201; in arcnet_rx() 1140 if (sizeof(rxdata.pkt.soft) <= length) { in arcnet_rx() 1141 lp->hw.copy_from_card(dev, bufnum, ofs, soft, sizeof(rxdata.pkt.soft)); in arcnet_rx() 1143 memset(&rxdata.pkt.soft, 0, sizeof(rxdata.pkt.soft)); in arcnet_rx() 1144 lp->hw.copy_from_card(dev, bufnum, ofs, soft, length); in arcnet_rx() 1154 if (arc_proto_map[soft->proto]->is_ip) { in arcnet_rx() [all …]
|
/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()
|
/linux/Documentation/admin-guide/mm/ |
H A D | soft-dirty.rst | 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 37 including soft dirty bits. To notify user space application about such [all …]
|
/linux/sound/oss/dmasound/ |
H A D | dmasound_atari.c | 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() 393 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_law() [all …]
|
H A D | dmasound_q40.c | 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() 424 if (dmasound.soft.stereo) in Q40PlayNextFrame() [all …]
|
H A D | dmasound_core.c | 241 return dmasound.soft.speed; in sound_set_speed() 252 dmasound.soft.speed = speed; in sound_set_speed() 255 dmasound.dsp.speed = dmasound.soft.speed; in sound_set_speed() 257 return dmasound.soft.speed; in sound_set_speed() 263 return dmasound.soft.stereo; in sound_set_stereo() 267 dmasound.soft.stereo = stereo; in sound_set_stereo() 280 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 …]
|
/linux/fs/xfs/ |
H A D | xfs_qm_syscalls.c | 231 xfs_qcnt_t soft, in xfs_setqlim_limits() argument 235 if (hard != 0 && hard < soft) { in xfs_setqlim_limits() 237 soft); in xfs_setqlim_limits() 242 res->softlimit = soft; in xfs_setqlim_limits() 245 qlim->soft = soft; in xfs_setqlim_limits() 285 xfs_qcnt_t hard, soft; in xfs_qm_scall_setqlim() local 336 soft = (newlim->d_fieldmask & QC_SPC_SOFT) ? in xfs_qm_scall_setqlim() 342 if (xfs_setqlim_limits(mp, res, qlim, hard, soft, "blk")) in xfs_qm_scall_setqlim() 351 soft = (newlim->d_fieldmask & QC_RT_SPC_SOFT) ? in xfs_qm_scall_setqlim() 357 xfs_setqlim_limits(mp, res, qlim, hard, soft, "rtb"); in xfs_qm_scall_setqlim() [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | mirror_gre.sh | 54 tunnel_create gt6-soft ip6gretap 2001:db8:4::1 2001:db8:4::2 \ 57 tunnel_create h3-gt6-soft ip6gretap 2001:db8:4::2 2001:db8:4::1 58 ip link set h3-gt6-soft vrf v$h3 59 matchall_sink_create h3-gt6-soft 74 tunnel_destroy h3-gt6-soft 75 tunnel_destroy gt6-soft 179 test_span_failable gt6-soft "mirror to gretap w/ soft underlay"
|
/linux/Documentation/mm/ |
H A D | arch_pgtable_helpers.rst | 35 | pte_soft_dirty | Tests a soft dirty PTE | 37 | 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 | 109 | pmd_soft_dirty | Tests a soft dirty PMD | 111 | pmd_swp_soft_dirty | Tests a soft dirty swapped PMD | 133 | pmd_mksoft_dirty | Creates a soft dirty PMD | 135 | pmd_clear_soft_dirty | Clears a soft dirty PMD | [all …]
|
/linux/drivers/watchdog/ |
H A D | bcm47xx_wdt.c | 180 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/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;
|
/linux/arch/mips/kernel/ |
H A D | elf.c | 53 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/Documentation/devicetree/bindings/usb/ |
H A D | hisilicon,histb-xhci.txt | 19 "soft": for soft reset 42 reset-names = "soft";
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-class-rfkill | 37 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/include/uapi/linux/ |
H A D | rfkill.h | 97 __u8 soft; member 120 __u8 soft; member
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | hisilicon-histb-pcie.txt | 31 "soft": soft reset; 66 reset-names = "soft", "sys", "bus";
|
/linux/include/linux/ |
H A D | hrtimer.h | 270 ktime_t soft, hard; in hrtimer_start_expires() local 271 soft = hrtimer_get_softexpires(timer); in hrtimer_start_expires() 273 delta = ktime_to_ns(ktime_sub(hard, soft)); in hrtimer_start_expires() 274 hrtimer_start_range_ns(timer, soft, delta, mode); in hrtimer_start_expires()
|
/linux/kernel/time/ |
H A D | posix-cpu-timers.c | 870 unsigned long soft; in check_thread_timers() local 884 soft = task_rlimit(tsk, RLIMIT_RTTIME); in check_thread_timers() 885 if (soft != RLIM_INFINITY) { in check_thread_timers() 896 if (check_rlimit(rttime, soft, SIGXCPU, true, false)) { in check_thread_timers() 897 soft += USEC_PER_SEC; in check_thread_timers() 898 tsk->signal->rlim[RLIMIT_RTTIME].rlim_cur = soft; in check_thread_timers() 948 unsigned long soft; in check_process_timers() local 981 soft = task_rlimit(tsk, RLIMIT_CPU); in check_process_timers() 982 if (soft != RLIM_INFINITY) { in check_process_timers() 986 u64 softns = (u64)soft * NSEC_PER_SEC; in check_process_timers() [all …]
|
/linux/arch/x86/include/asm/fpu/ |
H A D | api.h | 126 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/Documentation/devicetree/bindings/reset/ |
H A D | img,pistachio-reset.txt | 5 disable individual IP blocks within the Pistachio SoC using "soft reset" 8 The actual action taken when soft reset is asserted is hardware dependent.
|