bdp->cbd_bufaddr = virt_to_bus(mem_addr); 
bdp->cbd_bufaddr = cpu2cpm_addr(mem_addr); 
static void cpm_uart_initbd(struct uart_cpm_port *pinfo){	int i;	u8 *mem_addr;	volatile cbd_t *bdp;	pr_debug("CPM uart[%d]:initbd\n", pinfo->port.line);	/* Set the physical address of the host memory	 * buffers in the buffer descriptors, and the	 * virtual address for us to work with.	 */	mem_addr = pinfo->mem_addr;	bdp = pinfo->rx_cur = pinfo->rx_bd_base;	for (i = 0; i < (pinfo->rx_nrfifos - 1); i++, bdp++) {		bdp->cbd_bufaddr = virt_to_bus(mem_addr);		bdp->cbd_sc = BD_SC_EMPTY | BD_SC_INTRPT;		mem_addr += pinfo->rx_fifosize;	}		bdp->cbd_bufaddr = virt_to_bus(mem_addr);	bdp->cbd_sc = BD_SC_WRAP | BD_SC_EMPTY | BD_SC_INTRPT;	/* Set the physical address of the host memory	 * buffers in the buffer descriptors, and the	 * virtual address for us to work with.	 */	mem_addr = pinfo->mem_addr + L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize);	bdp = pinfo->tx_cur = pinfo->tx_bd_base;	for (i = 0; i < (pinfo->tx_nrfifos - 1); i++, bdp++) {		bdp->cbd_bufaddr = virt_to_bus(mem_addr);		bdp->cbd_sc = BD_SC_INTRPT;		mem_addr += pinfo->tx_fifosize;	}		bdp->cbd_bufaddr = virt_to_bus(mem_addr);	bdp->cbd_sc = BD_SC_WRAP | BD_SC_INTRPT;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/311c46273f0e8b140d4cc68e13128cbc22114807/cpm_uart_core.c/clean/drivers/serial/cpm_uart/cpm_uart_core.c