Home
last modified time | relevance | path

Searched refs:BD_SC_WRAP (Results 1 – 14 of 14) sorted by relevance

/openbmc/u-boot/drivers/spi/
H A Dmpc8xx_spi.c165 out_be16(&tbdf->cbd_sc, BD_SC_READY | BD_SC_LAST | BD_SC_WRAP); in mpc8xx_spi_xfer()
170 out_be16(&rbdf->cbd_sc, BD_SC_EMPTY | BD_SC_WRAP); in mpc8xx_spi_xfer()
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dserial_scc.c112 rbdf->cbd_sc = BD_SC_EMPTY | BD_SC_WRAP; in mpc85xx_serial_init()
115 tbdf->cbd_sc = BD_SC_WRAP; in mpc85xx_serial_init()
/openbmc/linux/drivers/tty/serial/
H A Dcpm_uart.c76 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty()
300 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) in cpm_uart_int_rx()
665 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) in cpm_uart_tx_pump()
697 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) in cpm_uart_tx_pump()
739 out_be16(&bdp->cbd_sc, BD_SC_WRAP | BD_SC_EMPTY | BD_SC_INTRPT); in cpm_uart_initbd()
754 out_be16(&bdp->cbd_sc, BD_SC_WRAP | BD_SC_INTRPT); in cpm_uart_initbd()
1044 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) in cpm_uart_early_write()
1061 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) in cpm_uart_early_write()
1116 if (bdp->cbd_sc & BD_SC_WRAP) in poll_wait_key()
H A Ducc_uart.c268 if (ioread16be(&bdp->status) & BD_SC_WRAP) in qe_uart_tx_empty()
350 if (ioread16be(&bdp->status) & BD_SC_WRAP) in qe_uart_tx_pump()
384 if (ioread16be(&bdp->status) & BD_SC_WRAP) in qe_uart_tx_pump()
513 if (ioread16be(&bdp->status) & BD_SC_WRAP) in qe_uart_int_rx()
610 iowrite16be(BD_SC_WRAP | BD_SC_EMPTY | BD_SC_INTRPT, &bdp->status); in qe_uart_initbd()
635 iowrite16be(BD_SC_WRAP | BD_SC_INTRPT, &bdp->status); in qe_uart_initbd()
/openbmc/u-boot/drivers/serial/
H A Dserial_mpc8xx.c148 setbits_be16(&rtx->txbd.cbd_sc, BD_SC_WRAP); in serial_mpc8xx_probe()
149 setbits_be16(&rtx->rxbd.cbd_sc, BD_SC_EMPTY | BD_SC_WRAP); in serial_mpc8xx_probe()
/openbmc/linux/include/soc/fsl/
H A Dcpm.h99 #define BD_SC_WRAP (0x2000) /* Last buffer descriptor */ macro
/openbmc/linux/drivers/spi/
H A Dspi-fsl-cpm.c87 iowrite16be(BD_SC_EMPTY | BD_SC_INTRPT | BD_SC_WRAP, &rx_bd->cbd_sc); in fsl_spi_cpm_bufs_start()
94 iowrite16be(BD_SC_READY | BD_SC_INTRPT | BD_SC_WRAP | BD_SC_LAST, in fsl_spi_cpm_bufs_start()
/openbmc/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet-main.c387 ((i < fep->rx_ring - 1) ? 0 : BD_SC_WRAP)); in fs_init_bds()
394 CBDW_SC(bdp, (i < fep->rx_ring - 1) ? 0 : BD_SC_WRAP); in fs_init_bds()
404 CBDW_SC(bdp, (i < fep->tx_ring - 1) ? 0 : BD_SC_WRAP); in fs_init_bds()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-cpm.c211 setbits16(&tbdf->cbd_sc, BD_SC_LAST | BD_SC_WRAP); in cpm_i2c_parse_message()
226 setbits16(&rbdf->cbd_sc, BD_SC_WRAP); in cpm_i2c_parse_message()
/openbmc/u-boot/arch/m68k/include/asm/
H A Dfec.h29 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ macro
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfec.h251 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ macro
H A Dfec_main.c957 bdp->cbd_sc |= cpu_to_fec16(BD_SC_WRAP); in fec_enet_bd_init()
1005 bdp->cbd_sc |= cpu_to_fec16(BD_SC_WRAP); in fec_enet_bd_init()
3433 bdp->cbd_sc |= cpu_to_fec16(BD_SC_WRAP); in fec_enet_alloc_rxq_buffers()
3469 bdp->cbd_sc |= cpu_to_fec16(BD_SC_WRAP); in fec_enet_alloc_txq_buffers()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dcpm_8xx.h80 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ macro
H A Dcpm_85xx.h114 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ macro