/drivers/net/ethernet/ |
H A D | netx-eth.c | 114 struct netx_eth_priv *priv = netdev_priv(ndev); local 118 spin_lock_irq(&priv->lock); 119 memcpy_toio(priv->sram_base + 1560, (void *)buf, len); 121 memset_io(priv->sram_base + 1560 + len, 0, 60 - len); 125 pfifo_push(REQ_FIFO_PORT_LO(priv->id), 126 FIFO_PTR_SEGMENT(priv->id) | 134 spin_unlock_irq(&priv->lock); 142 struct netx_eth_priv *priv = netdev_priv(ndev); local 147 val = pfifo_pop(IND_FIFO_PORT_LO(priv->id)); 163 memcpy_fromio(data, priv 178 struct netx_eth_priv *priv = netdev_priv(ndev); local 212 struct netx_eth_priv *priv = netdev_priv(ndev); local 243 struct netx_eth_priv *priv = netdev_priv(ndev); local 257 struct netx_eth_priv *priv = netdev_priv(ndev); local 317 struct netx_eth_priv *priv = netdev_priv(ndev); local 379 struct netx_eth_priv *priv; local 436 struct netx_eth_priv *priv = netdev_priv(ndev); local [all...] |
/drivers/net/ethernet/sgi/ |
H A D | meth.c | 123 static unsigned long mdio_read(struct meth_private *priv, unsigned long phyreg) argument 127 mace->eth.phy_regs = (priv->phy_addr << 5) | (phyreg & 0x1f); 135 static int mdio_probe(struct meth_private *priv) argument 140 if(priv->phy_addr>=0&&priv->phy_addr<32) 142 spin_lock_irqsave(&priv->meth_lock, flags); 144 priv->phy_addr=i; 145 p2=mdio_read(priv,2); 146 p3=mdio_read(priv,3); 168 spin_unlock_irqrestore(&priv 179 struct meth_private *priv = netdev_priv(dev); local 212 meth_init_tx_ring(struct meth_private *priv) argument 228 meth_init_rx_ring(struct meth_private *priv) argument 247 meth_free_tx_ring(struct meth_private *priv) argument 262 meth_free_rx_ring(struct meth_private *priv) argument 277 struct meth_private *priv = netdev_priv(dev); local 319 struct meth_private *priv = netdev_priv(dev); local 363 struct meth_private *priv = netdev_priv(dev); local 385 struct meth_private *priv = netdev_priv(dev); local 473 struct meth_private *priv = netdev_priv(dev); local 480 struct meth_private *priv = netdev_priv(dev); local 543 struct meth_private *priv = netdev_priv(dev); local 578 struct meth_private *priv = netdev_priv(dev); local 609 meth_tx_short_prepare(struct meth_private *priv, struct sk_buff *skb) argument 622 meth_tx_1page_prepare(struct meth_private *priv, struct sk_buff *skb) argument 647 meth_tx_2page_prepare(struct meth_private *priv, struct sk_buff *skb) argument 678 meth_add_to_tx_ring(struct meth_private *priv, struct sk_buff *skb) argument 703 struct meth_private *priv = netdev_priv(dev); local 734 struct meth_private *priv = netdev_priv(dev); local 781 struct meth_private *priv = netdev_priv(dev); local 831 struct meth_private *priv; local [all...] |
/drivers/net/irda/ |
H A D | ali-ircc.c | 121 static void ali_ircc_sir_change_speed(struct ali_ircc_cb *priv, __u32 speed); 126 static void ali_ircc_fir_change_speed(struct ali_ircc_cb *priv, __u32 speed); 135 static void ali_ircc_change_dongle_speed(struct ali_ircc_cb *priv, int speed); 1016 static void ali_ircc_fir_change_speed(struct ali_ircc_cb *priv, __u32 baud) argument 1020 struct ali_ircc_cb *self = (struct ali_ircc_cb *) priv; 1053 static void ali_ircc_sir_change_speed(struct ali_ircc_cb *priv, __u32 speed) argument 1055 struct ali_ircc_cb *self = (struct ali_ircc_cb *) priv; 1121 static void ali_ircc_change_dongle_speed(struct ali_ircc_cb *priv, int speed) argument 1124 struct ali_ircc_cb *self = (struct ali_ircc_cb *) priv;
|
/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_txrx.c | 56 void ath9k_htc_check_stop_queues(struct ath9k_htc_priv *priv) argument 58 spin_lock_bh(&priv->tx.tx_lock); 59 priv->tx.queued_cnt++; 60 if ((priv->tx.queued_cnt >= ATH9K_HTC_TX_THRESHOLD) && 61 !(priv->tx.flags & ATH9K_HTC_OP_TX_QUEUES_STOP)) { 62 priv->tx.flags |= ATH9K_HTC_OP_TX_QUEUES_STOP; 63 ieee80211_stop_queues(priv->hw); 65 spin_unlock_bh(&priv->tx.tx_lock); 68 void ath9k_htc_check_wake_queues(struct ath9k_htc_priv *priv) argument 70 spin_lock_bh(&priv 79 ath9k_htc_tx_get_slot(struct ath9k_htc_priv *priv) argument 95 ath9k_htc_tx_clear_slot(struct ath9k_htc_priv *priv, int slot) argument 102 get_htc_epid(struct ath9k_htc_priv *priv, u16 qnum) argument 131 get_htc_epid_queue(struct ath9k_htc_priv *priv, u8 epid) argument 157 strip_drv_header(struct ath9k_htc_priv *priv, struct sk_buff *skb) argument 188 ath_htc_txq_update(struct ath9k_htc_priv *priv, int qnum, struct ath9k_tx_queue_info *qinfo) argument 214 ath9k_htc_tx_mgmt(struct ath9k_htc_priv *priv, struct ath9k_htc_vif *avp, struct sk_buff *skb, u8 sta_idx, u8 vif_idx, u8 slot) argument 260 ath9k_htc_tx_data(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif, struct sk_buff *skb, u8 sta_idx, u8 vif_idx, u8 slot, bool is_cab) argument 335 ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb, u8 slot, bool is_cab) argument 387 __ath9k_htc_check_tx_aggr(struct ath9k_htc_priv *priv, struct ath9k_htc_sta *ista, u8 tid) argument 400 ath9k_htc_check_tx_aggr(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif, struct sk_buff *skb) argument 440 ath9k_htc_tx_process(struct ath9k_htc_priv *priv, struct sk_buff *skb, struct __wmi_event_txstatus *txs) argument 511 ath9k_htc_tx_drainq(struct ath9k_htc_priv *priv, struct sk_buff_head *queue) argument 521 ath9k_htc_tx_drain(struct ath9k_htc_priv *priv) argument 562 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *)data; local 574 check_cookie(struct ath9k_htc_priv *priv, struct sk_buff *skb, u8 cookie, u8 epid) argument 600 ath9k_htc_tx_get_packet(struct ath9k_htc_priv *priv, struct __wmi_event_txstatus *txs) argument 629 ath9k_htc_txstatus(struct ath9k_htc_priv *priv, void *wmi_event) argument 674 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) drv_priv; local 697 check_packet(struct ath9k_htc_priv *priv, struct sk_buff *skb) argument 714 ath9k_htc_tx_cleanup_queue(struct ath9k_htc_priv *priv, struct sk_buff_head *epid_queue) argument 744 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) data; local 789 ath9k_tx_init(struct ath9k_htc_priv *priv) argument 801 ath9k_tx_cleanup(struct ath9k_htc_priv *priv) argument 806 ath9k_htc_txq_setup(struct ath9k_htc_priv *priv, int subtype) argument 831 ath9k_htc_cabq_setup(struct ath9k_htc_priv *priv) argument 848 ath9k_htc_calcrxfilter(struct ath9k_htc_priv *priv) argument 901 ath9k_htc_opmode_init(struct ath9k_htc_priv *priv) argument 915 ath9k_host_rx_init(struct ath9k_htc_priv *priv) argument 959 ath9k_rx_prepare(struct ath9k_htc_priv *priv, struct ath9k_htc_rxbuf *rxbuf, struct ieee80211_rx_status *rx_status) argument 1098 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *)data; local 1153 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *)drv_priv; local 1185 ath9k_rx_cleanup(struct ath9k_htc_priv *priv) argument 1197 ath9k_rx_init(struct ath9k_htc_priv *priv) argument [all...] |
H A D | htc_hst.h | 81 void *priv; member in struct:htc_ep_callbacks
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-agn-calib.c | 93 int iwl_send_calib_results(struct iwl_priv *priv) argument 101 list_for_each_entry(res, &priv->calib_results, list) { 107 ret = iwl_dvm_send_cmd(priv, &hcmd); 109 IWL_ERR(priv, "Error %d on calib cmd %d\n", 118 int iwl_calib_set(struct iwl_priv *priv, argument 130 list_for_each_entry(tmp, &priv->calib_results, list) { 139 list_add_tail(&res->list, &priv->calib_results); 144 void iwl_calib_free_results(struct iwl_priv *priv) argument 148 list_for_each_entry_safe(res, tmp, &priv->calib_results, list) { 166 static int iwl_sens_energy_cck(struct iwl_priv *priv, argument 367 iwl_sens_auto_corr_ofdm(struct iwl_priv *priv, u32 norm_fa, u32 rx_enable_time) argument 431 iwl_prepare_legacy_sensitivity_tbl(struct iwl_priv *priv, struct iwl_sensitivity_data *data, __le16 *tbl) argument 472 iwl_sensitivity_write(struct iwl_priv *priv) argument 507 iwl_enhance_sensitivity_write(struct iwl_priv *priv) argument 595 iwl_init_sensitivity(struct iwl_priv *priv) argument 652 iwl_sensitivity_calibration(struct iwl_priv *priv) argument 774 iwl_find_disconn_antenna(struct iwl_priv *priv, u32* average_sig, struct iwl_chain_noise_data *data) argument 881 iwlagn_gain_computation(struct iwl_priv *priv, u32 average_noise[NUM_RX_CHAINS], u8 default_chain) argument 945 iwl_chain_noise_calibration(struct iwl_priv *priv) argument 1099 iwl_reset_run_time_calib(struct iwl_priv *priv) argument [all...] |
H A D | iwl-agn-sta.c | 37 static int iwl_sta_ucode_activate(struct iwl_priv *priv, u8 sta_id) argument 39 lockdep_assert_held(&priv->sta_lock); 42 IWL_ERR(priv, "invalid sta_id %u", sta_id); 45 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) 46 IWL_ERR(priv, "ACTIVATE a non DRIVER active station id %u " 48 sta_id, priv->stations[sta_id].sta.sta.addr); 50 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) { 51 IWL_DEBUG_ASSOC(priv, 54 sta_id, priv->stations[sta_id].sta.sta.addr); 56 priv 63 iwl_process_add_sta_resp(struct iwl_priv *priv, struct iwl_addsta_cmd *addsta, struct iwl_rx_packet *pkt) argument 127 iwl_add_sta_callback(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb, struct iwl_device_cmd *cmd) argument 137 iwl_send_add_sta(struct iwl_priv *priv, struct iwl_addsta_cmd *sta, u8 flags) argument 173 iwl_sta_calc_ht_flags(struct iwl_priv *priv, struct ieee80211_sta *sta, struct iwl_rxon_context *ctx, __le32 *flags, __le32 *mask) argument 223 iwl_sta_update_ht(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_sta *sta) argument 249 iwl_set_ht_add_station(struct iwl_priv *priv, u8 index, struct ieee80211_sta *sta, struct iwl_rxon_context *ctx) argument 267 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, const u8 *addr, bool is_ap, struct ieee80211_sta *sta) argument 354 iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx, const u8 *addr, bool is_ap, struct ieee80211_sta *sta, u8 *sta_id_r) argument 414 iwl_sta_ucode_deactivate(struct iwl_priv *priv, u8 sta_id) argument 430 iwl_send_remove_station(struct iwl_priv *priv, const u8 *addr, int sta_id, bool temporary) argument 488 iwl_remove_station(struct iwl_priv *priv, const u8 sta_id, const u8 *addr) argument 549 iwl_deactivate_station(struct iwl_priv *priv, const u8 sta_id, const u8 *addr) argument 592 iwl_clear_ucode_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 627 iwl_restore_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 703 iwl_get_free_ucode_key_offset(struct iwl_priv *priv) argument 714 iwl_dealloc_bcast_stations(struct iwl_priv *priv) argument 734 iwl_dump_lq_cmd(struct iwl_priv *priv, struct iwl_link_quality_cmd *lq) argument 748 iwl_dump_lq_cmd(struct iwl_priv *priv, struct iwl_link_quality_cmd *lq) argument 765 is_lq_table_valid(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct iwl_link_quality_cmd *lq) argument 798 iwl_send_lq_cmd(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct iwl_link_quality_cmd *lq, u8 flags, bool init) argument 844 iwl_sta_fill_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id, struct iwl_link_quality_cmd *link_cmd) argument 895 iwl_sta_alloc_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id) argument 916 iwlagn_add_bssid_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, const u8 *addr, u8 *sta_id_r) argument 968 iwl_send_static_wepkey_cmd(struct iwl_priv *priv, struct iwl_rxon_context *ctx, bool send_if_empty) argument 1015 iwl_restore_default_wep_keys(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 1023 iwl_remove_default_wep_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_key_conf *keyconf) argument 1048 iwl_set_default_wep_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_key_conf *keyconf) argument 1091 iwlagn_key_sta_id(struct iwl_priv *priv, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 1111 iwlagn_send_sta_key(struct iwl_priv *priv, struct ieee80211_key_conf *keyconf, u8 sta_id, u32 tkip_iv32, u16 *tkip_p1k, u32 cmd_flags) argument 1164 iwl_update_tkip_key(struct iwl_priv *priv, struct ieee80211_vif *vif, struct ieee80211_key_conf *keyconf, struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) argument 1184 iwl_remove_dynamic_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_key_conf *keyconf, struct ieee80211_sta *sta) argument 1232 iwl_set_dynamic_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_key_conf *keyconf, struct ieee80211_sta *sta) argument 1297 iwlagn_alloc_bcast_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 1336 iwl_update_bcast_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 1359 iwl_update_bcast_stations(struct iwl_priv *priv) argument 1376 iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid) argument 1393 iwl_sta_rx_agg_start(struct iwl_priv *priv, struct ieee80211_sta *sta, int tid, u16 ssn) argument 1417 iwl_sta_rx_agg_stop(struct iwl_priv *priv, struct ieee80211_sta *sta, int tid) argument 1444 iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt) argument [all...] |
H A D | iwl-agn.c | 80 void iwl_update_chain_flags(struct iwl_priv *priv) argument 84 for_each_context(priv, ctx) { 85 iwlagn_set_rxon_chain(priv, ctx); 87 iwlagn_commit_rxon(priv, ctx); 92 static void iwl_set_beacon_tim(struct iwl_priv *priv, argument 115 IWL_WARN(priv, "Unable to find TIM Element in beacon\n"); 118 int iwlagn_send_beacon_cmd(struct iwl_priv *priv) argument 135 lockdep_assert_held(&priv->mutex); 137 if (!priv->beacon_ctx) { 138 IWL_ERR(priv, "tryin 205 struct iwl_priv *priv = local 244 struct iwl_priv *priv = local 258 struct iwl_priv *priv = local 301 struct iwl_priv *priv = (struct iwl_priv *)data; local 314 iwl_print_cont_event_trace(struct iwl_priv *priv, u32 base, u32 start_idx, u32 num_events, u32 capacity, u32 mode) argument 368 iwl_continuous_event_trace(struct iwl_priv *priv) argument 462 struct iwl_priv *priv = (struct iwl_priv *)data; local 477 struct iwl_priv *priv = local 491 iwl_init_context(struct iwl_priv *priv, u32 ucode_flags) argument 549 iwl_rf_kill_ct_config(struct iwl_priv *priv) argument 594 iwlagn_send_calib_cfg_rt(struct iwl_priv *priv, u32 cfg) argument 611 iwlagn_send_tx_ant_config(struct iwl_priv *priv, u8 valid_tx_ant) argument 635 iwl_alive_start(struct iwl_priv *priv) argument 746 iwl_clear_driver_stations(struct iwl_priv *priv) argument 771 iwl_down(struct iwl_priv *priv) argument 845 struct iwl_priv *priv = container_of(work, struct iwl_priv, local 864 iwlagn_prepare_restart(struct iwl_priv *priv) argument 902 struct iwl_priv *priv = container_of(data, struct iwl_priv, restart); local 921 iwlagn_disable_roc(struct iwl_priv *priv) argument 945 struct iwl_priv *priv = container_of(work, struct iwl_priv, local 959 iwl_setup_deferred_work(struct iwl_priv *priv) argument 990 iwl_cancel_deferred_work(struct iwl_priv *priv) argument 1028 iwl_init_drv(struct iwl_priv *priv) argument 1097 iwl_uninit_drv(struct iwl_priv *priv) argument 1114 iwl_set_hw_params(struct iwl_priv *priv) argument 1140 iwl_debug_config(struct iwl_priv *priv) argument 1179 struct iwl_priv *priv; local 1395 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 1431 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 1441 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 1448 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 1456 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 1464 iwlagn_lift_passive_no_rx(struct iwl_priv *priv) argument [all...] |
H A D | iwl-eeprom.c | 92 * information into priv->channel_info_24/52 and priv->channel_map_24/52 231 int iwl_eeprom_check_version(struct iwl_priv *priv) argument 236 eeprom_ver = iwl_eeprom_query16(priv->shrd, EEPROM_VERSION); 237 calib_ver = iwl_eeprom_calib_version(priv->shrd); 239 if (eeprom_ver < cfg(priv)->eeprom_ver || 240 calib_ver < cfg(priv)->eeprom_calib_ver) 243 IWL_INFO(priv, "device EEPROM VER=0x%x, CALIB=0x%x\n", 248 IWL_ERR(priv, "Unsupported (too old) EEPROM VER=0x%x < 0x%x " 250 eeprom_ver, cfg(priv) 256 iwl_eeprom_init_hw_params(struct iwl_priv *priv) argument 516 iwl_get_max_txpower_avg(struct iwl_priv *priv, struct iwl_eeprom_enhanced_txpwr *enhanced_txpower, int element, s8 *max_txpower_in_half_dbm) argument 552 iwl_eeprom_enh_txp_read_element(struct iwl_priv *priv, struct iwl_eeprom_enhanced_txpwr *txp, s8 max_txpower_avg) argument 592 iwl_eeprom_enhanced_txpower(struct iwl_priv *priv) argument 777 iwl_init_band_reference(const struct iwl_priv *priv, int eep_band, int *eeprom_ch_count, const struct iwl_eeprom_channel **eeprom_ch_info, const u8 **eeprom_ch_index) argument 841 iwl_mod_ht40_chan_info(struct iwl_priv *priv, enum ieee80211_band band, u16 channel, const struct iwl_eeprom_channel *eeprom_ch, u8 clear_ht40_extension_channel) argument 885 iwl_init_channel_map(struct iwl_priv *priv) argument 1037 iwl_free_channel_map(struct iwl_priv *priv) argument 1048 iwl_get_channel_info(const struct iwl_priv *priv, enum ieee80211_band band, u16 channel) argument 1071 iwl_rf_config(struct iwl_priv *priv) argument [all...] |
H A D | iwl-scan.c | 57 static int iwl_send_scan_abort(struct iwl_priv *priv) argument 69 if (!test_bit(STATUS_READY, &priv->status) || 70 !test_bit(STATUS_GEO_CONFIGURED, &priv->status) || 71 !test_bit(STATUS_SCAN_HW, &priv->status) || 72 test_bit(STATUS_FW_ERROR, &priv->shrd->status)) 75 ret = iwl_dvm_send_cmd(priv, &cmd); 87 IWL_DEBUG_SCAN(priv, "SCAN_ABORT ret %d.\n", 96 static void iwl_complete_scan(struct iwl_priv *priv, bool aborted) argument 99 if (priv->scan_request) { 100 IWL_DEBUG_SCAN(priv, "Complet 115 iwl_process_scan_complete(struct iwl_priv *priv) argument 174 iwl_force_scan_end(struct iwl_priv *priv) argument 191 iwl_do_scan_abort(struct iwl_priv *priv) argument 218 iwl_scan_cancel(struct iwl_priv *priv) argument 230 iwl_scan_cancel_timeout(struct iwl_priv *priv, unsigned long ms) argument 263 iwl_rx_reply_scan(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb, struct iwl_device_cmd *cmd) argument 277 iwl_rx_scan_start_notif(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb, struct iwl_device_cmd *cmd) argument 304 iwl_rx_scan_results_notif(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb, struct iwl_device_cmd *cmd) argument 329 iwl_rx_scan_complete_notif(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb, struct iwl_device_cmd *cmd) argument 381 iwl_setup_rx_scan_handlers(struct iwl_priv *priv) argument 392 iwl_get_active_dwell_time(struct iwl_priv *priv, enum ieee80211_band band, u8 n_probes) argument 403 iwl_limit_dwell(struct iwl_priv *priv, u16 dwell_time) argument 444 iwl_get_passive_dwell_time(struct iwl_priv *priv, enum ieee80211_band band) argument 454 iwl_get_single_channel_for_scan(struct iwl_priv *priv, struct ieee80211_vif *vif, enum ieee80211_band band, struct iwl_scan_channel *scan_ch) argument 495 iwl_get_channels_for_scan(struct iwl_priv *priv, struct ieee80211_vif *vif, enum ieee80211_band band, u8 is_active, u8 n_probes, struct iwl_scan_channel *scan_ch) argument 622 iwlagn_request_scan(struct iwl_priv *priv, struct ieee80211_vif *vif) argument 945 iwl_init_scan_params(struct iwl_priv *priv) argument 954 iwl_scan_initiate(struct iwl_priv *priv, struct ieee80211_vif *vif, enum iwl_scan_type scan_type, enum ieee80211_band band) argument 1009 iwl_internal_short_hw_scan(struct iwl_priv *priv) argument 1016 struct iwl_priv *priv = local 1041 struct iwl_priv *priv = local 1056 struct iwl_priv *priv = container_of(work, struct iwl_priv, abort_scan); local 1069 struct iwl_priv *priv = local 1077 iwl_setup_scan_deferred_work(struct iwl_priv *priv) argument 1085 iwl_cancel_scan_deferred_work(struct iwl_priv *priv) argument [all...] |
/drivers/net/wireless/libertas/ |
H A D | cmd.c | 23 * @priv: A pointer to &struct lbs_private structure 30 int lbs_cmd_copyback(struct lbs_private *priv, unsigned long extra, argument 47 * @priv: ignored 53 static int lbs_cmd_async_callback(struct lbs_private *priv, unsigned long extra, argument 84 * @priv: A pointer to &struct lbs_private structure 88 int lbs_update_hw_spec(struct lbs_private *priv) argument 98 memcpy(cmd.permanentaddr, priv->current_addr, ETH_ALEN); 99 ret = lbs_cmd_with_response(priv, CMD_GET_HW_SPEC, &cmd); 103 priv->fwcapinfo = le32_to_cpu(cmd.fwcapinfo); 107 priv 166 lbs_ret_host_sleep_cfg(struct lbs_private *priv, unsigned long dummy, struct cmd_header *resp) argument 183 lbs_host_sleep_cfg(struct lbs_private *priv, uint32_t criteria, struct wol_config *p_wol_config) argument 234 lbs_set_ps_mode(struct lbs_private *priv, u16 cmd_action, bool block) argument 269 lbs_cmd_802_11_sleep_params(struct lbs_private *priv, uint16_t cmd_action, struct sleep_params *sp) argument 311 lbs_wait_for_ds_awake(struct lbs_private *priv) argument 329 lbs_set_deep_sleep(struct lbs_private *priv, int deep_sleep) argument 365 lbs_ret_host_sleep_activate(struct lbs_private *priv, unsigned long dummy, struct cmd_header *cmd) argument 376 lbs_set_host_sleep(struct lbs_private *priv, int host_sleep) argument 436 lbs_set_snmp_mib(struct lbs_private *priv, u32 oid, u16 val) argument 486 lbs_get_snmp_mib(struct lbs_private *priv, u32 oid, u16 *out_val) argument 530 lbs_get_tx_power(struct lbs_private *priv, s16 *curlevel, s16 *minlevel, s16 *maxlevel) argument 563 lbs_set_tx_power(struct lbs_private *priv, s16 dbm) argument 592 lbs_set_monitor_mode(struct lbs_private *priv, int enable) argument 622 lbs_get_channel(struct lbs_private *priv) argument 645 lbs_update_channel(struct lbs_private *priv) argument 669 lbs_set_channel(struct lbs_private *priv, u8 channel) argument 706 lbs_get_rssi(struct lbs_private *priv, s8 *rssi, s8 *nf) argument 741 lbs_set_11d_domain_info(struct lbs_private *priv, struct regulatory_request *request, struct ieee80211_supported_band **bands) argument 866 lbs_get_reg(struct lbs_private *priv, u16 reg, u16 offset, u32 *value) argument 911 lbs_set_reg(struct lbs_private *priv, u16 reg, u16 offset, u32 value) argument 939 lbs_queue_cmd(struct lbs_private *priv, struct cmd_ctrl_node *cmdnode) argument 986 lbs_submit_command(struct lbs_private *priv, struct cmd_ctrl_node *cmdnode) argument 1046 __lbs_cleanup_and_insert_cmd(struct lbs_private *priv, struct cmd_ctrl_node *cmdnode) argument 1064 lbs_cleanup_and_insert_cmd(struct lbs_private *priv, struct cmd_ctrl_node *ptempcmd) argument 1074 __lbs_complete_command(struct lbs_private *priv, struct cmd_ctrl_node *cmd, int result) argument 1095 lbs_complete_command(struct lbs_private *priv, struct cmd_ctrl_node *cmd, int result) argument 1104 lbs_set_radio(struct lbs_private *priv, u8 preamble, u8 radio_on) argument 1146 lbs_set_mac_control(struct lbs_private *priv) argument 1169 lbs_allocate_cmd_buffer(struct lbs_private *priv) argument 1215 lbs_free_cmd_buffer(struct lbs_private *priv) argument 1258 lbs_get_free_cmd_node(struct lbs_private *priv) argument 1293 lbs_execute_next_command(struct lbs_private *priv) argument 1455 lbs_send_confirmsleep(struct lbs_private *priv) argument 1499 lbs_ps_confirm_sleep(struct lbs_private *priv) argument 1548 lbs_set_tpc_cfg(struct lbs_private *priv, int enable, int8_t p0, int8_t p1, int8_t p2, int usesnr) argument 1580 lbs_set_power_adapt_cfg(struct lbs_private *priv, int enable, int8_t p0, int8_t p1, int8_t p2) argument 1600 __lbs_cmd_async(struct lbs_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), unsigned long callback_arg) argument 1658 lbs_cmd_async(struct lbs_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size) argument 1667 __lbs_cmd(struct lbs_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), unsigned long callback_arg) argument [all...] |
H A D | debugfs.c | 21 static void lbs_debug_init(struct lbs_private *priv); 35 struct lbs_private *priv = file->private_data; local 44 szStates[priv->connect_status]); 46 (u32) priv->regioncode); 58 struct lbs_private *priv = file->private_data; local 84 ret = lbs_cmd_802_11_sleep_params(priv, CMD_ACT_SET, &sp); 98 struct lbs_private *priv = file->private_data; local 107 ret = lbs_cmd_802_11_sleep_params(priv, CMD_ACT_GET, &sp); 127 struct lbs_private *priv = file->private_data; local 147 ret = lbs_set_host_sleep(priv, 172 struct lbs_private *priv = file->private_data; local 230 struct lbs_private *priv = file->private_data; local 283 struct lbs_private *priv = file->private_data; local 449 struct lbs_private *priv = file->private_data; local 474 struct lbs_private *priv = file->private_data; local 498 struct lbs_private *priv = file->private_data; local 530 struct lbs_private *priv = file->private_data; local 556 struct lbs_private *priv = file->private_data; local 580 struct lbs_private *priv = file->private_data; local 612 struct lbs_private *priv = file->private_data; local 638 struct lbs_private *priv = file->private_data; local 662 struct lbs_private *priv = file->private_data; local 749 lbs_debugfs_init_one(struct lbs_private *priv, struct net_device *dev) argument 802 lbs_debugfs_remove_one(struct lbs_private *priv) argument 972 lbs_debug_init(struct lbs_private *priv) argument [all...] |
H A D | if_cs.c | 61 struct lbs_private *priv; member in struct:if_cs_card 352 static int if_cs_send_cmd(struct lbs_private *priv, u8 *buf, u16 nb) argument 354 struct if_cs_card *card = (struct if_cs_card *)priv->card; 367 netdev_err(priv->dev, "card not ready for commands\n"); 398 static void if_cs_send_data(struct lbs_private *priv, u8 *buf, u16 nb) argument 400 struct if_cs_card *card = (struct if_cs_card *)priv->card; 426 static int if_cs_receive_cmdres(struct lbs_private *priv, u8 *data, u32 *len) argument 435 status = if_cs_read16(priv->card, IF_CS_CARD_STATUS); 437 netdev_err(priv->dev, "no cmd response in card\n"); 442 *len = if_cs_read16(priv 470 if_cs_receive_data(struct lbs_private *priv) argument 511 struct lbs_private *priv = card->priv; local 748 if_cs_host_to_card(struct lbs_private *priv, u8 type, u8 *buf, u16 nb) argument 810 struct lbs_private *priv; local [all...] |
H A D | if_sdio.c | 121 struct lbs_private *priv; member in struct:if_sdio_card 215 struct lbs_private *priv = card->priv; local 229 spin_lock_irqsave(&priv->driver_lock, flags); 231 i = (priv->resp_idx == 0) ? 1 : 0; 232 BUG_ON(priv->resp_len[i]); 233 priv->resp_len[i] = size; 234 memcpy(priv->resp_buf[i], buffer, size); 235 lbs_notify_command_response(priv, i); 237 spin_unlock_irqrestore(&card->priv 770 struct lbs_private *priv = card->priv; local 881 struct lbs_private *priv = card->priv; local 897 if_sdio_host_to_card(struct lbs_private *priv, u8 type, u8 *buf, u16 nb) argument 976 if_sdio_enter_deep_sleep(struct lbs_private *priv) argument 993 if_sdio_exit_deep_sleep(struct lbs_private *priv) argument 1010 if_sdio_reset_deep_sleep_wakeup(struct lbs_private *priv) argument 1048 if_sdio_reset_card(struct lbs_private *priv) argument 1059 if_sdio_power_save(struct lbs_private *priv) argument 1074 if_sdio_power_restore(struct lbs_private *priv) argument 1134 struct lbs_private *priv; local [all...] |
H A D | if_spi.c | 47 struct lbs_private *priv; member in struct:if_spi_card 586 struct lbs_private *priv = card->priv; local 600 netdev_err(priv->dev, 620 netdev_err(priv->dev, 683 struct lbs_private *priv = card->priv; local 710 netdev_err(priv->dev, "%s: error: card has no data for host\n", 715 netdev_err(priv->dev, 728 spin_lock_irqsave(&priv 746 struct lbs_private *priv = card->priv; local 806 struct lbs_private *priv = card->priv; local 843 struct lbs_private *priv = card->priv; local 869 struct lbs_private *priv; local 957 if_spi_host_to_card(struct lbs_private *priv, u8 type, u8 *buf, u16 nb) argument 1033 struct lbs_private *priv = card->priv; local 1133 struct lbs_private *priv = NULL; local 1235 struct lbs_private *priv = card->priv; local [all...] |
H A D | if_usb.c | 62 static int if_usb_host_to_card(struct lbs_private *priv, uint8_t type, 78 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local 79 struct if_usb_card *cardp = priv->card; 112 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local 113 struct if_usb_card *cardp = priv->card; 146 struct lbs_private *priv = cardp->priv; local 155 if (priv && priv->dnld_sent != DNLD_BOOTCMD_SENT) 156 lbs_host_to_card_done(priv); 188 if_usb_setup_firmware(struct lbs_private *priv) argument 224 if_usb_fw_timeo(unsigned long priv) argument 238 if_usb_reset_olpc_card(struct lbs_private *priv) argument 257 struct lbs_private *priv; local 388 struct lbs_private *priv = (struct lbs_private *) cardp->priv; local 691 process_cmdtypedata(int recvlength, struct sk_buff *skb, struct if_usb_card *cardp, struct lbs_private *priv) argument 709 process_cmdrequest(int recvlength, uint8_t *recvbuff, struct sk_buff *skb, struct if_usb_card *cardp, struct lbs_private *priv) argument 752 struct lbs_private *priv = cardp->priv; local 824 if_usb_host_to_card(struct lbs_private *priv, uint8_t type, uint8_t *payload, uint16_t nb) argument 928 struct lbs_private *priv = cardp->priv; local 1126 struct lbs_private *priv = cardp->priv; local 1159 struct lbs_private *priv = cardp->priv; local [all...] |
H A D | main.c | 102 int lbs_set_iface_type(struct lbs_private *priv, enum nl80211_iftype type) argument 108 ret = lbs_set_monitor_mode(priv, 1); 111 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) 112 ret = lbs_set_monitor_mode(priv, 0); 114 ret = lbs_set_snmp_mib(priv, SNMP_MIB_OID_BSS_TYPE, 1); 117 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) 118 ret = lbs_set_monitor_mode(priv, 0); 120 ret = lbs_set_snmp_mib(priv, SNMP_MIB_OID_BSS_TYPE, 2); 128 int lbs_start_iface(struct lbs_private *priv) argument 133 if (priv 174 struct lbs_private *priv = dev->ml_priv; local 198 lbs_command_queue_empty(struct lbs_private *priv) argument 208 lbs_stop_iface(struct lbs_private *priv) argument 245 struct lbs_private *priv = dev->ml_priv; local 270 lbs_host_to_card_done(struct lbs_private *priv) argument 295 struct lbs_private *priv = dev->ml_priv; local 368 lbs_update_mcast(struct lbs_private *priv) argument 427 struct lbs_private *priv = container_of(work, struct lbs_private, mcast_work); local 433 struct lbs_private *priv = dev->ml_priv; local 449 struct lbs_private *priv = dev->ml_priv; local 653 lbs_setup_firmware(struct lbs_private *priv) argument 683 lbs_suspend(struct lbs_private *priv) argument 710 lbs_resume(struct lbs_private *priv) argument 746 struct lbs_private *priv = (struct lbs_private *)data; local 782 struct lbs_private *priv = (struct lbs_private *)data; local 807 struct lbs_private *priv = (struct lbs_private *)data; local 831 lbs_enter_auto_deep_sleep(struct lbs_private *priv) argument 845 lbs_exit_auto_deep_sleep(struct lbs_private *priv) argument 857 lbs_init_adapter(struct lbs_private *priv) argument 917 lbs_free_adapter(struct lbs_private *priv) argument 952 struct lbs_private *priv = NULL; local 1029 lbs_remove_card(struct lbs_private *priv) argument 1072 lbs_rtap_supported(struct lbs_private *priv) argument 1083 lbs_start_card(struct lbs_private *priv) argument 1121 lbs_stop_card(struct lbs_private *priv) argument 1144 lbs_queue_event(struct lbs_private *priv, u32 event) argument 1163 lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx) argument [all...] |
/drivers/net/wireless/mwifiex/ |
H A D | cfg80211.c | 82 struct mwifiex_private *priv = mwifiex_netdev_get_priv(netdev); local 84 if (mwifiex_set_encode(priv, NULL, 0, key_index, 1)) { 101 struct mwifiex_private *priv = mwifiex_cfg80211_get_priv(wiphy); local 112 return mwifiex_set_tx_power(priv, &power_cfg); 125 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); local 134 return mwifiex_drv_set_power(priv, &ps_mode); 145 struct mwifiex_private *priv = mwifiex_netdev_get_priv(netdev); local 148 if (!priv->sec_info.wep_enabled) 151 if (mwifiex_set_encode(priv, NULL, 0, key_index, 0)) { 167 struct mwifiex_private *priv local 195 struct mwifiex_private *priv = mwifiex_cfg80211_get_priv(wiphy); local 275 struct mwifiex_private *priv = mwifiex_cfg80211_get_priv(wiphy); local 304 mwifiex_set_rf_channel(struct mwifiex_private *priv, struct ieee80211_channel *chan, enum nl80211_channel_type channel_type) argument 377 struct mwifiex_private *priv; local 400 mwifiex_set_frag(struct mwifiex_private *priv, u32 frag_thr) argument 423 mwifiex_set_rts(struct mwifiex_private *priv, u32 rts_thr) argument 442 struct mwifiex_private *priv = mwifiex_cfg80211_get_priv(wiphy); local 467 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); local 516 mwifiex_dump_station_info(struct mwifiex_private *priv, struct station_info *sinfo) argument 597 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); local 712 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); local 762 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); local 786 mwifiex_cfg80211_inform_ibss_bss(struct mwifiex_private *priv) argument 834 mwifiex_cfg80211_assoc(struct mwifiex_private *priv, size_t ssid_len, u8 *ssid, u8 *bssid, int mode, struct ieee80211_channel *channel, struct cfg80211_connect_params *sme, bool privacy) argument 989 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); local 1031 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); local 1069 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); local 1092 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); local 1143 mwifiex_setup_ht_caps(struct ieee80211_sta_ht_cap *ht_info, struct mwifiex_private *priv) argument 1211 struct mwifiex_private *priv = mwifiex_cfg80211_get_priv(wiphy); local 1302 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); local 1359 mwifiex_register_cfg80211(struct mwifiex_private *priv) argument [all...] |
H A D | cmdevt.c | 37 mwifiex_init_cmd_node(struct mwifiex_private *priv, argument 41 cmd_node->priv = priv; 43 if (priv->adapter->cmd_wait_q_required) { 44 cmd_node->wait_q_enabled = priv->adapter->cmd_wait_q_required; 45 priv->adapter->cmd_wait_q_required = false; 113 static int mwifiex_cmd_host_cmd(struct mwifiex_private *priv, argument 119 dev_dbg(priv->adapter->dev, "cmd: host cmd size = %d\n", pcmd_ptr->len); 131 static int mwifiex_dnld_cmd_to_fw(struct mwifiex_private *priv, argument 135 struct mwifiex_adapter *adapter = priv 231 struct mwifiex_private *priv; local 371 struct mwifiex_private *priv = local 420 mwifiex_send_cmd_sync(struct mwifiex_private *priv, uint16_t cmd_no, u16 cmd_action, u32 cmd_oid, void *data_buf) argument 448 mwifiex_send_cmd_async(struct mwifiex_private *priv, uint16_t cmd_no, u16 cmd_action, u32 cmd_oid, void *data_buf) argument 612 struct mwifiex_private *priv; local 681 struct mwifiex_private *priv = local 1012 mwifiex_hs_activated_event(struct mwifiex_private *priv, u8 activated) argument 1040 mwifiex_ret_802_11_hs_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument 1097 struct mwifiex_private *priv = local 1156 mwifiex_cmd_enh_power_mode(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, uint16_t ps_bitmap, struct mwifiex_ds_auto_ds *auto_ds) argument 1239 mwifiex_ret_enh_power_mode(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, struct mwifiex_ds_pm_cfg *pm_cfg) argument 1305 mwifiex_cmd_get_hw_spec(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd) argument 1338 mwifiex_ret_get_hw_spec(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument [all...] |
H A D | pcie.c | 111 struct mwifiex_private *priv; local 129 if ((GET_BSS_ROLE(adapter->priv[i]) == 131 adapter->priv[i]->media_connected) 132 mwifiex_deauthenticate(adapter->priv[i], NULL); 134 priv = mwifiex_get_priv(adapter, MWIFIEX_BSS_ROLE_ANY); 136 mwifiex_disable_auto_ds(priv); 138 mwifiex_init_shutdown_fw(priv, MWIFIEX_FUNC_SHUTDOWN); 178 netif_carrier_off(adapter->priv[i]->netdev); 218 if (adapter->priv[i]->media_connected) 219 netif_carrier_on(adapter->priv[ [all...] |
H A D | wmm.c | 135 mwifiex_ralist_add(struct mwifiex_private *priv, u8 *ra) argument 139 struct mwifiex_adapter *adapter = priv->adapter; 148 if (!mwifiex_queuing_ra_based(priv)) 149 ra_list->is_11n_enabled = IS_11N_ENABLED(priv); 157 &priv->wmm.tid_tbl_ptr[i].ra_list); 159 if (!priv->wmm.tid_tbl_ptr[i].ra_list_curr) 160 priv->wmm.tid_tbl_ptr[i].ra_list_curr = ra_list; 167 static void mwifiex_wmm_default_queue_priorities(struct mwifiex_private *priv) argument 170 priv->wmm.queue_priority[0] = WMM_AC_VO; 171 priv 200 mwifiex_wmm_setup_queue_priorities(struct mwifiex_private *priv, struct ieee_types_wmm_parameter *wmm_ie) argument 262 mwifiex_wmm_eval_downgrade_ac(struct mwifiex_private *priv, enum mwifiex_wmm_ac_e eval_ac) argument 301 mwifiex_wmm_setup_ac_downgrade(struct mwifiex_private *priv) argument 356 mwifiex_wmm_downgrade_tid(struct mwifiex_private *priv, u32 tid) argument 380 struct mwifiex_private *priv; local 421 struct mwifiex_private *priv; local 440 mwifiex_wmm_del_pkts_in_ralist_node(struct mwifiex_private *priv, struct mwifiex_ra_list_tbl *ra_list) argument 457 mwifiex_wmm_del_pkts_in_ralist(struct mwifiex_private *priv, struct list_head *ra_list_head) argument 469 mwifiex_wmm_cleanup_queues(struct mwifiex_private *priv) argument 484 mwifiex_wmm_delete_all_ralist(struct mwifiex_private *priv) argument 516 mwifiex_clean_txrx(struct mwifiex_private *priv) argument 540 mwifiex_wmm_get_ralist_node(struct mwifiex_private *priv, u8 tid, u8 *ra_addr) argument 562 mwifiex_wmm_get_queue_raptr(struct mwifiex_private *priv, u8 tid, u8 *ra_addr) argument 579 mwifiex_is_ralist_valid(struct mwifiex_private *priv, struct mwifiex_ra_list_tbl *ra_list, int ptr_index) argument 603 mwifiex_wmm_add_buf_txqueue(struct mwifiex_private *priv, struct sk_buff *skb) argument 672 mwifiex_ret_wmm_get_status(struct mwifiex_private *priv, const struct host_cmd_ds_command *resp) argument 759 mwifiex_wmm_process_association_req(struct mwifiex_private *priv, u8 **assoc_buf, struct ieee_types_wmm_parameter *wmm_ie, struct ieee80211_ht_cap *ht_cap) argument 814 mwifiex_wmm_compute_drv_pkt_delay(struct mwifiex_private *priv, const struct sk_buff *skb) argument 845 mwifiex_wmm_get_highest_priolist_ptr(struct mwifiex_adapter *adapter, struct mwifiex_private **priv, int *tid) argument 979 mwifiex_is_11n_aggragation_possible(struct mwifiex_private *priv, struct mwifiex_ra_list_tbl *ptr, int max_buf_size) argument 1075 mwifiex_is_ptr_processed(struct mwifiex_private *priv, struct mwifiex_ra_list_tbl *ptr) argument 1185 struct mwifiex_private *priv = NULL; local [all...] |
/drivers/net/wireless/orinoco/ |
H A D | hw.c | 60 /* Set priv->firmware type, determine firmware properties 69 int determine_fw_capabilities(struct orinoco_private *priv, argument 73 struct device *dev = priv->dev; 74 struct hermes *hw = &priv->hw; 101 priv->firmware_type = determine_firmware_type(&nic_id); 134 priv->has_sensitivity = 1; 135 priv->has_mwo = 0; 136 priv->has_preamble = 0; 137 priv->has_port3 = 1; 138 priv 279 orinoco_hw_read_card_settings(struct orinoco_private *priv, u8 *dev_addr) argument 410 orinoco_hw_allocate_fid(struct orinoco_private *priv) argument 457 orinoco_hw_program_rids(struct orinoco_private *priv) argument 690 orinoco_hw_get_tkip_iv(struct orinoco_private *priv, int key, u8 *tsc) argument 707 __orinoco_hw_set_bitrate(struct orinoco_private *priv) argument 738 orinoco_hw_get_act_bitrate(struct orinoco_private *priv, int *bitrate) argument 785 __orinoco_hw_set_wap(struct orinoco_private *priv) argument 819 __orinoco_hw_setup_wepkeys(struct orinoco_private *priv) argument 903 __orinoco_hw_setup_enc(struct orinoco_private *priv) argument 990 __orinoco_hw_set_tkip_key(struct orinoco_private *priv, int key_idx, int set_tx, u8 *key, u8 *rsc, size_t rsc_len, u8 *tsc, size_t tsc_len) argument 1053 orinoco_clear_tkip_key(struct orinoco_private *priv, int key_idx) argument 1067 __orinoco_hw_set_multicast_list(struct orinoco_private *priv, struct net_device *dev, int mc_count, int promisc) argument 1113 orinoco_hw_get_essid(struct orinoco_private *priv, int *active, char buf[IW_ESSID_MAX_SIZE + 1]) argument 1167 orinoco_hw_get_freq(struct orinoco_private *priv) argument 1206 orinoco_hw_get_bitratelist(struct orinoco_private *priv, int *numrates, s32 *rates, int max) argument 1237 orinoco_hw_trigger_scan(struct orinoco_private *priv, const struct cfg80211_ssid *ssid) argument 1323 orinoco_hw_disassociate(struct orinoco_private *priv, u8 *addr, u16 reason_code) argument 1346 orinoco_hw_get_current_bssid(struct orinoco_private *priv, u8 *addr) argument [all...] |
H A D | wext.c | 29 static int orinoco_set_key(struct orinoco_private *priv, int index, argument 33 kzfree(priv->keys[index].key); 34 kzfree(priv->keys[index].seq); 37 priv->keys[index].key = kzalloc(key_len, GFP_ATOMIC); 38 if (!priv->keys[index].key) 41 priv->keys[index].key = NULL; 44 priv->keys[index].seq = kzalloc(seq_len, GFP_ATOMIC); 45 if (!priv->keys[index].seq) 48 priv->keys[index].seq = NULL; 50 priv 90 struct orinoco_private *priv = ndev_priv(dev); local 159 struct orinoco_private *priv = ndev_priv(dev); local 220 struct orinoco_private *priv = ndev_priv(dev); local 241 struct orinoco_private *priv = ndev_priv(dev); local 332 struct orinoco_private *priv = ndev_priv(dev); local 368 struct orinoco_private *priv = ndev_priv(dev); local 399 struct orinoco_private *priv = ndev_priv(dev); local 427 struct orinoco_private *priv = ndev_priv(dev); local 476 struct orinoco_private *priv = ndev_priv(dev); local 495 struct orinoco_private *priv = ndev_priv(dev); local 524 struct orinoco_private *priv = ndev_priv(dev); local 547 struct orinoco_private *priv = ndev_priv(dev); local 581 struct orinoco_private *priv = ndev_priv(dev); local 617 struct orinoco_private *priv = ndev_priv(dev); local 671 struct orinoco_private *priv = ndev_priv(dev); local 725 struct orinoco_private *priv = ndev_priv(dev); local 819 struct orinoco_private *priv = ndev_priv(dev); local 876 struct orinoco_private *priv = ndev_priv(dev); local 962 struct orinoco_private *priv = ndev_priv(dev); local 1002 struct orinoco_private *priv = ndev_priv(dev); local 1043 struct orinoco_private *priv = ndev_priv(dev); local 1072 struct orinoco_private *priv = ndev_priv(dev); local 1104 struct orinoco_private *priv = ndev_priv(dev); local 1129 struct orinoco_private *priv = ndev_priv(dev); local 1150 struct orinoco_private *priv = ndev_priv(dev); local 1162 struct orinoco_private *priv = ndev_priv(dev); local 1208 struct orinoco_private *priv = ndev_priv(dev); local 1220 struct orinoco_private *priv = ndev_priv(dev); local 1252 struct orinoco_private *priv = ndev_priv(dev); local 1272 struct orinoco_private *priv = ndev_priv(dev); local 1310 struct orinoco_private *priv = ndev_priv(dev); local [all...] |
/drivers/net/wireless/p54/ |
H A D | eeprom.c | 152 struct p54_common *priv = dev->priv; local 195 priv->survey[*chan_num].channel = &tmp->channels[j]; 196 priv->survey[*chan_num].filled = SURVEY_INFO_NOISE_DBM | 214 old = priv->band_table[band]; 215 priv->band_table[band] = tmp; 273 struct p54_common *priv = dev->priv; local 279 if ((priv->iq_autocal_len != priv 366 struct p54_common *priv = dev->priv; local 418 struct p54_common *priv = dev->priv; local 463 struct p54_common *priv = dev->priv; local 546 p54_rssi_find(struct p54_common *priv, const u16 freq) argument 609 struct p54_common *priv = dev->priv; local 673 struct p54_common *priv = dev->priv; local 891 struct p54_common *priv = dev->priv; local [all...] |
H A D | txrx.c | 31 static void p54_dump_tx_queue(struct p54_common *priv) argument 42 spin_lock_irqsave(&priv->tx_queue.lock, flags); 43 wiphy_debug(priv->hw->wiphy, "/ --- tx queue dump (%d entries) ---\n", 44 skb_queue_len(&priv->tx_queue)); 46 prev_addr = priv->rx_start; 47 skb_queue_walk(&priv->tx_queue, skb) { 53 wiphy_debug(priv->hw->wiphy, 65 free = priv->rx_end - prev_addr; 67 wiphy_debug(priv->hw->wiphy, 70 spin_unlock_irqrestore(&priv 83 p54_assign_address(struct p54_common *priv, struct sk_buff *skb) argument 151 p54_tx_pending(struct p54_common *priv) argument 167 p54_wake_queues(struct p54_common *priv) argument 186 p54_tx_qos_accounting_alloc(struct p54_common *priv, struct sk_buff *skb, const u16 p54_queue) argument 216 p54_tx_qos_accounting_free(struct p54_common *priv, struct sk_buff *skb) argument 239 struct p54_common *priv = dev->priv; local 249 p54_find_and_unlink_skb(struct p54_common *priv, const __le32 req_id) argument 270 p54_tx(struct p54_common *priv, struct sk_buff *skb) argument 276 p54_rssi_to_dbm(struct p54_common *priv, int rssi) argument 295 p54_pspoll_workaround(struct p54_common *priv, struct sk_buff *skb) argument 328 p54_rx_data(struct p54_common *priv, struct sk_buff *skb) argument 390 p54_rx_frame_sent(struct p54_common *priv, struct sk_buff *skb) argument 483 p54_rx_eeprom_readback(struct p54_common *priv, struct sk_buff *skb) argument 507 p54_rx_stats(struct p54_common *priv, struct sk_buff *skb) argument 601 p54_rx_trap(struct p54_common *priv, struct sk_buff *skb) argument 637 p54_rx_control(struct p54_common *priv, struct sk_buff *skb) argument 668 struct p54_common *priv = dev->priv; local 678 p54_tx_80211_header(struct p54_common *priv, struct sk_buff *skb, struct ieee80211_tx_info *info, u8 *queue, u32 *extra_len, u16 *flags, u16 *aid, bool *burst_possible) argument 772 struct p54_common *priv = dev->priv; local [all...] |