Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dtmio_nand.c113 void __iomem *fcr; member
155 tmio_iowrite8(mode, tmio->fcr + FCR_MODE); in tmio_nand_hwcontrol()
167 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()
195 tmio_iowrite8(0x0f, tmio->fcr + FCR_ISR); in tmio_nand_wait()
197 tmio_iowrite8(0x81, tmio->fcr + FCR_IMR); in tmio_nand_wait()
204 tmio_iowrite8(0x00, tmio->fcr + FCR_IMR); in tmio_nand_wait()
208 tmio_iowrite8(0x00, tmio->fcr + FCR_IMR); in tmio_nand_wait()
232 data = tmio_ioread16(tmio->fcr + FCR_DATA); in tmio_nand_read_byte()
248 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()
242 in_be32(&lbc->fir), in_be32(&lbc->fcr), in fsl_elbc_run_command()
290 out_be32(&lbc->fcr, (NAND_CMD_READ0 << FCR_CMD0_SHIFT) | in fsl_elbc_do_read()
300 out_be32(&lbc->fcr, NAND_CMD_READOOB << FCR_CMD0_SHIFT); in fsl_elbc_do_read()
302 out_be32(&lbc->fcr, NAND_CMD_READ0 << FCR_CMD0_SHIFT); in fsl_elbc_do_read()
375 out_be32(&lbc->fcr, command << FCR_CMD0_SHIFT); in fsl_elbc_cmdfunc()
407 out_be32(&lbc->fcr, in fsl_elbc_cmdfunc()
421 __be32 fcr; in fsl_elbc_cmdfunc() local
439 fcr = (NAND_CMD_STATUS << FCR_CMD1_SHIFT) | in fsl_elbc_cmdfunc()
465 fcr |= NAND_CMD_READOOB << FCR_CMD0_SHIFT; in fsl_elbc_cmdfunc()
[all …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dsun3xflop.h39 unsigned char fcr; member
86 unsigned char fcr = sun3x_fdc.fcr; in sun3x_82072_fd_outb() local
89 fcr |= (FCR_DSEL0 | FCR_MTRON); in sun3x_82072_fd_outb()
91 fcr &= ~(FCR_DSEL0 | FCR_MTRON); in sun3x_82072_fd_outb()
94 if(fcr != sun3x_fdc.fcr) { in sun3x_82072_fd_outb()
95 *(sun3x_fdc.fcr_r) = fcr; in sun3x_82072_fd_outb()
96 sun3x_fdc.fcr = fcr; in sun3x_82072_fd_outb()
227 sun3x_fdc.fcr = 0; in sun3xflop_init()
251 sun3x_fdc.fcr |= (FCR_DSEL0 | FCR_EJECT); in sun3x_eject()
252 *(sun3x_fdc.fcr_r) = sun3x_fdc.fcr; in sun3x_eject()
[all …]
/kernel/linux/linux-5.10/lib/reed_solomon/
Dreed_solomon.c71 int fcr, int prim, int nroots, gfp_t gfp) in codec_init() argument
84 rs->fcr = fcr; in codec_init()
135 for (i = 0, root = fcr * prim; i < nroots; i++, root += prim) { in codec_init()
214 int (*gffunc)(int), int fcr, in init_rs_internal() argument
224 if (fcr < 0 || fcr >= (1<<symsize)) in init_rs_internal()
253 if (fcr != cd->fcr) in init_rs_internal()
266 rs->codec = codec_init(symsize, gfpoly, gffunc, fcr, prim, nroots, gfp); in init_rs_internal()
288 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim, in init_rs_gfp() argument
291 return init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp); in init_rs_gfp()
308 int fcr, int prim, int nroots) in init_rs_non_canonical() argument
[all …]
Ddecode_rs.c18 int fcr = rs->fcr; variable
73 (fcr + i) * prim)];
85 (fcr+i)*prim)];
267 num2 = alpha_to[rs_modnn(rs, root[j] * (fcr - 1) + nn)];
295 k = (fcr + i) * prim * (nn-loc[j]-1);
Dtest_rslib.c237 int fcr = rs->fcr; in compute_syndrome() local
249 + (fcr + i) * prim)]; in compute_syndrome()
/kernel/linux/linux-5.10/include/linux/
Drslib.h41 int fcr; member
82 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim,
98 static inline struct rs_control *init_rs(int symsize, int gfpoly, int fcr, in init_rs() argument
101 return init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL); in init_rs()
105 int fcr, int prim, int nroots);
Dserial_8250.h103 unsigned char fcr; member
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dfeature.c163 unsigned long fcr; in ohare_htw_scc_enable() local
189 fcr = MACIO_IN32(OHARE_FCR); in ohare_htw_scc_enable()
191 if (!(fcr & OH_SCC_ENABLE)) { in ohare_htw_scc_enable()
192 fcr |= OH_SCC_ENABLE; in ohare_htw_scc_enable()
200 fcr &= ~HRW_SCC_TRANS_EN_N; in ohare_htw_scc_enable()
201 MACIO_OUT32(OHARE_FCR, fcr); in ohare_htw_scc_enable()
202 fcr |= (rmask = HRW_RESET_SCC); in ohare_htw_scc_enable()
203 MACIO_OUT32(OHARE_FCR, fcr); in ohare_htw_scc_enable()
205 fcr |= (rmask = OH_SCC_RESET); in ohare_htw_scc_enable()
206 MACIO_OUT32(OHARE_FCR, fcr); in ohare_htw_scc_enable()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c597 u32 fcr = 0x0, fpr = FPR_FILER_MASK; in ethflow_to_filer_rules() local
600 fcr = RQFCR_PID_DAH | RQFCR_CMP_NOMATCH | in ethflow_to_filer_rules()
603 priv->ftp_rqfcr[priv->cur_filer_idx] = fcr; in ethflow_to_filer_rules()
604 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
607 fcr = RQFCR_PID_DAL | RQFCR_CMP_NOMATCH | in ethflow_to_filer_rules()
610 priv->ftp_rqfcr[priv->cur_filer_idx] = fcr; in ethflow_to_filer_rules()
611 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
616 fcr = RQFCR_PID_VID | RQFCR_CMP_NOMATCH | RQFCR_HASH | in ethflow_to_filer_rules()
618 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
620 priv->ftp_rqfcr[priv->cur_filer_idx] = fcr; in ethflow_to_filer_rules()
[all …]
Dgianfar.h1192 unsigned int far, unsigned int fcr, unsigned int fpr) in gfar_write_filer() argument
1197 gfar_write(&regs->rqfcr, fcr); in gfar_write_filer()
1202 unsigned int far, unsigned int *fcr, unsigned int *fpr) in gfar_read_filer() argument
1207 *fcr = gfar_read(&regs->rqfcr); in gfar_read_filer()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_port.c83 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
102 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
111 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10 |
125 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01,
134 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
143 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
150 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_11,
157 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
164 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
171 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
[all …]
/kernel/linux/linux-5.10/arch/csky/include/uapi/asm/
Dptrace.h45 unsigned long fcr; member
/kernel/linux/linux-5.10/arch/csky/abiv2/
Dfpu.c160 user_fp->fcr = tmp1; in save_to_user_fp()
219 tmp1 = user_fp->fcr; in restore_from_user_fp()
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_arch_context.h58 UINT32 fcr; member
Dlos_arch_interrupt.h59 UINT32 fcr; member
/kernel/linux/linux-5.10/drivers/tty/serial/
Dserial-tegra.c303 unsigned long fcr = tup->fcr_shadow; in tegra_uart_fifo_reset() local
310 fcr |= fcr_bits & (UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT); in tegra_uart_fifo_reset()
311 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
313 fcr &= ~UART_FCR_ENABLE_FIFO; in tegra_uart_fifo_reset()
314 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
316 fcr |= fcr_bits & (UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT); in tegra_uart_fifo_reset()
317 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
318 fcr |= UART_FCR_ENABLE_FIFO; in tegra_uart_fifo_reset()
319 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
Dsunsu.c779 unsigned char cval, fcr = 0; in sunsu_change_speed() local
820 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1; in sunsu_change_speed()
823 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_14; in sunsu_change_speed()
826 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_8; in sunsu_change_speed()
829 fcr |= UART_FCR7_64BYTE; in sunsu_change_speed()
887 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
891 if (fcr & UART_FCR_ENABLE_FIFO) { in sunsu_change_speed()
895 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
Dpxa.c428 unsigned char cval, fcr = 0; in serial_pxa_set_termios() local
463 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR1; in serial_pxa_set_termios()
465 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR8; in serial_pxa_set_termios()
467 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR32; in serial_pxa_set_termios()
542 serial_out(up, UART_FCR, fcr); in serial_pxa_set_termios()
Dpch_uart.c222 unsigned int fcr; member
489 iowrite8(PCH_UART_FCR_FIFOE | priv->fcr, priv->membase + UART_FCR); in pch_uart_hal_fifo_reset()
490 iowrite8(PCH_UART_FCR_FIFOE | priv->fcr | flag, in pch_uart_hal_fifo_reset()
492 iowrite8(priv->fcr, priv->membase + UART_FCR); in pch_uart_hal_fifo_reset()
501 u8 fcr; in pch_uart_hal_set_fifo() local
539 fcr = in pch_uart_hal_set_fifo()
544 iowrite8(fcr, priv->membase + UART_FCR); in pch_uart_hal_set_fifo()
545 priv->fcr = fcr; in pch_uart_hal_set_fifo()
1803 priv->fcr = 0; in pch_uart_init_port()
Domap-serial.c133 unsigned char fcr; member
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()
1805 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_XMIT | in serial_omap_mdr1_errataset()
1841 serial_out(up, UART_FCR, up->fcr); in serial_omap_restore_context()
Dmilbeaut_usio.c123 u16 fcr = readw(port->membase + MLB_USIO_REG_FCR); in mlb_usio_start_tx() local
125 writew(fcr | MLB_USIO_FCR_FTIE, port->membase + MLB_USIO_REG_FCR); in mlb_usio_start_tx()
126 if (!(fcr & MLB_USIO_FCR_FDRQ)) in mlb_usio_start_tx()
/kernel/linux/linux-5.10/drivers/tty/
Dmxser.c644 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 …]
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dsmc37c93x.h92 #define fcr iir macro
/kernel/linux/linux-5.10/drivers/ide/
Dpmac.c868 u32 fcr = readl(pmif->kauai_fcr); in pmac_ide_do_suspend() local
869 fcr &= ~(KAUAI_FCR_UATA_RESET_N | KAUAI_FCR_UATA_ENABLE); in pmac_ide_do_suspend()
870 writel(fcr, pmif->kauai_fcr); in pmac_ide_do_suspend()
894 u32 fcr = readl(pmif->kauai_fcr); in pmac_ide_do_resume() local
895 fcr |= KAUAI_FCR_UATA_RESET_N | KAUAI_FCR_UATA_ENABLE; in pmac_ide_do_resume()
896 writel(fcr, pmif->kauai_fcr); in pmac_ide_do_resume()

12