/drivers/net/irda/ |
H A D | litelink-sir.c | 42 #include "sir-dev.h" 47 static int litelink_open(struct sir_dev *dev); 48 static int litelink_close(struct sir_dev *dev); 49 static int litelink_change_speed(struct sir_dev *dev, unsigned speed); 50 static int litelink_reset(struct sir_dev *dev); 75 static int litelink_open(struct sir_dev *dev) argument 77 struct qos_info *qos = &dev->qos; 82 sirdev_set_dtr_rts(dev, TRUE, TRUE); 94 static int litelink_close(struct sir_dev *dev) argument 99 sirdev_set_dtr_rts(dev, FALS 110 litelink_change_speed(struct sir_dev *dev, unsigned speed) argument 155 litelink_reset(struct sir_dev *dev) argument [all...] |
/drivers/net/wan/ |
H A D | hdlc_raw.c | 25 static int raw_ioctl(struct net_device *dev, struct ifreq *ifr); 27 static __be16 raw_type_trans(struct sk_buff *skb, struct net_device *dev) argument 39 static int raw_ioctl(struct net_device *dev, struct ifreq *ifr) argument 44 hdlc_device *hdlc = dev_to_hdlc(dev); 49 if (dev_to_hdlc(dev)->proto != &proto) 64 if (dev->flags & IFF_UP) 76 result = hdlc->attach(dev, new_settings.encoding, 81 result = attach_hdlc_protocol(dev, &proto, 86 dev->type = ARPHRD_RAWHDLC; 87 netif_dormant_off(dev); [all...] |
H A D | hdlc_raw_eth.c | 26 static int raw_eth_ioctl(struct net_device *dev, struct ifreq *ifr); 28 static netdev_tx_t eth_tx(struct sk_buff *skb, struct net_device *dev) argument 35 dev->stats.tx_dropped++; 42 return dev_to_hdlc(dev)->xmit(skb, dev); 54 static int raw_eth_ioctl(struct net_device *dev, struct ifreq *ifr) argument 59 hdlc_device *hdlc = dev_to_hdlc(dev); 64 if (dev_to_hdlc(dev)->proto != &proto) 79 if (dev->flags & IFF_UP) 91 result = hdlc->attach(dev, new_setting [all...] |
/drivers/net/wan/lmc/ |
H A D | lmc_proto.c | 54 struct net_device *dev = sc->lmc_device; local 58 dev->flags |= IFF_POINTOPOINT; 59 dev->hard_header_len = 0; 60 dev->addr_len = 0;
|
/drivers/net/wimax/i2400m/ |
H A D | sysfs.c | 42 ssize_t i2400m_idle_timeout_store(struct device *dev, argument 47 struct i2400m *i2400m = net_dev_to_i2400m(to_net_dev(dev)); 54 dev_err(dev, "idle_timeout: %u: invalid msecs specification; "
|
H A D | usb-notif.c | 86 struct device *dev = &i2400mu->usb_iface->dev; local 89 d_fnstart(4, dev, "(i2400m %p buf %p buf_len %zu)\n", 107 d_fnend(4, dev, "(i2400m %p buf %p buf_len %zu) = %d\n", 127 struct device *dev = &i2400mu->usb_iface->dev; local 129 d_fnstart(4, dev, "(urb %p status %d actual_length %d)\n", 143 case -ENODEV: /* dev disconnect ... */ 152 dev_err(dev, "notification: URB error %d, retrying\n", 160 case -ENODEV: /* dev disconnec 194 struct device *dev = &i2400mu->usb_iface->dev; local 249 struct device *dev = &i2400mu->usb_iface->dev; local [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | sysfs.c | 10 static ssize_t ath5k_attr_show_##name(struct device *dev, \ 14 struct ieee80211_hw *hw = dev_get_drvdata(dev); \ 19 static ssize_t ath5k_attr_store_##name(struct device *dev, \ 23 struct ieee80211_hw *hw = dev_get_drvdata(dev); \ 37 static ssize_t ath5k_attr_show_##name(struct device *dev, \ 41 struct ieee80211_hw *hw = dev_get_drvdata(dev); \ 62 static ssize_t ath5k_attr_show_noise_immunity_level_max(struct device *dev, argument 71 static ssize_t ath5k_attr_show_firstep_level_max(struct device *dev, argument 104 struct device *dev = ah->dev; local 119 struct device *dev = ah->dev; local [all...] |
/drivers/net/wireless/b43/ |
H A D | pcmcia.c | 45 static int b43_pcmcia_suspend(struct pcmcia_device *dev) argument 47 struct ssb_bus *ssb = dev->priv; 52 static int b43_pcmcia_resume(struct pcmcia_device *dev) argument 54 struct ssb_bus *ssb = dev->priv; 63 static int b43_pcmcia_probe(struct pcmcia_device *dev) argument 75 dev->config_flags |= CONF_ENABLE_IRQ; 77 dev->resource[2]->flags |= WIN_ENABLE | WIN_DATA_WIDTH_16 | 79 dev->resource[2]->start = 0; 80 dev->resource[2]->end = SSB_CORE_SIZE; 81 res = pcmcia_request_window(dev, de 113 b43_pcmcia_remove(struct pcmcia_device *dev) argument [all...] |
H A D | radio_2059.c | 331 void r2059_upload_inittabs(struct b43_wldev *dev) argument 333 struct b43_phy *phy = &dev->phy; 348 b43_radio_write(dev, R2059_ALL | table[0], table[1]); 352 *b43_phy_ht_get_channeltab_e_r2059(struct b43_wldev *dev, u16 freq) argument
|
H A D | sysfs.c | 50 static ssize_t b43_attr_interfmode_show(struct device *dev, argument 54 struct b43_wldev *wldev = dev_to_b43_wldev(dev); 92 static ssize_t b43_attr_interfmode_store(struct device *dev, argument 96 struct b43_wldev *wldev = dev_to_b43_wldev(dev); 143 struct device *dev = wldev->dev->dev; local 147 return device_create_file(dev, &dev_attr_interference); 152 struct device *dev = wldev->dev local [all...] |
/drivers/net/wireless/b43legacy/ |
H A D | main.h | 58 u8 b43legacy_freq_to_channel(struct b43legacy_wldev *dev, argument 79 int b43legacy_channel_to_freq(struct b43legacy_wldev *dev, argument 100 void b43legacy_tsf_read(struct b43legacy_wldev *dev, u64 *tsf); 101 void b43legacy_tsf_write(struct b43legacy_wldev *dev, u64 tsf); 103 u32 b43legacy_shm_read32(struct b43legacy_wldev *dev, 105 u16 b43legacy_shm_read16(struct b43legacy_wldev *dev, 107 void b43legacy_shm_write32(struct b43legacy_wldev *dev, 110 void b43legacy_shm_write16(struct b43legacy_wldev *dev, 114 u32 b43legacy_hf_read(struct b43legacy_wldev *dev); 115 void b43legacy_hf_write(struct b43legacy_wldev *dev, u3 [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-debug.c | 72 void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \ 81 dev_ ##fn(dev, "%pV", &vaf); \ 93 void __iwl_err(struct device *dev, bool rfkill_prefix, bool trace_only, 105 dev_err(dev, "(RFKILL) %pV", &vaf); 107 dev_err(dev, "%pV", &vaf); 115 void __iwl_dbg(struct device *dev, argument 129 dev_printk(KERN_DEBUG, dev, "%c %s %pV",
|
/drivers/net/wireless/libertas/ |
H A D | ethtool.c | 11 static void lbs_ethtool_get_drvinfo(struct net_device *dev, argument 14 struct lbs_private *priv = dev->ml_priv; 32 static int lbs_ethtool_get_eeprom_len(struct net_device *dev) argument 37 static int lbs_ethtool_get_eeprom(struct net_device *dev, argument 40 struct lbs_private *priv = dev->ml_priv; 66 static void lbs_ethtool_get_wol(struct net_device *dev, argument 69 struct lbs_private *priv = dev->ml_priv; 86 static int lbs_ethtool_set_wol(struct net_device *dev, argument 89 struct lbs_private *priv = dev->ml_priv;
|
H A D | tx.c | 15 #include "dev.h" 61 * @dev: A pointer to the &struct net_device 64 netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) argument 67 struct lbs_private *priv = dev->ml_priv; 87 dev->stats.tx_dropped++; 88 dev->stats.tx_errors++; 93 netif_stop_queue(priv->dev); 101 lbs_deb_tx("Packet on %s while busy\n", dev->name); 137 lbs_mesh_set_txpd(priv, dev, txpd); 150 dev [all...] |
/drivers/net/wireless/mwifiex/ |
H A D | ethtool.c | 22 static void mwifiex_ethtool_get_wol(struct net_device *dev, argument 25 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); 43 static int mwifiex_ethtool_set_wol(struct net_device *dev, argument 46 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); 68 mwifiex_get_dump_flag(struct net_device *dev, struct ethtool_dump *dump) argument 70 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); 90 mwifiex_get_dump_data(struct net_device *dev, struct ethtool_dump *dump, argument 94 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); 102 dev_err(adapter->dev, "firmware dump in progress!!\n"); 120 static int mwifiex_set_dump(struct net_device *dev, struc argument [all...] |
/drivers/net/wireless/orinoco/ |
H A D | orinoco_pci.h | 38 struct net_device *dev = priv->ndev; local 45 dev->name); 51 dev->name, priv); 54 dev->name);
|
/drivers/net/wireless/rtl818x/rtl8180/ |
H A D | rtl8225se.h | 40 static inline void rtl8225se_write_phy_ofdm(struct ieee80211_hw *dev, argument 43 rtl8180_write_phy(dev, addr, data); 46 static inline void rtl8225se_write_phy_cck(struct ieee80211_hw *dev, argument 49 rtl8180_write_phy(dev, addr, data | 0x10000); 54 void rtl8225se_rf_stop(struct ieee80211_hw *dev); 55 void rtl8225se_rf_set_channel(struct ieee80211_hw *dev, 57 void rtl8225se_rf_conf_erp(struct ieee80211_hw *dev, 59 void rtl8225se_rf_init(struct ieee80211_hw *dev);
|
/drivers/net/wireless/rtl818x/rtl8187/ |
H A D | rtl8225.h | 32 static inline void rtl8225_write_phy_ofdm(struct ieee80211_hw *dev, argument 35 rtl8187_write_phy(dev, addr, data); 38 static inline void rtl8225_write_phy_cck(struct ieee80211_hw *dev, argument 41 rtl8187_write_phy(dev, addr, data | 0x10000);
|
/drivers/nfc/st21nfcb/ |
H A D | ndlc.h | 43 struct device *dev; member in struct:llt_ndlc 56 int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev,
|
/drivers/of/ |
H A D | of_pci_irq.c | 95 * @dev: The pci device needing an irq 102 int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin) argument 107 ret = of_irq_parse_pci(dev, &oirq); 109 dev_err(&dev->dev, "of_irq_parse_pci() failed with rc=%d\n", ret);
|
/drivers/parisc/ |
H A D | asp.c | 34 static void asp_choose_irq(struct parisc_device *dev, void *ctrl) argument 38 switch (dev->id.sversion) { 43 case 0x75: irq = (dev->hw_path == 4) ? 5 : 6; break; /* RS232 */ 54 gsc_asic_assign_irq(ctrl, irq, &dev->irq); 56 switch (dev->id.sversion) { 62 gsc_asic_assign_irq(ctrl, irq, &dev->aux_irq); 73 static int __init asp_init_chip(struct parisc_device *dev) argument 78 asp.version = gsc_readb(dev->hpa.start + ASP_VER_OFFSET) & 0xf; 83 asp.name, asp.version, (unsigned long)dev->hpa.start); 87 dev [all...] |
H A D | hppb.c | 42 * @dev: The device which has been found 48 static int hppb_probe(struct parisc_device *dev) argument 66 (unsigned long long) dev->hpa.start); 68 card->hpa = dev->hpa.start; 72 card->mmio_region.start = gsc_readl(dev->hpa.start + IO_IO_LOW); 73 card->mmio_region.end = gsc_readl(dev->hpa.start + IO_IO_HIGH) - 1; 75 status = ccio_request_resource(dev, &card->mmio_region);
|
H A D | wax.c | 29 static void wax_choose_irq(struct parisc_device *dev, void *ctrl) argument 33 switch (dev->id.sversion) { 40 gsc_asic_assign_irq(ctrl, irq, &dev->irq); 42 switch (dev->id.sversion) { 48 gsc_asic_assign_irq(ctrl, irq, &dev->aux_irq); 71 static int __init wax_init_chip(struct parisc_device *dev) argument 83 wax->hpa = dev->hpa.start; 92 dev->irq = gsc_claim_irq(&gsc_irq, WAX_GSC_IRQ); 93 if (dev->irq < 0) { 112 ret = gsc_common_setup(dev, wa [all...] |
/drivers/pci/hotplug/ |
H A D | pciehp_pci.c | 39 struct pci_dev *dev; local 47 dev = pci_get_slot(parent, PCI_DEVFN(0, 0)); 48 if (dev) { 50 pci_name(dev), pci_domain_nr(parent), parent->number); 51 pci_dev_put(dev); 63 list_for_each_entry(dev, &parent->devices, bus_list) 64 if (pci_is_bridge(dev)) 65 pci_hp_add_bridge(dev); 81 struct pci_dev *dev, *temp; local 86 ctrl_dbg(ctrl, "%s: domain:bus:dev [all...] |
H A D | shpchp_pci.c | 39 struct pci_dev *dev; local 47 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); 48 if (dev) { 50 pci_name(dev), pci_domain_nr(parent), 52 pci_dev_put(dev); 64 list_for_each_entry(dev, &parent->devices, bus_list) { 65 if (PCI_SLOT(dev->devfn) != p_slot->device) 67 if (pci_is_bridge(dev)) 68 pci_hp_add_bridge(dev); 85 struct pci_dev *dev, *tem local [all...] |