Home
last modified time | relevance | path

Searched refs:priv (Results 1 – 25 of 1520) sorted by relevance

12345678910>>...61

/linux-2.6.39/drivers/staging/rtl8187se/
Dr8180_dm.c16 struct r8180_priv *priv = ieee80211_priv(dev); in CheckHighPower() local
17 struct ieee80211_device *ieee = priv->ieee80211; in CheckHighPower()
19 if(!priv->bRegHighPowerMechanism) in CheckHighPower()
48 struct r8180_priv *priv = ieee80211_priv(dev); in DoTxHighPower() local
58 HiPwrUpperTh = priv->RegHiPwrUpperTh; in DoTxHighPower()
59 HiPwrLowerTh = priv->RegHiPwrLowerTh; in DoTxHighPower()
63 RSSIHiPwrUpperTh = priv->RegRSSIHiPwrUpperTh; in DoTxHighPower()
64 RSSIHiPwrLowerTh = priv->RegRSSIHiPwrLowerTh; in DoTxHighPower()
67 OfdmTxPwrIdx = priv->chtxpwr_ofdm[priv->ieee80211->current_network.channel]; in DoTxHighPower()
68 CckTxPwrIdx = priv->chtxpwr[priv->ieee80211->current_network.channel]; in DoTxHighPower()
[all …]
/linux-2.6.39/drivers/net/mlx4/
Den_netdev.c51 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_vlan_rx_register() local
52 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_register()
55 en_dbg(HW, priv, "Registering VLAN group:%p\n", grp); in mlx4_en_vlan_rx_register()
56 priv->vlgrp = grp; in mlx4_en_vlan_rx_register()
59 if (mdev->device_up && priv->port_up) { in mlx4_en_vlan_rx_register()
60 err = mlx4_SET_VLAN_FLTR(mdev->dev, priv->port, grp); in mlx4_en_vlan_rx_register()
62 en_err(priv, "Failed configuring VLAN filter\n"); in mlx4_en_vlan_rx_register()
69 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_vlan_rx_add_vid() local
70 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_add_vid()
74 if (!priv->vlgrp) in mlx4_en_vlan_rx_add_vid()
[all …]
/linux-2.6.39/drivers/staging/rtl8192e/
Dr8192E_dm.c44 static void dm_check_rate_adaptive(struct r8192_priv *priv);
47 static void dm_init_bandwidth_autoswitch(struct r8192_priv *priv);
48 static void dm_bandwidth_autoswitch(struct r8192_priv *priv);
51 static void dm_check_txpower_tracking(struct r8192_priv *priv);
54 static void dm_dig_init(struct r8192_priv *priv);
55 static void dm_ctrl_initgain_byrssi(struct r8192_priv *priv);
56 static void dm_ctrl_initgain_byrssi_highpwr(struct r8192_priv *priv);
57 static void dm_ctrl_initgain_byrssi_by_driverrssi(struct r8192_priv *priv);
58 static void dm_ctrl_initgain_byrssi_by_fwfalse_alarm(struct r8192_priv *priv);
59 static void dm_initial_gain(struct r8192_priv *priv);
[all …]
Dr819xE_phy.c567 static u32 phy_FwRFSerialRead(struct r8192_priv *priv, RF90_RADIO_PATH_E eRFPath, u32 Offset);
568 static void phy_FwRFSerialWrite(struct r8192_priv *priv, RF90_RADIO_PATH_E eRFPath, u32 Offset, u32…
594 u8 rtl8192_phy_CheckIsLegalRFPath(struct r8192_priv *priv, u32 eRFPath) in rtl8192_phy_CheckIsLegalRFPath() argument
598 if (priv->rf_type == RF_2T4R) in rtl8192_phy_CheckIsLegalRFPath()
600 else if (priv->rf_type == RF_1T2R) in rtl8192_phy_CheckIsLegalRFPath()
620 void rtl8192_setBBreg(struct r8192_priv *priv, u32 dwRegAddr, u32 dwBitMask, u32 dwData) in rtl8192_setBBreg() argument
626 OriginalValue = read_nic_dword(priv, dwRegAddr); in rtl8192_setBBreg()
629 write_nic_dword(priv, dwRegAddr, NewValue); in rtl8192_setBBreg()
631 write_nic_dword(priv, dwRegAddr, dwData); in rtl8192_setBBreg()
642 u32 rtl8192_QueryBBReg(struct r8192_priv *priv, u32 dwRegAddr, u32 dwBitMask) in rtl8192_QueryBBReg() argument
[all …]
Dr8192E_core.c106 static void rtl819xE_tx_cmd(struct r8192_priv *priv, struct sk_buff *skb);
107 static void rtl8192_update_ratr_table(struct r8192_priv *priv);
110 static int _rtl8192_up(struct r8192_priv *priv);
111 static void rtl8192_cancel_deferred_work(struct r8192_priv* priv);
112 static short rtl8192_tx(struct r8192_priv *priv, struct sk_buff* skb);
136 static void rtl819x_set_channel_map(u8 channel_plan, struct r8192_priv* priv) in rtl819x_set_channel_map() argument
139 struct ieee80211_device* ieee = priv->ieee80211; in rtl819x_set_channel_map()
194 void CamResetAllEntry(struct r8192_priv* priv) in CamResetAllEntry() argument
196 write_nic_dword(priv, RWCAM, BIT31|BIT30); in CamResetAllEntry()
199 void write_cam(struct r8192_priv *priv, u8 addr, u32 data) in write_cam() argument
[all …]
/linux-2.6.39/drivers/net/wireless/iwlegacy/
Diwl4965-base.c91 void iwl4965_update_chain_flags(struct iwl_priv *priv) in iwl4965_update_chain_flags() argument
95 if (priv->cfg->ops->hcmd->set_rxon_chain) { in iwl4965_update_chain_flags()
96 for_each_context(priv, ctx) { in iwl4965_update_chain_flags()
97 priv->cfg->ops->hcmd->set_rxon_chain(priv, ctx); in iwl4965_update_chain_flags()
99 iwl_legacy_commit_rxon(priv, ctx); in iwl4965_update_chain_flags()
104 static void iwl4965_clear_free_frames(struct iwl_priv *priv) in iwl4965_clear_free_frames() argument
108 IWL_DEBUG_INFO(priv, "%d frames on pre-allocated heap on clear.\n", in iwl4965_clear_free_frames()
109 priv->frames_count); in iwl4965_clear_free_frames()
111 while (!list_empty(&priv->free_frames)) { in iwl4965_clear_free_frames()
112 element = priv->free_frames.next; in iwl4965_clear_free_frames()
[all …]
Diwl-scan.c57 static int iwl_legacy_send_scan_abort(struct iwl_priv *priv) in iwl_legacy_send_scan_abort() argument
69 if (!test_bit(STATUS_READY, &priv->status) || in iwl_legacy_send_scan_abort()
70 !test_bit(STATUS_GEO_CONFIGURED, &priv->status) || in iwl_legacy_send_scan_abort()
71 !test_bit(STATUS_SCAN_HW, &priv->status) || in iwl_legacy_send_scan_abort()
72 test_bit(STATUS_FW_ERROR, &priv->status) || in iwl_legacy_send_scan_abort()
73 test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_legacy_send_scan_abort()
76 ret = iwl_legacy_send_cmd_sync(priv, &cmd); in iwl_legacy_send_scan_abort()
88 IWL_DEBUG_SCAN(priv, "SCAN_ABORT ret %d.\n", pkt->u.status); in iwl_legacy_send_scan_abort()
92 iwl_legacy_free_pages(priv, cmd.reply_page); in iwl_legacy_send_scan_abort()
96 static void iwl_legacy_complete_scan(struct iwl_priv *priv, bool aborted) in iwl_legacy_complete_scan() argument
[all …]
Diwl3945-base.c111 __le32 iwl3945_get_antenna_flags(const struct iwl_priv *priv) in iwl3945_get_antenna_flags() argument
113 struct iwl3945_eeprom *eeprom = (struct iwl3945_eeprom *)priv->eeprom; in iwl3945_get_antenna_flags()
131 IWL_ERR(priv, "Bad antenna selector value (0x%x)\n", in iwl3945_get_antenna_flags()
137 static int iwl3945_set_ccmp_dynamic_key_info(struct iwl_priv *priv, in iwl3945_set_ccmp_dynamic_key_info() argument
148 if (sta_id == priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id) in iwl3945_set_ccmp_dynamic_key_info()
155 spin_lock_irqsave(&priv->sta_lock, flags); in iwl3945_set_ccmp_dynamic_key_info()
156 priv->stations[sta_id].keyinfo.cipher = keyconf->cipher; in iwl3945_set_ccmp_dynamic_key_info()
157 priv->stations[sta_id].keyinfo.keylen = keyconf->keylen; in iwl3945_set_ccmp_dynamic_key_info()
158 memcpy(priv->stations[sta_id].keyinfo.key, keyconf->key, in iwl3945_set_ccmp_dynamic_key_info()
161 memcpy(priv->stations[sta_id].sta.key.key, keyconf->key, in iwl3945_set_ccmp_dynamic_key_info()
[all …]
/linux-2.6.39/drivers/net/wireless/libertas/
Dmain.c101 struct lbs_private *priv = dev->ml_priv; in lbs_dev_open() local
106 spin_lock_irq(&priv->driver_lock); in lbs_dev_open()
107 priv->stopping = false; in lbs_dev_open()
109 if (priv->connect_status == LBS_CONNECTED) in lbs_dev_open()
114 if (!priv->tx_pending_len) in lbs_dev_open()
117 spin_unlock_irq(&priv->driver_lock); in lbs_dev_open()
130 struct lbs_private *priv = dev->ml_priv; in lbs_eth_stop() local
134 spin_lock_irq(&priv->driver_lock); in lbs_eth_stop()
135 priv->stopping = true; in lbs_eth_stop()
137 spin_unlock_irq(&priv->driver_lock); in lbs_eth_stop()
[all …]
/linux-2.6.39/drivers/net/wireless/iwlwifi/
Diwl-scan.c57 static int iwl_send_scan_abort(struct iwl_priv *priv) in iwl_send_scan_abort() argument
69 if (!test_bit(STATUS_READY, &priv->status) || in iwl_send_scan_abort()
70 !test_bit(STATUS_GEO_CONFIGURED, &priv->status) || in iwl_send_scan_abort()
71 !test_bit(STATUS_SCAN_HW, &priv->status) || in iwl_send_scan_abort()
72 test_bit(STATUS_FW_ERROR, &priv->status) || in iwl_send_scan_abort()
73 test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_send_scan_abort()
76 ret = iwl_send_cmd_sync(priv, &cmd); in iwl_send_scan_abort()
88 IWL_DEBUG_SCAN(priv, "SCAN_ABORT ret %d.\n", pkt->u.status); in iwl_send_scan_abort()
92 iwl_free_pages(priv, cmd.reply_page); in iwl_send_scan_abort()
96 static void iwl_complete_scan(struct iwl_priv *priv, bool aborted) in iwl_complete_scan() argument
[all …]
Diwl-agn.c93 void iwl_update_chain_flags(struct iwl_priv *priv) in iwl_update_chain_flags() argument
97 if (priv->cfg->ops->hcmd->set_rxon_chain) { in iwl_update_chain_flags()
98 for_each_context(priv, ctx) { in iwl_update_chain_flags()
99 priv->cfg->ops->hcmd->set_rxon_chain(priv, ctx); in iwl_update_chain_flags()
101 iwlcore_commit_rxon(priv, ctx); in iwl_update_chain_flags()
106 static void iwl_clear_free_frames(struct iwl_priv *priv) in iwl_clear_free_frames() argument
110 IWL_DEBUG_INFO(priv, "%d frames on pre-allocated heap on clear.\n", in iwl_clear_free_frames()
111 priv->frames_count); in iwl_clear_free_frames()
113 while (!list_empty(&priv->free_frames)) { in iwl_clear_free_frames()
114 element = priv->free_frames.next; in iwl_clear_free_frames()
[all …]
Diwl-agn-ict.c44 void iwl_free_isr_ict(struct iwl_priv *priv) in iwl_free_isr_ict() argument
46 if (priv->_agn.ict_tbl_vir) { in iwl_free_isr_ict()
47 dma_free_coherent(&priv->pci_dev->dev, in iwl_free_isr_ict()
49 priv->_agn.ict_tbl_vir, in iwl_free_isr_ict()
50 priv->_agn.ict_tbl_dma); in iwl_free_isr_ict()
51 priv->_agn.ict_tbl_vir = NULL; in iwl_free_isr_ict()
59 int iwl_alloc_isr_ict(struct iwl_priv *priv) in iwl_alloc_isr_ict() argument
62 if (priv->cfg->base_params->use_isr_legacy) in iwl_alloc_isr_ict()
65 priv->_agn.ict_tbl_vir = in iwl_alloc_isr_ict()
66 dma_alloc_coherent(&priv->pci_dev->dev, in iwl_alloc_isr_ict()
[all …]
Diwl-agn-tt.c85 bool iwl_tt_is_low_power_state(struct iwl_priv *priv) in iwl_tt_is_low_power_state() argument
87 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_is_low_power_state()
94 u8 iwl_tt_current_power_mode(struct iwl_priv *priv) in iwl_tt_current_power_mode() argument
96 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_current_power_mode()
101 bool iwl_ht_enabled(struct iwl_priv *priv) in iwl_ht_enabled() argument
103 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_ht_enabled()
106 if (!priv->thermal_throttle.advanced_tt) in iwl_ht_enabled()
112 static bool iwl_within_ct_kill_margin(struct iwl_priv *priv) in iwl_within_ct_kill_margin() argument
114 s32 temp = priv->temperature; /* degrees CELSIUS except specified */ in iwl_within_ct_kill_margin()
117 if (priv->cfg->base_params->temperature_kelvin) in iwl_within_ct_kill_margin()
[all …]
/linux-2.6.39/drivers/net/wireless/rtl818x/rtl8187/
Ddev.c124 static void rtl8187_iowrite_async(struct rtl8187_priv *priv, __le16 addr, in rtl8187_iowrite_async() argument
155 usb_fill_control_urb(urb, priv->udev, usb_sndctrlpipe(priv->udev, 0), in rtl8187_iowrite_async()
158 usb_anchor_urb(urb, &priv->anchored); in rtl8187_iowrite_async()
167 static inline void rtl818x_iowrite32_async(struct rtl8187_priv *priv, in rtl818x_iowrite32_async() argument
172 rtl8187_iowrite_async(priv, cpu_to_le16((unsigned long)addr), in rtl818x_iowrite32_async()
178 struct rtl8187_priv *priv = dev->priv; in rtl8187_write_phy() local
183 rtl818x_iowrite8(priv, &priv->map->PHY[3], (data >> 24) & 0xFF); in rtl8187_write_phy()
184 rtl818x_iowrite8(priv, &priv->map->PHY[2], (data >> 16) & 0xFF); in rtl8187_write_phy()
185 rtl818x_iowrite8(priv, &priv->map->PHY[1], (data >> 8) & 0xFF); in rtl8187_write_phy()
186 rtl818x_iowrite8(priv, &priv->map->PHY[0], data & 0xFF); in rtl8187_write_phy()
[all …]
/linux-2.6.39/drivers/net/hamradio/
Ddmascc.c225 struct scc_priv priv[2]; member
234 static void write_scc(struct scc_priv *priv, int reg, int val);
235 static void write_scc_data(struct scc_priv *priv, int val, int fast);
236 static int read_scc(struct scc_priv *priv, int reg);
237 static int read_scc_data(struct scc_priv *priv);
245 static inline void tx_on(struct scc_priv *priv);
246 static inline void rx_on(struct scc_priv *priv);
247 static inline void rx_off(struct scc_priv *priv);
248 static void start_timer(struct scc_priv *priv, int t, int r15);
253 static void rx_isr(struct scc_priv *priv);
[all …]
/linux-2.6.39/drivers/staging/rtl8192u/
Dr8192U_dm.c174 struct r8192_priv *priv = ieee80211_priv(dev); in init_hal_dm() local
177 priv->undecorated_smoothed_pwdb = -1; in init_hal_dm()
202 struct r8192_priv *priv = ieee80211_priv((struct net_device *)dev); in dm_CheckRxAggregation() local
203 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_CheckRxAggregation()
224 curTxOkCnt = priv->stats.txbytesunicast - lastTxOkCnt; in dm_CheckRxAggregation()
225 curRxOkCnt = priv->stats.rxbytesunicast - lastRxOkCnt; in dm_CheckRxAggregation()
232 if (priv->bCurrentRxAggrEnable) { in dm_CheckRxAggregation()
234 priv->bCurrentRxAggrEnable = false; in dm_CheckRxAggregation()
237 if (!priv->bCurrentRxAggrEnable && !pHTInfo->bCurrentRT2RTAggregation) { in dm_CheckRxAggregation()
247 priv->bCurrentRxAggrEnable = true; in dm_CheckRxAggregation()
[all …]
/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Dhtc_drv_gpio.c26 static void ath_detect_bt_priority(struct ath9k_htc_priv *priv) in ath_detect_bt_priority() argument
28 struct ath_btcoex *btcoex = &priv->btcoex; in ath_detect_bt_priority()
29 struct ath_hw *ah = priv->ah; in ath_detect_bt_priority()
36 priv->op_flags &= ~(OP_BT_PRIORITY_DETECTED | OP_BT_SCAN); in ath_detect_bt_priority()
41 priv->op_flags |= (OP_BT_SCAN | in ath_detect_bt_priority()
46 priv->op_flags |= OP_BT_PRIORITY_DETECTED; in ath_detect_bt_priority()
61 struct ath9k_htc_priv *priv = container_of(work, struct ath9k_htc_priv, in ath_btcoex_period_work() local
63 struct ath_btcoex *btcoex = &priv->btcoex; in ath_btcoex_period_work()
64 struct ath_common *common = ath9k_hw_common(priv->ah); in ath_btcoex_period_work()
70 ath_detect_bt_priority(priv); in ath_btcoex_period_work()
[all …]
/linux-2.6.39/drivers/net/wireless/rtl818x/rtl8180/
Drtl8225.c28 struct rtl8180_priv *priv = dev->priv; in rtl8225_write() local
35 reg80 = rtl818x_ioread16(priv, &priv->map->RFPinsOutput) & 0xfff3; in rtl8225_write()
36 reg82 = rtl818x_ioread16(priv, &priv->map->RFPinsEnable); in rtl8225_write()
38 rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, reg82 | 0x7); in rtl8225_write()
40 reg84 = rtl818x_ioread16(priv, &priv->map->RFPinsSelect); in rtl8225_write()
41 rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84 | 0x7 | 0x400); in rtl8225_write()
42 rtl818x_ioread8(priv, &priv->map->EEPROM_CMD); in rtl8225_write()
45 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2)); in rtl8225_write()
46 rtl818x_ioread8(priv, &priv->map->EEPROM_CMD); in rtl8225_write()
48 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80); in rtl8225_write()
[all …]
Ddev.c88 struct rtl8180_priv *priv = dev->priv; in rtl8180_write_phy() local
94 rtl818x_iowrite32(priv, (__le32 __iomem *)&priv->map->PHY[0], buf | 0x80); in rtl8180_write_phy()
96 rtl818x_iowrite32(priv, (__le32 __iomem *)&priv->map->PHY[0], buf); in rtl8180_write_phy()
97 if (rtl818x_ioread8(priv, &priv->map->PHY[2]) == (data & 0xFF)) in rtl8180_write_phy()
104 struct rtl8180_priv *priv = dev->priv; in rtl8180_handle_rx() local
109 struct rtl8180_rx_desc *entry = &priv->rx_ring[priv->rx_idx]; in rtl8180_handle_rx()
110 struct sk_buff *skb = priv->rx_buf[priv->rx_idx]; in rtl8180_handle_rx()
128 pci_unmap_single(priv->pdev, in rtl8180_handle_rx()
136 if (priv->r8185) { in rtl8180_handle_rx()
143 signal = priv->rf->calc_rssi(agc, sq); in rtl8180_handle_rx()
[all …]
/linux-2.6.39/drivers/net/
Denc28j60.c88 spi_read_buf(struct enc28j60_net *priv, int len, u8 *data) in spi_read_buf() argument
90 u8 *rx_buf = priv->spi_transfer_buf + 4; in spi_read_buf()
91 u8 *tx_buf = priv->spi_transfer_buf; in spi_read_buf()
105 ret = spi_sync(priv->spi, &msg); in spi_read_buf()
110 if (ret && netif_msg_drv(priv)) in spi_read_buf()
120 static int spi_write_buf(struct enc28j60_net *priv, int len, in spi_write_buf() argument
128 priv->spi_transfer_buf[0] = ENC28J60_WRITE_BUF_MEM; in spi_write_buf()
129 memcpy(&priv->spi_transfer_buf[1], data, len); in spi_write_buf()
130 ret = spi_write(priv->spi, priv->spi_transfer_buf, len + 1); in spi_write_buf()
131 if (ret && netif_msg_drv(priv)) in spi_write_buf()
[all …]
Dbcm63xx_enet.c49 static inline u32 enet_readl(struct bcm_enet_priv *priv, u32 off) in enet_readl() argument
51 return bcm_readl(priv->base + off); in enet_readl()
54 static inline void enet_writel(struct bcm_enet_priv *priv, in enet_writel() argument
57 bcm_writel(val, priv->base + off); in enet_writel()
63 static inline u32 enet_dma_readl(struct bcm_enet_priv *priv, u32 off) in enet_dma_readl() argument
68 static inline void enet_dma_writel(struct bcm_enet_priv *priv, in enet_dma_writel() argument
78 static int do_mdio_op(struct bcm_enet_priv *priv, unsigned int data) in do_mdio_op() argument
83 enet_writel(priv, ENET_IR_MII, ENET_IR_REG); in do_mdio_op()
85 enet_writel(priv, data, ENET_MIIDATA_REG); in do_mdio_op()
91 if (enet_readl(priv, ENET_IR_REG) & ENET_IR_MII) in do_mdio_op()
[all …]
/linux-2.6.39/drivers/net/wireless/p54/
Dmain.c41 struct p54_common *priv = hw->priv; in p54_sta_add_remove() local
48 p54_sta_unlock(priv, sta->addr); in p54_sta_add_remove()
57 struct p54_common *priv = dev->priv; in p54_sta_notify() local
62 p54_sta_unlock(priv, sta->addr); in p54_sta_notify()
72 struct p54_common *priv = dev->priv; in p54_set_tim() local
74 return p54_update_beacon_tim(priv, sta->aid, set); in p54_set_tim()
138 static int p54_beacon_update(struct p54_common *priv, in p54_beacon_update() argument
144 beacon = ieee80211_beacon_get(priv->hw, vif); in p54_beacon_update()
160 p54_tx_80211(priv->hw, beacon); in p54_beacon_update()
161 priv->tsf_high32 = 0; in p54_beacon_update()
[all …]
/linux-2.6.39/drivers/net/stmmac/
Dstmmac_main.c57 ((void)(netif_msg_##nlevel(priv) && \
184 static inline u32 stmmac_tx_avail(struct stmmac_priv *priv) in stmmac_tx_avail() argument
186 return priv->dirty_tx + priv->dma_tx_size - priv->cur_tx - 1; in stmmac_tx_avail()
192 static inline void stmmac_hw_fix_mac_speed(struct stmmac_priv *priv) in stmmac_hw_fix_mac_speed() argument
194 struct phy_device *phydev = priv->phydev; in stmmac_hw_fix_mac_speed()
196 if (likely(priv->plat->fix_mac_speed)) in stmmac_hw_fix_mac_speed()
197 priv->plat->fix_mac_speed(priv->plat->bsp_priv, in stmmac_hw_fix_mac_speed()
208 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_adjust_link() local
209 struct phy_device *phydev = priv->phydev; in stmmac_adjust_link()
212 unsigned int fc = priv->flow_ctrl, pause_time = priv->pause; in stmmac_adjust_link()
[all …]
/linux-2.6.39/drivers/net/wireless/prism54/
Dislpci_dev.c62 isl_upload_firmware(islpci_private *priv) in isl_upload_firmware() argument
65 void __iomem *device_base = priv->device_base; in isl_upload_firmware()
94 rc = request_firmware(&fw_entry, priv->firmware, PRISM_FW_PDEV); in isl_upload_firmware()
98 "prism54", priv->firmware); in isl_upload_firmware()
110 "prism54", priv->firmware); in isl_upload_firmware()
151 priv->ndev->name, fw_entry->data + 40); in isl_upload_firmware()
192 islpci_private *priv = config; in islpci_interrupt() local
193 struct net_device *ndev = priv->ndev; in islpci_interrupt()
194 void __iomem *device = priv->device_base; in islpci_interrupt()
198 spin_lock(&priv->slock); in islpci_interrupt()
[all …]
/linux-2.6.39/drivers/net/wireless/
Datmel.c575 static void build_wpa_mib(struct atmel_private *priv);
583 static int atmel_lock_mac(struct atmel_private *priv);
584 static void atmel_wmem32(struct atmel_private *priv, u16 pos, u32 data);
585 static void atmel_command_irq(struct atmel_private *priv);
586 static int atmel_validate_channel(struct atmel_private *priv, int channel);
587 static void atmel_management_frame(struct atmel_private *priv,
591 static void atmel_send_command(struct atmel_private *priv, int command,
593 static int atmel_send_command_wait(struct atmel_private *priv, int command,
595 static void atmel_transmit_management_frame(struct atmel_private *priv,
599 static u8 atmel_get_mib8(struct atmel_private *priv, u8 type, u8 index);
[all …]

12345678910>>...61