Home
last modified time | relevance | path

Searched refs:cbd_sc (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/i2c/busses/
Di2c-cpm.c211 out_be16(&tbdf->cbd_sc, 0); in cpm_i2c_parse_message()
214 setbits16(&tbdf->cbd_sc, BD_I2C_START); in cpm_i2c_parse_message()
217 setbits16(&tbdf->cbd_sc, BD_SC_LAST | BD_SC_WRAP); in cpm_i2c_parse_message()
229 out_be16(&rbdf->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT); in cpm_i2c_parse_message()
232 setbits16(&rbdf->cbd_sc, BD_SC_WRAP); in cpm_i2c_parse_message()
235 setbits16(&tbdf->cbd_sc, BD_SC_READY); in cpm_i2c_parse_message()
242 setbits16(&tbdf->cbd_sc, BD_SC_READY | BD_SC_INTRPT); in cpm_i2c_parse_message()
267 in_be16(&tbdf->cbd_sc), in_be16(&rbdf->cbd_sc)); in cpm_i2c_check_message()
269 if (in_be16(&tbdf->cbd_sc) & BD_SC_NAK) { in cpm_i2c_check_message()
273 if (in_be16(&rbdf->cbd_sc) & BD_SC_EMPTY) { in cpm_i2c_check_message()
[all …]
/Linux-v4.19/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c75 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty()
78 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty()
256 status = in_be16(&bdp->cbd_sc); in cpm_uart_int_rx()
298 clrbits16(&bdp->cbd_sc, BD_SC_BR | BD_SC_FR | BD_SC_PR | in cpm_uart_int_rx()
300 setbits16(&bdp->cbd_sc, BD_SC_EMPTY); in cpm_uart_int_rx()
302 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) in cpm_uart_int_rx()
689 setbits16(&bdp->cbd_sc, BD_SC_READY); in cpm_uart_tx_pump()
691 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) in cpm_uart_tx_pump()
710 while (!(in_be16(&bdp->cbd_sc) & BD_SC_READY) && in cpm_uart_tx_pump()
723 setbits16(&bdp->cbd_sc, BD_SC_READY); in cpm_uart_tx_pump()
[all …]
/Linux-v4.19/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h220 #define CBDW_SC(_cbd, _sc) __cbd_out16(&(_cbd)->cbd_sc, (_sc))
225 #define CBDR_SC(_cbd) __cbd_in16(&(_cbd)->cbd_sc)
/Linux-v4.19/drivers/net/ethernet/freescale/
Dfec_main.c311 fec16_to_cpu(bdp->cbd_sc), in fec_dump()
365 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_submit_frag_skb()
416 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_submit_frag_skb()
461 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_submit_skb()
538 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_submit_skb()
569 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_put_data_tso()
612 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_put_data_tso()
630 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_put_hdr_tso()
666 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_put_hdr_tso()
804 bdp->cbd_sc = cpu_to_fec16(BD_ENET_RX_EMPTY); in fec_enet_bd_init()
[all …]
Dfec.h209 __fec16 cbd_sc; /* Control and status info */ member
221 __fec16 cbd_sc; /* Control and status info */ member
/Linux-v4.19/arch/powerpc/include/asm/
Dcpm.h89 ushort cbd_sc; /* Status and Control */ member
/Linux-v4.19/drivers/spi/
Dspi-fsl-cpm.c90 out_be16(&rx_bd->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT | BD_SC_WRAP); in fsl_spi_cpm_bufs_start()
97 out_be16(&tx_bd->cbd_sc, BD_SC_READY | BD_SC_INTRPT | BD_SC_WRAP | in fsl_spi_cpm_bufs_start()