Searched refs:NUM_CHANNELS (Results 1 - 5 of 5) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sbus/char/
H A Dzs.c61 #define NUM_CHANNELS (NUM_SERIAL * 2) macro
1682 for (i = 0; i < NUM_CHANNELS && len < 4000; i++) {
1857 if ((line < 0) || (line >= NUM_CHANNELS))
2231 zs_alloc_bootmem(NUM_CHANNELS * sizeof(struct sun_zschannel *));
2239 zs_alloc_bootmem(NUM_CHANNELS * sizeof(struct sun_serial));
2243 zs_alloc_bootmem(NUM_CHANNELS * sizeof(struct tty_struct));
2247 zs_alloc_bootmem(NUM_CHANNELS * sizeof(struct tty_struct *));
2251 zs_alloc_bootmem(NUM_CHANNELS * sizeof(struct termios *));
2255 zs_alloc_bootmem(NUM_CHANNELS * sizeof(struct termios *));
2351 for(channel = 0; channel < NUM_CHANNELS
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sgi/char/
H A Dsgiserial.c50 #define NUM_CHANNELS (NUM_SERIAL * 2) macro
53 struct sgi_zschannel *zs_channels[NUM_CHANNELS] = { 0, 0, };
57 struct sgi_serial zs_soft[NUM_CHANNELS];
125 static struct tty_struct *serial_table[NUM_CHANNELS];
126 static struct termios *serial_termios[NUM_CHANNELS];
127 static struct termios *serial_termios_locked[NUM_CHANNELS];
1680 if ((line < 0) || (line >= NUM_CHANNELS))
1826 serial_driver.num = NUM_CHANNELS;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/tc/
H A Dzs.c96 #define NUM_CHANNELS (NUM_SERIAL * 2) /* 2 channels per chip */ macro
153 struct dec_zschannel zs_channels[NUM_CHANNELS];
154 struct dec_serial zs_soft[NUM_CHANNELS];
158 struct tty_struct zs_ttys[NUM_CHANNELS];
220 static struct tty_struct *serial_table[NUM_CHANNELS];
221 static struct termios *serial_termios[NUM_CHANNELS];
222 static struct termios *serial_termios_locked[NUM_CHANNELS];
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/macintosh/
H A Dmacserial.c71 #define NUM_CHANNELS (NUM_SERIAL * 2) /* 2 channels per chip */ macro
78 struct mac_zschannel zs_channels[NUM_CHANNELS];
80 struct mac_serial zs_soft[NUM_CHANNELS];
84 struct tty_struct zs_ttys[NUM_CHANNELS];
164 static struct tty_struct *serial_table[NUM_CHANNELS];
165 static struct termios *serial_termios[NUM_CHANNELS];
166 static struct termios *serial_termios_locked[NUM_CHANNELS];
2475 if (n >= NUM_CHANNELS) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wireless/
H A Dorinoco.c152 #define NUM_CHANNELS ( sizeof(channel_frequency) / sizeof(channel_frequency[0]) ) macro
761 if ( (channel < 1) || (channel > NUM_CHANNELS) ) {
1870 range.num_channels = NUM_CHANNELS;
1872 for (i = 0; i < NUM_CHANNELS; i++) {
2233 for (i = 0; i < NUM_CHANNELS; i++)
2238 if ( (chan < 1) || (chan > NUM_CHANNELS) ||

Completed in 122 milliseconds