Searched refs:shdev (Results 1 – 2 of 2) sorted by relevance
69 struct sh_dmae_device *shdev = to_sh_dev(sh_dc); in channel_clear() local70 const struct sh_dmae_channel *chan_pdata = shdev->pdata->channel + in channel_clear()72 u32 val = shdev->pdata->chclr_bitwise ? 1 << chan_pdata->chclr_bit : 0; in channel_clear()74 __raw_writel(val, shdev->chan_reg + chan_pdata->chclr_offset); in channel_clear()87 static u16 dmaor_read(struct sh_dmae_device *shdev) in dmaor_read() argument89 void __iomem *addr = shdev->chan_reg + DMAOR; in dmaor_read()91 if (shdev->pdata->dmaor_is_32bit) in dmaor_read()97 static void dmaor_write(struct sh_dmae_device *shdev, u16 data) in dmaor_write() argument99 void __iomem *addr = shdev->chan_reg + DMAOR; in dmaor_write()101 if (shdev->pdata->dmaor_is_32bit) in dmaor_write()[all …]
675 struct sh_eth_dev shdev; member686 struct sh_eth_dev *eth = &priv->shdev; in sh_ether_send()694 struct sh_eth_dev *eth = &priv->shdev; in sh_ether_recv()719 struct sh_eth_dev *eth = &priv->shdev; in sh_ether_free_pkt()734 struct sh_eth_dev *eth = &priv->shdev; in sh_ether_write_hwaddr()747 struct sh_eth_dev *eth = &priv->shdev; in sh_eth_phy_config()769 struct sh_eth_dev *eth = &priv->shdev; in sh_ether_start()804 sh_eth_stop(&priv->shdev); in sh_ether_stop()812 struct sh_eth_dev *eth = &priv->shdev; in sh_ether_probe()866 struct sh_eth_dev *eth = &priv->shdev; in sh_ether_remove()