| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H 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 …]
|
| H A D | core.c | 137 struct brcmf_pub *drvr = ifp->drvr; in _brcmf_set_multicast_list() local 209 struct brcmf_pub *drvr = ifp->drvr; in _brcmf_update_ndtable() local 293 struct brcmf_pub *drvr = ifp->drvr; in brcmf_netdev_start_xmit() local 567 struct brcmf_pub *drvr = ifp->drvr; in brcmf_ethtool_get_drvinfo() local 599 struct brcmf_pub *drvr = ifp->drvr; in brcmf_netdev_open() local 640 struct brcmf_pub *drvr = ifp->drvr; in brcmf_net_attach() local 698 struct brcmf_pub *drvr = ifp->drvr; in brcmf_net_mon_open() local 724 struct brcmf_pub *drvr = ifp->drvr; in brcmf_net_mon_stop() local 754 struct brcmf_pub *drvr = ifp->drvr; in brcmf_net_mon_attach() local 896 ifp->drvr = drvr; in brcmf_add_if() [all …]
|
| H A D | bcdc.c | 103 struct brcmf_bcdc *bcdc = drvr->proto->pd; in drvr_to_fws() 337 struct brcmf_bcdc *bcdc = drvr->proto->pd; in brcmf_proto_bcdc_tx_queue_data() 356 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_proto_bcdc_txflowblock() local 360 brcmf_fws_bus_blocked(drvr, state); in brcmf_proto_bcdc_txflowblock() 427 struct brcmf_bcdc *bcdc = drvr->proto->pd; in brcmf_proto_bcdc_init_done() 430 fws = brcmf_fws_attach(drvr); in brcmf_proto_bcdc_init_done() 440 brcmf_fws_debugfs_create(drvr); in brcmf_proto_bcdc_debugfs_create() 471 drvr->proto->pd = bcdc; in brcmf_proto_bcdc_attach() 474 drvr->bus_if->maxctl = BRCMF_DCMD_MAXLEN + in brcmf_proto_bcdc_attach() 485 struct brcmf_bcdc *bcdc = drvr->proto->pd; in brcmf_proto_bcdc_detach() [all …]
|
| H A D | fwil.c | 99 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_cmd_data() local 191 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_iovar_data_set() local 220 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_iovar_data_get() local 297 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_bsscfg_data_set() local 309 drvr->proto_buf, sizeof(drvr->proto_buf)); in brcmf_fil_bsscfg_data_set() 327 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_bsscfg_data_get() local 334 drvr->proto_buf, sizeof(drvr->proto_buf)); in brcmf_fil_bsscfg_data_get() 378 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_xtlv_data_set() local 390 drvr->proto_buf, sizeof(drvr->proto_buf)); in brcmf_fil_xtlv_data_set() 407 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_xtlv_data_get() local [all …]
|
| H 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 …]
|
| H A D | feature.c | 196 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get() 217 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_data_set() 229 struct brcmf_pub *drvr = ifp->drvr; in brcmf_feat_firmware_capabilities() local 261 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_feat_fwcap_debugfs_read() local 306 if (drvr->bus_if->wowl_supported) in brcmf_feat_attach() 313 ifp->drvr->feat_flags |= in brcmf_feat_attach() 316 ifp->drvr->feat_flags |= in brcmf_feat_attach() 321 switch (drvr->bus_if->chip) { in brcmf_feat_attach() 350 ifp->drvr->feat_flags, in brcmf_feat_attach() 352 ifp->drvr->feat_flags &= ~drvr->settings->feature_disable; in brcmf_feat_attach() [all …]
|
| H A D | fweh.c | 106 fweh = ifp->drvr->fweh; in brcmf_fweh_call_event_handler() 156 ifp = drvr->iflist[ifevent->bsscfgidx]; in brcmf_fweh_handle_if_event() 166 brcmf_proto_add_if(drvr, ifp); in brcmf_fweh_handle_if_event() 173 brcmf_proto_reset_if(drvr, ifp); in brcmf_fweh_handle_if_event() 255 struct brcmf_pub *drvr; in brcmf_fweh_event_worker() local 264 drvr = fweh->drvr; in brcmf_fweh_event_worker() 307 ifp = drvr->iflist[0]; in brcmf_fweh_event_worker() 309 ifp = drvr->iflist[emsg.bsscfgidx]; in brcmf_fweh_event_worker() 347 fweh = drvr->fweh; in brcmf_fweh_attach() 348 fweh->drvr = drvr; in brcmf_fweh_attach() [all …]
|
| H A D | msgbuf.c | 586 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_flowring_create_worker() local 701 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_txflow() local 905 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_rxbuf_data_post() local 1013 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_rxbuf_ctrl_post() local 1105 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_event() local 1149 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_rx_complete() local 1208 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_gen_status() local 1220 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_ring_status() local 1236 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_flow_ring_create_response() local 1265 struct brcmf_pub *drvr = msgbuf->drvr; in brcmf_msgbuf_process_flow_ring_delete_response() local [all …]
|
| H A D | common.c | 82 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_set_joinpref_default() local 124 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_download_blob() local 180 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_process_clm_blob() local 203 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_process_txcap_blob() local 251 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_process_cal_blob() local 268 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_preinit_dcmds() local 302 memcpy(ifp->drvr->mac, ifp->mac_addr, sizeof(ifp->drvr->mac)); in brcmf_c_preinit_dcmds() 303 memcpy(ifp->drvr->wiphy->perm_addr, ifp->drvr->mac, ETH_ALEN); in brcmf_c_preinit_dcmds() 305 bus = ifp->drvr->bus_if; in brcmf_c_preinit_dcmds() 384 strscpy(ifp->drvr->fwver, ptr + 1, sizeof(ifp->drvr->fwver)); in brcmf_c_preinit_dcmds() [all …]
|
| H A D | fwvid.h | 17 int (*alloc_fweh_info)(struct brcmf_pub *drvr); 26 int brcmf_fwvid_attach(struct brcmf_pub *drvr); 27 void brcmf_fwvid_detach(struct brcmf_pub *drvr); 28 const char *brcmf_fwvid_vendor_name(struct brcmf_pub *drvr); 32 const struct brcmf_fwvid_ops *vops = ifp->drvr->vops; in brcmf_fwvid_feat_attach() 43 const struct brcmf_fwvid_ops *vops = ifp->drvr->vops; in brcmf_fwvid_set_sae_password() 51 static inline int brcmf_fwvid_alloc_fweh_info(struct brcmf_pub *drvr) in brcmf_fwvid_alloc_fweh_info() argument 53 if (!drvr->vops) in brcmf_fwvid_alloc_fweh_info() 56 return drvr->vops->alloc_fweh_info(drvr); in brcmf_fwvid_alloc_fweh_info()
|
| H A D | fwvid.c | 153 int brcmf_fwvid_attach(struct brcmf_pub *drvr) in brcmf_fwvid_attach() argument 155 enum brcmf_fwvendor fwvid = drvr->bus_if->fwvid; in brcmf_fwvid_attach() 162 dev_name(drvr->bus_if->dev)); in brcmf_fwvid_attach() 170 drvr->vops = fwvid_list[fwvid].vops; in brcmf_fwvid_attach() 178 void brcmf_fwvid_detach(struct brcmf_pub *drvr) in brcmf_fwvid_detach() argument 180 enum brcmf_fwvendor fwvid = drvr->bus_if->fwvid; in brcmf_fwvid_detach() 186 dev_name(drvr->bus_if->dev)); in brcmf_fwvid_detach() 190 if (drvr->vops) { in brcmf_fwvid_detach() 191 drvr->vops = NULL; in brcmf_fwvid_detach() 192 list_del(&drvr->bus_if->list); in brcmf_fwvid_detach() [all …]
|
| H A D | cfg80211.c | 550 struct brcmf_pub *drvr = ifp->drvr; in send_key_to_dongle() local 713 struct brcmf_pub *drvr = ifp->drvr; in brcmf_cfg80211_request_ap_if() local 1034 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_mpc() local 1587 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_rts() local 1600 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_frag() local 1614 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_retry() local 1696 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_wsec() local 1946 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_wpa_version() local 1975 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_auth_type() local 2015 struct brcmf_pub *drvr = ifp->drvr; in brcmf_set_wsec_mode() local [all …]
|
| H 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()
|
| H 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
|
| H 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
|
| H 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
|
| H 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 …]
|
| H 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 1984 struct brcmf_pub *drvr = fws->drvr; in brcmf_fws_rollback_toq() local 2111 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fws_process_skb() local 2199 struct brcmf_pub *drvr; in brcmf_fws_dequeue_worker() local 2207 drvr = fws->drvr; in brcmf_fws_dequeue_worker() 2355 fws->drvr = drvr; in brcmf_fws_attach() [all …]
|
| H 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 …]
|
| H 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 422 brcmf_msgbuf_delete_flowring(drvr, flowid); in brcmf_flowring_configure_addr_mode() 434 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_flowring_delete_peer() local 461 brcmf_msgbuf_delete_flowring(drvr, flowid); in brcmf_flowring_delete_peer()
|
| H A D | fweh.h | 333 struct brcmf_pub *drvr; member 347 int brcmf_fweh_attach(struct brcmf_pub *drvr); 348 void brcmf_fweh_detach(struct brcmf_pub *drvr); 349 int brcmf_fweh_register(struct brcmf_pub *drvr, enum brcmf_fweh_event_code code, 353 void brcmf_fweh_unregister(struct brcmf_pub *drvr, 356 void brcmf_fweh_process_event(struct brcmf_pub *drvr, 361 static inline void brcmf_fweh_process_skb(struct brcmf_pub *drvr, in brcmf_fweh_process_skb() argument 394 brcmf_fweh_process_event(drvr, event_packet, skb->len + ETH_HLEN, gfp); in brcmf_fweh_process_skb()
|
| H 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); 45 void brcmf_fws_bus_blocked(struct brcmf_pub *drvr, bool flow_blocked);
|
| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H 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() 62 struct brcms_pub *drvr = s->private; in brcms_debugfs_hardware_read() local 63 struct brcms_hardware *hw = drvr->wlc->hw; in brcms_debugfs_hardware_read() 86 drvr->wlc->hw->boardflags, drvr->wlc->hw->boardflags2, in brcms_debugfs_hardware_read() 87 drvr->wlc->ucode_rev, hw->band->radiorev, in brcms_debugfs_hardware_read() 95 struct brcms_pub *drvr = s->private; in brcms_debugfs_macstat_read() local 96 struct brcms_info *wl = drvr->ieee_hw->priv; in brcms_debugfs_macstat_read() 166 struct brcms_pub *drvr; member 189 struct dentry *dentry = drvr->dbgfs_dir; in brcms_debugfs_add_entry() [all …]
|
| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/ |
| H A D | core.c | 19 struct brcmf_pub *drvr = ifp->drvr; in brcmf_cyw_set_sae_pwd() local 25 bphy_err(drvr, "sae_password must be less than %d\n", in brcmf_cyw_set_sae_pwd() 36 bphy_err(drvr, "failed to set SAE password in firmware (len=%u)\n", in brcmf_cyw_set_sae_pwd() 42 static int brcmf_cyw_alloc_fweh_info(struct brcmf_pub *drvr) in brcmf_cyw_alloc_fweh_info() argument 52 drvr->fweh = fweh; in brcmf_cyw_alloc_fweh_info()
|
| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bca/ |
| H A D | core.c | 19 ifp->drvr->feat_flags &= ~BIT(BRCMF_FEAT_SAE); in brcmf_bca_feat_attach() 22 static int brcmf_bca_alloc_fweh_info(struct brcmf_pub *drvr) in brcmf_bca_alloc_fweh_info() argument 32 drvr->fweh = fweh; in brcmf_bca_alloc_fweh_info()
|