Home
last modified time | relevance | path

Searched refs:shdev (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/dma/sh/
H A Dshdmac.c69 struct sh_dmae_device *shdev = to_sh_dev(sh_dc); in channel_clear() local
70 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() argument
89 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() argument
99 void __iomem *addr = shdev->chan_reg + DMAOR; in dmaor_write()
101 if (shdev->pdata->dmaor_is_32bit) in dmaor_write()
[all …]
/openbmc/u-boot/drivers/net/
H A Dsh_eth.c675 struct sh_eth_dev shdev; member
686 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()