/Linux-v4.19/drivers/char/ |
D | mbcs.c | 202 static inline int mbcs_getdma_start(struct mbcs_soft *soft) in mbcs_getdma_start() argument 209 mmr_base = soft->mmr_base; in mbcs_getdma_start() 210 gdma = &soft->getdma; in mbcs_getdma_start() 242 static inline int mbcs_putdma_start(struct mbcs_soft *soft) in mbcs_putdma_start() argument 249 mmr_base = soft->mmr_base; in mbcs_putdma_start() 250 pdma = &soft->putdma; in mbcs_putdma_start() 282 static inline int mbcs_algo_start(struct mbcs_soft *soft) in mbcs_algo_start() argument 284 struct algoblock *algo_soft = &soft->algo; in mbcs_algo_start() 285 void *mmr_base = soft->mmr_base; in mbcs_algo_start() 288 if (mutex_lock_interruptible(&soft->algolock)) in mbcs_algo_start() [all …]
|
/Linux-v4.19/drivers/net/arcnet/ |
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 …]
|
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 …]
|
D | rfc1051.c | 90 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()
|
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()
|
D | arcnet.c | 653 struct arc_rfc1201 *soft; in arcnet_send_packet() local 664 soft = &pkt->soft.rfc1201; in arcnet_send_packet() 665 proto = arc_proto_map[soft->proto]; in arcnet_send_packet() 1067 struct arc_rfc1201 *soft; in arcnet_rx() local 1070 soft = &pkt.soft.rfc1201; in arcnet_rx() 1082 if (sizeof(pkt.soft) <= length) { in arcnet_rx() 1083 lp->hw.copy_from_card(dev, bufnum, ofs, soft, sizeof(pkt.soft)); in arcnet_rx() 1085 memset(&pkt.soft, 0, sizeof(pkt.soft)); in arcnet_rx() 1086 lp->hw.copy_from_card(dev, bufnum, ofs, soft, length); in arcnet_rx() 1096 if (arc_proto_map[soft->proto]->is_ip) { in arcnet_rx() [all …]
|
/Linux-v4.19/arch/ia64/sn/pci/pcibr/ |
D | pcibr_provider.c | 26 sal_pcibr_slot_enable(struct pcibus_info *soft, int device, void *resp, in sal_pcibr_slot_enable() argument 36 segment = soft->pbi_buscommon.bs_persist_segment; in sal_pcibr_slot_enable() 37 busnum = soft->pbi_buscommon.bs_persist_busnum; in sal_pcibr_slot_enable() 46 sal_pcibr_slot_disable(struct pcibus_info *soft, int device, int action, in sal_pcibr_slot_disable() argument 56 segment = soft->pbi_buscommon.bs_persist_segment; in sal_pcibr_slot_disable() 57 busnum = soft->pbi_buscommon.bs_persist_busnum; in sal_pcibr_slot_disable() 65 static int sal_pcibr_error_interrupt(struct pcibus_info *soft) in sal_pcibr_error_interrupt() argument 73 segment = soft->pbi_buscommon.bs_persist_segment; in sal_pcibr_error_interrupt() 74 busnum = soft->pbi_buscommon.bs_persist_busnum; in sal_pcibr_error_interrupt() 105 struct pcibus_info *soft = arg; in pcibr_error_intr_handler() local [all …]
|
/Linux-v4.19/arch/x86/math-emu/ |
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 …]
|
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.state.soft); in finit()
|
/Linux-v4.19/Documentation/admin-guide/mm/ |
D | soft-dirty.rst | 7 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-v4.19/sound/oss/dmasound/ |
D | dmasound_q40.c | 65 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law() 122 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law() 126 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_law() 162 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_s8() 199 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_u8() 232 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law() 236 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_law() 275 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_s8() 314 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_u8() 423 if (dmasound.soft.stereo) in Q40PlayNextFrame() [all …]
|
D | dmasound_atari.c | 158 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ct_law() 164 if (dmasound.soft.stereo) in ata_ct_law() 187 if (dmasound.soft.stereo) in ata_ct_s8() 203 if (!dmasound.soft.stereo) { in ata_ct_u8() 238 if (!dmasound.soft.stereo) { in ata_ct_s16be() 270 if (!dmasound.soft.stereo) { in ata_ct_u16be() 310 if (!dmasound.soft.stereo) { in ata_ct_s16le() 351 if (!dmasound.soft.stereo) { in ata_ct_u16le() 388 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ctx_law() 392 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_law() [all …]
|
D | dmasound_core.c | 242 return dmasound.soft.speed; in sound_set_speed() 253 dmasound.soft.speed = speed; in sound_set_speed() 256 dmasound.dsp.speed = dmasound.soft.speed; in sound_set_speed() 258 return dmasound.soft.speed; in sound_set_speed() 264 return dmasound.soft.stereo; in sound_set_stereo() 268 dmasound.soft.stereo = stereo; in sound_set_stereo() 281 switch (dmasound.soft.format) { in sound_copy_translate() 491 (dmasound.soft.size * (dmasound.soft.stereo+1) ) ; in sq_setup() 500 (dmasound.soft.size * (dmasound.soft.stereo+1) ) ; in sq_setup() 503 sq->block_size /= dmasound.soft.speed ; in sq_setup() [all …]
|
D | dmasound_paula.c | 161 if (!dmasound.soft.stereo) { in ami_ct_s8() 195 if (!dmasound.soft.stereo) { \ 248 if (!dmasound.soft.stereo) { \ 363 if (dmasound.soft.speed) in AmiInit() 364 period = amiga_colorclock/dmasound.soft.speed-1; in AmiInit() 367 dmasound.hard = dmasound.soft; in AmiInit() 392 return dmasound.soft.format; in AmiSetFormat() 410 dmasound.soft.format = format; in AmiSetFormat() 411 dmasound.soft.size = size; in AmiSetFormat() 414 dmasound.dsp.size = dmasound.soft.size; in AmiSetFormat()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_qm_syscalls.c | 396 xfs_qcnt_t hard, soft; in xfs_qm_scall_setqlim() local 440 soft = (newlim->d_fieldmask & QC_SPC_SOFT) ? in xfs_qm_scall_setqlim() 443 if (hard == 0 || hard >= soft) { in xfs_qm_scall_setqlim() 445 ddq->d_blk_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim() 449 defq->bsoftlimit = soft; in xfs_qm_scall_setqlim() 452 xfs_debug(mp, "blkhard %Ld < blksoft %Ld", hard, soft); in xfs_qm_scall_setqlim() 457 soft = (newlim->d_fieldmask & QC_RT_SPC_SOFT) ? in xfs_qm_scall_setqlim() 460 if (hard == 0 || hard >= soft) { in xfs_qm_scall_setqlim() 462 ddq->d_rtb_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim() 465 defq->rtbsoftlimit = soft; in xfs_qm_scall_setqlim() [all …]
|
/Linux-v4.19/tools/testing/selftests/drivers/net/mlxsw/ |
D | mirror_gre.sh | 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"
|
/Linux-v4.19/drivers/tty/serial/ |
D | ioc4_serial.c | 789 pending_intrs(struct ioc4_soft *soft, int type) in pending_intrs() argument 791 struct ioc4_misc_regs __iomem *mem = soft->is_ioc4_misc_addr; in pending_intrs() 798 spin_lock_irqsave(&soft->is_ir_lock, flag); in pending_intrs() 815 spin_unlock_irqrestore(&soft->is_ir_lock, flag); in pending_intrs() 965 intr_connect(struct ioc4_soft *soft, int type, in intr_connect() argument 974 i = atomic_inc_return(&soft-> is_intr_type[type].is_num_intrs) - 1; in intr_connect() 978 intr_ptr = &soft->is_intr_type[type].is_intr_info[i]; in intr_connect() 992 struct ioc4_soft *soft; in ioc4_intr() local 999 soft = arg; in ioc4_intr() 1002 &soft->is_intr_type[intr_type].is_num_intrs); in ioc4_intr() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/power/reset/ |
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-v4.19/drivers/watchdog/ |
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-v4.19/arch/mips/kernel/ |
D | elf.c | 54 bool soft; member 222 prog_req.soft = interp_req.soft && prog_req.soft; in arch_check_elf() 262 !prog_req.fr1 && !prog_req.single && !prog_req.soft) in arch_check_elf()
|
/Linux-v4.19/Documentation/devicetree/bindings/usb/ |
D | hisilicon,histb-xhci.txt | 19 "soft": for soft reset 42 reset-names = "soft";
|
/Linux-v4.19/kernel/time/ |
D | posix-cpu-timers.c | 813 unsigned long soft; in check_thread_timers() local 837 soft = task_rlimit(tsk, RLIMIT_RTTIME); in check_thread_timers() 838 if (soft != RLIM_INFINITY) { in check_thread_timers() 854 if (tsk->rt.timeout > DIV_ROUND_UP(soft, USEC_PER_SEC/HZ)) { in check_thread_timers() 858 if (soft < hard) { in check_thread_timers() 859 soft += USEC_PER_SEC; in check_thread_timers() 861 soft; in check_thread_timers() 918 unsigned long soft; in check_process_timers() local 955 soft = task_rlimit(tsk, RLIMIT_CPU); in check_process_timers() 956 if (soft != RLIM_INFINITY) { in check_process_timers() [all …]
|
/Linux-v4.19/Documentation/ABI/stable/ |
D | sysfs-class-rfkill | 37 Description: Whether the soft blocked state is initialised from non-volatile 52 "soft" interfaces should be preferred, since it is not possible 53 to express the 'soft and hard block' state of the rfkill driver 79 What: /sys/class/rfkill/rfkill[0-9]+/soft
|
/Linux-v4.19/Documentation/devicetree/bindings/pci/ |
D | hisilicon-histb-pcie.txt | 31 "soft": soft reset; 66 reset-names = "soft", "sys", "bus";
|
/Linux-v4.19/include/linux/ |
D | hrtimer.h | 408 ktime_t soft, hard; in hrtimer_start_expires() local 409 soft = hrtimer_get_softexpires(timer); in hrtimer_start_expires() 411 delta = ktime_to_ns(ktime_sub(hard, soft)); in hrtimer_start_expires() 412 hrtimer_start_range_ns(timer, soft, delta, mode); in hrtimer_start_expires()
|