/linux-2.4.37.9/drivers/char/ |
D | synclinkmp.c | 572 static void sppp_init(SLMP_INFO *info); 573 static void sppp_delete(SLMP_INFO *info); 574 static void sppp_rx_done(SLMP_INFO *info, char *buf, int size); 575 static void sppp_tx_done(SLMP_INFO *info); 587 static int get_stats(SLMP_INFO *info, struct mgsl_icount *user_icount); 588 static int get_params(SLMP_INFO *info, MGSL_PARAMS *params); 589 static int set_params(SLMP_INFO *info, MGSL_PARAMS *params); 590 static int get_txidle(SLMP_INFO *info, int*idle_mode); 591 static int set_txidle(SLMP_INFO *info, int idle_mode); 592 static int tx_enable(SLMP_INFO *info, int enable); [all …]
|
D | synclink.c | 635 void usc_DisableMasterIrqBit( struct mgsl_struct *info ); 636 void usc_EnableMasterIrqBit( struct mgsl_struct *info ); 637 void usc_EnableInterrupts( struct mgsl_struct *info, u16 IrqMask ); 638 void usc_DisableInterrupts( struct mgsl_struct *info, u16 IrqMask ); 639 void usc_ClearIrqPendingBits( struct mgsl_struct *info, u16 IrqMask ); 699 u16 usc_InDmaReg( struct mgsl_struct *info, u16 Port ); 700 void usc_OutDmaReg( struct mgsl_struct *info, u16 Port, u16 Value ); 701 void usc_DmaCmd( struct mgsl_struct *info, u16 Cmd ); 703 u16 usc_InReg( struct mgsl_struct *info, u16 Port ); 704 void usc_OutReg( struct mgsl_struct *info, u16 Port, u16 Value ); [all …]
|
D | esp.c | 139 kdevname(tty->device), (info->flags), serial_refcount,info->count,tty->count,s) 146 static void change_speed(struct esp_struct *info); 178 static inline int serial_paranoia_check(struct esp_struct *info, in serial_paranoia_check() argument 187 if (!info) { in serial_paranoia_check() 191 if (info->magic != ESP_MAGIC) { in serial_paranoia_check() 199 static inline unsigned int serial_in(struct esp_struct *info, int offset) in serial_in() argument 201 return inb(info->port + offset); in serial_in() 204 static inline void serial_out(struct esp_struct *info, int offset, in serial_out() argument 207 outb(value, info->port+offset); in serial_out() 220 struct esp_struct *info = (struct esp_struct *)tty->driver_data; in rs_stop() local [all …]
|
D | dz.c | 93 static inline unsigned short dz_in(struct dz_serial *info, unsigned offset) in dz_in() argument 96 (volatile unsigned short *) (info->port + offset); in dz_in() 100 static inline void dz_out(struct dz_serial *info, unsigned offset, in dz_out() argument 105 (volatile unsigned short *) (info->port + offset); in dz_out() 121 struct dz_serial *info; in dz_stop() local 127 info = (struct dz_serial *) tty->driver_data; in dz_stop() 129 mask = 1 << info->line; in dz_stop() 130 tmp = dz_in(info, DZ_TCR); /* read the TX flag */ in dz_stop() 133 dz_out(info, DZ_TCR, tmp); in dz_stop() 138 struct dz_serial *info = (struct dz_serial *) tty->driver_data; in dz_start() local [all …]
|
D | sgiserial.c | 110 static void change_speed(struct sgi_serial *info); 128 static inline int serial_paranoia_check(struct sgi_serial *info, in serial_paranoia_check() argument 137 if (!info) { in serial_paranoia_check() 141 if (info->magic != SERIAL_MAGIC) { in serial_paranoia_check() 271 struct sgi_serial *info = (struct sgi_serial *)tty->driver_data; in rs_stop() local 274 if (serial_paranoia_check(info, tty->device, "rs_stop")) in rs_stop() 278 if (info->curregs[5] & TxENAB) { in rs_stop() 279 info->curregs[5] &= ~TxENAB; in rs_stop() 280 write_zsreg(info->zs_channel, 5, info->curregs[5]); in rs_stop() 287 struct sgi_serial *info = (struct sgi_serial *)tty->driver_data; in rs_start() local [all …]
|
D | serial_txx927.c | 144 static void change_speed(struct async_struct *info, struct termios *old); 158 kdevname(tty->device), (info->flags), serial_refcount,info->count,tty->count,s) 213 static inline int serial_paranoia_check(struct async_struct *info, in serial_paranoia_check() argument 222 if (!info) { in serial_paranoia_check() 226 if (info->magic != SERIAL_MAGIC) { in serial_paranoia_check() 234 static inline struct txx927_sio_reg *sio_reg(struct async_struct *info) in sio_reg() argument 236 return (struct txx927_sio_reg *)info->port; in sio_reg() 242 static inline void wait_for_xmitr(struct async_struct *info) in wait_for_xmitr() argument 248 } while (!(sio_reg(info)->cisr & TXx927_SICISR_TXALS)); in wait_for_xmitr() 261 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_stop() local [all …]
|
D | au1x00-serial.c | 161 static void change_speed(struct async_struct *info, struct termios *old); 198 kdevname(tty->device), (info->flags), serial_refcount,info->count,tty->count,s) 221 static inline int serial_paranoia_check(struct async_struct *info, in serial_paranoia_check() argument 230 if (!info) { in serial_paranoia_check() 234 if (info->magic != SERIAL_MAGIC) { in serial_paranoia_check() 242 static _INLINE_ unsigned int serial_in(struct async_struct *info, int offset) in serial_in() argument 244 return (au_readl(info->port+offset) & 0xffff); in serial_in() 247 static _INLINE_ void serial_out(struct async_struct *info, int offset, int value) in serial_out() argument 249 au_writel(value & 0xffff, info->port+offset); in serial_out() 259 #define serial_inp(info, offset) serial_in(info, offset) argument [all …]
|
D | serial_amba.c | 191 struct amba_info *info; member 230 static void ambauart_change_speed(struct amba_info *info, struct termios *old_termios); 258 static void ambauart_enable_rx_interrupt(struct amba_info *info) in ambauart_enable_rx_interrupt() argument 262 cr = UART_GET_CR(info->port); in ambauart_enable_rx_interrupt() 264 UART_PUT_CR(info->port, cr); in ambauart_enable_rx_interrupt() 267 static void ambauart_disable_rx_interrupt(struct amba_info *info) in ambauart_disable_rx_interrupt() argument 271 cr = UART_GET_CR(info->port); in ambauart_disable_rx_interrupt() 273 UART_PUT_CR(info->port, cr); in ambauart_disable_rx_interrupt() 276 static void ambauart_enable_tx_interrupt(struct amba_info *info) in ambauart_enable_tx_interrupt() argument 280 cr = UART_GET_CR(info->port); in ambauart_enable_tx_interrupt() [all …]
|
D | vac-serial.c | 34 kdevname(tty->device),(info->flags),serial_refcount,info->count,tty->count,s) 117 static void autoconfig(struct serial_state * info); 118 static void change_speed(struct async_struct *info); 168 static inline int serial_paranoia_check(struct async_struct *info, in serial_paranoia_check() argument 177 if (!info) { in serial_paranoia_check() 181 if (info->magic != SERIAL_MAGIC) { in serial_paranoia_check() 217 static inline unsigned int serial_inw(struct async_struct *info, int offset) in serial_inw() argument 219 int val = vac_inw(uart_offset_map(info->port,offset)); in serial_inw() 221 if (info->port == VAC_UART_A_TX) in serial_inw() 223 uart_offset_map(info->port,offset), val); in serial_inw() [all …]
|
D | mxser.c | 102 #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? SA_SHIRQ : SA_INTERRUPT) argument 422 struct mxser_struct *info; in mxser_initbrd() local 430 info = &mxvar_table[n]; in mxser_initbrd() 431 for (i = 0; i < hwconf->ports; i++, n++, info++) { in mxser_initbrd() 439 info->port = n; in mxser_initbrd() 440 info->base = hwconf->ioaddr[i]; in mxser_initbrd() 441 info->irq = hwconf->irq; in mxser_initbrd() 442 info->vector = hwconf->vector; in mxser_initbrd() 443 info->vectormask = hwconf->vector_mask; in mxser_initbrd() 444 info->rx_trigger = 14; in mxser_initbrd() [all …]
|
D | serial167.c | 241 serial_paranoia_check(struct cyclades_port *info, in serial_paranoia_check() argument 252 if (!info) { in serial_paranoia_check() 257 if( (long)info < (long)(&cy_port[0]) in serial_paranoia_check() 258 || (long)(&cy_port[NR_PORTS]) < (long)info ){ in serial_paranoia_check() 263 if (info->magic != CYCLADES_MAGIC) { in serial_paranoia_check() 337 struct cyclades_port *info = (struct cyclades_port *)tty->driver_data; in cy_stop() local 343 printk("cy_stop ttyS%d\n", info->line); /* */ in cy_stop() 346 if (serial_paranoia_check(info, tty->device, "cy_stop")) in cy_stop() 349 channel = info->line; in cy_stop() 362 struct cyclades_port *info = (struct cyclades_port *)tty->driver_data; in cy_start() local [all …]
|
D | amiserial.c | 53 kdevname(tty->device), (info->flags), serial_refcount,info->count,tty->count,s) 123 static void change_speed(struct async_struct *info, struct termios *old); 157 static inline int serial_paranoia_check(struct async_struct *info, in serial_paranoia_check() argument 166 if (!info) { in serial_paranoia_check() 170 if (info->magic != SERIAL_MAGIC) { in serial_paranoia_check() 210 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_stop() local 213 if (serial_paranoia_check(info, tty->device, "rs_stop")) in rs_stop() 217 if (info->IER & UART_IER_THRI) { in rs_stop() 218 info->IER &= ~UART_IER_THRI; in rs_stop() 230 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_start() local [all …]
|
/linux-2.4.37.9/drivers/acorn/scsi/ |
D | fas216.c | 105 static inline unsigned char fas216_readb(FAS216_Info *info, unsigned int reg) in fas216_readb() argument 107 unsigned int off = reg << info->scsi.io_shift; in fas216_readb() 109 return inb(info->scsi.io_port + off); in fas216_readb() 112 static inline void fas216_writeb(FAS216_Info *info, unsigned int reg, unsigned int val) in fas216_writeb() argument 114 unsigned int off = reg << info->scsi.io_shift; in fas216_writeb() 116 outb(val, info->scsi.io_port + off); in fas216_writeb() 119 static void fas216_dumpstate(FAS216_Info *info) in fas216_dumpstate() argument 123 is = fas216_readb(info, REG_IS); in fas216_dumpstate() 124 stat = fas216_readb(info, REG_STAT); in fas216_dumpstate() 125 inst = fas216_readb(info, REG_INST); in fas216_dumpstate() [all …]
|
/linux-2.4.37.9/drivers/macintosh/ |
D | macserial.c | 152 static void change_speed(struct mac_serial *info, struct termios *old); 154 static int set_scc_power(struct mac_serial * info, int state); 155 static int setup_scc(struct mac_serial * info); 160 static void dma_init(struct mac_serial * info); 161 static void rxdma_start(struct mac_serial * info, int current); 162 static void rxdma_to_tty(struct mac_serial * info); 186 serial_paranoia_check(struct mac_serial *info, in serial_paranoia_check() argument 195 if (!info) { in serial_paranoia_check() 199 if (info->magic != SERIAL_MAGIC) { in serial_paranoia_check() 371 static _INLINE_ void rs_sched_event(struct mac_serial *info, in rs_sched_event() argument [all …]
|
/linux-2.4.37.9/drivers/char/pcmcia/ |
D | synclink_cs.c | 349 #define write_reg(info, reg, val) outb((val),(info)->io_base + (reg)) argument 350 #define read_reg(info, reg) inb((info)->io_base + (reg)) argument 352 #define read_reg16(info, reg) inw((info)->io_base + (reg)) argument 353 #define write_reg16(info, reg, val) outw((val), (info)->io_base + (reg)) argument 355 #define set_reg_bits(info, reg, mask) \ argument 356 write_reg(info, (reg), \ 357 (unsigned char) (read_reg(info, (reg)) | (mask))) 358 #define clear_reg_bits(info, reg, mask) \ argument 359 write_reg(info, (reg), \ 360 (unsigned char) (read_reg(info, (reg)) & ~(mask))) [all …]
|
/linux-2.4.37.9/drivers/sbus/char/ |
D | su.c | 41 kdevname(tty->device), (info->flags), serial_refcount, \ 42 info->count,tty->count,s); \ 184 static void autoconfig(struct su_struct *info); 185 static void change_speed(struct su_struct *info, struct termios *old); 230 static inline int serial_paranoia_check(struct su_struct *info, in serial_paranoia_check() argument 239 if (!info) { in serial_paranoia_check() 243 if (info->magic != SERIAL_MAGIC) { in serial_paranoia_check() 252 unsigned int su_inb(struct su_struct *info, unsigned long offset) in su_inb() argument 254 return inb(info->port + offset); in su_inb() 258 su_outb(struct su_struct *info, unsigned long offset, int value) in su_outb() argument [all …]
|
D | sab82532.c | 79 static void change_speed(struct sab82532 *info); 100 static void batten_down_hatches(struct sab82532 *info); 127 static inline int serial_paranoia_check(struct sab82532 *info, in serial_paranoia_check() argument 136 if (!info) { in serial_paranoia_check() 140 if (info->magic != SERIAL_MAGIC) { in serial_paranoia_check() 199 static __inline__ void sab82532_tec_wait(struct sab82532 *info) in sab82532_tec_wait() argument 201 int timeout = info->tec_timeout; in sab82532_tec_wait() 203 while ((readb(&info->regs->r.star) & SAB82532_STAR_TEC) && --timeout) in sab82532_tec_wait() 207 static __inline__ void sab82532_cec_wait(struct sab82532 *info) in sab82532_cec_wait() argument 209 int timeout = info->cec_timeout; in sab82532_cec_wait() [all …]
|
D | zs.c | 167 static void change_speed(struct sun_serial *info); 230 static inline int serial_paranoia_check(struct sun_serial *info, in serial_paranoia_check() argument 239 if (!info) { in serial_paranoia_check() 243 if (info->magic != SERIAL_MAGIC) { in serial_paranoia_check() 279 static void load_zsregs(struct sun_serial *info, unsigned char *regs) in load_zsregs() argument 281 struct sun_zschannel *channel = info->zs_channel; in load_zsregs() 299 if (info->channelA) in load_zsregs() 393 struct sun_serial *info = (struct sun_serial *) tty->driver_data; in zs_stop() local 396 if (serial_paranoia_check(info, tty->device, "zs_stop")) in zs_stop() 400 if (info->curregs[5] & TxENAB) { in zs_stop() [all …]
|
/linux-2.4.37.9/arch/cris/drivers/ |
D | serial.c | 636 static void change_speed(struct e100_serial *info); 647 static int get_lsr_info(struct e100_serial * info, unsigned int *value); 681 #define FORCE_EOP(info) *R_SET_EOP = 1U << info->iseteop; argument 1344 #define E100_RTS_GET(info) ((info)->rx_ctrl & E100_RTS_MASK) argument 1346 #define E100_CTS_GET(info) ((info)->port[REG_STATUS] & E100_CTS_MASK) argument 1350 #define E100_DTR_GET(info) ((*e100_modem_pins[(info)->line].dtr_shadow) & e100_modem_pins[(info)->l… argument 1353 #define E100_RI_GET(info) ((*e100_modem_pins[(info)->line].ri_port) & e100_modem_pins[(info)->line]… argument 1354 #define E100_CD_GET(info) ((*e100_modem_pins[(info)->line].cd_port) & e100_modem_pins[(info)->line]… argument 1357 #define E100_DSR_GET(info) ((*e100_modem_pins[(info)->line].dsr_port) & e100_modem_pins[(info)->lin… argument 1414 static void update_char_time(struct e100_serial * info) in update_char_time() argument [all …]
|
/linux-2.4.37.9/drivers/isdn/ |
D | isdn_tty.c | 69 isdn_tty_try_read(modem_info * info, struct sk_buff *skb) in isdn_tty_try_read() argument 75 if (info->online) { in isdn_tty_try_read() 76 if ((tty = info->tty)) { in isdn_tty_try_read() 77 if (info->mcr & UART_MCR_RTS) { in isdn_tty_try_read() 102 if (info->emu.mdmreg[REG_CPPP] & BIT_CPPP) in isdn_tty_try_read() 128 modem_info *info; in isdn_tty_readmodem() local 132 info = &dev->mdm.info[midx]; in isdn_tty_readmodem() 133 if (info->online) { in isdn_tty_readmodem() 136 isdn_audio_eval_dtmf(info); in isdn_tty_readmodem() 137 if ((info->vonline & 1) && (info->emu.vpar[1])) in isdn_tty_readmodem() [all …]
|
/linux-2.4.37.9/drivers/tc/ |
D | zs.c | 217 static void change_speed(struct dec_serial *info); 240 static inline int serial_paranoia_check(struct dec_serial *info, in serial_paranoia_check() argument 249 if (!info) { in serial_paranoia_check() 253 if (info->magic != SERIAL_MAGIC) { in serial_paranoia_check() 338 static inline void zs_rtsdtr(struct dec_serial *info, int which, int set) in zs_rtsdtr() argument 344 if (info->zs_channel != info->zs_chan_a) { in zs_rtsdtr() 346 info->zs_chan_a->curregs[5] |= (which & (RTS | DTR)); in zs_rtsdtr() 348 info->zs_chan_a->curregs[5] &= ~(which & (RTS | DTR)); in zs_rtsdtr() 350 write_zsreg(info->zs_chan_a, 5, info->zs_chan_a->curregs[5]); in zs_rtsdtr() 395 static _INLINE_ void rs_sched_event(struct dec_serial *info, in rs_sched_event() argument [all …]
|
/linux-2.4.37.9/drivers/s390/net/ |
D | ctctty.c | 101 ctc_tty_info info[CTC_TTY_MAX_DEVICES]; /* Private data */ member 135 ctc_tty_try_read(ctc_tty_info * info, struct sk_buff *skb) in ctc_tty_try_read() argument 141 if ((tty = info->tty)) { in ctc_tty_try_read() 142 if (info->mcr & UART_MCR_RTS) { in ctc_tty_try_read() 165 ctc_tty_readmodem(ctc_tty_info *info) in ctc_tty_readmodem() argument 171 if (!(tty = info->tty)) in ctc_tty_readmodem() 179 if ( !(info->mcr & UART_MCR_RTS) || (c <= 0) ) { in ctc_tty_readmodem() 181 mod_timer(&info->flowtimer, jiffies+(HZ/100) ); in ctc_tty_readmodem() 185 if ((skb = skb_dequeue(&info->rx_queue))) { in ctc_tty_readmodem() 198 skb_queue_head(&info->rx_queue, skb); in ctc_tty_readmodem() [all …]
|
/linux-2.4.37.9/net/core/ |
D | pktgen.c | 227 static struct net_device *setup_inject(struct pktgen_info* info) in setup_inject() argument 232 odev = __dev_get_by_name(info->outdev); in setup_inject() 234 sprintf(info->result, "No such netdevice: \"%s\"", info->outdev); in setup_inject() 239 sprintf(info->result, "Not ethernet device: \"%s\"", info->outdev); in setup_inject() 244 sprintf(info->result, "Device is down: \"%s\"", info->outdev); in setup_inject() 249 if (!(info->flags & F_SET_SRCMAC)) { in setup_inject() 250 memcpy(&(info->hh[6]), odev->dev_addr, 6); in setup_inject() 253 memcpy(&(info->hh[6]), info->src_mac, 6); in setup_inject() 257 memcpy(&(info->hh[0]), info->dst_mac, 6); in setup_inject() 259 info->saddr_min = 0; in setup_inject() [all …]
|
/linux-2.4.37.9/drivers/sbus/audio/ |
D | amd7930.c | 266 static void amd7930_enable_ints(struct amd7930_info *info) in amd7930_enable_ints() argument 271 if (!info->ints_on) { in amd7930_enable_ints() 272 sbus_writeb(AMR_INIT, info->regs + CR); in amd7930_enable_ints() 273 sbus_writeb(AM_INIT_ACTIVE, info->regs + DR); in amd7930_enable_ints() 274 info->ints_on = 1; in amd7930_enable_ints() 280 static __inline__ void amd7930_disable_ints(struct amd7930_info *info) in amd7930_disable_ints() argument 285 if (info->ints_on) { in amd7930_disable_ints() 286 sbus_writeb(AMR_INIT, info->regs + CR); in amd7930_disable_ints() 288 info->regs + DR); in amd7930_disable_ints() 289 info->ints_on = 0; in amd7930_disable_ints() [all …]
|
/linux-2.4.37.9/drivers/video/aty/ |
D | mach64_ct.c | 19 static void aty_st_pll(int offset, u8 val, const struct fb_info_aty *info) stdcall; 21 static int aty_valid_pll_ct(const struct fb_info_aty *info, u32 vclk_per, 23 static int aty_dsp_gt(const struct fb_info_aty *info, u8 bpp, u32 stretch, 25 static int aty_var_to_pll_ct(const struct fb_info_aty *info, u32 vclk_per, 27 static u32 aty_pll_ct_to_var(const struct fb_info_aty *info, 87 u8 stdcall aty_ld_pll(int offset, const struct fb_info_aty *info) in aty_ld_pll() argument 91 addr = info->ati_regbase + CLOCK_CNTL + 1; in aty_ld_pll() 99 static void stdcall aty_st_pll(int offset, u8 val, const struct fb_info_aty *info) in aty_st_pll() argument 102 addr = info->ati_regbase + CLOCK_CNTL + 1; in aty_st_pll() 132 static int aty_dsp_gt(const struct fb_info_aty *info, u8 bpp, in aty_dsp_gt() argument [all …]
|