| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | proto.h | 61 return drvr->proto->hdrpull(drvr, do_fws, skb, ifp); in brcmf_proto_hdrpull() 67 return drvr->proto->query_dcmd(drvr, ifidx, cmd, buf, len,fwerr); in brcmf_proto_query_dcmd() 73 return drvr->proto->set_dcmd(drvr, ifidx, cmd, buf, len, fwerr); in brcmf_proto_set_dcmd() 79 return drvr->proto->tx_queue_data(drvr, ifidx, skb); in brcmf_proto_tx_queue_data() 85 return drvr->proto->txdata(drvr, ifidx, offset, skb); in brcmf_proto_txdata() 91 drvr->proto->configure_addr_mode(drvr, ifidx, addr_mode); in brcmf_proto_configure_addr_mode() 96 drvr->proto->delete_peer(drvr, ifidx, peer); in brcmf_proto_delete_peer() 101 drvr->proto->add_tdls_peer(drvr, ifidx, peer); in brcmf_proto_add_tdls_peer() 120 if (!drvr->proto->add_if) in brcmf_proto_add_if() 146 return drvr->proto->init_done(drvr); in brcmf_proto_init_done() [all …]
|
| A D | core.c | 135 struct brcmf_pub *drvr = ifp->drvr; in _brcmf_set_multicast_list() local 207 struct brcmf_pub *drvr = ifp->drvr; in _brcmf_update_ndtable() local 235 struct brcmf_pub *drvr = ifp->drvr; in brcmf_netdev_set_mac_address() local 295 struct brcmf_pub *drvr = ifp->drvr; in brcmf_netdev_start_xmit() local 570 struct brcmf_pub *drvr = ifp->drvr; in brcmf_ethtool_get_drvinfo() local 602 struct brcmf_pub *drvr = ifp->drvr; in brcmf_netdev_open() local 643 struct brcmf_pub *drvr = ifp->drvr; in brcmf_net_attach() local 701 struct brcmf_pub *drvr = ifp->drvr; in brcmf_net_mon_open() local 727 struct brcmf_pub *drvr = ifp->drvr; in brcmf_net_mon_stop() local 899 ifp->drvr = drvr; in brcmf_add_if() [all …]
|
| A D | bcdc.c | 101 struct brcmf_bcdc *bcdc = drvr->proto->pd; in drvr_to_fws() 335 struct brcmf_bcdc *bcdc = drvr->proto->pd; in brcmf_proto_bcdc_tx_queue_data() 354 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_proto_bcdc_txflowblock() local 358 brcmf_fws_bus_blocked(drvr, state); in brcmf_proto_bcdc_txflowblock() 426 struct brcmf_bcdc *bcdc = drvr->proto->pd; in brcmf_proto_bcdc_init_done() 429 fws = brcmf_fws_attach(drvr); in brcmf_proto_bcdc_init_done() 439 brcmf_fws_debugfs_create(drvr); in brcmf_proto_bcdc_debugfs_create() 470 drvr->proto->pd = bcdc; in brcmf_proto_bcdc_attach() 473 drvr->bus_if->maxctl = BRCMF_DCMD_MAXLEN + in brcmf_proto_bcdc_attach() 484 struct brcmf_bcdc *bcdc = drvr->proto->pd; in brcmf_proto_bcdc_detach() [all …]
|
| A D | fwil.c | 99 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_cmd_data() local 219 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_iovar_data_set() local 247 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_iovar_data_get() local 343 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_bsscfg_data_set() local 355 drvr->proto_buf, sizeof(drvr->proto_buf)); in brcmf_fil_bsscfg_data_set() 372 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_bsscfg_data_get() local 379 drvr->proto_buf, sizeof(drvr->proto_buf)); in brcmf_fil_bsscfg_data_get() 444 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_xtlv_data_set() local 456 drvr->proto_buf, sizeof(drvr->proto_buf)); in brcmf_fil_xtlv_data_set() 472 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_xtlv_data_get() local [all …]
|
| A D | feature.c | 148 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get() 169 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_data_set() 181 struct brcmf_pub *drvr = ifp->drvr; in brcmf_feat_firmware_capabilities() local 213 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_feat_fwcap_debugfs_read() local 256 if (drvr->bus_if->wowl_supported) in brcmf_feat_attach() 263 ifp->drvr->feat_flags |= in brcmf_feat_attach() 266 ifp->drvr->feat_flags |= in brcmf_feat_attach() 271 switch (drvr->bus_if->chip) { in brcmf_feat_attach() 293 ifp->drvr->feat_flags, in brcmf_feat_attach() 295 ifp->drvr->feat_flags &= ~drvr->settings->feature_disable; in brcmf_feat_attach() [all …]
|
| A D | proto.c | 20 int brcmf_proto_attach(struct brcmf_pub *drvr) in brcmf_proto_attach() argument 30 drvr->proto = proto; in brcmf_proto_attach() 33 if (brcmf_proto_bcdc_attach(drvr)) in brcmf_proto_attach() 36 if (brcmf_proto_msgbuf_attach(drvr)) in brcmf_proto_attach() 40 drvr->bus_if->proto_type); in brcmf_proto_attach() 55 drvr->proto = NULL; in brcmf_proto_attach() 63 if (drvr->proto) { in brcmf_proto_detach() 65 brcmf_proto_bcdc_detach(drvr); in brcmf_proto_detach() 67 brcmf_proto_msgbuf_detach(drvr); in brcmf_proto_detach() 68 kfree(drvr->proto); in brcmf_proto_detach() [all …]
|
| A D | fweh.c | 105 fweh = &ifp->drvr->fweh; in brcmf_fweh_call_event_handler() 155 ifp = drvr->iflist[ifevent->bsscfgidx]; in brcmf_fweh_handle_if_event() 165 brcmf_proto_add_if(drvr, ifp); in brcmf_fweh_handle_if_event() 172 brcmf_proto_reset_if(drvr, ifp); in brcmf_fweh_handle_if_event() 215 struct brcmf_pub *drvr; in brcmf_fweh_event_worker() local 259 ifp = drvr->iflist[0]; in brcmf_fweh_event_worker() 261 ifp = drvr->iflist[emsg.bsscfgidx]; in brcmf_fweh_event_worker() 325 if (drvr->fweh.evt_handler[code]) { in brcmf_fweh_register() 346 drvr->fweh.evt_handler[code] = NULL; in brcmf_fweh_unregister() 356 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fweh_activate_events() local [all …]
|
| A D | msgbuf.c | 583 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_flowring_create_worker() local 698 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_txflow() local 898 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_rxbuf_data_post() local 1006 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_rxbuf_ctrl_post() local 1098 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_event() local 1142 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_rx_complete() local 1201 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_gen_status() local 1213 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_ring_status() local 1229 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_flow_ring_create_response() local 1258 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_flow_ring_delete_response() local [all …]
|
| A D | common.c | 82 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_set_joinpref_default() local 122 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_process_clm_blob() local 123 struct brcmf_bus *bus = drvr->bus_if; in brcmf_c_process_clm_blob() 195 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_preinit_dcmds() local 212 memcpy(ifp->drvr->mac, ifp->mac_addr, sizeof(ifp->drvr->mac)); in brcmf_c_preinit_dcmds() 213 memcpy(ifp->drvr->wiphy->perm_addr, ifp->drvr->mac, ETH_ALEN); in brcmf_c_preinit_dcmds() 215 bus = ifp->drvr->bus_if; in brcmf_c_preinit_dcmds() 216 ri = &ifp->drvr->revinfo; in brcmf_c_preinit_dcmds() 275 strlcpy(ifp->drvr->fwver, ptr, sizeof(ifp->drvr->fwver)); in brcmf_c_preinit_dcmds() 285 memcpy(ifp->drvr->clmver, clmver, sizeof(ifp->drvr->clmver)); in brcmf_c_preinit_dcmds() [all …]
|
| A D | cfg80211.c | 473 struct brcmf_pub *drvr = ifp->drvr; in send_key_to_dongle() local 525 struct brcmf_pub *drvr = ifp->drvr; in brcmf_cfg80211_request_ap_if() local 759 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_mpc() local 1239 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_rts() local 1252 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_frag() local 1266 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_retry() local 1348 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_pmk() local 1371 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_sae_password() local 1608 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_wpa_version() local 1637 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_auth_type() local [all …]
|
| A D | debug.h | 54 #define bphy_err(drvr, fmt, ...) \ argument 59 wiphy_err((drvr)->wiphy, "%s: " fmt, __func__, \ 63 #define bphy_info_once(drvr, fmt, ...) \ argument 64 wiphy_info_once((drvr)->wiphy, "%s: " fmt, __func__, \ 121 struct dentry *brcmf_debugfs_get_devdir(struct brcmf_pub *drvr); 122 void brcmf_debugfs_add_entry(struct brcmf_pub *drvr, const char *fn, 127 static inline struct dentry *brcmf_debugfs_get_devdir(struct brcmf_pub *drvr) in brcmf_debugfs_get_devdir() argument 132 void brcmf_debugfs_add_entry(struct brcmf_pub *drvr, const char *fn, in brcmf_debugfs_add_entry() argument
|
| A D | debug.c | 45 struct dentry *brcmf_debugfs_get_devdir(struct brcmf_pub *drvr) in brcmf_debugfs_get_devdir() argument 47 return drvr->wiphy->debugfsdir; in brcmf_debugfs_get_devdir() 50 void brcmf_debugfs_add_entry(struct brcmf_pub *drvr, const char *fn, in brcmf_debugfs_add_entry() argument 53 WARN(!drvr->wiphy->debugfsdir, "wiphy not (yet) registered\n"); in brcmf_debugfs_add_entry() 54 debugfs_create_devm_seqfile(drvr->bus_if->dev, fn, in brcmf_debugfs_add_entry() 55 drvr->wiphy->debugfsdir, read_fn); in brcmf_debugfs_add_entry()
|
| A D | pno.c | 38 #define ifp_to_pno(_ifp) ((_ifp)->drvr->config->pno) 105 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_config() local 129 bphy_err(drvr, "failed to set pfnmem\n"); in brcmf_pno_config() 135 bphy_err(drvr, "failed to get pfnmem\n"); in brcmf_pno_config() 157 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_set_random() local 200 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_add_ssid() local 223 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_add_bssid() local 258 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_clean() local 268 bphy_err(drvr, "failed code %d\n", ret); in brcmf_pno_clean() 393 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_config_sched_scans() local [all …]
|
| A D | bcdc.h | 9 int brcmf_proto_bcdc_attach(struct brcmf_pub *drvr); 10 void brcmf_proto_bcdc_detach(struct brcmf_pub *drvr); 14 struct brcmf_fws_info *drvr_to_fws(struct brcmf_pub *drvr); 16 static inline int brcmf_proto_bcdc_attach(struct brcmf_pub *drvr) { return 0; } in brcmf_proto_bcdc_attach() argument 17 static inline void brcmf_proto_bcdc_detach(struct brcmf_pub *drvr) {} in brcmf_proto_bcdc_detach() argument
|
| A D | fwsignal.c | 481 struct brcmf_pub *drvr; member 1236 struct brcmf_pub *drvr = fws->drvr; in brcmf_fws_enq() local 1439 struct brcmf_pub *drvr = fws->drvr; in brcmf_fws_txs_process() local 1599 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fws_notify_credit_map() local 1669 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fws_rxreorder() local 1988 struct brcmf_pub *drvr = fws->drvr; in brcmf_fws_rollback_toq() local 2115 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fws_process_skb() local 2203 struct brcmf_pub *drvr; in brcmf_fws_dequeue_worker() local 2211 drvr = fws->drvr; in brcmf_fws_dequeue_worker() 2359 fws->drvr = drvr; in brcmf_fws_attach() [all …]
|
| A D | msgbuf.h | 32 void brcmf_msgbuf_delete_flowring(struct brcmf_pub *drvr, u16 flowid); 33 int brcmf_proto_msgbuf_attach(struct brcmf_pub *drvr); 34 void brcmf_proto_msgbuf_detach(struct brcmf_pub *drvr); 36 static inline int brcmf_proto_msgbuf_attach(struct brcmf_pub *drvr) in brcmf_proto_msgbuf_attach() argument 40 static inline void brcmf_proto_msgbuf_detach(struct brcmf_pub *drvr) {} in brcmf_proto_msgbuf_detach() argument
|
| A D | p2p.c | 431 struct brcmf_pub *drvr = ifp->drvr; in brcmf_p2p_set_firmware() local 586 struct brcmf_pub *drvr = p2p->cfg->pub; in brcmf_p2p_enable_discovery() local 647 struct brcmf_pub *drvr = p2p->cfg->pub; in brcmf_p2p_escan() local 777 struct brcmf_pub *drvr = cfg->pub; in brcmf_p2p_run_escan() local 840 bphy_err(drvr, "error (%d)\n", err); in brcmf_p2p_run_escan() 1389 struct brcmf_pub *drvr = ifp->drvr; in brcmf_p2p_notify_action_frame_rx() local 1614 struct brcmf_pub *drvr = cfg->pub; in brcmf_p2p_pub_af_tx() local 1727 struct brcmf_pub *drvr = cfg->pub; in brcmf_p2p_send_action_frame() local 2049 struct brcmf_pub *drvr = cfg->pub; in brcmf_p2p_ifchange() local 2269 struct brcmf_pub *drvr = cfg->pub; in brcmf_p2p_add_vif() local [all …]
|
| A D | flowring.c | 183 struct brcmf_pub *drvr; in brcmf_flowring_block() local 219 drvr = bus_if->drvr; in brcmf_flowring_block() 220 ifp = brcmf_get_ifp(drvr, ifidx); in brcmf_flowring_block() 241 ifp = brcmf_get_ifp(bus_if->drvr, ifidx); in brcmf_flowring_delete() 387 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_flowring_detach() local 394 brcmf_msgbuf_delete_flowring(drvr, flowid); in brcmf_flowring_detach() 412 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_flowring_configure_addr_mode() local 423 brcmf_msgbuf_delete_flowring(drvr, flowid); in brcmf_flowring_configure_addr_mode() 435 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_flowring_delete_peer() local 463 brcmf_msgbuf_delete_flowring(drvr, flowid); in brcmf_flowring_delete_peer()
|
| A D | fweh.h | 311 void brcmf_fweh_attach(struct brcmf_pub *drvr); 312 void brcmf_fweh_detach(struct brcmf_pub *drvr); 313 int brcmf_fweh_register(struct brcmf_pub *drvr, enum brcmf_fweh_event_code code, 317 void brcmf_fweh_unregister(struct brcmf_pub *drvr, 320 void brcmf_fweh_process_event(struct brcmf_pub *drvr, 325 static inline void brcmf_fweh_process_skb(struct brcmf_pub *drvr, in brcmf_fweh_process_skb() argument 358 brcmf_fweh_process_event(drvr, event_packet, skb->len + ETH_HLEN, gfp); in brcmf_fweh_process_skb()
|
| A D | fwsignal.h | 32 struct brcmf_fws_info *brcmf_fws_attach(struct brcmf_pub *drvr); 34 void brcmf_fws_debugfs_create(struct brcmf_pub *drvr); 44 void brcmf_fws_bus_blocked(struct brcmf_pub *drvr, bool flow_blocked);
|
| A D | core.h | 180 struct brcmf_pub *drvr; member 202 struct brcmf_if *brcmf_get_ifp(struct brcmf_pub *drvr, int ifidx); 205 struct brcmf_if *brcmf_add_if(struct brcmf_pub *drvr, s32 bsscfgidx, s32 ifidx,
|
| A D | feature.h | 93 void brcmf_feat_attach(struct brcmf_pub *drvr); 100 void brcmf_feat_debugfs_create(struct brcmf_pub *drvr);
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| A D | debug.c | 50 drvr->dbgfs_dir = debugfs_create_dir( in brcms_debugfs_attach() 56 debugfs_remove_recursive(drvr->dbgfs_dir); in brcms_debugfs_detach() 61 return drvr->dbgfs_dir; in brcms_debugfs_get_devdir() 67 struct brcms_pub *drvr = s->private; in brcms_debugfs_hardware_read() local 68 struct brcms_hardware *hw = drvr->wlc->hw; in brcms_debugfs_hardware_read() 91 drvr->wlc->hw->boardflags, drvr->wlc->hw->boardflags2, in brcms_debugfs_hardware_read() 100 struct brcms_pub *drvr = s->private; in brcms_debugfs_macstat_read() local 101 struct brcms_info *wl = drvr->ieee_hw->priv; in brcms_debugfs_macstat_read() 171 struct brcms_pub *drvr; member 194 struct dentry *dentry = drvr->dbgfs_dir; in brcms_debugfs_add_entry() [all …]
|
| A D | debug.h | 71 void brcms_debugfs_attach(struct brcms_pub *drvr); 72 void brcms_debugfs_detach(struct brcms_pub *drvr); 73 struct dentry *brcms_debugfs_get_devdir(struct brcms_pub *drvr); 74 void brcms_debugfs_create_files(struct brcms_pub *drvr);
|
| /linux/include/linux/ |
| A D | ntb_transport.h | 59 int ntb_transport_register_client(struct ntb_transport_client *drvr); 60 void ntb_transport_unregister_client(struct ntb_transport_client *drvr);
|