Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 25 of 234) sorted by relevance

12345678910

/linux-2.4.37.9/drivers/sound/emu10k1/
Dtimer.c62 void emu10k1_timer_install(struct emu10k1_card *card, struct emu_timer *timer, u16 delay) in emu10k1_timer_install() argument
68 if (delay < 5) in emu10k1_timer_install()
69 delay = 5; in emu10k1_timer_install()
71 timer->delay = delay; in emu10k1_timer_install()
76 timer->count_max = timer->delay / (card->timer_delay < 1024 ? card->timer_delay : 1024); in emu10k1_timer_install()
81 if (card->timer_delay > delay) { in emu10k1_timer_install()
85 card->timer_delay = delay; in emu10k1_timer_install()
86 delay = (delay < 1024 ? delay : 1024); in emu10k1_timer_install()
88 emu10k1_timer_set(card, delay); in emu10k1_timer_install()
93 t->count_max = t->delay / delay; in emu10k1_timer_install()
[all …]
Dcardwi.c124 u16 delay; in emu10k1_wavein_open() local
179 delay = (48000 * wiinst->buffer.fragment_size) / wiinst->format.bytespersec; in emu10k1_wavein_open()
181 emu10k1_timer_install(card, &wiinst->timer, delay / 2); in emu10k1_wavein_open()
255 u16 delay; in emu10k1_wavein_setformat() local
283 delay = (48000 * wiinst->buffer.fragment_size) / wiinst->format.bytespersec; in emu10k1_wavein_setformat()
285 emu10k1_timer_install(card, &wiinst->timer, delay / 2); in emu10k1_wavein_setformat()
/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/
Datmel_read_eeprom.c40 static void delay(int delay) in delay() argument
42 while (delay--); in delay()
48 delay(TXX); in send_bit()
54 delay(TXX); in send_bit()
56 delay(TXX); in send_bit()
75 delay(TXX); in send_start()
77 delay(TXX); in send_start()
79 delay(TXX); in send_start()
85 delay(TXX); in send_stop()
87 delay(TXX); in send_stop()
[all …]
/linux-2.4.37.9/arch/mips/sgi-ip22/
Dip22-irq.S65 andi a0, s0, CAUSEF_IP2 # delay slot, check local level zero
69 move a0, sp # delay slot
71 nop # delay slot
75 andi a0, s0, CAUSEF_IP3 # delay slot, check local level one
79 move a0, sp # delay slot
82 nop # delay slot
86 andi a0, s0, CAUSEF_IP6 # delay slot, check bus error
90 move a0, sp # delay slot
92 nop # delay slot
96 andi a0, s0, (CAUSEF_IP4 | CAUSEF_IP5) # delay slot
[all …]
Dip22-nvram.c29 #define delay() ({ \ macro
37 delay(); \
85 delay(); in ip22_eeprom_read()
87 delay(); in ip22_eeprom_read()
/linux-2.4.37.9/arch/mips/mips-boards/generic/
DmipsIRQ.S88 andi a0, s0, CAUSEF_IP2 # delay slot, check hw0 interrupt
101 andi a0, s0, CAUSEF_IP3 # delay slot, check hw1 interrupt
103 beq a0, zero, 1f # delay slot, check hw3 interrupt
117 move a0, sp # delay slot
120 nop # delay slot
125 andi a0, s0, CAUSEF_IP5 # delay slot, check hw3 interrupt
127 move a0, sp # delay slot
129 nop # delay slot
/linux-2.4.37.9/arch/mips/philips/nino/
Dint-handler.S45 andi a0, s0, CAUSEF_IP4 # delay slot
48 nop # delay slot
50 nop # delay slot
54 nop # delay slot
57 nop # delay slot
59 nop # delay slot
/linux-2.4.37.9/arch/sh/kernel/
Dio_microdev.c36 static inline void delay(void) in delay() function
122 delay(); in microdev_inb_p()
129 delay(); in microdev_inw_p()
136 delay(); in microdev_inl_p()
143 delay(); in microdev_outb_p()
149 delay(); in microdev_outw_p()
155 delay(); in microdev_outl_p()
Dio_adx.c20 static inline void delay(void) in delay() function
44 delay(); in adx_inb_p()
52 delay(); in adx_inw_p()
60 delay(); in adx_inl_p()
100 delay(); in adx_outb_p()
106 delay(); in adx_outw_p()
112 delay(); in adx_outl_p()
Dio_generic.c30 static inline void delay(void) in delay() function
54 delay(); in generic_inb_p()
62 delay(); in generic_inw_p()
70 delay(); in generic_inl_p()
116 delay(); in generic_outb_p()
122 delay(); in generic_outw_p()
128 delay(); in generic_outl_p()
Dio_cat68701.c25 static inline void delay(void) in delay() function
49 delay(); in cat68701_inb_p()
57 delay(); in cat68701_inw_p()
65 delay(); in cat68701_inl_p()
111 delay(); in cat68701_outb_p()
117 delay(); in cat68701_outw_p()
123 delay(); in cat68701_outl_p()
Dio_hd64461.c54 static inline void delay(void) in delay() function
67 delay(); in hd64461_inb_p()
107 delay(); in hd64461_outb_p()
/linux-2.4.37.9/drivers/tc/
Dlk201.c187 if (r->delay <= 0) in parse_kbd_rate()
188 r->delay = kbdrate.delay; in parse_kbd_rate()
192 if (r->delay < 5) in parse_kbd_rate()
193 r->delay = 5; in parse_kbd_rate()
194 if (r->delay > 630) in parse_kbd_rate()
195 r->delay = 630; in parse_kbd_rate()
207 int delay, rate; in write_kbd_rate() local
210 delay = rep->delay / 5; in write_kbd_rate()
215 if (info->hook->poll_tx_char(info, LK_PARAM_DELAY(delay))) in write_kbd_rate()
/linux-2.4.37.9/arch/mips/ddb5xxx/ddb5074/
Dint-handler.S70 andi a0, s0, CAUSEF_IP2 # delay slot, check local level zero
72 andi a0, s0, CAUSEF_IP3 # delay slot, check local level one
76 move a0, sp # delay slot
79 nop # delay slot
83 andi a0, s0, CAUSEF_IP6 # delay slot, check bus error
/linux-2.4.37.9/include/net/
Dpkt_sched.h202 #define PSCHED_JIFFIE2US(delay) ((delay)*(1000000/HZ)) argument
250 #define PSCHED_US2JIFFIE(delay) (((delay)+(1<<PSCHED_JSCALE)-1)>>PSCHED_JSCALE) argument
251 #define PSCHED_JIFFIE2US(delay) ((delay)<<PSCHED_JSCALE) argument
261 #define PSCHED_US2JIFFIE(delay) (((delay)+psched_clock_per_hz-1)/psched_clock_per_hz) argument
262 #define PSCHED_JIFFIE2US(delay) ((delay)*psched_clock_per_hz) argument
/linux-2.4.37.9/Documentation/
Dwolfson-touchscreen.txt30 * adjustable sample settle delay
72 link. Note: this mode requires a larger delay than polling
137 6. ADC sample delay. (delay)
143 This delay can be set by setting delay = n, where n is the array
144 position of the delay in the array delay_table below.
148 Default delay = 4
167 15 0 0 (No delay, switch matrix always on)
/linux-2.4.37.9/drivers/char/
Dtipar.c91 static int delay = IO_DELAY; /* inter-bit delay in microseconds */ variable
177 udelay(delay); in put_ti_parallel()
218 udelay(delay); in get_ti_parallel()
236 udelay(delay); in probe_ti_parallel()
369 delay = (int)arg; //get_user(delay, &arg); in tipar_ioctl()
415 delay = ints[2]; in tipar_setup()
545 MODULE_PARM(delay, "i");
546 MODULE_PARM_DESC(delay, "Inter-bit delay (default=10 microseconds)");
Dpc_keyb.c609 int delay; in parse_kbd_rate() member
616 int rate=0,delay=0; in parse_kbd_rate() local
621 if (r->delay <= 0) in parse_kbd_rate()
622 r->delay=kbdrate.delay; in parse_kbd_rate()
630 if (kbd_delays[i].delay == r->delay){ in parse_kbd_rate()
631 new_delay=kbd_delays[i].delay; in parse_kbd_rate()
632 delay=kbd_delays[i].val; in parse_kbd_rate()
636 r->delay=new_delay; in parse_kbd_rate()
638 return (delay << 5) | rate; in parse_kbd_rate()
/linux-2.4.37.9/arch/mips/lasat/
DlasatIRQ.S46 andi a0, s0, CAUSEF_IP2 # delay slot, check hw0 interrupt
59 move a0, sp # delay slot
62 nop # delay slot
/linux-2.4.37.9/arch/mips/sibyte/sb1250/
Dirq_handler.S92 nop # delay slot
103 nop # delay slot
111 nop # delay slot
115 nop # delay slot
/linux-2.4.37.9/drivers/block/paride/
Dparide.h42 int delay; /* adapter delay setting */ member
70 int delay, /* -1 to use adapter specific default */
102 #define delay_p (pi->delay?udelay(pi->delay):0)
/linux-2.4.37.9/arch/s390x/kernel/
Dsetup.c306 unsigned long delay = 0; in setup_arch() local
356 delay = simple_strtoul(from+9, &from, 0); in setup_arch()
358 delay = delay*1000000; in setup_arch()
361 delay = delay*60*1000000; in setup_arch()
365 udelay(delay); in setup_arch()
/linux-2.4.37.9/net/sched/
Dsch_cbq.c467 psched_tdiff_t delay = PSCHED_TDIFF(cl->undertime, q->now); in cbq_ovl_classic() local
470 delay += cl->offtime; in cbq_ovl_classic()
480 delay -= (-cl->avgidle) - ((-cl->avgidle) >> cl->ewma_log); in cbq_ovl_classic()
483 if (delay <= 0) in cbq_ovl_classic()
484 delay = 1; in cbq_ovl_classic()
485 PSCHED_TADD2(q->now, delay, cl->undertime); in cbq_ovl_classic()
490 if (q->wd_expires == 0 || q->wd_expires > delay) in cbq_ovl_classic()
491 q->wd_expires = delay; in cbq_ovl_classic()
502 delay = PSCHED_TDIFF(b->undertime, q->now); in cbq_ovl_classic()
503 if (delay < base_delay) { in cbq_ovl_classic()
[all …]
/linux-2.4.37.9/drivers/net/
Dauto_irq.c51 unsigned long delay = jiffies + waittime; in autoirq_report() local
52 BUSY_LOOP_UNTIL(delay) in autoirq_report()
/linux-2.4.37.9/arch/mips/hp-lj/
Dint-handler.S37 nop # delay slot
49 nop # delay slot
55 nop # delay slot

12345678910