Searched refs:attr_mem (Results 1 – 2 of 2) sorted by relevance
44 void __iomem *attr_mem; member277 if (hw_priv->attr_mem == NULL) { in prism2_plx_cor_sreset()286 corsave = readb(hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_cor_sreset()288 hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_cor_sreset()291 hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_cor_sreset()302 if (hw_priv->attr_mem == NULL) { in prism2_plx_genesis_reset()313 corsave = readb(hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_genesis_reset()315 hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_genesis_reset()317 writeb(hcr, hw_priv->attr_mem + hw_priv->cor_offset + 2); in prism2_plx_genesis_reset()320 hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_genesis_reset()[all …]
201 struct resource *io_mem, *attr_mem; in bfin_cf_probe() local241 attr_mem = platform_get_resource(pdev, IORESOURCE_MEM, 1); in bfin_cf_probe()243 if (!io_mem || !attr_mem) in bfin_cf_probe()247 cf->phys_cf_attr = attr_mem->start; in bfin_cf_probe()