Home
last modified time | relevance | path

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

/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 …]
/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c89 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty()
92 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty()
270 status = in_be16(&bdp->cbd_sc); in cpm_uart_int_rx()
312 clrbits16(&bdp->cbd_sc, BD_SC_BR | BD_SC_FR | BD_SC_PR | in cpm_uart_int_rx()
314 setbits16(&bdp->cbd_sc, BD_SC_EMPTY); in cpm_uart_int_rx()
316 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) in cpm_uart_int_rx()
703 setbits16(&bdp->cbd_sc, BD_SC_READY); in cpm_uart_tx_pump()
705 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) in cpm_uart_tx_pump()
724 while (!(in_be16(&bdp->cbd_sc) & BD_SC_READY) && in cpm_uart_tx_pump()
737 setbits16(&bdp->cbd_sc, BD_SC_READY); in cpm_uart_tx_pump()
[all …]
/drivers/net/ethernet/freescale/
Dfec_main.c303 fec16_to_cpu(bdp->cbd_sc), in fec_dump()
357 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_submit_frag_skb()
408 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_submit_frag_skb()
453 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_submit_skb()
530 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_submit_skb()
561 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_put_data_tso()
604 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_put_data_tso()
622 status = fec16_to_cpu(bdp->cbd_sc); in fec_enet_txq_put_hdr_tso()
658 bdp->cbd_sc = cpu_to_fec16(status); in fec_enet_txq_put_hdr_tso()
796 bdp->cbd_sc = cpu_to_fec16(BD_ENET_RX_EMPTY); in fec_enet_bd_init()
[all …]
Dfec.h207 __fec16 cbd_sc; /* Control and status info */ member
219 __fec16 cbd_sc; /* Control and status info */ member
/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)
/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()