Home
last modified time | relevance | path

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

12345

/linux-3.4.99/drivers/char/
Dmbcs.c201 static inline int mbcs_getdma_start(struct mbcs_soft *soft) in mbcs_getdma_start() argument
208 mmr_base = soft->mmr_base; in mbcs_getdma_start()
209 gdma = &soft->getdma; in mbcs_getdma_start()
241 static inline int mbcs_putdma_start(struct mbcs_soft *soft) in mbcs_putdma_start() argument
248 mmr_base = soft->mmr_base; in mbcs_putdma_start()
249 pdma = &soft->putdma; in mbcs_putdma_start()
281 static inline int mbcs_algo_start(struct mbcs_soft *soft) in mbcs_algo_start() argument
283 struct algoblock *algo_soft = &soft->algo; in mbcs_algo_start()
284 void *mmr_base = soft->mmr_base; in mbcs_algo_start()
287 if (mutex_lock_interruptible(&soft->algolock)) in mbcs_algo_start()
[all …]
/linux-3.4.99/drivers/net/arcnet/
Drfc1201.c95 struct arc_rfc1201 *soft = &pkt->soft.rfc1201; in type_trans() local
110 switch (soft->proto) { in type_trans()
140 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, soft->sequence); in rx()
173 lp->rfc1201.aborted_seq = soft->sequence; in rx()
179 in->sequence = soft->sequence; in rx()
[all …]
Dcapmode.c76 memcpy(pktbuf, pkthdrbuf, ARC_HDR_SIZE+sizeof(pkt->soft.cap.proto)); in rx()
77 memcpy(pktbuf+ARC_HDR_SIZE+sizeof(pkt->soft.cap.proto)+sizeof(int), in rx()
78 pkthdrbuf+ARC_HDR_SIZE+sizeof(pkt->soft.cap.proto), in rx()
79 sizeof(struct archdr)-ARC_HDR_SIZE-sizeof(pkt->soft.cap.proto)); in rx()
81 if (length > sizeof(pkt->soft)) in rx()
82 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
83 pkt->soft.raw + sizeof(pkt->soft) in rx()
85 length - sizeof(pkt->soft)); in rx()
107 *((int*)&pkt->soft.cap.cookie[0])); in build_header()
151 *((int*)&pkt->soft.cap.cookie[0])); in prepare_tx()
[all …]
Drfc1051.c93 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; in type_trans() local
108 switch (soft->proto) { in type_trans()
153 if (length > sizeof(pkt->soft)) in rx()
154 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
155 pkt->soft.raw + sizeof(pkt->soft), in rx()
156 length - sizeof(pkt->soft)); in rx()
173 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; in build_header() local
178 soft->proto = ARC_P_IP_RFC1051; in build_header()
181 soft->proto = ARC_P_ARP_RFC1051; in build_header()
246 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
Darc-rawmode.c119 if (length > sizeof(pkt->soft)) in rx()
120 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
121 pkt->soft.raw + sizeof(pkt->soft), in rx()
122 length - sizeof(pkt->soft)); in rx()
198 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
Darcnet.c599 struct arc_rfc1201 *soft; in arcnet_send_packet() local
610 soft = &pkt->soft.rfc1201; in arcnet_send_packet()
611 proto = arc_proto_map[soft->proto]; in arcnet_send_packet()
1005 struct arc_rfc1201 *soft; in arcnet_rx() local
1008 soft = &pkt.soft.rfc1201; in arcnet_rx()
1020 if (sizeof(pkt.soft) <= length) in arcnet_rx()
1021 lp->hw.copy_from_card(dev, bufnum, ofs, soft, sizeof(pkt.soft)); in arcnet_rx()
1023 memset(&pkt.soft, 0, sizeof(pkt.soft)); in arcnet_rx()
1024 lp->hw.copy_from_card(dev, bufnum, ofs, soft, length); in arcnet_rx()
1035 if (arc_proto_map[soft->proto]->is_ip) { in arcnet_rx()
[all …]
/linux-3.4.99/arch/ia64/sn/pci/pcibr/
Dpcibr_provider.c26 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-3.4.99/arch/x86/math-emu/
Dfpu_system.h35 #define FPU_info (I387->soft.info)
45 #define FPU_lookahead (I387->soft.lookahead)
49 #define no_ip_update (*(u_char *)&(I387->soft.no_update))
50 #define FPU_rm (*(u_char *)&(I387->soft.rm))
54 #define access_limit (*(u_char *)&(I387->soft.alimit))
56 #define partial_status (I387->soft.swd)
57 #define control_word (I387->soft.cwd)
58 #define fpu_tag_word (I387->soft.twd)
59 #define registers (I387->soft.st_space)
60 #define top (I387->soft.ftop)
[all …]
Dfpu_aux.c33 void finit_soft_fpu(struct i387_soft_struct *soft) in finit_soft_fpu() argument
36 memset(soft, 0, sizeof(*soft)); in finit_soft_fpu()
37 soft->cwd = 0x037f; in finit_soft_fpu()
38 soft->swd = 0; in finit_soft_fpu()
39 soft->ftop = 0; /* We don't keep top in the status word internally. */ in finit_soft_fpu()
40 soft->twd = 0xffff; in finit_soft_fpu()
43 oaddr = (struct address *)&soft->foo; in finit_soft_fpu()
46 iaddr = (struct address *)&soft->fip; in finit_soft_fpu()
50 soft->no_update = 1; in finit_soft_fpu()
55 finit_soft_fpu(&current->thread.fpu.state->soft); in finit()
/linux-3.4.99/sound/oss/dmasound/
Ddmasound_q40.c65 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 …]
Ddmasound_atari.c158 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 …]
Ddmasound_core.c241 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()
490 (dmasound.soft.size * (dmasound.soft.stereo+1) ) ; in sq_setup()
499 (dmasound.soft.size * (dmasound.soft.stereo+1) ) ; in sq_setup()
502 sq->block_size /= dmasound.soft.speed ; in sq_setup()
[all …]
Ddmasound_paula.c161 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-3.4.99/drivers/tty/serial/
Dioc4_serial.c792 pending_intrs(struct ioc4_soft *soft, int type) in pending_intrs() argument
794 struct ioc4_misc_regs __iomem *mem = soft->is_ioc4_misc_addr; in pending_intrs()
801 spin_lock_irqsave(&soft->is_ir_lock, flag); in pending_intrs()
818 spin_unlock_irqrestore(&soft->is_ir_lock, flag); in pending_intrs()
968 intr_connect(struct ioc4_soft *soft, int type, in intr_connect() argument
977 i = atomic_inc_return(&soft-> is_intr_type[type].is_num_intrs) - 1; in intr_connect()
981 intr_ptr = &soft->is_intr_type[type].is_intr_info[i]; in intr_connect()
995 struct ioc4_soft *soft; in ioc4_intr() local
1002 soft = arg; in ioc4_intr()
1005 &soft->is_intr_type[intr_type].is_num_intrs); in ioc4_intr()
[all …]
/linux-3.4.99/fs/xfs/
Dxfs_qm_syscalls.c485 xfs_qcnt_t hard, soft; in xfs_qm_scall_setqlim() local
525 soft = (newlim->d_fieldmask & FS_DQ_BSOFT) ? in xfs_qm_scall_setqlim()
528 if (hard == 0 || hard >= soft) { in xfs_qm_scall_setqlim()
530 ddq->d_blk_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim()
533 q->qi_bsoftlimit = soft; in xfs_qm_scall_setqlim()
536 xfs_debug(mp, "blkhard %Ld < blksoft %Ld\n", hard, soft); in xfs_qm_scall_setqlim()
541 soft = (newlim->d_fieldmask & FS_DQ_RTBSOFT) ? in xfs_qm_scall_setqlim()
544 if (hard == 0 || hard >= soft) { in xfs_qm_scall_setqlim()
546 ddq->d_rtb_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim()
549 q->qi_rtbsoftlimit = soft; in xfs_qm_scall_setqlim()
[all …]
/linux-3.4.99/Documentation/devicetree/bindings/mtd/
Datmel-nand.txt16 - nand-ecc-mode : String, operation mode of the NAND ecc mode, soft by default.
17 Supported values are: "none", "soft", "hw", "hw_syndrome", "hw_oob_first",
33 nand-ecc-mode = "soft";
Dnand.txt4 Supported values are: "none", "soft", "hw", "hw_syndrome", "hw_oob_first",
/linux-3.4.99/arch/x86/kvm/
Dx86.h13 bool soft) in kvm_queue_interrupt() argument
16 vcpu->arch.interrupt.soft = soft; in kvm_queue_interrupt()
/linux-3.4.99/arch/arm/mach-imx/
Dmach-imx6q.c41 goto soft; in imx6q_restart()
58 soft: in imx6q_restart()
/linux-3.4.99/include/linux/
Dhrtimer.h373 ktime_t soft, hard; in hrtimer_start_expires() local
374 soft = hrtimer_get_softexpires(timer); in hrtimer_start_expires()
376 delta = ktime_to_ns(ktime_sub(hard, soft)); in hrtimer_start_expires()
377 return hrtimer_start_range_ns(timer, soft, delta, mode); in hrtimer_start_expires()
/linux-3.4.99/kernel/
Dposix-cpu-timers.c899 unsigned long soft; in check_thread_timers() local
948 soft = ACCESS_ONCE(sig->rlim[RLIMIT_RTTIME].rlim_cur); in check_thread_timers()
949 if (soft != RLIM_INFINITY) { in check_thread_timers()
962 if (tsk->rt.timeout > DIV_ROUND_UP(soft, USEC_PER_SEC/HZ)) { in check_thread_timers()
966 if (soft < hard) { in check_thread_timers()
967 soft += USEC_PER_SEC; in check_thread_timers()
968 sig->rlim[RLIMIT_RTTIME].rlim_cur = soft; in check_thread_timers()
1048 unsigned long soft; in check_process_timers() local
1108 soft = ACCESS_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur); in check_process_timers()
1109 if (soft != RLIM_INFINITY) { in check_process_timers()
[all …]
/linux-3.4.99/arch/ia64/include/asm/sn/
Dpcibr_provider.h145 extern int sal_pcibr_slot_enable(struct pcibus_info *soft, int device,
147 extern int sal_pcibr_slot_disable(struct pcibus_info *soft, int device,
/linux-3.4.99/arch/arm/vfp/
DMakefile10 KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp -mfloat-abi=soft)
/linux-3.4.99/Documentation/ABI/stable/
Dsysfs-class-rfkill38 Description: Whether the soft blocked state is initialised from non-volatile
58 What: /sys/class/rfkill/rfkill[0-9]+/soft
/linux-3.4.99/Documentation/
Drfkill.txt21 The rfkill subsystem has a concept of "hard" and "soft" block, which
25 - soft block: writable radio block (need not be readable) that is set by
52 keeps track of soft and hard block separately.
96 soft and hard block are properly separated (unlike sysfs, see below) and

12345