Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-cpm.c205 out_be16(&tbdf->cbd_sc, 0); in cpm_i2c_parse_message()
208 setbits16(&tbdf->cbd_sc, BD_I2C_START); in cpm_i2c_parse_message()
211 setbits16(&tbdf->cbd_sc, BD_SC_LAST | BD_SC_WRAP); in cpm_i2c_parse_message()
223 out_be16(&rbdf->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT); in cpm_i2c_parse_message()
226 setbits16(&rbdf->cbd_sc, BD_SC_WRAP); in cpm_i2c_parse_message()
229 setbits16(&tbdf->cbd_sc, BD_SC_READY); in cpm_i2c_parse_message()
236 setbits16(&tbdf->cbd_sc, BD_SC_READY | BD_SC_INTRPT); in cpm_i2c_parse_message()
261 in_be16(&tbdf->cbd_sc), in_be16(&rbdf->cbd_sc)); in cpm_i2c_check_message()
263 if (in_be16(&tbdf->cbd_sc) & BD_SC_NAK) { in cpm_i2c_check_message()
267 if (in_be16(&rbdf->cbd_sc) & BD_SC_EMPTY) { in cpm_i2c_check_message()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c70 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty()
73 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty()
251 status = in_be16(&bdp->cbd_sc); in cpm_uart_int_rx()
293 clrbits16(&bdp->cbd_sc, BD_SC_BR | BD_SC_FR | BD_SC_PR | in cpm_uart_int_rx()
295 setbits16(&bdp->cbd_sc, BD_SC_EMPTY); in cpm_uart_int_rx()
297 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h218 #define CBDW_SC(_cbd, _sc) __cbd_out16(&(_cbd)->cbd_sc, (_sc))
223 #define CBDR_SC(_cbd) __cbd_in16(&(_cbd)->cbd_sc)
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dfec_main.c349 fec16_to_cpu(bdp->cbd_sc), in fec_dump()
403 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_submit_frag_skb()
454 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_submit_frag_skb()
499 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_submit_skb()
576 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_submit_skb()
607 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_put_data_tso()
650 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_put_data_tso()
668 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_put_hdr_tso()
704 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_put_hdr_tso()
841 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
/kernel/linux/linux-5.10/include/soc/fsl/
Dcpm.h89 ushort cbd_sc; /* Status and Control */ member
/kernel/linux/linux-5.10/drivers/spi/
Dspi-fsl-cpm.c86 out_be16(&rx_bd->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT | BD_SC_WRAP); in fsl_spi_cpm_bufs_start()
93 out_be16(&tx_bd->cbd_sc, BD_SC_READY | BD_SC_INTRPT | BD_SC_WRAP | in fsl_spi_cpm_bufs_start()