Searched refs:sba_dev (Results 1 – 1 of 1) sorted by relevance
1108 sba_get_pat_resources(struct sba_device *sba_dev) in sba_get_pat_resources() argument1527 static void __iomem *ioc_remap(struct sba_device *sba_dev, unsigned int offset) in ioc_remap() argument1529 return ioremap(sba_dev->dev->hpa.start + offset, SBA_FUNC_SIZE); in ioc_remap()1532 static void sba_hw_init(struct sba_device *sba_dev) in sba_hw_init() argument1582 if (!IS_PLUTO(sba_dev->dev)) { in sba_hw_init()1583 ioc_ctl = READ_REG(sba_dev->sba_hpa+IOC_CTRL); in sba_hw_init()1585 __func__, sba_dev->sba_hpa, ioc_ctl); in sba_hw_init()1591 WRITE_REG(ioc_ctl, sba_dev->sba_hpa+IOC_CTRL); in sba_hw_init()1594 ioc_ctl = READ_REG64(sba_dev->sba_hpa+IOC_CTRL); in sba_hw_init()1599 if (IS_ASTRO(sba_dev->dev)) { in sba_hw_init()[all …]