Searched refs:BD_SC_WRAP (Results 1 – 14 of 14) sorted by relevance
/openbmc/u-boot/drivers/spi/ |
H A D | mpc8xx_spi.c | 165 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 D | serial_scc.c | 112 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 D | cpm_uart.c | 76 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 D | ucc_uart.c | 268 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 D | serial_mpc8xx.c | 148 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 D | cpm.h | 99 #define BD_SC_WRAP (0x2000) /* Last buffer descriptor */ macro
|
/openbmc/linux/drivers/spi/ |
H A D | spi-fsl-cpm.c | 87 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 D | fs_enet-main.c | 387 ((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 D | i2c-cpm.c | 211 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 D | fec.h | 29 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ macro
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec.h | 251 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ macro
|
H A D | fec_main.c | 957 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 D | cpm_8xx.h | 80 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ macro
|
H A D | cpm_85xx.h | 114 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ macro
|