Home
last modified time | relevance | path

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

12

/Linux-v6.6/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 …]
/Linux-v6.6/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()
/Linux-v6.6/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.h132 unsigned char fcr; member
/Linux-v6.6/arch/powerpc/platforms/powermac/
Dfeature.c164 unsigned long fcr; in ohare_htw_scc_enable() local
190 fcr = MACIO_IN32(OHARE_FCR); in ohare_htw_scc_enable()
192 if (!(fcr & OH_SCC_ENABLE)) { in ohare_htw_scc_enable()
193 fcr |= OH_SCC_ENABLE; in ohare_htw_scc_enable()
201 fcr &= ~HRW_SCC_TRANS_EN_N; in ohare_htw_scc_enable()
202 MACIO_OUT32(OHARE_FCR, fcr); in ohare_htw_scc_enable()
203 fcr |= (rmask = HRW_RESET_SCC); in ohare_htw_scc_enable()
204 MACIO_OUT32(OHARE_FCR, fcr); in ohare_htw_scc_enable()
206 fcr |= (rmask = OH_SCC_RESET); in ohare_htw_scc_enable()
207 MACIO_OUT32(OHARE_FCR, fcr); in ohare_htw_scc_enable()
[all …]
/Linux-v6.6/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c607 u32 fcr = 0x0, fpr = FPR_FILER_MASK; in ethflow_to_filer_rules() local
610 fcr = RQFCR_PID_DAH | RQFCR_CMP_NOMATCH | in ethflow_to_filer_rules()
613 priv->ftp_rqfcr[priv->cur_filer_idx] = fcr; in ethflow_to_filer_rules()
614 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
617 fcr = RQFCR_PID_DAL | RQFCR_CMP_NOMATCH | in ethflow_to_filer_rules()
620 priv->ftp_rqfcr[priv->cur_filer_idx] = fcr; in ethflow_to_filer_rules()
621 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
626 fcr = RQFCR_PID_VID | RQFCR_CMP_NOMATCH | RQFCR_HASH | in ethflow_to_filer_rules()
628 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
630 priv->ftp_rqfcr[priv->cur_filer_idx] = fcr; in ethflow_to_filer_rules()
[all …]
Dgianfar.h1236 unsigned int far, unsigned int fcr, unsigned int fpr) in gfar_write_filer() argument
1241 gfar_write(&regs->rqfcr, fcr); in gfar_write_filer()
1246 unsigned int far, unsigned int *fcr, unsigned int *fpr) in gfar_read_filer() argument
1251 *fcr = gfar_read(&regs->rqfcr); in gfar_read_filer()
/Linux-v6.6/drivers/tty/serial/8250/
D8250_em.c87 unsigned int ier, fcr, lcr, mcr, hcr0; in serial8250_em_reg_update() local
90 fcr = serial8250_em_serial_in(p, UART_FCR_EM); in serial8250_em_reg_update()
95 serial8250_em_serial_out_helper(p, UART_FCR_EM, fcr | in serial8250_em_reg_update()
105 fcr = value; in serial8250_em_reg_update()
116 serial8250_em_serial_out_helper(p, UART_FCR_EM, fcr); in serial8250_em_reg_update()
D8250_port.c82 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
101 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
110 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10 |
124 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01,
133 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
142 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
149 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_11,
156 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
163 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
170 .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
[all …]
/Linux-v6.6/drivers/mtd/nand/raw/
Dfsl_elbc_nand.c217 in_be32(&lbc->fmr), in_be32(&lbc->fir), in_be32(&lbc->fcr)); in fsl_elbc_run_command()
241 in_be32(&lbc->fir), in_be32(&lbc->fcr), in fsl_elbc_run_command()
289 out_be32(&lbc->fcr, (NAND_CMD_READ0 << FCR_CMD0_SHIFT) | in fsl_elbc_do_read()
299 out_be32(&lbc->fcr, NAND_CMD_READOOB << FCR_CMD0_SHIFT); in fsl_elbc_do_read()
301 out_be32(&lbc->fcr, NAND_CMD_READ0 << FCR_CMD0_SHIFT); in fsl_elbc_do_read()
374 out_be32(&lbc->fcr, command << FCR_CMD0_SHIFT); in fsl_elbc_cmdfunc()
406 out_be32(&lbc->fcr, in fsl_elbc_cmdfunc()
420 __be32 fcr; in fsl_elbc_cmdfunc() local
438 fcr = (NAND_CMD_STATUS << FCR_CMD1_SHIFT) | in fsl_elbc_cmdfunc()
464 fcr |= NAND_CMD_READOOB << FCR_CMD0_SHIFT; in fsl_elbc_cmdfunc()
[all …]
/Linux-v6.6/arch/csky/abiv2/
Dfpu.c160 user_fp->fcr = tmp1; in save_to_user_fp()
219 tmp1 = user_fp->fcr; in restore_from_user_fp()
/Linux-v6.6/drivers/net/ethernet/davicom/
Ddm9051.c260 u8 fcr = 0; in dm9051_set_fcr() local
263 fcr |= FCR_BKPM | FCR_FLCE; in dm9051_set_fcr()
265 fcr |= FCR_TXPEN; in dm9051_set_fcr()
267 return dm9051_set_reg(db, DM9051_FCR, fcr); in dm9051_set_fcr()
305 u8 fcr = 0; in dm9051_update_fcr() local
308 fcr |= FCR_BKPM | FCR_FLCE; in dm9051_update_fcr()
310 fcr |= FCR_TXPEN; in dm9051_update_fcr()
312 return dm9051_update_bits(db, DM9051_FCR, FCR_RXTX_BITS, fcr); in dm9051_update_fcr()
/Linux-v6.6/arch/csky/include/uapi/asm/
Dptrace.h44 unsigned long fcr; member
/Linux-v6.6/drivers/tty/serial/
Dpxa.c406 unsigned char cval, fcr = 0; in serial_pxa_set_termios() local
427 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR1; in serial_pxa_set_termios()
429 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR8; in serial_pxa_set_termios()
431 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_PXAR32; in serial_pxa_set_termios()
506 serial_out(up, UART_FCR, fcr); in serial_pxa_set_termios()
Dpch_uart.c221 unsigned int fcr; member
484 iowrite8(PCH_UART_FCR_FIFOE | priv->fcr, priv->membase + UART_FCR); in pch_uart_hal_fifo_reset()
485 iowrite8(PCH_UART_FCR_FIFOE | priv->fcr | flag, in pch_uart_hal_fifo_reset()
487 iowrite8(priv->fcr, priv->membase + UART_FCR); in pch_uart_hal_fifo_reset()
496 u8 fcr; in pch_uart_hal_set_fifo() local
534 fcr = in pch_uart_hal_set_fifo()
539 iowrite8(fcr, priv->membase + UART_FCR); in pch_uart_hal_set_fifo()
540 priv->fcr = fcr; in pch_uart_hal_set_fifo()
1742 priv->fcr = 0; in pch_uart_init_port()
Dserial-tegra.c307 unsigned long fcr = tup->fcr_shadow; in tegra_uart_fifo_reset() local
314 fcr |= fcr_bits & (UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT); in tegra_uart_fifo_reset()
315 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
317 fcr &= ~UART_FCR_ENABLE_FIFO; in tegra_uart_fifo_reset()
318 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
320 fcr |= fcr_bits & (UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT); in tegra_uart_fifo_reset()
321 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
322 fcr |= UART_FCR_ENABLE_FIFO; in tegra_uart_fifo_reset()
323 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
Dsunsu.c775 unsigned char cval, fcr = 0; in sunsu_change_speed() local
814 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1; in sunsu_change_speed()
817 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_14; in sunsu_change_speed()
820 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_8; in sunsu_change_speed()
823 fcr |= UART_FCR7_64BYTE; in sunsu_change_speed()
881 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
885 if (fcr & UART_FCR_ENABLE_FIFO) { in sunsu_change_speed()
889 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
Dma35d1_serial.c380 u32 fcr; in ma35d1serial_startup() local
396 fcr = serial_in(up, MA35_FCR_REG); in ma35d1serial_startup()
397 fcr |= MA35_FCR_RFITL_4BYTES | MA35_FCR_RTSTL_8BYTES; in ma35d1serial_startup()
398 serial_out(up, MA35_FCR_REG, fcr); in ma35d1serial_startup()
Domap-serial.c134 unsigned char fcr; member
811 up->fcr = UART_FCR_R_TRIG_01 | UART_FCR_T_TRIG_01 | in serial_omap_set_termios()
900 up->fcr &= ~OMAP_UART_FCR_RX_FIFO_TRIG_MASK; in serial_omap_set_termios()
901 up->fcr &= ~OMAP_UART_FCR_TX_FIFO_TRIG_MASK; in serial_omap_set_termios()
902 up->fcr |= UART_FCR6_R_TRIGGER_16 | UART_FCR6_T_TRIGGER_24 | in serial_omap_set_termios()
905 serial_out(up, UART_FCR, up->fcr); in serial_omap_set_termios()
1692 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_XMIT | in serial_omap_mdr1_errataset()
1728 serial_out(up, UART_FCR, up->fcr); in serial_omap_restore_context()
Dmilbeaut_usio.c122 u16 fcr = readw(port->membase + MLB_USIO_REG_FCR); in mlb_usio_start_tx() local
124 writew(fcr | MLB_USIO_FCR_FTIE, port->membase + MLB_USIO_REG_FCR); in mlb_usio_start_tx()
125 if (!(fcr & MLB_USIO_FCR_FDRQ)) in mlb_usio_start_tx()
/Linux-v6.6/arch/sh/include/asm/
Dsmc37c93x.h92 #define fcr iir macro
/Linux-v6.6/drivers/mmc/core/
Dsdio_uart.c251 unsigned char cval, fcr = 0; in sdio_uart_change_speed() local
283 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1; in sdio_uart_change_speed()
285 fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10; in sdio_uart_change_speed()
329 sdio_out(port, UART_FCR, fcr); in sdio_uart_change_speed()
/Linux-v6.6/arch/csky/kernel/
Dasm-offsets.c22 DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr)); in main()

12