Home
last modified time | relevance | path

Searched refs:fcr (Results 1 – 18 of 18) sorted by relevance

/drivers/mtd/nand/
Dtmio_nand.c111 void __iomem *fcr; member
154 tmio_iowrite8(mode, tmio->fcr + FCR_MODE); in tmio_nand_hwcontrol()
166 return !(tmio_ioread8(tmio->fcr + FCR_STATUS) & FCR_STATUS_BUSY); in tmio_nand_dev_ready()
175 tmio_iowrite8(0x00, tmio->fcr + FCR_IMR); in tmio_irq()
197 tmio_iowrite8(0x0f, tmio->fcr + FCR_ISR); in tmio_nand_wait()
198 tmio_iowrite8(0x81, tmio->fcr + FCR_IMR); in tmio_nand_wait()
205 tmio_iowrite8(0x00, tmio->fcr + FCR_IMR); in tmio_nand_wait()
211 tmio_iowrite8(0x00, tmio->fcr + FCR_IMR); in tmio_nand_wait()
235 data = tmio_ioread16(tmio->fcr + FCR_DATA); in tmio_nand_read_byte()
251 tmio_iowrite16_rep(tmio->fcr + FCR_DATA, buf, len >> 1); in tmio_nand_write_buf()
[all …]
Dfsl_elbc_nand.c218 in_be32(&lbc->fmr), in_be32(&lbc->fir), in_be32(&lbc->fcr)); in fsl_elbc_run_command()
262 out_be32(&lbc->fcr, (NAND_CMD_READ0 << FCR_CMD0_SHIFT) | in fsl_elbc_do_read()
272 out_be32(&lbc->fcr, NAND_CMD_READOOB << FCR_CMD0_SHIFT); in fsl_elbc_do_read()
274 out_be32(&lbc->fcr, NAND_CMD_READ0 << FCR_CMD0_SHIFT); in fsl_elbc_do_read()
338 out_be32(&lbc->fcr, NAND_CMD_READID << FCR_CMD0_SHIFT); in fsl_elbc_cmdfunc()
366 out_be32(&lbc->fcr, in fsl_elbc_cmdfunc()
378 __be32 fcr; in fsl_elbc_cmdfunc() local
388 fcr = (NAND_CMD_SEQIN << FCR_CMD0_SHIFT) | in fsl_elbc_cmdfunc()
398 fcr = (NAND_CMD_PAGEPROG << FCR_CMD1_SHIFT) | in fsl_elbc_cmdfunc()
412 fcr |= NAND_CMD_READOOB << FCR_CMD0_SHIFT; in fsl_elbc_cmdfunc()
[all …]
/drivers/bluetooth/
Dbtuart_cs.c348 int fcr; /* FIFO control reg */ in btuart_change_speed() local
366 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT; in btuart_change_speed()
375 fcr |= UART_FCR_TRIGGER_1; in btuart_change_speed()
377 fcr |= UART_FCR_TRIGGER_14; in btuart_change_speed()
386 outb(fcr, iobase + UART_FCR); /* Enable FIFO's */ in btuart_change_speed()
/drivers/serial/
D8250.c197 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
215 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
223 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10 |
236 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
243 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
251 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
258 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_11,
265 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
272 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
279 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
[all …]
Dpxa.c444 unsigned char cval, fcr = 0; in serial_pxa_set_termios() local
478 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR1; in serial_pxa_set_termios()
480 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR8; in serial_pxa_set_termios()
482 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR32; in serial_pxa_set_termios()
549 serial_out(up, UART_FCR, fcr); in serial_pxa_set_termios()
Dsunsu.c770 unsigned char cval, fcr = 0; in sunsu_change_speed() local
811 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1; in sunsu_change_speed()
814 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_14; in sunsu_change_speed()
817 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_8; in sunsu_change_speed()
820 fcr |= UART_FCR7_64BYTE; in sunsu_change_speed()
878 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
882 if (fcr & UART_FCR_ENABLE_FIFO) { in sunsu_change_speed()
886 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
D8250.h37 unsigned char fcr; member
Dserial_ks8695.c382 unsigned int lcr, fcr = 0; in ks8695uart_set_termios() local
426 fcr = URFC_URFRT_8 | URFC_URTFR | URFC_URRFR | URFC_URFE; in ks8695uart_set_termios()
473 UART_PUT_FCR(port, fcr); in ks8695uart_set_termios()
Dvr41xx_siu.c521 uint8_t lcr, fcr, ier; in siu_set_termios() local
553 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10; in siu_set_termios()
592 siu_write(port, UART_FCR, fcr); in siu_set_termios()
Dserial_txx9.c552 unsigned int cval, fcr = 0; in serial_txx9_set_termios() local
596 fcr = TXX9_SIFCR_TDIL_MAX | TXX9_SIFCR_RDIL_1; in serial_txx9_set_termios()
650 sio_out(up, TXX9_SIFCR, fcr); in serial_txx9_set_termios()
Dioc4_serial.c261 char fcr; /* write only */ member
282 #define i4u_fcr u3.fcr
/drivers/char/
Dmxser.c632 unsigned cflag, cval, fcr; in mxser_change_speed() local
672 fcr = UART_FCR_ENABLE_FIFO; in mxser_change_speed()
673 fcr |= MOXA_MUST_FCR_GDA_MODE_ENABLE; in mxser_change_speed()
676 fcr = 0; in mxser_change_speed()
678 fcr = UART_FCR_ENABLE_FIFO; in mxser_change_speed()
680 fcr |= MOXA_MUST_FCR_GDA_MODE_ENABLE; in mxser_change_speed()
685 fcr |= UART_FCR_TRIGGER_1; in mxser_change_speed()
688 fcr |= UART_FCR_TRIGGER_4; in mxser_change_speed()
691 fcr |= UART_FCR_TRIGGER_8; in mxser_change_speed()
694 fcr |= UART_FCR_TRIGGER_14; in mxser_change_speed()
[all …]
/drivers/ide/
Dpmac.c872 u32 fcr = readl(pmif->kauai_fcr); in pmac_ide_do_suspend() local
873 fcr &= ~(KAUAI_FCR_UATA_RESET_N | KAUAI_FCR_UATA_ENABLE); in pmac_ide_do_suspend()
874 writel(fcr, pmif->kauai_fcr); in pmac_ide_do_suspend()
898 u32 fcr = readl(pmif->kauai_fcr); in pmac_ide_do_resume() local
899 fcr |= KAUAI_FCR_UATA_RESET_N | KAUAI_FCR_UATA_ENABLE; in pmac_ide_do_resume()
900 writel(fcr, pmif->kauai_fcr); in pmac_ide_do_resume()
/drivers/isdn/hisax/
Delsa_ser.c110 unsigned cval, fcr = 0; in change_speed() local
125 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1; in change_speed()
127 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_8; in change_speed()
128 serial_outp(cs, UART_FCR, fcr); in change_speed()
/drivers/net/irda/
Dsmsc-ircc2.c1124 int fcr; /* FIFO control reg */ in smsc_ircc_set_sir_speed() local
1141 fcr = UART_FCR_ENABLE_FIFO; in smsc_ircc_set_sir_speed()
1148 fcr |= self->io.speed < 38400 ? in smsc_ircc_set_sir_speed()
1158 outb(fcr, iobase + UART_FCR); /* Enable FIFO's */ in smsc_ircc_set_sir_speed()
1951 int fcr; in smsc_ircc_sir_write_wakeup() local
1992 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_CLEAR_RCVR; in smsc_ircc_sir_write_wakeup()
1993 fcr |= self->io.speed < 38400 ? in smsc_ircc_sir_write_wakeup()
1996 outb(fcr, iobase + UART_FCR); in smsc_ircc_sir_write_wakeup()
Dali-ircc.c1044 int fcr; /* FIFO control reg */ in ali_ircc_sir_change_speed() local
1077 fcr = UART_FCR_ENABLE_FIFO; in ali_ircc_sir_change_speed()
1085 fcr |= UART_FCR_TRIGGER_1; in ali_ircc_sir_change_speed()
1087 fcr |= UART_FCR_TRIGGER_14; in ali_ircc_sir_change_speed()
1096 outb(fcr, iobase+UART_FCR); /* Enable FIFO's */ in ali_ircc_sir_change_speed()
/drivers/mmc/card/
Dsdio_uart.c269 unsigned char cval, fcr = 0; in sdio_uart_change_speed() local
315 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1; in sdio_uart_change_speed()
317 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10; in sdio_uart_change_speed()
361 sdio_out(port, UART_FCR, fcr); in sdio_uart_change_speed()
/drivers/isdn/i4l/
Disdn_tty.c998 fcr, in isdn_tty_change_speed() local
1037 fcr = 0; in isdn_tty_change_speed()