Home
last modified time | relevance | path

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

12

/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.c231 in_be32(&lbc->fmr), in_be32(&lbc->fir), in_be32(&lbc->fcr)); in fsl_elbc_run_command()
255 in_be32(&lbc->fir), in_be32(&lbc->fcr), in fsl_elbc_run_command()
303 out_be32(&lbc->fcr, (NAND_CMD_READ0 << FCR_CMD0_SHIFT) | in fsl_elbc_do_read()
313 out_be32(&lbc->fcr, NAND_CMD_READOOB << FCR_CMD0_SHIFT); in fsl_elbc_do_read()
315 out_be32(&lbc->fcr, NAND_CMD_READ0 << FCR_CMD0_SHIFT); in fsl_elbc_do_read()
380 out_be32(&lbc->fcr, command << FCR_CMD0_SHIFT); in fsl_elbc_cmdfunc()
412 out_be32(&lbc->fcr, in fsl_elbc_cmdfunc()
426 __be32 fcr; in fsl_elbc_cmdfunc() local
444 fcr = (NAND_CMD_STATUS << FCR_CMD1_SHIFT) | in fsl_elbc_cmdfunc()
470 fcr |= NAND_CMD_READOOB << FCR_CMD0_SHIFT; in fsl_elbc_cmdfunc()
[all …]
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c665 u32 fcr = 0x0, fpr = FPR_FILER_MASK; in ethflow_to_filer_rules() local
668 fcr = RQFCR_PID_DAH | RQFCR_CMP_NOMATCH | in ethflow_to_filer_rules()
671 priv->ftp_rqfcr[priv->cur_filer_idx] = fcr; in ethflow_to_filer_rules()
672 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
675 fcr = RQFCR_PID_DAL | RQFCR_CMP_NOMATCH | in ethflow_to_filer_rules()
678 priv->ftp_rqfcr[priv->cur_filer_idx] = fcr; in ethflow_to_filer_rules()
679 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
684 fcr = RQFCR_PID_VID | RQFCR_CMP_NOMATCH | RQFCR_HASH | in ethflow_to_filer_rules()
686 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
688 priv->ftp_rqfcr[priv->cur_filer_idx] = fcr; in ethflow_to_filer_rules()
[all …]
Dgianfar.h1228 unsigned int far, unsigned int fcr, unsigned int fpr) in gfar_write_filer() argument
1233 gfar_write(&regs->rqfcr, fcr); in gfar_write_filer()
1238 unsigned int far, unsigned int *fcr, unsigned int *fpr) in gfar_read_filer() argument
1243 *fcr = gfar_read(&regs->rqfcr); in gfar_read_filer()
/drivers/tty/serial/8250/
D8250_port.c86 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10 |
106 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
115 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10 |
129 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
137 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
146 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
153 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_11,
160 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
167 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
174 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
[all …]
D8250_omap.c172 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_XMIT | in omap_8250_mdr1_errataset()
284 serial_out(up, UART_FCR, up->fcr); in omap8250_restore_regs()
432 up->fcr = UART_FCR_ENABLE_FIFO; in omap_8250_set_termios()
433 up->fcr |= TRIGGER_FCR_MASK(TX_TRIGGER) << OMAP_UART_FCR_TX_TRIG; in omap_8250_set_termios()
434 up->fcr |= TRIGGER_FCR_MASK(RX_TRIGGER) << OMAP_UART_FCR_RX_TRIG; in omap_8250_set_termios()
D8250.h70 unsigned char fcr; member
/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/tty/serial/
Dserial-tegra.c259 unsigned long fcr = tup->fcr_shadow; in tegra_uart_fifo_reset() local
262 fcr |= fcr_bits & (UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT); in tegra_uart_fifo_reset()
263 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
265 fcr &= ~UART_FCR_ENABLE_FIFO; in tegra_uart_fifo_reset()
266 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
268 fcr |= fcr_bits & (UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT); in tegra_uart_fifo_reset()
269 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
270 fcr |= UART_FCR_ENABLE_FIFO; in tegra_uart_fifo_reset()
271 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
Dsunsu.c782 unsigned char cval, fcr = 0; in sunsu_change_speed() local
823 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1; in sunsu_change_speed()
826 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_14; in sunsu_change_speed()
829 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_8; in sunsu_change_speed()
832 fcr |= UART_FCR7_64BYTE; in sunsu_change_speed()
890 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
894 if (fcr & UART_FCR_ENABLE_FIFO) { in sunsu_change_speed()
898 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
Dpch_uart.c244 unsigned int fcr; member
510 iowrite8(PCH_UART_FCR_FIFOE | priv->fcr, priv->membase + UART_FCR); in pch_uart_hal_fifo_reset()
511 iowrite8(PCH_UART_FCR_FIFOE | priv->fcr | flag, in pch_uart_hal_fifo_reset()
513 iowrite8(priv->fcr, priv->membase + UART_FCR); in pch_uart_hal_fifo_reset()
522 u8 fcr; in pch_uart_hal_set_fifo() local
560 fcr = in pch_uart_hal_set_fifo()
565 iowrite8(fcr, priv->membase + UART_FCR); in pch_uart_hal_set_fifo()
566 priv->fcr = fcr; in pch_uart_hal_set_fifo()
1829 priv->fcr = 0; in pch_uart_init_port()
Dpxa.c436 unsigned char cval, fcr = 0; in serial_pxa_set_termios() local
471 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR1; in serial_pxa_set_termios()
473 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR8; in serial_pxa_set_termios()
475 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR32; in serial_pxa_set_termios()
550 serial_out(up, UART_FCR, fcr); in serial_pxa_set_termios()
Domap-serial.c144 unsigned char fcr; member
348 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_RCVR); in serial_omap_stop_tx()
892 up->fcr = UART_FCR_R_TRIG_01 | UART_FCR_T_TRIG_01 | in serial_omap_set_termios()
982 up->fcr &= ~OMAP_UART_FCR_RX_FIFO_TRIG_MASK; in serial_omap_set_termios()
983 up->fcr &= ~OMAP_UART_FCR_TX_FIFO_TRIG_MASK; in serial_omap_set_termios()
984 up->fcr |= UART_FCR6_R_TRIGGER_16 | UART_FCR6_T_TRIGGER_24 | in serial_omap_set_termios()
987 serial_out(up, UART_FCR, up->fcr); in serial_omap_set_termios()
1757 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_XMIT | in serial_omap_mdr1_errataset()
1793 serial_out(up, UART_FCR, up->fcr); in serial_omap_restore_context()
Dserial_ks8695.c384 unsigned int lcr, fcr = 0; in ks8695uart_set_termios() local
428 fcr = URFC_URFRT_8 | URFC_URTFR | URFC_URRFR | URFC_URFE; in ks8695uart_set_termios()
475 UART_PUT_FCR(port, fcr); in ks8695uart_set_termios()
Dvr41xx_siu.c519 uint8_t lcr, fcr, ier; in siu_set_termios() local
551 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10; in siu_set_termios()
590 siu_write(port, UART_FCR, fcr); in siu_set_termios()
Dserial_txx9.c633 unsigned int cval, fcr = 0; in serial_txx9_set_termios() local
677 fcr = TXX9_SIFCR_TDIL_MAX | TXX9_SIFCR_RDIL_1; in serial_txx9_set_termios()
731 sio_out(up, TXX9_SIFCR, fcr); in serial_txx9_set_termios()
/drivers/tty/
Dmxser.c643 unsigned cflag, cval, fcr; in mxser_change_speed() local
683 fcr = UART_FCR_ENABLE_FIFO; in mxser_change_speed()
684 fcr |= MOXA_MUST_FCR_GDA_MODE_ENABLE; in mxser_change_speed()
687 fcr = 0; in mxser_change_speed()
689 fcr = UART_FCR_ENABLE_FIFO; in mxser_change_speed()
691 fcr |= MOXA_MUST_FCR_GDA_MODE_ENABLE; in mxser_change_speed()
696 fcr |= UART_FCR_TRIGGER_1; in mxser_change_speed()
699 fcr |= UART_FCR_TRIGGER_4; in mxser_change_speed()
702 fcr |= UART_FCR_TRIGGER_8; in mxser_change_speed()
705 fcr |= UART_FCR_TRIGGER_14; in mxser_change_speed()
[all …]
/drivers/ide/
Dpmac.c873 u32 fcr = readl(pmif->kauai_fcr); in pmac_ide_do_suspend() local
874 fcr &= ~(KAUAI_FCR_UATA_RESET_N | KAUAI_FCR_UATA_ENABLE); in pmac_ide_do_suspend()
875 writel(fcr, pmif->kauai_fcr); in pmac_ide_do_suspend()
899 u32 fcr = readl(pmif->kauai_fcr); in pmac_ide_do_resume() local
900 fcr |= KAUAI_FCR_UATA_RESET_N | KAUAI_FCR_UATA_ENABLE; in pmac_ide_do_resume()
901 writel(fcr, pmif->kauai_fcr); in pmac_ide_do_resume()
/drivers/isdn/hisax/
Delsa_ser.c111 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.c1135 int fcr; /* FIFO control reg */ in smsc_ircc_set_sir_speed() local
1152 fcr = UART_FCR_ENABLE_FIFO; in smsc_ircc_set_sir_speed()
1159 fcr |= self->io.speed < 38400 ? in smsc_ircc_set_sir_speed()
1169 outb(fcr, iobase + UART_FCR); /* Enable FIFO's */ in smsc_ircc_set_sir_speed()
1960 int fcr; in smsc_ircc_sir_write_wakeup() local
2001 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_CLEAR_RCVR; in smsc_ircc_sir_write_wakeup()
2002 fcr |= self->io.speed < 38400 ? in smsc_ircc_sir_write_wakeup()
2005 outb(fcr, iobase + UART_FCR); in smsc_ircc_sir_write_wakeup()
Dali-ircc.c1035 int fcr; /* FIFO control reg */ in ali_ircc_sir_change_speed() local
1065 fcr = UART_FCR_ENABLE_FIFO; in ali_ircc_sir_change_speed()
1073 fcr |= UART_FCR_TRIGGER_1; in ali_ircc_sir_change_speed()
1075 fcr |= UART_FCR_TRIGGER_14; in ali_ircc_sir_change_speed()
1084 outb(fcr, iobase+UART_FCR); /* Enable FIFO's */ in ali_ircc_sir_change_speed()
/drivers/mmc/card/
Dsdio_uart.c256 unsigned char cval, fcr = 0; in sdio_uart_change_speed() local
302 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1; in sdio_uart_change_speed()
304 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10; in sdio_uart_change_speed()
348 sdio_out(port, UART_FCR, fcr); in sdio_uart_change_speed()
/drivers/ata/
Dpata_macio.c871 u32 fcr = readl(priv->kauai_fcr); in pata_macio_do_suspend() local
872 fcr &= ~(KAUAI_FCR_UATA_RESET_N | KAUAI_FCR_UATA_ENABLE); in pata_macio_do_suspend()
873 writel(fcr, priv->kauai_fcr); in pata_macio_do_suspend()
/drivers/net/ethernet/broadcom/
Dbcmsysport.h515 u32 fcr; /* RO # of carrier sense error pkt */ member
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h102 u32 fcr; /* RO # of carrier sense error pkt */ member

12