Home
last modified time | relevance | path

Searched refs:lbs_private (Results 1 – 21 of 21) sorted by relevance

/drivers/net/wireless/libertas/
Dcmd.h18 int (*callback)(struct lbs_private *,
42 void lbs_cmd_async(struct lbs_private *priv, uint16_t command,
45 int __lbs_cmd(struct lbs_private *priv, uint16_t command,
47 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *),
50 struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv,
52 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *),
55 int lbs_cmd_copyback(struct lbs_private *priv, unsigned long extra,
58 int lbs_allocate_cmd_buffer(struct lbs_private *priv);
59 int lbs_free_cmd_buffer(struct lbs_private *priv);
61 int lbs_execute_next_command(struct lbs_private *priv);
[all …]
Ddecl.h21 struct lbs_private;
22 typedef void (*lbs_fw_cb)(struct lbs_private *priv, int ret,
25 struct lbs_private;
36 void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count);
41 int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *);
45 struct lbs_private *lbs_add_card(void *card, struct device *dmdev);
46 void lbs_remove_card(struct lbs_private *priv);
47 int lbs_start_card(struct lbs_private *priv);
48 void lbs_stop_card(struct lbs_private *priv);
49 void lbs_host_to_card_done(struct lbs_private *priv);
[all …]
Dcfg.h5 struct lbs_private;
10 int lbs_cfg_register(struct lbs_private *priv);
11 void lbs_cfg_free(struct lbs_private *priv);
13 void lbs_send_disconnect_notification(struct lbs_private *priv,
15 void lbs_send_mic_failureevent(struct lbs_private *priv, u32 event);
17 void lbs_scan_done(struct lbs_private *priv);
18 void lbs_scan_deinit(struct lbs_private *priv);
19 int lbs_disconnect(struct lbs_private *priv, u16 reason);
Dmesh.h18 int lbs_init_mesh(struct lbs_private *priv);
19 void lbs_start_mesh(struct lbs_private *priv);
20 int lbs_deinit_mesh(struct lbs_private *priv);
22 void lbs_remove_mesh(struct lbs_private *priv);
24 static inline bool lbs_mesh_activated(struct lbs_private *priv) in lbs_mesh_activated()
30 int lbs_mesh_set_channel(struct lbs_private *priv, u8 channel);
37 struct net_device *lbs_mesh_set_dev(struct lbs_private *priv,
39 void lbs_mesh_set_txpd(struct lbs_private *priv,
Dmain.c102 int lbs_set_iface_type(struct lbs_private *priv, enum nl80211_iftype type) in lbs_set_iface_type()
128 int lbs_start_iface(struct lbs_private *priv) in lbs_start_iface()
180 struct lbs_private *priv = dev->ml_priv; in lbs_dev_open()
204 static bool lbs_command_queue_empty(struct lbs_private *priv) in lbs_command_queue_empty()
214 int lbs_stop_iface(struct lbs_private *priv) in lbs_stop_iface()
251 struct lbs_private *priv = dev->ml_priv; in lbs_eth_stop()
276 void lbs_host_to_card_done(struct lbs_private *priv) in lbs_host_to_card_done()
301 struct lbs_private *priv = dev->ml_priv; in lbs_set_mac_address()
374 void lbs_update_mcast(struct lbs_private *priv) in lbs_update_mcast()
433 struct lbs_private *priv = container_of(work, struct lbs_private, mcast_work); in lbs_set_mcast_worker()
[all …]
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, in lbs_mesh_access()
43 static int __lbs_mesh_config_send(struct lbs_private *priv, in __lbs_mesh_config_send()
73 static int lbs_mesh_config_send(struct lbs_private *priv, in lbs_mesh_config_send()
91 static int lbs_mesh_config(struct lbs_private *priv, uint16_t action, in lbs_mesh_config()
131 int lbs_mesh_set_channel(struct lbs_private *priv, u8 channel) in lbs_mesh_set_channel()
137 static uint16_t lbs_mesh_get_channel(struct lbs_private *priv) in lbs_mesh_get_channel()
159 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_anycast_get()
182 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_anycast_set()
207 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_prb_rsp_limit_get()
[all …]
Dcmd.c30 int lbs_cmd_copyback(struct lbs_private *priv, unsigned long extra, in lbs_cmd_copyback()
53 static int lbs_cmd_async_callback(struct lbs_private *priv, unsigned long extra, in lbs_cmd_async_callback()
88 int lbs_update_hw_spec(struct lbs_private *priv) in lbs_update_hw_spec()
166 static int lbs_ret_host_sleep_cfg(struct lbs_private *priv, unsigned long dummy, in lbs_ret_host_sleep_cfg()
183 int lbs_host_sleep_cfg(struct lbs_private *priv, uint32_t criteria, in lbs_host_sleep_cfg()
234 int lbs_set_ps_mode(struct lbs_private *priv, u16 cmd_action, bool block) in lbs_set_ps_mode()
269 int lbs_cmd_802_11_sleep_params(struct lbs_private *priv, uint16_t cmd_action, in lbs_cmd_802_11_sleep_params()
311 static int lbs_wait_for_ds_awake(struct lbs_private *priv) in lbs_wait_for_ds_awake()
329 int lbs_set_deep_sleep(struct lbs_private *priv, int deep_sleep) in lbs_set_deep_sleep()
365 static int lbs_ret_host_sleep_activate(struct lbs_private *priv, in lbs_ret_host_sleep_activate()
[all …]
Ddev.h38 struct lbs_private { struct
105 int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb); argument
106 void (*reset_card) (struct lbs_private *priv); argument
107 int (*power_save) (struct lbs_private *priv); argument
108 int (*power_restore) (struct lbs_private *priv); argument
109 int (*enter_deep_sleep) (struct lbs_private *priv); argument
110 int (*exit_deep_sleep) (struct lbs_private *priv); argument
111 int (*reset_deep_sleep_wakeup) (struct lbs_private *priv); argument
200 static inline int lbs_iface_active(struct lbs_private *priv) in lbs_iface_active() argument
Dfirmware.c12 static void load_next_firmware_from_table(struct lbs_private *private);
14 static void lbs_fw_loaded(struct lbs_private *priv, int ret, in lbs_fw_loaded()
30 static void do_load_firmware(struct lbs_private *priv, const char *name, in do_load_firmware()
46 struct lbs_private *priv = context; in main_firmware_cb()
65 struct lbs_private *priv = context; in helper_firmware_cb()
83 static void load_next_firmware_from_table(struct lbs_private *priv) in load_next_firmware_from_table()
113 void lbs_wait_for_firmware_load(struct lbs_private *priv) in lbs_wait_for_firmware_load()
130 int lbs_get_firmware_async(struct lbs_private *priv, struct device *device, in lbs_get_firmware_async()
Dcfg.c189 static int lbs_add_channel_list_tlv(struct lbs_private *priv, u8 *tlv, in lbs_add_channel_list_tlv()
447 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_monitor_channel()
468 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_mesh_channel()
507 static int lbs_ret_scan(struct lbs_private *priv, unsigned long dummy, in lbs_ret_scan()
693 struct lbs_private *priv = in lbs_scan_worker()
694 container_of(work, struct lbs_private, scan_work.work); in lbs_scan_worker()
778 static void _internal_start_scan(struct lbs_private *priv, bool internal, in _internal_start_scan()
799 void lbs_scan_done(struct lbs_private *priv) in lbs_scan_done()
814 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_scan()
842 void lbs_send_disconnect_notification(struct lbs_private *priv, in lbs_send_disconnect_notification()
[all …]
Ddebugfs.c21 static void lbs_debug_init(struct lbs_private *priv);
35 struct lbs_private *priv = file->private_data; in lbs_dev_info()
58 struct lbs_private *priv = file->private_data; in lbs_sleepparams_write()
98 struct lbs_private *priv = file->private_data; in lbs_sleepparams_read()
127 struct lbs_private *priv = file->private_data; in lbs_host_sleep_write()
172 struct lbs_private *priv = file->private_data; in lbs_host_sleep_read()
230 struct lbs_private *priv = file->private_data; in lbs_threshold_read()
283 struct lbs_private *priv = file->private_data; in lbs_threshold_write()
449 struct lbs_private *priv = file->private_data; in lbs_rdmac_read()
474 struct lbs_private *priv = file->private_data; in lbs_rdmac_write()
[all …]
Dif_usb.c67 static void if_usb_prog_firmware(struct lbs_private *priv, int ret,
70 static int if_usb_host_to_card(struct lbs_private *priv, uint8_t type,
91 struct lbs_private *priv = cardp->priv; in if_usb_write_bulk_callback()
133 static void if_usb_setup_firmware(struct lbs_private *priv) in if_usb_setup_firmware()
183 static void if_usb_reset_olpc_card(struct lbs_private *priv) in if_usb_reset_olpc_card()
202 struct lbs_private *priv; in if_usb_probe()
308 struct lbs_private *priv = cardp->priv; in if_usb_disconnect()
610 struct lbs_private *priv) in process_cmdtypedata()
629 struct lbs_private *priv) in process_cmdrequest()
669 struct lbs_private *priv = cardp->priv; in if_usb_receive()
[all …]
Dethtool.c14 struct lbs_private *priv = dev->ml_priv; in lbs_ethtool_get_drvinfo()
40 struct lbs_private *priv = dev->ml_priv; in lbs_ethtool_get_eeprom()
69 struct lbs_private *priv = dev->ml_priv; in lbs_ethtool_get_wol()
89 struct lbs_private *priv = dev->ml_priv; in lbs_ethtool_set_wol()
Dif_cs.c61 struct lbs_private *priv;
352 static int if_cs_send_cmd(struct lbs_private *priv, u8 *buf, u16 nb) in if_cs_send_cmd()
398 static void if_cs_send_data(struct lbs_private *priv, u8 *buf, u16 nb) in if_cs_send_data()
426 static int if_cs_receive_cmdres(struct lbs_private *priv, u8 *data, u32 *len) in if_cs_receive_cmdres()
470 static struct sk_buff *if_cs_receive_data(struct lbs_private *priv) in if_cs_receive_data()
511 struct lbs_private *priv = card->priv; in if_cs_interrupt()
741 static void if_cs_prog_firmware(struct lbs_private *priv, int ret, in if_cs_prog_firmware()
788 static int if_cs_host_to_card(struct lbs_private *priv, in if_cs_host_to_card()
850 struct lbs_private *priv; in if_cs_probe()
Dif_sdio.c115 struct lbs_private *priv;
209 struct lbs_private *priv = card->priv; in if_sdio_handle_cmd()
698 static void if_sdio_do_prog_firmware(struct lbs_private *priv, int ret, in if_sdio_do_prog_firmware()
784 struct lbs_private *priv = card->priv; in if_sdio_finish_power_on()
926 struct lbs_private *priv = card->priv; in if_sdio_power_off()
942 static int if_sdio_host_to_card(struct lbs_private *priv, in if_sdio_host_to_card()
1021 static int if_sdio_enter_deep_sleep(struct lbs_private *priv) in if_sdio_enter_deep_sleep()
1038 static int if_sdio_exit_deep_sleep(struct lbs_private *priv) in if_sdio_exit_deep_sleep()
1055 static int if_sdio_reset_deep_sleep_wakeup(struct lbs_private *priv) in if_sdio_reset_deep_sleep_wakeup()
1093 static void if_sdio_reset_card(struct lbs_private *priv) in if_sdio_reset_card()
[all …]
Ddebugfs.h7 void lbs_debugfs_init_one(struct lbs_private *priv, struct net_device *dev);
8 void lbs_debugfs_remove_one(struct lbs_private *priv);
Dif_spi.c47 struct lbs_private *priv;
585 struct lbs_private *priv = card->priv; in if_spi_prog_main_firmware()
682 struct lbs_private *priv = card->priv; in if_spi_c2h_cmd()
745 struct lbs_private *priv = card->priv; in if_spi_c2h_data()
805 struct lbs_private *priv = card->priv; in if_spi_h2c()
842 struct lbs_private *priv = card->priv; in if_spi_e2h()
868 struct lbs_private *priv; in if_spi_host_to_card_worker()
956 static int if_spi_host_to_card(struct lbs_private *priv, in if_spi_host_to_card()
1032 struct lbs_private *priv = card->priv; in if_spi_init_card()
1125 struct lbs_private *priv = NULL; in if_spi_probe()
[all …]
Dif_usb.h7 struct lbs_private;
48 struct lbs_private *priv;
Drx.c45 static int process_rxed_802_11_packet(struct lbs_private *priv,
56 int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb) in lbs_process_rxed_packet()
214 static int process_rxed_802_11_packet(struct lbs_private *priv, in process_rxed_802_11_packet()
Dcmdresp.c27 void lbs_mac_event_disconnected(struct lbs_private *priv, in lbs_mac_event_disconnected()
63 int lbs_process_command_response(struct lbs_private *priv, u8 *data, u32 len) in lbs_process_command_response()
221 int lbs_process_event(struct lbs_private *priv, u32 event) in lbs_process_event()
Dtx.c67 struct lbs_private *priv = dev->ml_priv; in lbs_hard_start_xmit()
182 void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count) in lbs_send_tx_feedback()