Searched defs:priv (Results 351 - 375 of 752) sorted by relevance

<<11121314151617181920>>

/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c56 int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, argument
60 struct mlx4_en_dev *mdev = priv->mdev;
77 en_dbg(DRV, priv, "Allocated tx_info ring at addr:%p size:%d\n",
90 en_err(priv, "Failed allocating hwq resources\n");
96 en_err(priv, "Failed to map TX buffer\n");
102 en_dbg(DRV, priv, "Allocated TX ring (addr:%p) - buf:%p size:%d "
109 en_err(priv, "Failed allocating qp %d\n", ring->qpn);
116 en_dbg(DRV, priv, "working without blueflame (%d)", err);
138 void mlx4_en_destroy_tx_ring(struct mlx4_en_priv *priv, argument
141 struct mlx4_en_dev *mdev = priv
157 mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring, int cq) argument
187 mlx4_en_deactivate_tx_ring(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring) argument
197 mlx4_en_free_tx_desc(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring, int index, u8 owner) argument
279 struct mlx4_en_priv *priv = netdev_priv(dev); local
309 struct mlx4_en_priv *priv = netdev_priv(dev); local
379 struct mlx4_en_priv *priv = netdev_priv(cq->dev); local
393 struct mlx4_en_priv *priv = netdev_priv(cq->dev); local
415 mlx4_en_bounce_to_desc(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring, u32 index, unsigned int desc_size) argument
443 mlx4_en_xmit_poll(struct mlx4_en_priv *priv, int tx_ind) argument
499 struct mlx4_en_priv *priv = netdev_priv(dev); local
573 struct mlx4_en_priv *priv = netdev_priv(dev); local
594 struct mlx4_en_priv *priv = netdev_priv(dev); local
[all...]
H A Dmcg.c362 struct mlx4_priv *priv = mlx4_priv(dev); local
366 mutex_lock(&priv->mcg_table.mutex);
439 mutex_unlock(&priv->mcg_table.mutex);
449 mutex_unlock(&priv->mcg_table.mutex);
456 struct mlx4_priv *priv = mlx4_priv(dev); local
470 mutex_lock(&priv->mcg_table.mutex);
544 mutex_unlock(&priv->mcg_table.mutex);
623 struct mlx4_priv *priv = mlx4_priv(dev); local
639 mutex_lock(&priv->mcg_table.mutex);
653 index = mlx4_bitmap_alloc(&priv
731 struct mlx4_priv *priv = mlx4_priv(dev); local
1021 struct mlx4_priv *priv = mlx4_priv(dev); local
[all...]
/drivers/net/irda/
H A Dsir-dev.h186 void *priv; member in struct:sir_dev
/drivers/net/
H A Dveth.c95 struct veth_priv *priv; local
97 priv = netdev_priv(dev);
98 data[0] = priv->peer->ifindex;
117 struct veth_priv *priv, *rcv_priv; local
121 priv = netdev_priv(dev);
122 rcv = priv->peer;
125 stats = this_cpu_ptr(priv->stats);
164 struct veth_priv *priv = netdev_priv(dev); local
168 struct veth_net_stats *stats = per_cpu_ptr(priv->stats, cpu);
193 struct veth_priv *priv; local
208 struct veth_priv *priv = netdev_priv(dev); local
232 struct veth_priv *priv; local
245 struct veth_priv *priv; local
302 struct veth_priv *priv; local
415 struct veth_priv *priv; local
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_beacon.c21 void ath9k_htc_beaconq_config(struct ath9k_htc_priv *priv) argument
23 struct ath_hw *ah = priv->ah;
29 ath9k_hw_get_txq_props(ah, priv->beaconq, &qi);
31 if (priv->ah->opmode == NL80211_IFTYPE_AP) {
35 } else if (priv->ah->opmode == NL80211_IFTYPE_ADHOC) {
36 int qnum = priv->hwq_map[WME_AC_BE];
56 if (!ath9k_hw_set_txq_props(ah, priv->beaconq, &qi)) {
58 "Unable to update beacon queue %u!\n", priv->beaconq);
60 ath9k_hw_resettxqueue(ah, priv->beaconq);
65 static void ath9k_htc_beacon_config_sta(struct ath9k_htc_priv *priv, argument
186 ath9k_htc_beacon_config_ap(struct ath9k_htc_priv *priv, struct htc_beacon_config *bss_conf) argument
241 ath9k_htc_beacon_config_adhoc(struct ath9k_htc_priv *priv, struct htc_beacon_config *bss_conf) argument
293 ath9k_htc_send_buffered(struct ath9k_htc_priv *priv, int slot) argument
347 ath9k_htc_send_beacon(struct ath9k_htc_priv *priv, int slot) argument
418 ath9k_htc_choose_bslot(struct ath9k_htc_priv *priv, struct wmi_event_swba *swba) argument
441 ath9k_htc_swba(struct ath9k_htc_priv *priv, struct wmi_event_swba *swba) argument
476 ath9k_htc_assign_bslot(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument
498 ath9k_htc_remove_bslot(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument
516 ath9k_htc_set_tsfadjust(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument
549 ath9k_htc_check_beacon_config(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument
604 ath9k_htc_beacon_config(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif) argument
640 ath9k_htc_beacon_reconfig(struct ath9k_htc_priv *priv) argument
[all...]
H A Dhtc_drv_init.c133 static int ath9k_htc_wait_for_target(struct ath9k_htc_priv *priv) argument
137 if (atomic_read(&priv->htc->tgt_ready) > 0) {
138 atomic_dec(&priv->htc->tgt_ready);
143 time_left = wait_for_completion_timeout(&priv->htc->target_wait, HZ);
145 dev_err(priv->dev, "ath9k_htc: Target is unresponsive\n");
149 atomic_dec(&priv->htc->tgt_ready);
154 static void ath9k_deinit_priv(struct ath9k_htc_priv *priv) argument
156 ath9k_hw_deinit(priv->ah);
157 kfree(priv->ah);
158 priv
161 ath9k_deinit_device(struct ath9k_htc_priv *priv) argument
173 ath9k_htc_connect_svc(struct ath9k_htc_priv *priv, u16 service_id, void (*tx) (void *, struct sk_buff *, enum htc_endpoint_id, bool txok), enum htc_endpoint_id *ep_id) argument
193 ath9k_init_htc_services(struct ath9k_htc_priv *priv, u16 devid, u32 drv_info) argument
281 struct ath9k_htc_priv *priv = hw->priv; local
291 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; local
313 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; local
340 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; local
361 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; local
397 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; local
409 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; local
418 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; local
484 setup_ht_cap(struct ath9k_htc_priv *priv, struct ieee80211_sta_ht_cap *ht_info) argument
526 ath9k_init_queues(struct ath9k_htc_priv *priv) argument
570 ath9k_init_channels_rates(struct ath9k_htc_priv *priv) argument
595 ath9k_init_misc(struct ath9k_htc_priv *priv) argument
604 ath9k_init_priv(struct ath9k_htc_priv *priv, u16 devid, char *product, u32 drv_info) argument
690 ath9k_set_hw_capab(struct ath9k_htc_priv *priv, struct ieee80211_hw *hw) argument
746 ath9k_init_firmware_version(struct ath9k_htc_priv *priv) argument
783 ath9k_init_device(struct ath9k_htc_priv *priv, u16 devid, char *product, u32 drv_info) argument
889 struct ath9k_htc_priv *priv; local
953 struct ath9k_htc_priv *priv = htc_handle->drv_priv; local
[all...]
/drivers/net/wireless/iwlwifi/
H A Diwl-6000.c79 static void iwl6000_set_ct_threshold(struct iwl_priv *priv) argument
82 hw_params(priv).ct_kill_threshold = CT_KILL_THRESHOLD;
83 hw_params(priv).ct_kill_exit_threshold = CT_KILL_EXIT_THRESHOLD;
86 static void iwl6050_additional_nic_config(struct iwl_priv *priv) argument
89 if (iwl_eeprom_calib_version(priv->shrd) >= 6)
90 iwl_set_bit(trans(priv), CSR_GP_DRIVER_REG,
94 static void iwl6150_additional_nic_config(struct iwl_priv *priv) argument
97 if (iwl_eeprom_calib_version(priv->shrd) >= 6)
98 iwl_set_bit(trans(priv), CSR_GP_DRIVER_REG,
100 iwl_set_bit(trans(priv), CSR_GP_DRIVER_RE
104 iwl6000i_additional_nic_config(struct iwl_priv *priv) argument
112 iwl6000_nic_config(struct iwl_priv *priv) argument
145 iwl6000_hw_set_hw_params(struct iwl_priv *priv) argument
165 iwl6000_hw_channel_switch(struct iwl_priv *priv, struct ieee80211_channel_switch *ch_switch) argument
[all...]
H A Diwl-agn-tx.c43 static void iwlagn_tx_cmd_protection(struct iwl_priv *priv, argument
56 static void iwlagn_tx_cmd_build_basic(struct iwl_priv *priv, argument
77 cfg(priv)->bt_params &&
78 cfg(priv)->bt_params->advanced_bt_coexist &&
101 iwlagn_tx_cmd_protection(priv, info, fc, &tx_flags);
118 static void iwlagn_tx_cmd_build_rate(struct iwl_priv *priv, argument
129 if (priv->wowlan) {
156 if (priv->tm_fixed_rate) {
163 memcpy(&tx_cmd->rate_n_flags, &priv->tm_fixed_rate,
180 rate_idx = rate_lowest_index(&priv
210 iwlagn_tx_cmd_build_hwcrypto(struct iwl_priv *priv, struct ieee80211_tx_info *info, struct iwl_tx_cmd *tx_cmd, struct sk_buff *skb_frag) argument
283 iwlagn_tx_skb(struct iwl_priv *priv, struct sk_buff *skb) argument
467 iwlagn_tx_agg_stop(struct iwl_priv *priv, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid) argument
532 iwlagn_tx_agg_start(struct iwl_priv *priv, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid, u16 *ssn) argument
590 iwlagn_tx_agg_oper(struct iwl_priv *priv, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid, u8 buf_size) argument
649 iwlagn_check_ratid_empty(struct iwl_priv *priv, int sta_id, u8 tid) argument
689 iwlagn_non_agg_tx_status(struct iwl_priv *priv, struct iwl_rxon_context *ctx, const u8 *addr1) argument
711 iwlagn_hwrate_to_tx_control(struct iwl_priv *priv, u32 rate_n_flags, struct ieee80211_tx_info *info) argument
771 iwlagn_count_agg_tx_err_status(struct iwl_priv *priv, u16 status) argument
818 iwl_rx_reply_tx_agg(struct iwl_priv *priv, struct iwlagn_tx_resp *tx_resp) argument
904 iwlagn_count_tx_err_status(struct iwl_priv *priv, u16 status) argument
981 iwlagn_set_tx_status(struct iwl_priv *priv, struct ieee80211_tx_info *info, struct iwlagn_tx_resp *tx_resp, bool is_agg) argument
998 iwl_check_abort_status(struct iwl_priv *priv, u8 frame_count, u32 status) argument
1008 iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb, struct iwl_device_cmd *cmd) argument
1140 iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb, struct iwl_device_cmd *cmd) argument
[all...]
H A Diwl-debug.h43 /* No matter what is m (priv, bus, trans), this will work */
84 int iwl_dbgfs_register(struct iwl_priv *priv, const char *name);
85 void iwl_dbgfs_unregister(struct iwl_priv *priv);
87 static inline int iwl_dbgfs_register(struct iwl_priv *priv, const char *name) argument
91 static inline void iwl_dbgfs_unregister(struct iwl_priv *priv) argument
/drivers/net/wireless/libertas/
H A Dmesh.c18 static int lbs_add_mesh(struct lbs_private *priv);
24 static int lbs_mesh_access(struct lbs_private *priv, uint16_t cmd_action, argument
37 ret = lbs_cmd_with_response(priv, CMD_MESH_ACCESS, cmd);
43 static int __lbs_mesh_config_send(struct lbs_private *priv, argument
56 if (priv->mesh_tlv == TLV_TYPE_MESH_ID)
67 ret = lbs_cmd_with_response(priv, command, cmd);
73 static int lbs_mesh_config_send(struct lbs_private *priv, argument
79 if (!(priv->fwcapinfo & FW_CAPINFO_PERSISTENT_CONFIG))
82 ret = __lbs_mesh_config_send(priv, cmd, action, type);
91 static int lbs_mesh_config(struct lbs_private *priv, uint16_ argument
132 lbs_mesh_set_channel(struct lbs_private *priv, u8 channel) argument
137 lbs_mesh_get_channel(struct lbs_private *priv) argument
163 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
186 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
211 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
238 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
270 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
284 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
337 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
383 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
433 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
492 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
554 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
620 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
681 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
742 struct lbs_private *priv = to_net_dev(dev)->ml_priv; local
826 lbs_init_mesh(struct lbs_private *priv) argument
881 lbs_start_mesh(struct lbs_private *priv) argument
889 lbs_deinit_mesh(struct lbs_private *priv) argument
914 struct lbs_private *priv = dev->ml_priv; local
943 struct lbs_private *priv = dev->ml_priv; local
990 lbs_add_mesh(struct lbs_private *priv) argument
1059 lbs_remove_mesh(struct lbs_private *priv) argument
1083 lbs_mesh_set_dev(struct lbs_private *priv, struct net_device *dev, struct rxpd *rxpd) argument
1099 lbs_mesh_set_txpd(struct lbs_private *priv, struct net_device *dev, struct txpd *txpd) argument
1129 struct lbs_private *priv = dev->ml_priv; local
1166 struct lbs_private *priv = dev->ml_priv; local
[all...]
/drivers/net/wireless/libertas_tf/
H A Dcmd.c33 static struct cmd_ctrl_node *lbtf_get_cmd_ctrl_node(struct lbtf_private *priv);
39 * @priv A pointer to struct lbtf_private structure
46 int lbtf_cmd_copyback(struct lbtf_private *priv, unsigned long extra, argument
60 static void lbtf_geo_init(struct lbtf_private *priv) argument
67 if (channel_ranges[i].regdomain == priv->regioncode) {
72 for (ch = priv->range.start; ch < priv->range.end; ch++)
73 priv->channels[CHAN_TO_IDX(ch)].flags = 0;
79 * @priv A pointer to struct lbtf_private structure
83 int lbtf_update_hw_spec(struct lbtf_private *priv) argument
153 lbtf_set_channel(struct lbtf_private *priv, u8 channel) argument
169 lbtf_beacon_set(struct lbtf_private *priv, struct sk_buff *beacon) argument
191 lbtf_beacon_ctrl(struct lbtf_private *priv, bool beacon_enable, int beacon_int) argument
208 lbtf_queue_cmd(struct lbtf_private *priv, struct cmd_ctrl_node *cmdnode) argument
236 lbtf_submit_command(struct lbtf_private *priv, struct cmd_ctrl_node *cmdnode) argument
279 __lbtf_cleanup_and_insert_cmd(struct lbtf_private *priv, struct cmd_ctrl_node *cmdnode) argument
298 lbtf_cleanup_and_insert_cmd(struct lbtf_private *priv, struct cmd_ctrl_node *ptempcmd) argument
308 lbtf_complete_command(struct lbtf_private *priv, struct cmd_ctrl_node *cmd, int result) argument
320 lbtf_cmd_set_mac_multicast_addr(struct lbtf_private *priv) argument
342 lbtf_set_mode(struct lbtf_private *priv, enum lbtf_mode mode) argument
355 lbtf_set_bssid(struct lbtf_private *priv, bool activate, const u8 *bssid) argument
369 lbtf_set_mac_address(struct lbtf_private *priv, uint8_t *mac_addr) argument
384 lbtf_set_radio_control(struct lbtf_private *priv) argument
423 lbtf_set_mac_control(struct lbtf_private *priv) argument
445 lbtf_allocate_cmd_buffer(struct lbtf_private *priv) argument
493 lbtf_free_cmd_buffer(struct lbtf_private *priv) argument
530 lbtf_get_cmd_ctrl_node(struct lbtf_private *priv) argument
564 lbtf_execute_next_command(struct lbtf_private *priv) argument
607 __lbtf_cmd_async(struct lbtf_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, int (*callback)(struct lbtf_private *, unsigned long, struct cmd_header *), unsigned long callback_arg) argument
657 lbtf_cmd_async(struct lbtf_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size) argument
665 __lbtf_cmd(struct lbtf_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, int (*callback)(struct lbtf_private *, unsigned long, struct cmd_header *), unsigned long callback_arg) argument
709 lbtf_cmd_response_rx(struct lbtf_private *priv) argument
716 lbtf_process_rx_command(struct lbtf_private *priv) argument
[all...]
H A Dif_usb.c46 static int if_usb_host_to_card(struct lbtf_private *priv, uint8_t type,
100 static void if_usb_setup_firmware(struct lbtf_private *priv) argument
102 struct if_usb_card *cardp = priv->card;
112 if (lbtf_cmd_with_response(priv, CMD_SET_BOOT2_VER, &b2_cmd))
118 static void if_usb_fw_timeo(unsigned long priv) argument
120 struct if_usb_card *cardp = (void *)priv;
125 cardp->priv->surpriseremoved = 1;
148 struct lbtf_private *priv; local
225 priv = lbtf_add_card(cardp, &udev->dev);
226 if (!priv)
256 struct lbtf_private *priv = (struct lbtf_private *) cardp->priv; local
592 process_cmdtypedata(int recvlength, struct sk_buff *skb, struct if_usb_card *cardp, struct lbtf_private *priv) argument
608 process_cmdrequest(int recvlength, uint8_t *recvbuff, struct sk_buff *skb, struct if_usb_card *cardp, struct lbtf_private *priv) argument
639 struct lbtf_private *priv = cardp->priv; local
723 if_usb_host_to_card(struct lbtf_private *priv, uint8_t type, uint8_t *payload, uint16_t nb) argument
[all...]
H A Dmain.c96 struct lbtf_private *priv = container_of(work, struct lbtf_private, local
101 spin_lock_irq(&priv->driver_lock);
103 if (priv->cmd_response_rxed) {
104 priv->cmd_response_rxed = 0;
105 spin_unlock_irq(&priv->driver_lock);
106 lbtf_process_rx_command(priv);
107 spin_lock_irq(&priv->driver_lock);
110 if (priv->cmd_timed_out && priv->cur_cmd) {
111 struct cmd_ctrl_node *cmdnode = priv
147 lbtf_setup_firmware(struct lbtf_private *priv) argument
177 struct lbtf_private *priv = (struct lbtf_private *)data; local
199 lbtf_init_adapter(struct lbtf_private *priv) argument
222 lbtf_free_adapter(struct lbtf_private *priv) argument
232 struct lbtf_private *priv = hw->priv; local
245 struct lbtf_private *priv = container_of(work, struct lbtf_private, local
302 struct lbtf_private *priv = hw->priv; local
339 struct lbtf_private *priv = hw->priv; local
369 struct lbtf_private *priv = hw->priv; local
395 struct lbtf_private *priv = hw->priv; local
409 struct lbtf_private *priv = hw->priv; local
424 struct lbtf_private *priv = hw->priv; local
446 struct lbtf_private *priv = hw->priv; local
492 struct lbtf_private *priv = hw->priv; local
532 struct lbtf_private *priv = hw->priv; local
558 lbtf_rx(struct lbtf_private *priv, struct sk_buff *skb) argument
621 struct lbtf_private *priv = NULL; local
673 lbtf_remove_card(struct lbtf_private *priv) argument
691 lbtf_send_tx_feedback(struct lbtf_private *priv, u8 retrycnt, u8 fail) argument
714 lbtf_bcn_sent(struct lbtf_private *priv) argument
[all...]
/drivers/net/wireless/mwifiex/
H A D11n.c38 mwifiex_fill_cap_info(struct mwifiex_private *priv, u8 radio_type, argument
43 priv->wdev->wiphy->bands[radio_type];
55 if (priv->bss_mode == NL80211_IFTYPE_STATION ||
72 mwifiex_get_ba_status(struct mwifiex_private *priv, argument
78 spin_lock_irqsave(&priv->tx_ba_stream_tbl_lock, flags);
79 list_for_each_entry(tx_ba_tsr_tbl, &priv->tx_ba_stream_tbl_ptr, list) {
81 spin_unlock_irqrestore(&priv->tx_ba_stream_tbl_lock,
86 spin_unlock_irqrestore(&priv->tx_ba_stream_tbl_lock, flags);
99 int mwifiex_ret_11n_delba(struct mwifiex_private *priv, argument
110 mwifiex_del_ba_tbl(priv, ti
146 mwifiex_ret_11n_addba_req(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
205 mwifiex_cmd_recfg_tx_buf(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, int cmd_action, u16 *buf_size) argument
317 mwifiex_cmd_append_11n_tlv(struct mwifiex_private *priv, struct mwifiex_bssdescriptor *bss_desc, u8 **buffer) argument
450 mwifiex_cfg_tx_buf(struct mwifiex_private *priv, struct mwifiex_bssdescriptor *bss_desc) argument
484 mwifiex_is_tx_ba_stream_ptr_valid(struct mwifiex_private *priv, struct mwifiex_tx_ba_stream_tbl *tx_tbl_ptr) argument
503 mwifiex_11n_delete_tx_ba_stream_tbl_entry(struct mwifiex_private *priv, struct mwifiex_tx_ba_stream_tbl *tx_ba_tsr_tbl) argument
520 mwifiex_11n_delete_all_tx_ba_stream_tbl(struct mwifiex_private *priv) argument
544 mwifiex_get_ba_tbl(struct mwifiex_private *priv, int tid, u8 *ra) argument
566 mwifiex_create_ba_tbl(struct mwifiex_private *priv, u8 *ra, int tid, enum mwifiex_ba_status ba_status) argument
596 mwifiex_send_addba(struct mwifiex_private *priv, int tid, u8 *peer_mac) argument
629 mwifiex_send_delba(struct mwifiex_private *priv, int tid, u8 *peer_mac, int initiator) argument
657 mwifiex_11n_delete_ba_stream(struct mwifiex_private *priv, u8 *del_ba) argument
673 mwifiex_get_rx_reorder_tbl(struct mwifiex_private *priv, struct mwifiex_ds_rx_reorder_tbl *buf) argument
709 mwifiex_get_tx_ba_stream_tbl(struct mwifiex_private *priv, struct mwifiex_ds_tx_ba_stream_tbl *buf) argument
[all...]
H A Djoin.c39 mwifiex_cmd_append_generic_ie(struct mwifiex_private *priv, u8 **buffer) argument
54 if (priv->gen_ie_buf_len) {
55 dev_dbg(priv->adapter->dev,
57 __func__, priv->gen_ie_buf_len, *buffer);
61 ie_header.len = cpu_to_le16(priv->gen_ie_buf_len);
71 memcpy(*buffer, priv->gen_ie_buf, priv->gen_ie_buf_len);
75 *buffer += priv->gen_ie_buf_len;
76 ret_len += priv->gen_ie_buf_len;
79 priv
100 mwifiex_cmd_append_tsf_tlv(struct mwifiex_private *priv, u8 **buffer, struct mwifiex_bssdescriptor *bss_desc) argument
145 mwifiex_get_common_rates(struct mwifiex_private *priv, u8 *rate1, u32 rate1_size, u8 *rate2, u32 rate2_size) argument
201 mwifiex_setup_rates_from_bssdesc(struct mwifiex_private *priv, struct mwifiex_bssdescriptor *bss_desc, u8 *out_rates, u32 *out_rates_size) argument
236 mwifiex_cmd_append_wapi_ie(struct mwifiex_private *priv, u8 **buffer) argument
283 mwifiex_append_rsn_ie_wpa_wpa2(struct mwifiex_private *priv, u8 **buffer) argument
340 mwifiex_cmd_802_11_associate(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, struct mwifiex_bssdescriptor *bss_desc) argument
566 mwifiex_ret_802_11_associate(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
717 mwifiex_cmd_802_11_ad_hoc_start(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, struct cfg80211_ssid *req_ssid) argument
985 mwifiex_cmd_802_11_ad_hoc_join(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, struct mwifiex_bssdescriptor *bss_desc) argument
1132 mwifiex_ret_802_11_ad_hoc(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
1220 mwifiex_associate(struct mwifiex_private *priv, struct mwifiex_bssdescriptor *bss_desc) argument
1248 mwifiex_adhoc_start(struct mwifiex_private *priv, struct cfg80211_ssid *adhoc_ssid) argument
1268 mwifiex_adhoc_join(struct mwifiex_private *priv, struct mwifiex_bssdescriptor *bss_desc) argument
1304 mwifiex_deauthenticate_infra(struct mwifiex_private *priv, u8 *mac) argument
1334 mwifiex_deauthenticate(struct mwifiex_private *priv, u8 *mac) argument
[all...]
H A Dsta_cmd.c38 mwifiex_cmd_802_11_rssi_info(struct mwifiex_private *priv, argument
45 cmd->params.rssi_info.ndata = cpu_to_le16(priv->data_avg_factor);
46 cmd->params.rssi_info.nbcn = cpu_to_le16(priv->bcn_avg_factor);
49 priv->data_rssi_last = 0;
50 priv->data_nf_last = 0;
51 priv->data_rssi_avg = 0;
52 priv->data_nf_avg = 0;
53 priv->bcn_rssi_last = 0;
54 priv->bcn_nf_last = 0;
55 priv
68 mwifiex_cmd_mac_control(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, u16 *action) argument
103 mwifiex_cmd_802_11_snmp_mib(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, u32 cmd_oid, u16 *ul_temp) argument
160 mwifiex_cmd_tx_rate_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, u16 *pbitmap_rates) argument
272 mwifiex_cmd_802_11_hs_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, struct mwifiex_hs_config_param *hscfg_param) argument
330 mwifiex_cmd_802_11_mac_address(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action) argument
383 mwifiex_cmd_802_11_deauthenticate(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u8 *mac) argument
424 mwifiex_set_keyparamset_wep(struct mwifiex_private *priv, struct mwifiex_ie_type_key_param_set *key_param_set, u16 *key_param_len) argument
494 mwifiex_cmd_802_11_key_material(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, u32 cmd_oid, struct mwifiex_ds_encrypt_key *enc_key) argument
635 mwifiex_cmd_802_11d_domain_info(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action) argument
689 mwifiex_cmd_802_11_rf_channel(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, u16 *channel) argument
870 mwifiex_cmd_pcie_host_spec(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 action) argument
915 mwifiex_sta_prepare_cmd(struct mwifiex_private *priv, uint16_t cmd_no, u16 cmd_action, u32 cmd_oid, void *data_buf, void *cmd_buf) argument
1117 mwifiex_sta_init_cmd(struct mwifiex_private *priv, u8 first_sta) argument
[all...]
H A Dsta_cmdresp.c43 mwifiex_process_cmdresp_error(struct mwifiex_private *priv, argument
47 struct mwifiex_adapter *adapter = priv->adapter;
66 priv->bss_mode == NL80211_IFTYPE_ADHOC)
86 if (priv->report_scan_result)
87 priv->report_scan_result = false;
88 if (priv->scan_pending_on_block) {
89 priv->scan_pending_on_block = false;
90 up(&priv->async_sem);
121 static int mwifiex_ret_802_11_rssi_info(struct mwifiex_private *priv, argument
128 priv
184 mwifiex_ret_802_11_snmp_mib(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, u32 *data_buf) argument
230 mwifiex_ret_get_log(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, struct mwifiex_ds_get_stats *stats) argument
278 mwifiex_ret_tx_rate_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, struct mwifiex_rate_cfg *ds_rate) argument
361 mwifiex_get_power_level(struct mwifiex_private *priv, void *data_buf) argument
405 mwifiex_ret_tx_power_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
463 mwifiex_ret_802_11_mac_address(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
481 mwifiex_ret_mac_multicast_adr(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
496 mwifiex_ret_802_11_tx_rate_query(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
516 mwifiex_ret_802_11_deauthenticate(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
535 mwifiex_ret_802_11_ad_hoc_stop(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
548 mwifiex_ret_802_11_key_material(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
574 mwifiex_ret_802_11d_domain_info(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
618 mwifiex_ret_802_11_rf_channel(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, u16 *data_buf) argument
646 mwifiex_ret_ver_ext(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, struct host_cmd_ds_version_ext *version_ext) argument
747 mwifiex_ret_ibss_coalescing_status(struct mwifiex_private *priv, struct host_cmd_ds_command *resp) argument
793 mwifiex_process_sta_cmdresp(struct mwifiex_private *priv, u16 cmdresp_no, struct host_cmd_ds_command *resp) argument
[all...]
/drivers/net/wireless/p54/
H A Dfwio.c33 struct p54_common *priv = dev->priv; local
43 if (priv->rx_start)
59 priv->fw_interface = be32_to_cpup((__be32 *)
61 switch (priv->fw_interface) {
66 wiphy_info(priv->hw->wiphy,
73 wiphy_err(priv->hw->wiphy,
86 priv->rx_start = le32_to_cpu(desc->rx_start);
88 priv->rx_end = le32_to_cpu(desc->rx_end) - 0x3500;
89 priv
191 p54_alloc_skb(struct p54_common *priv, u16 hdr_flags, u16 payload_len, u16 type, gfp_t memflags) argument
217 p54_download_eeprom(struct p54_common *priv, void *buf, u16 offset, u16 len) argument
263 p54_update_beacon_tim(struct p54_common *priv, u16 aid, bool set) argument
280 p54_sta_unlock(struct p54_common *priv, u8 *addr) argument
296 p54_tx_cancel(struct p54_common *priv, __le32 req_id) argument
316 p54_setup_mac(struct p54_common *priv) argument
393 p54_scan(struct p54_common *priv, u16 mode, u16 dwell) argument
541 p54_set_leds(struct p54_common *priv) argument
560 p54_set_edcf(struct p54_common *priv) argument
597 p54_set_ps(struct p54_common *priv) argument
635 p54_init_xbow_synth(struct p54_common *priv) argument
654 p54_upload_key(struct p54_common *priv, u8 algo, int slot, u8 idx, u8 len, u8 *addr, u8* key) argument
704 p54_fetch_statistics(struct p54_common *priv) argument
734 p54_set_groupfilter(struct p54_common *priv) argument
[all...]
H A Dmain.c42 struct p54_common *priv = hw->priv; local
49 p54_sta_unlock(priv, sta->addr);
58 struct p54_common *priv = dev->priv; local
63 p54_sta_unlock(priv, sta->addr);
73 struct p54_common *priv = dev->priv; local
75 return p54_update_beacon_tim(priv, sta->aid, set);
139 static int p54_beacon_update(struct p54_common *priv, argument
170 struct p54_common *priv = dev->priv; local
205 struct p54_common *priv = dev->priv; local
229 struct p54_common *priv = dev->priv; local
263 struct p54_common *priv = dev->priv; local
285 struct p54_common *priv = dev->priv; local
300 p54_reset_stats(struct p54_common *priv) argument
322 struct p54_common *priv = dev->priv; local
369 struct p54_common *priv = dev->priv; local
396 struct p54_common *priv = dev->priv; local
415 struct p54_common *priv = dev->priv; local
431 struct p54_common *priv = container_of(work, struct p54_common, local
451 struct p54_common *priv = dev->priv; local
462 struct p54_common *priv = dev->priv; local
509 struct p54_common *priv = dev->priv; local
601 struct p54_common *priv = dev->priv; local
645 p54_flush_count(struct p54_common *priv) argument
663 struct p54_common *priv = dev->priv; local
689 struct p54_common *priv = dev->priv; local
723 struct p54_common *priv; local
791 struct p54_common __maybe_unused *priv = dev->priv; local
813 struct p54_common *priv = dev->priv; local
837 struct p54_common *priv = dev->priv; local
[all...]
H A Dp54spi.c59 static void p54spi_spi_read(struct p54s_priv *priv, u8 address, argument
80 spi_sync(priv->spi, &m);
84 static void p54spi_spi_write(struct p54s_priv *priv, u8 address, argument
114 spi_sync(priv->spi, &m);
117 static u32 p54spi_read32(struct p54s_priv *priv, u8 addr) argument
121 p54spi_spi_read(priv, addr, &val, sizeof(val));
126 static inline void p54spi_write16(struct p54s_priv *priv, u8 addr, __le16 val) argument
128 p54spi_spi_write(priv, addr, &val, sizeof(val));
131 static inline void p54spi_write32(struct p54s_priv *priv, u8 addr, __le32 val) argument
133 p54spi_spi_write(priv, add
136 p54spi_wait_bit(struct p54s_priv *priv, u16 reg, u32 bits) argument
148 p54spi_spi_write_dma(struct p54s_priv *priv, __le32 base, const void *buf, size_t len) argument
168 struct p54s_priv *priv = dev->priv; local
190 struct p54s_priv *priv = dev->priv; local
218 struct p54s_priv *priv = dev->priv; local
277 p54spi_power_off(struct p54s_priv *priv) argument
283 p54spi_power_on(struct p54s_priv *priv) argument
295 p54spi_int_ack(struct p54s_priv *priv, u32 val) argument
300 p54spi_wakeup(struct p54s_priv *priv) argument
317 p54spi_sleep(struct p54s_priv *priv) argument
323 p54spi_int_ready(struct p54s_priv *priv) argument
342 p54spi_rx(struct p54s_priv *priv) argument
399 struct p54s_priv *priv = dev_get_drvdata(&spi->dev); local
406 p54spi_tx_frame(struct p54s_priv *priv, struct sk_buff *skb) argument
434 p54spi_wq_tx(struct p54s_priv *priv) argument
477 struct p54s_priv *priv = dev->priv; local
494 struct p54s_priv *priv = container_of(work, struct p54s_priv, work); local
533 struct p54s_priv *priv = dev->priv; local
581 struct p54s_priv *priv = dev->priv; local
600 struct p54s_priv *priv = NULL; local
688 struct p54s_priv *priv = dev_get_drvdata(&spi->dev); local
[all...]
H A Dp54usb.c144 struct p54u_priv *priv = dev->priv; local
146 skb_unlink(skb, &priv->rx_queue);
155 if (priv->hw_type == P54U_NET2280)
156 skb_pull(skb, priv->common.tx_hdr_len);
157 if (priv->common.fw_interface == FW_LM87) {
163 skb = dev_alloc_skb(priv->common.rx_mtu + 32);
175 if (priv->hw_type == P54U_NET2280)
176 skb_push(skb, priv->common.tx_hdr_len);
177 if (priv
207 struct p54u_priv *priv = dev->priv; local
213 struct p54u_priv *priv = dev->priv; local
275 struct p54u_priv *priv = dev->priv; local
304 struct p54u_priv *priv = dev->priv; local
371 p54u_write(struct p54u_priv *priv, struct net2280_reg_write *buf, enum net2280_op_type type, __le32 addr, __le32 val) argument
391 p54u_read(struct p54u_priv *priv, void *buf, enum net2280_op_type type, __le32 addr, __le32 *val) argument
422 p54u_bulk_msg(struct p54u_priv *priv, unsigned int ep, void *data, size_t len) argument
432 struct p54u_priv *priv = dev->priv; local
458 struct p54u_priv *priv = dev->priv; local
478 struct p54u_priv *priv = dev->priv; local
610 struct p54u_priv *priv = dev->priv; local
841 struct p54u_priv *priv = dev->priv; local
884 struct p54u_priv *priv = dev->priv; local
910 struct p54u_priv *priv; local
1005 struct p54u_priv *priv; local
1032 struct p54u_priv *priv; local
1047 struct p54u_priv *priv; local
[all...]
/drivers/net/wireless/rtl818x/rtl8180/
H A Drtl8180.h95 void rtl8180_set_anaparam(struct rtl8180_priv *priv, u32 anaparam);
97 static inline u8 rtl818x_ioread8(struct rtl8180_priv *priv, u8 __iomem *addr) argument
102 static inline u16 rtl818x_ioread16(struct rtl8180_priv *priv, __le16 __iomem *addr) argument
107 static inline u32 rtl818x_ioread32(struct rtl8180_priv *priv, __le32 __iomem *addr) argument
112 static inline void rtl818x_iowrite8(struct rtl8180_priv *priv, argument
118 static inline void rtl818x_iowrite16(struct rtl8180_priv *priv, argument
124 static inline void rtl818x_iowrite32(struct rtl8180_priv *priv, argument
/drivers/parport/
H A Dparport_serial.c476 struct parport_serial_private *priv = pci_get_drvdata (dev); local
490 priv->serial = serial;
499 struct parport_serial_private *priv = pci_get_drvdata (dev); local
502 priv->par = cards[id->driver_data];
503 card = &priv->par;
515 if (priv->num_par == ARRAY_SIZE (priv->port)) {
519 ARRAY_SIZE(priv->port), card->numports);
546 priv->port[priv
560 struct parport_serial_private *priv; local
595 struct parport_serial_private *priv = pci_get_drvdata (dev); local
615 struct parport_serial_private *priv = pci_get_drvdata(dev); local
629 struct parport_serial_private *priv = pci_get_drvdata(dev); local
[all...]
/drivers/rtc/
H A Drtc-msm6242.c76 static inline unsigned int msm6242_read(struct msm6242_priv *priv, argument
79 return __raw_readl(&priv->regs[reg]) & 0xf;
82 static inline void msm6242_write(struct msm6242_priv *priv, unsigned int val, argument
85 __raw_writel(val, &priv->regs[reg]);
88 static inline void msm6242_set(struct msm6242_priv *priv, unsigned int val, argument
91 msm6242_write(priv, msm6242_read(priv, reg) | val, reg);
94 static inline void msm6242_clear(struct msm6242_priv *priv, unsigned int val, argument
97 msm6242_write(priv, msm6242_read(priv, re
100 msm6242_lock(struct msm6242_priv *priv) argument
118 msm6242_unlock(struct msm6242_priv *priv) argument
125 struct msm6242_priv *priv = dev_get_drvdata(dev); local
161 struct msm6242_priv *priv = dev_get_drvdata(dev); local
200 struct msm6242_priv *priv; local
239 struct msm6242_priv *priv = platform_get_drvdata(dev); local
[all...]
H A Drtc-rp5c01.c70 static inline unsigned int rp5c01_read(struct rp5c01_priv *priv, argument
73 return __raw_readl(&priv->regs[reg]) & 0xf;
76 static inline void rp5c01_write(struct rp5c01_priv *priv, unsigned int val, argument
79 __raw_writel(val, &priv->regs[reg]);
82 static void rp5c01_lock(struct rp5c01_priv *priv) argument
84 rp5c01_write(priv, RP5C01_MODE_MODE00, RP5C01_MODE);
87 static void rp5c01_unlock(struct rp5c01_priv *priv) argument
89 rp5c01_write(priv, RP5C01_MODE_TIMER_EN | RP5C01_MODE_MODE01,
95 struct rp5c01_priv *priv = dev_get_drvdata(dev); local
97 spin_lock_irq(&priv
124 struct rp5c01_priv *priv = dev_get_drvdata(dev); local
168 struct rp5c01_priv *priv = dev_get_drvdata(dev); local
198 struct rp5c01_priv *priv = dev_get_drvdata(dev); local
225 struct rp5c01_priv *priv; local
280 struct rp5c01_priv *priv = platform_get_drvdata(dev); local
[all...]

Completed in 324 milliseconds

<<11121314151617181920>>