int pc300_tiocmget(struct tty_struct *tty, struct file *file) 
static int pc300_tiocmget(struct tty_struct *tty, struct file *file) 
int pc300_tiocmget(struct tty_struct *tty, struct file *file){	unsigned int result;	unsigned char status;	unsigned long flags;	st_cpc_tty_area  *cpc_tty = (st_cpc_tty_area *) tty->driver_data;	pc300dev_t *pc300dev = cpc_tty->pc300dev;	pc300ch_t *pc300chan = (pc300ch_t *)pc300dev->chan;	pc300_t *card = (pc300_t *) pc300chan->card;	int ch = pc300chan->channel;	cpc_tty = (st_cpc_tty_area *) tty->driver_data;	CPC_TTY_DBG("%s-tty: tiocmget\n",		((struct net_device*)(pc300dev->hdlc))->name);	CPC_TTY_LOCK(card, flags);	status = cpc_readb(card->hw.scabase+M_REG(CTL,ch));	CPC_TTY_UNLOCK(card,flags);	result = ((status & CTL_DTR) ? TIOCM_DTR : 0) |		 ((status & CTL_RTS) ? TIOCM_RTS : 0);	return result;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7665a08928f241247afe8c76865cdbe4ef5489bf/pc300_tty.c/clean/drivers/net/wan/pc300_tty.c