Lines Matching refs:ah
38 struct ath5k_hw *ah = common->priv;
39 struct platform_device *pdev = to_platform_device(ah->dev);
54 int ath5k_hw_read_srev(struct ath5k_hw *ah)
56 struct platform_device *pdev = to_platform_device(ah->dev);
58 ah->ah_mac_srev = bcfg->devid;
62 static int ath5k_ahb_eeprom_read_mac(struct ath5k_hw *ah, u8 *mac)
64 struct platform_device *pdev = to_platform_device(ah->dev);
68 if (to_platform_device(ah->dev)->id == 0)
88 struct ath5k_hw *ah;
129 ah = hw->priv;
130 ah->hw = hw;
131 ah->dev = &pdev->dev;
132 ah->iobase = mem;
133 ah->irq = irq;
134 ah->devid = bcfg->devid;
150 if (to_platform_device(ah->dev)->id == 0)
161 if (to_platform_device(ah->dev)->id == 0 &&
164 ah->ah_capabilities.cap_needs_2GHz_ovr = true;
166 ah->ah_capabilities.cap_needs_2GHz_ovr = false;
169 ret = ath5k_init_ah(ah, &ath_ahb_bus_ops);
192 struct ath5k_hw *ah;
198 ah = hw->priv;
208 if (to_platform_device(ah->dev)->id == 0)
215 ath5k_deinit_ah(ah);
216 iounmap(ah->iobase);