Searched refs:ch (Results 1 - 25 of 439) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Dawe_hw.h33 #define awe_cmd_idx(reg,ch) (((reg)<< 5) | (ch))
41 #define AWE_CPF(ch) awe_cmd_idx(0,ch), Data0 /* DW: current pitch and fractional address */
42 #define AWE_PTRX(ch) awe_cmd_idx(1,ch), Data0 /* DW: pitch target and reverb send */
43 #define AWE_CVCF(ch) awe_cmd_idx(2,ch), Data0 /* DW: current volume and filter cutoff */
44 #define AWE_VTFT(ch) awe_cmd_idx(3,ch), Data
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/
H A Dget_line_from_file.c40 int ch; local
46 ch = fgetc(file);
47 if (ch == EOF)
52 linebuf[idx++] = (char)ch;
53 if ((char)ch == '\n')
H A Dfgets_str.c35 int ch; local
38 ch = fgetc(file);
39 if (ch == EOF) {
48 linebuf[idx] = ch;
/asus-wl-520gu-7.0.1.45/src/et/sys/
H A Detc47xx.c70 static void chipdetach(ch_t *ch);
71 static void chipreset(ch_t *ch);
72 static void chipinit(ch_t *ch, bool full);
73 static bool chiptx(ch_t *ch, void *p);
74 static void *chiprx(ch_t *ch);
75 static void chiprxfill(ch_t *ch);
76 static int chipgetintrevents(ch_t *ch, bool in_isr);
77 static bool chiperrors(ch_t *ch);
78 static void chipintrson(ch_t *ch);
79 static void chipintrsoff(ch_t *ch);
152 struct bcm4xxx *ch; local
360 chipdetach(struct bcm4xxx *ch) argument
400 chiplongname(struct bcm4xxx *ch, char *buf, uint bufsize) argument
419 chipdump(struct bcm4xxx *ch, struct bcmstrbuf *b) argument
427 chipreset(struct bcm4xxx *ch) argument
550 chipinit(struct bcm4xxx *ch, bool full) argument
634 chiptx(struct bcm4xxx *ch, void *p0) argument
653 chiptxreclaim(struct bcm4xxx *ch, bool forceall) argument
662 chiprx(struct bcm4xxx *ch) argument
677 chiprxreclaim(struct bcm4xxx *ch) argument
686 chiprxfill(struct bcm4xxx *ch) argument
695 chipgetintrevents(struct bcm4xxx *ch, bool in_isr) argument
738 chipintrson(struct bcm4xxx *ch) argument
746 chipintrsoff(struct bcm4xxx *ch) argument
755 chiperrors(struct bcm4xxx *ch) argument
807 chipwrcam(struct bcm4xxx *ch, struct ether_addr *ea, uint camindex) argument
831 chipstatsupd(struct bcm4xxx *ch) argument
905 chipenablepme(struct bcm4xxx *ch) argument
919 chipdisablepme(struct bcm4xxx *ch) argument
930 chipduplexupd(struct bcm4xxx *ch) argument
942 chipphyrd(struct bcm4xxx *ch, uint phyaddr, uint reg) argument
987 chipphywr(struct bcm4xxx *ch, uint phyaddr, uint reg, uint16 v) argument
1025 chipphyor(struct bcm4xxx *ch, uint phyaddr, uint reg, uint16 v) argument
1035 chipphyand(struct bcm4xxx *ch, uint phyaddr, uint reg, uint16 v) argument
1045 chipphyreset(struct bcm4xxx *ch, uint phyaddr) argument
1062 chipphyinit(struct bcm4xxx *ch, uint phyaddr) argument
1081 chipphyforce(struct bcm4xxx *ch, uint phyaddr) argument
1121 chipphyadvertise(struct bcm4xxx *ch, uint phyaddr) argument
[all...]
H A Detc.h34 void (*detach)(ch_t *ch); /* free chip private state */
35 void (*reset)(ch_t *ch); /* chip reset */
36 void (*init)(ch_t *ch, bool full); /* chip init */
37 bool (*tx)(ch_t *ch, void *p); /* transmit frame */
38 void *(*rx)(ch_t *ch); /* receive frame */
39 void (*rxfill)(ch_t *ch); /* post dma rx buffers */
40 int (*getintrevents)(ch_t *ch, bool in_isr); /* return intr events */
41 bool (*errors)(ch_t *ch); /* handle chip errors */
42 void (*intrson)(ch_t *ch); /* enable chip interrupts */
43 void (*intrsoff)(ch_t *ch); /* disabl
87 void *ch; /* pointer to chip-specific state */ member in struct:etc_info
[all...]
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/et/
H A Det_name.c26 int ch; local
37 ch = (int)((num >> BITS_PER_CHAR * i) & ((1 << BITS_PER_CHAR) - 1));
38 if (ch != 0)
39 *p++ = char_set[ch-1];
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ite-boards/generic/
H A Dputs.c57 unsigned char ch; local
61 ch = com1[SER_CMD];
67 } while (0 == (ch & TX_BUSY));
73 unsigned char ch; local
78 ch = com1[SER_CMD];
84 } while (0 == (ch & TX_BUSY));
93 unsigned char ch; local
99 ch = com1[SER_CMD];
105 } while (0 == (ch & TX_BUSY));
114 unsigned ch; local
129 unsigned ch; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/au1000/common/
H A Dputs.c58 unsigned char ch; local
62 ch = com1[SER_CMD];
68 } while (0 == (ch & TX_BUSY));
75 unsigned char ch; local
80 ch = com1[SER_CMD];
86 } while (0 == (ch & TX_BUSY));
96 unsigned char ch; local
102 ch = com1[SER_CMD];
108 } while (0 == (ch & TX_BUSY));
118 unsigned ch; local
134 unsigned ch; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Depca.c152 static inline void globalwinon(struct channel *ch);
153 static inline void rxwinon(struct channel *ch);
154 static inline void txwinon(struct channel *ch);
155 static inline void memoff(struct channel *ch);
156 static inline void assertgwinon(struct channel *ch);
157 static inline void assertmemoff(struct channel *ch);
163 static inline void pcxem_globalwinon(struct channel *ch);
164 static inline void pcxem_rxwinon(struct channel *ch);
165 static inline void pcxem_txwinon(struct channel *ch);
166 static inline void pcxem_memoff(struct channel *ch);
266 globalwinon(struct channel *ch) argument
271 rxwinon(struct channel *ch) argument
276 txwinon(struct channel *ch) argument
281 memoff(struct channel *ch) argument
285 assertgwinon(struct channel *ch) argument
290 assertmemoff(struct channel *ch) argument
310 pcxem_globalwinon(struct channel *ch) argument
315 pcxem_rxwinon(struct channel *ch) argument
320 pcxem_txwinon(struct channel *ch) argument
325 pcxem_memoff(struct channel *ch) argument
344 pcxe_globalwinon(struct channel *ch) argument
349 pcxe_rxwinon(struct channel *ch) argument
354 pcxe_txwinon(struct channel *ch) argument
359 pcxe_memoff(struct channel *ch) argument
377 pcxi_globalwinon(struct channel *ch) argument
382 pcxi_rxwinon(struct channel *ch) argument
387 pcxi_txwinon(struct channel *ch) argument
392 pcxi_memoff(struct channel *ch) argument
397 pcxi_assertgwinon(struct channel *ch) argument
402 pcxi_assertmemoff(struct channel *ch) argument
425 dummy_globalwinon(struct channel *ch) argument
429 dummy_rxwinon(struct channel *ch) argument
433 dummy_txwinon(struct channel *ch) argument
437 dummy_memoff(struct channel *ch) argument
441 dummy_assertgwinon(struct channel *ch) argument
445 dummy_assertmemoff(struct channel *ch) argument
463 register struct channel *ch = (struct channel *)tty->driver_data; local
480 pc_sched_event(struct channel *ch, int event) argument
511 struct channel *ch; local
623 shutdown(struct channel *ch) argument
679 struct channel *ch; local
728 struct channel *ch; local
1030 struct channel *ch; local
1083 struct channel *ch; local
1151 struct channel *ch; local
1189 struct channel * ch; local
1218 block_til_ready(struct tty_struct *tty, struct file *filp, struct channel *ch) argument
1377 struct channel *ch; local
1568 struct channel *ch; local
1936 struct channel *ch; local
2215 struct channel *ch; local
2276 struct channel *ch, *chan0; local
2430 fepcmd(struct channel *ch, int cmd, int word_or_byte, int byte2, int ncmds, int bytecmd) argument
2540 termios2digi_h(struct channel *ch, unsigned cflag) argument
2577 termios2digi_i(struct channel *ch, unsigned iflag) argument
2591 termios2digi_c(struct channel *ch, unsigned cflag) argument
2669 epcaparam(struct tty_struct *tty, struct channel *ch) argument
2834 receive_data(struct channel *ch) argument
2970 struct channel *ch = (struct channel *) tty->driver_data; local
3366 struct channel *ch; local
3402 struct channel *ch = (struct channel *) private_; local
3438 struct channel *ch; local
3477 struct channel *ch; local
3531 struct channel *ch; local
3565 struct channel *ch; local
3601 digi_send_break(struct channel *ch, int msec) argument
3627 setup_empty_event(struct tty_struct *tty, struct channel *ch) argument
[all...]
H A Dpcxx.c169 static void pcxxparam(struct tty_struct *, struct channel *ch);
177 static void digi_send_break(struct channel *ch, int msec);
179 static void setup_empty_event(struct tty_struct *tty, struct channel *ch);
182 static inline void globalwinon(struct channel *ch);
183 static inline void rxwinon(struct channel *ch);
184 static inline void txwinon(struct channel *ch);
185 static inline void memoff(struct channel *ch);
186 static inline void assertgwinon(struct channel *ch);
187 static inline void assertmemoff(struct channel *ch);
199 struct channel *ch; local
258 register struct channel *ch=(struct channel *)tty->driver_data; local
283 globalwinon(struct channel *ch) argument
291 rxwinon(struct channel *ch) argument
299 txwinon(struct channel *ch) argument
307 memoff(struct channel *ch) argument
314 assertgwinon(struct channel *ch) argument
320 assertmemoff(struct channel *ch) argument
402 struct channel *ch; local
662 struct channel *ch; local
683 struct channel *ch; local
785 struct channel *ch; local
826 struct channel *ch; local
869 struct channel *ch; local
893 struct channel * ch; local
1112 struct channel *ch; local
1686 struct channel *ch; local
1724 struct channel *ch; local
1822 fepcmd(struct channel *ch, int cmd, int word_or_byte, int byte2, int ncmds, int bytecmd) argument
1881 termios2digi_c(struct channel *ch, unsigned cflag) argument
1900 termios2digi_i(struct channel *ch, unsigned iflag) argument
1909 termios2digi_h(struct channel *ch, unsigned cflag) argument
1936 pcxxparam(struct tty_struct *tty, struct channel *ch) argument
2013 receive_data(struct channel *ch) argument
2107 struct channel *ch = (struct channel *) tty->driver_data; local
2469 digi_send_break(struct channel *ch, int msec) argument
2491 setup_empty_event(struct tty_struct *tty, struct channel *ch) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ieee1394/
H A Dcmp.c87 struct cmp_host *ch; local
91 ch = NULL;
94 ch = list_entry(lh, struct cmp_host, link);
95 if (ch->host == host)
103 return ch;
111 struct cmp_host *ch; local
114 ch = lookup_cmp_host(host);
116 if (opcr_number >= ch->u.ompr.nplugs ||
117 ch->opcr[opcr_number].update != NULL)
120 plug = &ch
134 struct cmp_host *ch; local
145 reset_plugs(struct cmp_host *ch) argument
159 struct cmp_host *ch; local
180 struct cmp_host *ch; local
189 struct cmp_host *ch; local
206 struct cmp_host *ch; local
242 struct cmp_host *ch; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/galileo-boards/ev96100/
H A Dputs.c41 unsigned char ch; local
45 ch = com1[SERB_CMD];
51 } while (0 == (ch & TX_BUSY));
58 unsigned char ch; local
62 ch = com1[SERB_CMD];
68 } while (0 == (ch & TX_BUSY));
75 unsigned char ch; local
80 ch = com1[SERB_CMD];
86 } while (0 == (ch & TX_BUSY));
96 unsigned char ch; local
118 unsigned ch; local
134 unsigned ch; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/
H A Dcomx.c131 struct comx_channel *ch = dev->priv; local
136 if (!ch->debug_area) return 0;
152 int free = (ch->debug_start - ch->debug_end + ch->debug_size)
153 % ch->debug_size;
155 to_copy = min_t(int, free ? free : ch->debug_size,
156 min_t(int, ch->debug_size - ch->debug_end, len));
157 memcpy(ch
174 struct comx_channel *ch = dev->priv; local
187 struct comx_channel *ch = dev->priv; local
219 struct comx_channel *ch = dev->priv; local
233 struct comx_channel *ch = dev->priv; local
257 struct comx_channel *ch = dev->priv; local
289 struct comx_channel *ch = dev->priv; local
302 struct comx_channel *ch = dev->priv; local
323 struct comx_channel *ch = dev->priv; local
335 struct comx_channel *ch = dev->priv; local
346 struct comx_channel *ch = dev->priv; local
360 struct comx_channel *ch = (struct comx_channel *)dev->priv; local
368 struct comx_channel *ch = dev->priv; local
386 struct comx_channel *ch = dev->priv; local
453 struct comx_channel *ch = dev->priv; local
477 struct comx_channel *ch; local
516 struct comx_channel *ch=(struct comx_channel *)dev->priv; local
580 struct comx_channel *ch=(struct comx_channel *)dev->priv; local
757 struct comx_channel *ch; local
850 struct comx_channel *ch = dev->priv; local
[all...]
H A Dcomx-proto-ppp.c63 struct comx_channel *ch=dev->priv; local
64 struct syncppp_data *spch=ch->LINE_privdata;
67 if(!(ch->line_status & PROTO_UP) &&
69 comx_status(dev, ch->line_status | PROTO_UP);
71 if((ch->line_status & PROTO_UP) &&
73 comx_status(dev, ch->line_status & ~PROTO_UP);
80 struct comx_channel *ch=dev->priv; local
82 if(ch->line_status & LINE_UP) {
104 struct comx_channel *ch = dev->priv; local
105 struct syncppp_data *spch = ch
127 struct comx_channel *ch = dev->priv; local
143 struct comx_channel *ch = dev->priv; local
173 struct comx_channel *ch = dev->priv; local
200 struct comx_channel *ch = dev->priv; local
[all...]
H A Dcomx-hw-locomx.c80 struct comx_channel *ch = dev->priv; local
81 struct locomx_data *hw = ch->HW_privdata;
90 struct comx_channel *ch=dev->priv; local
92 if (ch->debug_flags & DEBUG_HW_RX) {
95 ch->LINE_rx(dev,skb);
100 struct comx_channel *ch = (struct comx_channel *)dev->priv; local
101 struct locomx_data *hw = ch->HW_privdata;
103 if (ch->debug_flags & DEBUG_HW_TX) {
107 if (!(ch->line_status & LINE_UP)) {
116 if (ch
130 struct comx_channel *ch=dev->priv; local
147 struct comx_channel *ch = dev->priv; local
259 struct comx_channel *ch = dev->priv; local
376 struct comx_channel *ch = (struct comx_channel *)dev->priv; local
449 struct comx_channel *ch = (struct comx_channel *)dev->priv; local
[all...]
H A Dcomx-proto-fr.c85 struct comx_channel *ch = dev->priv; local
86 struct fr_data *fr = ch->LINE_privdata;
121 struct comx_channel *ch = dev->priv; local
122 struct fr_data *fr = ch->LINE_privdata;
123 struct proc_dir_entry *dir = ch->procdir->parent->subdir;
128 if (ch->init_status & LINE_OPEN) {
130 comx_status(dev, ch->line_status & ~PROTO_UP);
159 struct comx_channel *ch = dev->priv; local
160 struct fr_data *fr = ch->LINE_privdata;
161 struct proc_dir_entry *dir = ch
198 struct comx_channel *ch = dev->priv; local
231 struct comx_channel *ch = dev->priv; local
293 struct comx_channel *ch = dev->priv; local
326 struct comx_channel *ch = dev->priv; local
376 struct comx_channel *ch = dev->priv; local
437 struct comx_channel *ch = dev->priv; local
486 struct comx_channel *ch = dev->priv; local
546 struct comx_channel *ch = dev->priv; local
561 struct comx_channel *ch = dev->priv; local
610 struct comx_channel *ch = dev->priv; local
646 struct comx_channel *ch = dev->priv; local
716 struct comx_channel *ch = dev->priv; local
776 struct comx_channel *ch = dev->priv; local
837 struct comx_channel *ch = dev->priv; local
894 struct comx_channel *ch = dev->priv; local
904 struct comx_channel *ch = dev->priv; local
914 struct comx_channel *ch = dev->priv; local
933 struct comx_channel *ch = dev->priv; local
948 struct comx_channel *ch = dev->priv; local
[all...]
H A Dcomx-hw-mixcom.c119 struct comx_channel *ch = dev->priv; local
120 struct mixcom_privdata *hw = ch->HW_privdata;
139 struct comx_channel *ch = dev->priv; local
140 struct mixcom_privdata *hw = ch->HW_privdata;
144 ch->stats.rx_dropped++;
166 struct comx_channel *ch = dev->priv; local
167 struct mixcom_privdata *hw = ch->HW_privdata;
226 struct comx_channel *ch = dev->priv; local
235 if (ch->HW_set_clock) ch
241 struct comx_channel *ch = dev->priv; local
286 struct comx_channel *ch=dev->priv; local
336 struct comx_channel *ch=dev->priv; local
405 struct comx_channel *ch, *twin_ch; local
474 struct comx_channel *ch = dev->priv; local
564 struct comx_channel *ch = dev->priv; local
634 struct comx_channel *ch = dev->priv; local
654 struct comx_channel *ch = dev->priv; local
691 struct comx_channel *ch = dev->priv; local
743 struct comx_channel *ch = dev->priv; local
812 struct comx_channel *ch = dev->priv; local
890 struct comx_channel *ch = dev->priv; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/prom/
H A Dprintf.c22 char ch, *bptr; local
30 while((ch = *(bptr++)) != 0) {
31 if(ch == '\n')
34 prom_putchar(ch);
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/e2fsck/
H A Dargv_parse.c48 char **argv, **new_argv, *buf, ch; local
58 for (cp = in_buf; (ch = *cp); cp++) {
60 if (isspace((int) ch))
78 if (ch == '"')
81 *outcp++ = ch;
85 if (isspace((int) ch)) {
94 if (ch == '"') {
98 if (ch == '\\') {
99 ch = *++cp;
100 switch (ch) {
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/sun3/prom/
H A Dprintf.c27 char ch, *bptr; local
51 while((ch = *(bptr++)) != 0) {
52 if(ch == '\n')
55 prom_putchar(ch);
/asus-wl-520gu-7.0.1.45/src/router/jpeg-6b/
H A Drdswitch.c25 register int ch; local
27 ch = getc(file);
28 if (ch == '#') {
30 ch = getc(file);
31 } while (ch != '\n' && ch != EOF);
33 return ch;
42 register int ch; local
47 ch = text_getc(file);
48 if (ch
134 register int ch; local
274 char ch; local
[all...]
H A Drdcolmap.c125 register int ch; local
127 ch = getc(infile);
128 if (ch == '#') {
130 ch = getc(infile);
131 } while (ch != '\n' && ch != EOF);
133 return ch;
144 register int ch; local
149 ch = pbm_getc(infile);
150 if (ch
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sh/
H A Dsh_bios.h12 extern void sh_bios_char_out(char ch);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sh/
H A Dsh_bios.h12 extern void sh_bios_char_out(char ch);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/sc/
H A Dshmem.c38 unsigned char ch; local
52 ch = (unsigned long) dest / SRAM_PAGESIZE;
53 pr_debug("%s: loaded page %d\n",adapter[card]->devicename,ch);
60 outb(((adapter[card]->shmem_magic + ch * SRAM_PAGESIZE) >> 14) | 0x80,
63 ((adapter[card]->shmem_magic + ch * SRAM_PAGESIZE)>>14)|0x80);
80 unsigned char ch; local
94 ch = (unsigned long) src / SRAM_PAGESIZE;
95 pr_debug("%s: loaded page %d\n",adapter[card]->devicename,ch);
104 outb(((adapter[card]->shmem_magic + ch * SRAM_PAGESIZE) >> 14) | 0x80,
107 ((adapter[card]->shmem_magic + ch * SRAM_PAGESIZ
121 unsigned char ch; local
[all...]

Completed in 216 milliseconds

1234567891011>>