/Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
D | cmd.h | 19 int (*callback)(struct lbs_private *, 43 void lbs_cmd_async(struct lbs_private *priv, uint16_t command, 46 int __lbs_cmd(struct lbs_private *priv, uint16_t command, 48 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), 51 struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv, 53 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), 56 int lbs_cmd_copyback(struct lbs_private *priv, unsigned long extra, 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); [all …]
|
D | decl.h | 22 struct lbs_private; 23 typedef void (*lbs_fw_cb)(struct lbs_private *priv, int ret, 26 struct lbs_private; 37 void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count); 42 int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *); 46 struct lbs_private *lbs_add_card(void *card, struct device *dmdev); 47 void lbs_remove_card(struct lbs_private *priv); 48 int lbs_start_card(struct lbs_private *priv); 49 void lbs_stop_card(struct lbs_private *priv); 50 void lbs_host_to_card_done(struct lbs_private *priv); [all …]
|
D | cfg.h | 6 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);
|
D | mesh.h | 19 int 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,
|
D | cmd.c | 31 int lbs_cmd_copyback(struct lbs_private *priv, unsigned long extra, in lbs_cmd_copyback() 54 static int lbs_cmd_async_callback(struct lbs_private *priv, unsigned long extra, in lbs_cmd_async_callback() 89 int lbs_update_hw_spec(struct lbs_private *priv) in lbs_update_hw_spec() 164 static int lbs_ret_host_sleep_cfg(struct lbs_private *priv, unsigned long dummy, in lbs_ret_host_sleep_cfg() 180 int lbs_host_sleep_cfg(struct lbs_private *priv, uint32_t criteria, in lbs_host_sleep_cfg() 231 int lbs_set_ps_mode(struct lbs_private *priv, u16 cmd_action, bool block) in lbs_set_ps_mode() 263 int lbs_cmd_802_11_sleep_params(struct lbs_private *priv, uint16_t cmd_action, in lbs_cmd_802_11_sleep_params() 302 static int lbs_wait_for_ds_awake(struct lbs_private *priv) in lbs_wait_for_ds_awake() 317 int lbs_set_deep_sleep(struct lbs_private *priv, int deep_sleep) in lbs_set_deep_sleep() 350 static int lbs_ret_host_sleep_activate(struct lbs_private *priv, in lbs_ret_host_sleep_activate() [all …]
|
D | dev.h | 39 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
|
D | mesh.c | 19 static int lbs_add_mesh(struct lbs_private *priv); 25 static int lbs_mesh_access(struct lbs_private *priv, uint16_t cmd_action, in lbs_mesh_access() 41 static int __lbs_mesh_config_send(struct lbs_private *priv, in __lbs_mesh_config_send() 68 static int lbs_mesh_config_send(struct lbs_private *priv, in lbs_mesh_config_send() 86 static int lbs_mesh_config(struct lbs_private *priv, uint16_t action, in lbs_mesh_config() 134 int lbs_mesh_set_channel(struct lbs_private *priv, u8 channel) in lbs_mesh_set_channel() 140 static uint16_t lbs_mesh_get_channel(struct lbs_private *priv) in lbs_mesh_get_channel() 162 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_anycast_get() 185 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_anycast_set() 210 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_prb_rsp_limit_get() [all …]
|
D | main.c | 103 int lbs_set_iface_type(struct lbs_private *priv, enum nl80211_iftype type) in lbs_set_iface_type() 129 int lbs_start_iface(struct lbs_private *priv) in lbs_start_iface() 181 struct lbs_private *priv = dev->ml_priv; in lbs_dev_open() 203 static bool lbs_command_queue_empty(struct lbs_private *priv) in lbs_command_queue_empty() 213 int lbs_stop_iface(struct lbs_private *priv) in lbs_stop_iface() 247 struct lbs_private *priv = dev->ml_priv; in lbs_eth_stop() 269 void lbs_host_to_card_done(struct lbs_private *priv) in lbs_host_to_card_done() 291 struct lbs_private *priv = dev->ml_priv; in lbs_set_mac_address() 361 void lbs_update_mcast(struct lbs_private *priv) in lbs_update_mcast() 416 struct lbs_private *priv = container_of(work, struct lbs_private, mcast_work); in lbs_set_mcast_worker() [all …]
|
D | firmware.c | 13 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()
|
D | cfg.c | 190 static int lbs_add_channel_list_tlv(struct lbs_private *priv, u8 *tlv, in lbs_add_channel_list_tlv() 444 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_monitor_channel() 460 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_mesh_channel() 495 static int lbs_ret_scan(struct lbs_private *priv, unsigned long dummy, in lbs_ret_scan() 678 struct lbs_private *priv = in lbs_scan_worker() 679 container_of(work, struct lbs_private, scan_work.work); in lbs_scan_worker() 758 static void _internal_start_scan(struct lbs_private *priv, bool internal, in _internal_start_scan() 775 void lbs_scan_done(struct lbs_private *priv) in lbs_scan_done() 795 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_scan() 820 void lbs_send_disconnect_notification(struct lbs_private *priv, in lbs_send_disconnect_notification() [all …]
|
D | debugfs.c | 22 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 …]
|
D | ethtool.c | 15 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() 67 struct lbs_private *priv = dev->ml_priv; in lbs_ethtool_get_wol() 87 struct lbs_private *priv = dev->ml_priv; in lbs_ethtool_set_wol()
|
D | debugfs.h | 8 void lbs_debugfs_init_one(struct lbs_private *priv, struct net_device *dev); 9 void lbs_debugfs_remove_one(struct lbs_private *priv);
|
D | if_usb.c | 68 static void if_usb_prog_firmware(struct lbs_private *priv, int ret, 71 static int if_usb_host_to_card(struct lbs_private *priv, uint8_t type, 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() 308 struct lbs_private *priv = cardp->priv; in if_usb_disconnect() 599 struct lbs_private *priv) in process_cmdtypedata() 618 struct lbs_private *priv) in process_cmdrequest() 657 struct lbs_private *priv = cardp->priv; in if_usb_receive() [all …]
|
D | if_sdio.c | 111 struct lbs_private *priv; 205 struct lbs_private *priv = card->priv; in if_sdio_handle_cmd() 666 static void if_sdio_do_prog_firmware(struct lbs_private *priv, int ret, in if_sdio_do_prog_firmware() 749 struct lbs_private *priv = card->priv; in if_sdio_finish_power_on() 891 struct lbs_private *priv = card->priv; in if_sdio_power_off() 907 static int if_sdio_host_to_card(struct lbs_private *priv, in if_sdio_host_to_card() 982 static int if_sdio_enter_deep_sleep(struct lbs_private *priv) in if_sdio_enter_deep_sleep() 999 static int if_sdio_exit_deep_sleep(struct lbs_private *priv) in if_sdio_exit_deep_sleep() 1015 static int if_sdio_reset_deep_sleep_wakeup(struct lbs_private *priv) in if_sdio_reset_deep_sleep_wakeup() 1052 static void if_sdio_reset_card(struct lbs_private *priv) in if_sdio_reset_card() [all …]
|
D | if_cs.c | 48 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()
|
D | if_usb.h | 8 struct lbs_private; 49 struct lbs_private *priv;
|
D | if_spi.c | 43 struct lbs_private *priv; 579 struct lbs_private *priv = card->priv; in if_spi_prog_main_firmware() 674 struct lbs_private *priv = card->priv; in if_spi_c2h_cmd() 735 struct lbs_private *priv = card->priv; in if_spi_c2h_data() 789 struct lbs_private *priv = card->priv; in if_spi_h2c() 824 struct lbs_private *priv = card->priv; in if_spi_e2h() 850 struct lbs_private *priv; in if_spi_host_to_card_worker() 934 static int if_spi_host_to_card(struct lbs_private *priv, in if_spi_host_to_card() 1007 struct lbs_private *priv = card->priv; in if_spi_init_card() 1097 struct lbs_private *priv = NULL; in if_spi_probe() [all …]
|
D | rx.c | 46 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() 212 static int process_rxed_802_11_packet(struct lbs_private *priv, in process_rxed_802_11_packet()
|
D | cmdresp.c | 28 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 int lbs_process_event(struct lbs_private *priv, u32 event) in lbs_process_event()
|
D | tx.c | 68 struct lbs_private *priv = dev->ml_priv; in lbs_hard_start_xmit() 180 void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count) in lbs_send_tx_feedback()
|