/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | serial_scc.c | 78 volatile cbd_t *tbdf, *rbdf; in mpc85xx_serial_init() 105 dpaddr = m8560_cpm_dpalloc((2 * sizeof (cbd_t)) + 2, 16); in mpc85xx_serial_init() 110 rbdf = (cbd_t *)&(cpm->im_dprambase[dpaddr]); in mpc85xx_serial_init() 120 up->scc_genscc.scc_tbase = dpaddr+sizeof(cbd_t); in mpc85xx_serial_init() 185 volatile cbd_t *tbdf; in mpc85xx_serial_putc() 192 tbdf = (cbd_t *)&(cpm->im_dprambase[up->scc_genscc.scc_tbase]); in mpc85xx_serial_putc() 208 volatile cbd_t *rbdf; in mpc85xx_serial_getc() 214 rbdf = (cbd_t *)&(cpm->im_dprambase[up->scc_genscc.scc_rbase]); in mpc85xx_serial_getc() 231 volatile cbd_t *rbdf; in mpc85xx_serial_tstc() 236 rbdf = (cbd_t *)&(cpm->im_dprambase[up->scc_genscc.scc_rbase]); in mpc85xx_serial_tstc()
|
H A D | ether_fcc.c | 111 cbd_t rxbd[PKTBUFSRX]; 112 cbd_t txbd[TX_BUF_CNT];
|
/openbmc/u-boot/drivers/spi/ |
H A D | mpc8xx_spi.c | 28 #define CPM_SPI_BASE_TX (CPM_SPI_BASE + sizeof(cbd_t)) 37 cbd_t __iomem *tbdf, *rbdf; in mpc8xx_spi_probe() 132 tbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_TX]; in mpc8xx_spi_probe() 133 rbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_RX]; in mpc8xx_spi_probe() 150 cbd_t __iomem *tbdf, *rbdf; in mpc8xx_spi_xfer() 157 tbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_TX]; in mpc8xx_spi_xfer() 158 rbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_RX]; in mpc8xx_spi_xfer()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | cpm_uart.h | 58 cbd_t __iomem *rx_bd_base; 59 cbd_t __iomem *rx_cur; 60 cbd_t __iomem *tx_bd_base; 61 cbd_t __iomem *tx_cur;
|
H A D | cpm_uart.c | 69 cbd_t __iomem *bdp = pinfo->tx_bd_base; in cpm_uart_tx_empty() 236 cbd_t __iomem *bdp; in cpm_uart_int_rx() 646 cbd_t __iomem *bdp; in cpm_uart_tx_pump() 722 cbd_t __iomem *bdp; in cpm_uart_initbd() 887 dpmemsz = sizeof(cbd_t) * (pinfo->rx_nrfifos + pinfo->tx_nrfifos); in cpm_uart_allocbuf() 926 pinfo->rx_bd_base = (cbd_t __iomem *)dp_mem; in cpm_uart_allocbuf() 1011 cbd_t __iomem *bdp, *bdbase; in cpm_uart_early_write() 1093 volatile cbd_t *bdp; in poll_wait_key() 1120 pinfo->rx_cur = (cbd_t *)bdp; in poll_wait_key()
|
/openbmc/u-boot/drivers/net/ |
H A D | fsl_mcdmafec.c | 79 (cbd_t *)DBUF_LENGTH, /* RX BD */ 182 cbd_t *pTbd, *pUsedTbd; in fec_send() 245 cbd_t *prbd = &info->rxbd[info->rxIdx]; in fec_recv() 526 fec_info[i].rxbd = (cbd_t *)((u32)fec_info[i].rxbd + tmp); in mcdmafec_initialize() 529 (cbd_t *)((u32)fec_info[i].txbd + tmp + in mcdmafec_initialize() 530 (PKTBUFSRX * sizeof(cbd_t))); in mcdmafec_initialize() 534 (CONFIG_SYS_TX_ETH_BUFFER * sizeof(cbd_t))); in mcdmafec_initialize() 538 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize() 539 (PKTBUFSRX * sizeof(cbd_t))); in mcdmafec_initialize() 541 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize() [all …]
|
H A D | mcffec.c | 66 (cbd_t *)DBUF_LENGTH, /* RX BD */ 532 memset(info->rxbd, 0, PKTBUFSRX * sizeof(cbd_t)); in fec_halt() 533 memset(info->txbd, 0, TX_BUF_CNT * sizeof(cbd_t)); in fec_halt() 565 fec_info[i].rxbd = (cbd_t *)((u32)fec_info[i].rxbd + tmp); in mcffec_initialize() 568 (cbd_t *)((u32)fec_info[i].txbd + tmp + in mcffec_initialize() 569 (PKTBUFSRX * sizeof(cbd_t))); in mcffec_initialize() 573 (CONFIG_SYS_TX_ETH_BUFFER * sizeof(cbd_t))); in mcffec_initialize() 577 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize() 578 (PKTBUFSRX * sizeof(cbd_t))); in mcffec_initialize() 580 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize() [all …]
|
H A D | mpc8xx_fec.c | 104 cbd_t rxbd[PKTBUFSRX]; /* Rx BD */ 105 cbd_t txbd[TX_BUF_CNT]; /* Tx BD */
|
/openbmc/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | fs_enet.h | 151 cbd_t __iomem *rx_bd_base; /* Address of Rx and Tx buffers. */ 152 cbd_t __iomem *tx_bd_base; 153 cbd_t __iomem *dirty_tx; /* ring entries to be free()ed. */ 154 cbd_t __iomem *cur_rx; 155 cbd_t __iomem *cur_tx;
|
H A D | mac-fcc.c | 150 sizeof(cbd_t), &fep->ring_mem_addr, in allocate_bd() 165 (fpi->tx_ring + fpi->rx_ring) * sizeof(cbd_t), in free_bd() 262 tx_bd_base_phys = rx_bd_base_phys + sizeof(cbd_t) * fpi->rx_ring; in restart() 520 cbd_t __iomem *curr_tbptr; in tx_restart() 521 cbd_t __iomem *recheck_bd; in tx_restart() 522 cbd_t __iomem *prev_bd; in tx_restart() 523 cbd_t __iomem *last_tx_bd; in tx_restart() 528 recheck_bd = curr_tbptr = (cbd_t __iomem *) in tx_restart()
|
H A D | mac-fec.c | 135 sizeof(cbd_t), &fep->ring_mem_addr, in allocate_bd() 150 * sizeof(cbd_t), in free_bd() 272 tx_bd_base_phys = rx_bd_base_phys + sizeof(cbd_t) * fpi->rx_ring; in restart()
|
H A D | fs_enet-main.c | 90 cbd_t __iomem *bdp; in fs_enet_napi() 361 cbd_t __iomem *bdp; in fs_init_bds() 412 cbd_t __iomem *bdp; in fs_cleanup_bds() 485 cbd_t __iomem *bdp; in fs_enet_start_xmit()
|
H A D | mac-scc.c | 137 sizeof(cbd_t), 8); in allocate_bd() 252 fep->ring_mem_addr + sizeof(cbd_t) * fpi->rx_ring); in restart()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-cpm.c | 109 cbd_t __iomem *tbase; 110 cbd_t __iomem *rbase; 184 cbd_t __iomem *tbdf; in cpm_i2c_parse_message() 185 cbd_t __iomem *rbdf; in cpm_i2c_parse_message() 243 cbd_t __iomem *tbdf; in cpm_i2c_check_message() 244 cbd_t __iomem *rbdf; in cpm_i2c_check_message() 306 cbd_t __iomem *tbdf; in cpm_i2c_xfer() 307 cbd_t __iomem *rbdf; in cpm_i2c_xfer() 429 cbd_t __iomem *tbdf; in cpm_i2c_setup() 430 cbd_t __iomem *rbdf; in cpm_i2c_setup() [all …]
|
/openbmc/linux/drivers/soc/fsl/qe/ |
H A D | qmc.c | 185 cbd_t __iomem *txbds; 186 cbd_t __iomem *txbd_free; 193 cbd_t __iomem *rxbds; 210 cbd_t __iomem *bd_table; 321 cbd_t __iomem *bd; in qmc_chan_write_submit() 377 cbd_t __iomem *bd; in qmc_chan_write_done() 428 cbd_t __iomem *bd; in qmc_chan_read_submit() 491 cbd_t __iomem *bd; in qmc_chan_read_done() 666 cbd_t __iomem *bd; in qmc_chan_reset_rx() 696 cbd_t __iomem *bd; in qmc_chan_reset_tx() [all …]
|
/openbmc/u-boot/arch/m68k/include/asm/ |
H A D | fsl_mcdmafec.h | 73 cbd_t *rxbd; /* Rx BD */ 74 cbd_t *txbd; /* Tx BD */
|
H A D | fec.h | 25 } cbd_t; typedef 96 cbd_t *rxbd; /* Rx BD */ 97 cbd_t *txbd; /* Tx BD */
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_mpc8xx.c | 32 cbd_t rxbd; /* Rx BD */ 33 cbd_t txbd; /* Tx BD */ 130 out_be16(&up->smc_tbase, CPM_SERIAL_BASE + sizeof(cbd_t)); in serial_mpc8xx_probe()
|
/openbmc/linux/include/soc/fsl/ |
H A D | cpm.h | 92 } cbd_t; typedef
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | cpm_8xx.h | 76 } cbd_t; typedef
|
H A D | cpm_85xx.h | 110 } cbd_t; typedef
|