Lines Matching refs:sh_mem
477 void __iomem *sh_mem; /* CPU mapped virt address of device RAM */
696 lp->sh_mem = ioremap(mem_start, mem_len);
697 if (lp->sh_mem == NULL) {
711 lp->rx_ring = (struct depca_rx_desc __iomem *) (lp->sh_mem + offset);
715 lp->tx_ring = (struct depca_tx_desc __iomem *) (lp->sh_mem + offset);
822 iounmap(lp->sh_mem);
892 lp->rx_buff[i] = lp->sh_mem + offset;
898 lp->tx_buff[i] = lp->sh_mem + offset;
1215 memcpy_toio(lp->sh_mem, &lp->init_block, sizeof(struct depca_init));
1618 iounmap (lp->sh_mem);