• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/hostap/

Lines Matching defs:hw_priv

39 /* struct local_info::hw_priv */
208 struct hostap_cs_priv *hw_priv = local->hw_priv;
209 if (hw_priv != NULL && hw_priv->link != NULL && pcmcia_dev_present(hw_priv->link))
227 struct hostap_cs_priv *hw_priv = local->hw_priv;
229 res = pcmcia_write_config_byte(hw_priv->link, 0x10,
230 hw_priv->link->resource[0]->start & 0x00ff);
237 res = pcmcia_write_config_byte(hw_priv->link, 0x12,
238 (hw_priv->link->resource[0]->start >> 8) & 0x00ff);
266 struct hostap_cs_priv *hw_priv = local->hw_priv;
268 if (resource_size(hw_priv->link->resource[0]) < 0x42) {
274 if (hw_priv->link->manf_id != 0xd601 || hw_priv->link->card_id != 0x0101) {
280 if (hw_priv->link->socket->functions < 2) {
288 hw_priv->sandisk_connectplus = 1;
290 res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR,
303 res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR,
329 struct hostap_cs_priv *hw_priv = local->hw_priv;
334 res = pcmcia_read_config_byte(hw_priv->link, CISREG_COR, &val);
344 res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR, val);
351 mdelay(hw_priv->sandisk_connectplus ? 5 : 2);
354 if (hw_priv->sandisk_connectplus)
356 res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR, val);
363 mdelay(hw_priv->sandisk_connectplus ? 5 : 2);
365 if (hw_priv->sandisk_connectplus)
374 struct hostap_cs_priv *hw_priv = local->hw_priv;
379 if (hw_priv->sandisk_connectplus) {
384 res = pcmcia_read_config_byte(hw_priv->link, CISREG_COR, &old_cor);
393 res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR,
404 res = pcmcia_write_config_byte(hw_priv->link, CISREG_CCSR, hcr);
412 res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR,
459 struct hostap_cs_priv *hw_priv;
464 hw_priv = iface->local->hw_priv;
466 kfree(hw_priv);
548 struct hostap_cs_priv *hw_priv;
553 hw_priv = kzalloc(sizeof(*hw_priv), GFP_KERNEL);
554 if (hw_priv == NULL) {
578 local->hw_priv = hw_priv;
579 hw_priv->link = link;
632 kfree(hw_priv);