Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dcmd.h19 int (*callback)(struct lbs_private *,
46 int __lbs_cmd(struct lbs_private *priv, uint16_t command,
59 int lbs_allocate_cmd_buffer(struct lbs_private *priv);
60 int lbs_free_cmd_buffer(struct lbs_private *priv);
62 int lbs_execute_next_command(struct lbs_private *priv);
84 int lbs_update_hw_spec(struct lbs_private *priv);
88 int lbs_update_channel(struct lbs_private *priv);
96 void lbs_ps_confirm_sleep(struct lbs_private *priv);
100 void lbs_set_mac_control(struct lbs_private *priv);
101 int lbs_set_mac_control_sync(struct lbs_private *priv);
[all …]
H A Ddecl.h22 struct lbs_private;
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);
51 int lbs_start_iface(struct lbs_private *priv);
52 int lbs_stop_iface(struct lbs_private *priv);
55 int lbs_rtap_supported(struct lbs_private *priv);
59 void lbs_update_mcast(struct lbs_private *priv);
61 int lbs_suspend(struct lbs_private *priv);
[all …]
H A Dcfg.h6 struct lbs_private;
11 int lbs_cfg_register(struct lbs_private *priv);
12 void lbs_cfg_free(struct lbs_private *priv);
14 void lbs_send_disconnect_notification(struct lbs_private *priv,
16 void lbs_send_mic_failureevent(struct lbs_private *priv, u32 event);
18 void lbs_scan_done(struct lbs_private *priv);
19 void lbs_scan_deinit(struct lbs_private *priv);
20 int lbs_disconnect(struct lbs_private *priv, u16 reason);
H A Dmesh.h19 void lbs_init_mesh(struct lbs_private *priv);
20 void lbs_start_mesh(struct lbs_private *priv);
21 int lbs_deinit_mesh(struct lbs_private *priv);
23 void lbs_remove_mesh(struct lbs_private *priv);
25 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,
H A Dcmd.c89 int lbs_update_hw_spec(struct lbs_private *priv) in lbs_update_hw_spec()
535 int lbs_set_tx_power(struct lbs_private *priv, s16 dbm) in lbs_set_tx_power()
590 static int lbs_get_channel(struct lbs_private *priv) in lbs_get_channel()
610 int lbs_update_channel(struct lbs_private *priv) in lbs_update_channel()
696 int lbs_set_11d_domain_info(struct lbs_private *priv) in lbs_set_11d_domain_info()
889 static void lbs_queue_cmd(struct lbs_private *priv, in lbs_queue_cmd()
1081 void lbs_set_mac_control(struct lbs_private *priv) in lbs_set_mac_control()
1092 int lbs_set_mac_control_sync(struct lbs_private *priv) in lbs_set_mac_control_sync()
1113 int lbs_allocate_cmd_buffer(struct lbs_private *priv) in lbs_allocate_cmd_buffer()
1165 int lbs_free_cmd_buffer(struct lbs_private *priv) in lbs_free_cmd_buffer()
[all …]
H A Ddev.h39 struct lbs_private { struct
106 int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb); argument
107 void (*reset_card) (struct lbs_private *priv); argument
108 int (*power_save) (struct lbs_private *priv); argument
109 int (*power_restore) (struct lbs_private *priv); argument
110 int (*enter_deep_sleep) (struct lbs_private *priv); argument
111 int (*exit_deep_sleep) (struct lbs_private *priv); argument
112 int (*reset_deep_sleep_wakeup) (struct lbs_private *priv); argument
201 static inline int lbs_iface_active(struct lbs_private *priv) in lbs_iface_active() argument
H A Dmesh.c19 static int lbs_add_mesh(struct lbs_private *priv);
835 void lbs_init_mesh(struct lbs_private *priv) in lbs_init_mesh()
877 void lbs_start_mesh(struct lbs_private *priv) in lbs_start_mesh()
885 int lbs_deinit_mesh(struct lbs_private *priv) in lbs_deinit_mesh()
907 struct lbs_private *priv = dev->ml_priv; in lbs_mesh_stop()
934 struct lbs_private *priv = dev->ml_priv; in lbs_mesh_dev_open()
979 static int lbs_add_mesh(struct lbs_private *priv) in lbs_add_mesh()
1046 void lbs_remove_mesh(struct lbs_private *priv) in lbs_remove_mesh()
1082 void lbs_mesh_set_txpd(struct lbs_private *priv, in lbs_mesh_set_txpd()
1112 struct lbs_private *priv = dev->ml_priv; in lbs_mesh_ethtool_get_stats()
[all …]
H A Dmain.c128 int lbs_start_iface(struct lbs_private *priv) in lbs_start_iface()
180 struct lbs_private *priv = dev->ml_priv; in lbs_dev_open()
212 int lbs_stop_iface(struct lbs_private *priv) in lbs_stop_iface()
246 struct lbs_private *priv = dev->ml_priv; in lbs_eth_stop()
290 struct lbs_private *priv = dev->ml_priv; in lbs_set_mac_address()
415 struct lbs_private *priv = container_of(work, struct lbs_private, mcast_work); in lbs_set_mcast_worker()
421 struct lbs_private *priv = dev->ml_priv; in lbs_set_multicast_list()
437 struct lbs_private *priv = dev->ml_priv; in lbs_thread()
670 int lbs_suspend(struct lbs_private *priv) in lbs_suspend()
694 int lbs_resume(struct lbs_private *priv) in lbs_resume()
[all …]
H A Dfirmware.c13 static void load_next_firmware_from_table(struct lbs_private *private);
15 static void lbs_fw_loaded(struct lbs_private *priv, int ret, in lbs_fw_loaded()
31 static void do_load_firmware(struct lbs_private *priv, const char *name, in do_load_firmware()
47 struct lbs_private *priv = context; in main_firmware_cb()
66 struct lbs_private *priv = context; in helper_firmware_cb()
84 static void load_next_firmware_from_table(struct lbs_private *priv) in load_next_firmware_from_table()
114 void lbs_wait_for_firmware_load(struct lbs_private *priv) in lbs_wait_for_firmware_load()
131 int lbs_get_firmware_async(struct lbs_private *priv, struct device *device, in lbs_get_firmware_async()
H A Ddebugfs.c22 static void lbs_debug_init(struct lbs_private *priv);
36 struct lbs_private *priv = file->private_data; in lbs_dev_info()
59 struct lbs_private *priv = file->private_data; in lbs_sleepparams_write()
95 struct lbs_private *priv = file->private_data; in lbs_sleepparams_read()
124 struct lbs_private *priv = file->private_data; in lbs_host_sleep_write()
165 struct lbs_private *priv = file->private_data; in lbs_host_sleep_read()
223 struct lbs_private *priv = file->private_data; in lbs_threshold_read()
276 struct lbs_private *priv = file->private_data; in lbs_threshold_write()
436 struct lbs_private *priv = file->private_data; in lbs_rdmac_read()
461 struct lbs_private *priv = file->private_data; in lbs_rdmac_write()
[all …]
H A Dcfg.c491 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_monitor_channel()
507 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_mesh_channel()
726 struct lbs_private *priv = in lbs_scan_worker()
828 void lbs_scan_done(struct lbs_private *priv) in lbs_scan_done()
848 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_scan()
1326 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_connect()
1475 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_disconnect()
1491 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_default_key()
1510 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_add_key()
1576 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_del_key()
[all …]
H A Dethtool.c15 struct lbs_private *priv = dev->ml_priv; in lbs_ethtool_get_drvinfo()
41 struct lbs_private *priv = dev->ml_priv; in lbs_ethtool_get_eeprom()
64 struct lbs_private *priv = dev->ml_priv; in lbs_ethtool_get_wol()
84 struct lbs_private *priv = dev->ml_priv; in lbs_ethtool_set_wol()
H A Ddebugfs.h8 void lbs_debugfs_init_one(struct lbs_private *priv, struct net_device *dev);
9 void lbs_debugfs_remove_one(struct lbs_private *priv);
H A Dif_usb.c68 static void if_usb_prog_firmware(struct lbs_private *priv, int ret,
92 struct lbs_private *priv = cardp->priv; in if_usb_write_bulk_callback()
130 static void if_usb_setup_firmware(struct lbs_private *priv) in if_usb_setup_firmware()
180 static void if_usb_reset_olpc_card(struct lbs_private *priv) in if_usb_reset_olpc_card()
199 struct lbs_private *priv; in if_usb_probe()
310 struct lbs_private *priv = cardp->priv; in if_usb_disconnect()
602 struct lbs_private *priv) in process_cmdtypedata()
621 struct lbs_private *priv) in process_cmdrequest()
660 struct lbs_private *priv = cardp->priv; in if_usb_receive()
939 struct lbs_private *priv = cardp->priv; in if_usb_suspend()
[all …]
H A Dif_sdio.c111 struct lbs_private *priv;
206 struct lbs_private *priv = card->priv; in if_sdio_handle_cmd()
751 struct lbs_private *priv = card->priv; in if_sdio_finish_power_on()
893 struct lbs_private *priv = card->priv; in if_sdio_power_off()
909 static int if_sdio_host_to_card(struct lbs_private *priv, in if_sdio_host_to_card()
993 static int if_sdio_exit_deep_sleep(struct lbs_private *priv) in if_sdio_exit_deep_sleep()
1056 static void if_sdio_reset_card(struct lbs_private *priv) in if_sdio_reset_card()
1064 static int if_sdio_power_save(struct lbs_private *priv) in if_sdio_power_save()
1079 static int if_sdio_power_restore(struct lbs_private *priv) in if_sdio_power_restore()
1138 struct lbs_private *priv; in if_sdio_probe()
[all …]
H A Dif_cs.c48 struct lbs_private *priv;
337 static int if_cs_send_cmd(struct lbs_private *priv, u8 *buf, u16 nb) in if_cs_send_cmd()
381 static void if_cs_send_data(struct lbs_private *priv, u8 *buf, u16 nb) in if_cs_send_data()
406 static int if_cs_receive_cmdres(struct lbs_private *priv, u8 *data, u32 *len) in if_cs_receive_cmdres()
447 static struct sk_buff *if_cs_receive_data(struct lbs_private *priv) in if_cs_receive_data()
485 struct lbs_private *priv = card->priv; in if_cs_interrupt()
706 static void if_cs_prog_firmware(struct lbs_private *priv, int ret, in if_cs_prog_firmware()
753 static int if_cs_host_to_card(struct lbs_private *priv, in if_cs_host_to_card()
808 struct lbs_private *priv; in if_cs_probe()
H A Dif_usb.h8 struct lbs_private;
49 struct lbs_private *priv;
H A Dif_spi.c43 struct lbs_private *priv;
577 struct lbs_private *priv = card->priv; in if_spi_prog_main_firmware()
672 struct lbs_private *priv = card->priv; in if_spi_c2h_cmd()
733 struct lbs_private *priv = card->priv; in if_spi_c2h_data()
787 struct lbs_private *priv = card->priv; in if_spi_h2c()
822 struct lbs_private *priv = card->priv; in if_spi_e2h()
853 struct lbs_private *priv; in if_spi_host_to_card_worker()
937 static int if_spi_host_to_card(struct lbs_private *priv, in if_spi_host_to_card()
1010 struct lbs_private *priv = card->priv; in if_spi_init_card()
1100 struct lbs_private *priv = NULL; in if_spi_probe()
[all …]
H A Drx.c46 static int process_rxed_802_11_packet(struct lbs_private *priv,
57 int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb) in lbs_process_rxed_packet()
206 static int process_rxed_802_11_packet(struct lbs_private *priv, in process_rxed_802_11_packet()
H A Dcmdresp.c28 void lbs_mac_event_disconnected(struct lbs_private *priv, in lbs_mac_event_disconnected()
65 int lbs_process_command_response(struct lbs_private *priv, u8 *data, u32 len) in lbs_process_command_response()
223 void lbs_process_event(struct lbs_private *priv, u32 event) in lbs_process_event()
H A Dtx.c68 struct lbs_private *priv = dev->ml_priv; in lbs_hard_start_xmit()
181 void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count) in lbs_send_tx_feedback()