Lines Matching +full:rt2880 +full:- +full:wifi
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com>
82 retval = -ENOTSUPP; in rt2800soc_set_device_state()
98 return -ENOMEM; in rt2800soc_read_eeprom()
100 memcpy_fromio(rt2x00dev->eeprom, base_addr, EEPROM_SIZE); in rt2800soc_read_eeprom()
138 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800soc_suspend()
146 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800soc_resume()
278 clk = devm_clk_get_optional(&pdev->dev, NULL); in rt2x00soc_probe()
282 eeprom = devm_kzalloc(&pdev->dev, ops->eeprom_size, GFP_KERNEL); in rt2x00soc_probe()
284 return -ENOMEM; in rt2x00soc_probe()
286 rf = devm_kzalloc(&pdev->dev, ops->rf_size, GFP_KERNEL); in rt2x00soc_probe()
288 return -ENOMEM; in rt2x00soc_probe()
290 hw = ieee80211_alloc_hw(sizeof(struct rt2x00_dev), ops->hw); in rt2x00soc_probe()
292 return dev_err_probe(&pdev->dev, -ENOMEM, "Failed to allocate hardware"); in rt2x00soc_probe()
296 rt2x00dev = hw->priv; in rt2x00soc_probe()
297 rt2x00dev->dev = &pdev->dev; in rt2x00soc_probe()
298 rt2x00dev->ops = ops; in rt2x00soc_probe()
299 rt2x00dev->hw = hw; in rt2x00soc_probe()
300 rt2x00dev->irq = irq; in rt2x00soc_probe()
301 rt2x00dev->clk = clk; in rt2x00soc_probe()
302 rt2x00dev->eeprom = eeprom; in rt2x00soc_probe()
303 rt2x00dev->rf = rf; in rt2x00soc_probe()
304 rt2x00dev->name = pdev->dev.driver->name; in rt2x00soc_probe()
305 rt2x00dev->csr.base = mem; in rt2x00soc_probe()
329 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800soc_remove()
339 { .compatible = "ralink,rt2880-wifi" },