Home
last modified time | relevance | path

Searched refs:drvr (Results 1 - 25 of 62) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dproto.h19 int (*hdrpull)(struct brcmf_pub *drvr, bool do_fws,
21 int (*query_dcmd)(struct brcmf_pub *drvr, int ifidx, uint cmd,
23 int (*set_dcmd)(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf,
25 int (*tx_queue_data)(struct brcmf_pub *drvr, int ifidx,
27 int (*txdata)(struct brcmf_pub *drvr, int ifidx, u8 offset,
29 void (*configure_addr_mode)(struct brcmf_pub *drvr, int ifidx,
31 void (*delete_peer)(struct brcmf_pub *drvr, int ifidx,
33 void (*add_tdls_peer)(struct brcmf_pub *drvr, int ifidx,
39 int (*init_done)(struct brcmf_pub *drvr);
40 void (*debugfs_create)(struct brcmf_pub *drvr);
48 brcmf_proto_hdrpull(struct brcmf_pub *drvr, bool do_fws, struct sk_buff *skb, struct brcmf_if **ifp) brcmf_proto_hdrpull() argument
63 brcmf_proto_query_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len, int *fwerr) brcmf_proto_query_dcmd() argument
69 brcmf_proto_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len, int *fwerr) brcmf_proto_set_dcmd() argument
76 brcmf_proto_tx_queue_data(struct brcmf_pub *drvr, int ifidx, struct sk_buff *skb) brcmf_proto_tx_queue_data() argument
82 brcmf_proto_txdata(struct brcmf_pub *drvr, int ifidx, u8 offset, struct sk_buff *skb) brcmf_proto_txdata() argument
88 brcmf_proto_configure_addr_mode(struct brcmf_pub *drvr, int ifidx, enum proto_addr_mode addr_mode) brcmf_proto_configure_addr_mode() argument
94 brcmf_proto_delete_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_proto_delete_peer() argument
99 brcmf_proto_add_tdls_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_proto_add_tdls_peer() argument
118 brcmf_proto_add_if(struct brcmf_pub *drvr, struct brcmf_if *ifp) brcmf_proto_add_if() argument
126 brcmf_proto_del_if(struct brcmf_pub *drvr, struct brcmf_if *ifp) brcmf_proto_del_if() argument
134 brcmf_proto_reset_if(struct brcmf_pub *drvr, struct brcmf_if *ifp) brcmf_proto_reset_if() argument
142 brcmf_proto_init_done(struct brcmf_pub *drvr) brcmf_proto_init_done() argument
150 brcmf_proto_debugfs_create(struct brcmf_pub *drvr) brcmf_proto_debugfs_create() argument
[all...]
H A Dcore.c76 struct brcmf_if *brcmf_get_ifp(struct brcmf_pub *drvr, int ifidx) in brcmf_get_ifp() argument
82 bphy_err(drvr, "ifidx %d out of range\n", ifidx); in brcmf_get_ifp()
87 bsscfgidx = drvr->if2bss[ifidx]; in brcmf_get_ifp()
89 ifp = drvr->iflist[bsscfgidx]; in brcmf_get_ifp()
135 struct brcmf_pub *drvr = ifp->drvr; in _brcmf_set_multicast_list() local
173 bphy_err(drvr, "Setting mcast_list failed, %d\n", err); in _brcmf_set_multicast_list()
186 bphy_err(drvr, "Setting allmulti failed, %d\n", err); in _brcmf_set_multicast_list()
192 bphy_err(drvr, "Setting BRCMF_C_SET_PROMISC failed, %d\n", in _brcmf_set_multicast_list()
202 struct brcmf_pub *drvr in _brcmf_update_ndtable() local
230 struct brcmf_pub *drvr = ifp->drvr; brcmf_netdev_set_mac_address() local
290 struct brcmf_pub *drvr = ifp->drvr; brcmf_netdev_start_xmit() local
483 brcmf_rx_hdrpull(struct brcmf_pub *drvr, struct sk_buff *skb, struct brcmf_if **ifp) brcmf_rx_hdrpull() argument
507 struct brcmf_pub *drvr = bus_if->drvr; brcmf_rx_frame() local
532 struct brcmf_pub *drvr = bus_if->drvr; brcmf_rx_event() local
567 struct brcmf_pub *drvr = ifp->drvr; brcmf_ethtool_get_drvinfo() local
599 struct brcmf_pub *drvr = ifp->drvr; brcmf_netdev_open() local
640 struct brcmf_pub *drvr = ifp->drvr; brcmf_net_attach() local
698 struct brcmf_pub *drvr = ifp->drvr; brcmf_net_mon_open() local
724 struct brcmf_pub *drvr = ifp->drvr; brcmf_net_mon_stop() local
754 struct brcmf_pub *drvr = ifp->drvr; brcmf_net_mon_attach() local
820 struct brcmf_pub *drvr = ifp->drvr; brcmf_net_p2p_attach() local
847 brcmf_add_if(struct brcmf_pub *drvr, s32 bsscfgidx, s32 ifidx, bool is_p2pdev, const char *name, u8 *mac_addr) brcmf_add_if() argument
913 brcmf_del_if(struct brcmf_pub *drvr, s32 bsscfgidx, bool rtnl_locked) brcmf_del_if() argument
975 struct brcmf_pub *drvr = ifp->drvr; brcmf_psm_watchdog_notify() local
995 struct brcmf_pub *drvr = container_of(nb, struct brcmf_pub, brcmf_inetaddr_changed() local
1086 struct brcmf_pub *drvr = container_of(nb, struct brcmf_pub, brcmf_inet6addr_changed() local
1166 struct brcmf_pub *drvr = container_of(work, struct brcmf_pub, brcmf_core_bus_reset() local
1175 struct brcmf_pub *drvr = file->private_data; bus_reset_write() local
1195 brcmf_bus_started(struct brcmf_pub *drvr, struct cfg80211_ops *ops) brcmf_bus_started() argument
1299 struct brcmf_pub *drvr = NULL; brcmf_alloc() local
1327 struct brcmf_pub *drvr = bus_if->drvr; brcmf_attach() local
1372 struct brcmf_pub *drvr = bus_if->drvr; brcmf_bus_add_txhdrlen() local
1382 struct brcmf_pub *drvr = bus_if->drvr; brcmf_dev_reset() local
1402 struct brcmf_pub *drvr = bus_if->drvr; brcmf_fw_crashed() local
1415 struct brcmf_pub *drvr = bus_if->drvr; brcmf_detach() local
1456 struct brcmf_pub *drvr = bus_if->drvr; brcmf_free() local
1483 struct brcmf_pub *drvr = ifp->drvr; brcmf_netdev_wait_pend8021x() local
1498 struct brcmf_pub *drvr = bus->drvr; brcmf_bus_change_state() local
[all...]
H A Dbcdc.c99 struct brcmf_fws_info *drvr_to_fws(struct brcmf_pub *drvr) in drvr_to_fws() argument
101 struct brcmf_bcdc *bcdc = drvr->proto->pd; in drvr_to_fws()
107 brcmf_proto_bcdc_msg(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, in brcmf_proto_bcdc_msg() argument
110 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd; in brcmf_proto_bcdc_msg()
135 return brcmf_bus_txctl(drvr->bus_if, (unsigned char *)&bcdc->msg, len); in brcmf_proto_bcdc_msg()
138 static int brcmf_proto_bcdc_cmplt(struct brcmf_pub *drvr, u32 id, u32 len) in brcmf_proto_bcdc_cmplt() argument
141 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd; in brcmf_proto_bcdc_cmplt()
146 ret = brcmf_bus_rxctl(drvr->bus_if, (unsigned char *)&bcdc->msg, in brcmf_proto_bcdc_cmplt()
156 brcmf_proto_bcdc_query_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, in brcmf_proto_bcdc_query_dcmd() argument
159 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr in brcmf_proto_bcdc_query_dcmd()
214 brcmf_proto_bcdc_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len, int *fwerr) brcmf_proto_bcdc_set_dcmd() argument
255 brcmf_proto_bcdc_hdrpush(struct brcmf_pub *drvr, int ifidx, u8 offset, struct sk_buff *pktbuf) brcmf_proto_bcdc_hdrpush() argument
279 brcmf_proto_bcdc_hdrpull(struct brcmf_pub *drvr, bool do_fws, struct sk_buff *pktbuf, struct brcmf_if **ifp) brcmf_proto_bcdc_hdrpull() argument
331 brcmf_proto_bcdc_tx_queue_data(struct brcmf_pub *drvr, int ifidx, struct sk_buff *skb) brcmf_proto_bcdc_tx_queue_data() argument
344 brcmf_proto_bcdc_txdata(struct brcmf_pub *drvr, int ifidx, u8 offset, struct sk_buff *pktbuf) brcmf_proto_bcdc_txdata() argument
354 struct brcmf_pub *drvr = bus_if->drvr; brcmf_proto_bcdc_txflowblock() local
382 brcmf_proto_bcdc_configure_addr_mode(struct brcmf_pub *drvr, int ifidx, enum proto_addr_mode addr_mode) brcmf_proto_bcdc_configure_addr_mode() argument
388 brcmf_proto_bcdc_delete_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_proto_bcdc_delete_peer() argument
394 brcmf_proto_bcdc_add_tdls_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_proto_bcdc_add_tdls_peer() argument
424 brcmf_proto_bcdc_init_done(struct brcmf_pub *drvr) brcmf_proto_bcdc_init_done() argument
437 brcmf_proto_bcdc_debugfs_create(struct brcmf_pub *drvr) brcmf_proto_bcdc_debugfs_create() argument
442 brcmf_proto_bcdc_attach(struct brcmf_pub *drvr) brcmf_proto_bcdc_attach() argument
482 brcmf_proto_bcdc_detach(struct brcmf_pub *drvr) brcmf_proto_bcdc_detach() argument
[all...]
H A Dproto.c20 int brcmf_proto_attach(struct brcmf_pub *drvr) in brcmf_proto_attach() argument
30 drvr->proto = proto; in brcmf_proto_attach()
32 if (drvr->bus_if->proto_type == BRCMF_PROTO_BCDC) { in brcmf_proto_attach()
33 if (brcmf_proto_bcdc_attach(drvr)) in brcmf_proto_attach()
35 } else if (drvr->bus_if->proto_type == BRCMF_PROTO_MSGBUF) { in brcmf_proto_attach()
36 if (brcmf_proto_msgbuf_attach(drvr)) in brcmf_proto_attach()
39 bphy_err(drvr, "Unsupported proto type %d\n", in brcmf_proto_attach()
40 drvr->bus_if->proto_type); in brcmf_proto_attach()
48 bphy_err(drvr, "Not all proto handlers have been installed\n"); in brcmf_proto_attach()
55 drvr in brcmf_proto_attach()
59 brcmf_proto_detach(struct brcmf_pub *drvr) brcmf_proto_detach() argument
[all...]
H A Dfweh.c95 static int brcmf_fweh_call_event_handler(struct brcmf_pub *drvr, in brcmf_fweh_call_event_handler() argument
105 fweh = &ifp->drvr->fweh; in brcmf_fweh_call_event_handler()
111 bphy_err(drvr, "unhandled event %d ignored\n", code); in brcmf_fweh_call_event_handler()
113 bphy_err(drvr, "no interface object\n"); in brcmf_fweh_call_event_handler()
121 * @drvr: driver information object.
125 static void brcmf_fweh_handle_if_event(struct brcmf_pub *drvr, in brcmf_fweh_handle_if_event() argument
145 (drvr->fweh.p2pdev_setup_ongoing)))); in brcmf_fweh_handle_if_event()
151 bphy_err(drvr, "invalid interface index: %u\n", ifevent->ifidx); in brcmf_fweh_handle_if_event()
155 ifp = drvr->iflist[ifevent->bsscfgidx]; in brcmf_fweh_handle_if_event()
160 ifp = brcmf_add_if(drvr, ifeven in brcmf_fweh_handle_if_event()
215 struct brcmf_pub *drvr; brcmf_fweh_event_worker() local
294 brcmf_fweh_attach(struct brcmf_pub *drvr) brcmf_fweh_attach() argument
307 brcmf_fweh_detach(struct brcmf_pub *drvr) brcmf_fweh_detach() argument
326 brcmf_fweh_register(struct brcmf_pub *drvr, enum brcmf_fweh_event_code code, brcmf_fweh_handler_t handler) brcmf_fweh_register() argument
345 brcmf_fweh_unregister(struct brcmf_pub *drvr, enum brcmf_fweh_event_code code) brcmf_fweh_unregister() argument
360 struct brcmf_pub *drvr = ifp->drvr; brcmf_fweh_activate_events() local
395 brcmf_fweh_process_event(struct brcmf_pub *drvr, struct brcmf_event *event_packet, u32 packet_len, gfp_t gfp) brcmf_fweh_process_event() argument
[all...]
H A Dfeature.c68 u32 feats = bus_if->drvr->feat_flags; in brcmf_feat_debugfs_read()
69 u32 quirks = bus_if->drvr->chip_quirks; in brcmf_feat_debugfs_read()
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
188 bphy_err(drvr, "could not get firmware cap (%d)\n", err); in brcmf_feat_firmware_capabilities()
199 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_firmware_capabilities()
213 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_feat_fwcap_debugfs_read() local
240 brcmf_feat_attach(struct brcmf_pub *drvr) brcmf_feat_attach() argument
314 brcmf_feat_debugfs_create(struct brcmf_pub *drvr) brcmf_feat_debugfs_create() argument
[all...]
H A Dfwil.c98 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_cmd_data() local
101 if (drvr->bus_if->state != BRCMF_BUS_UP) { in brcmf_fil_cmd_data()
102 bphy_err(drvr, "bus is down. we have nothing to do.\n"); in brcmf_fil_cmd_data()
109 err = brcmf_proto_set_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data()
112 err = brcmf_proto_query_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data()
133 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
140 mutex_unlock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
150 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_get()
157 mutex_unlock(&ifp->drvr in brcmf_fil_cmd_data_get()
217 struct brcmf_pub *drvr = ifp->drvr; brcmf_fil_iovar_data_set() local
245 struct brcmf_pub *drvr = ifp->drvr; brcmf_fil_iovar_data_get() local
340 struct brcmf_pub *drvr = ifp->drvr; brcmf_fil_bsscfg_data_set() local
369 struct brcmf_pub *drvr = ifp->drvr; brcmf_fil_bsscfg_data_get() local
[all...]
H A Dmsgbuf.c229 struct brcmf_pub *drvr; member
422 brcmf_msgbuf_release_array(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_release_pktids()
425 brcmf_msgbuf_release_array(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_release_pktids()
430 static int brcmf_msgbuf_tx_ioctl(struct brcmf_pub *drvr, int ifidx, in brcmf_msgbuf_tx_ioctl() argument
433 struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd; in brcmf_msgbuf_tx_ioctl()
444 bphy_err(drvr, "Failed to reserve space in commonring\n"); in brcmf_msgbuf_tx_ioctl()
491 static int brcmf_msgbuf_query_dcmd(struct brcmf_pub *drvr, int ifidx, in brcmf_msgbuf_query_dcmd() argument
494 struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd; in brcmf_msgbuf_query_dcmd()
502 err = brcmf_msgbuf_tx_ioctl(drvr, ifidx, cmd, buf, len); in brcmf_msgbuf_query_dcmd()
508 bphy_err(drvr, "Timeou in brcmf_msgbuf_query_dcmd()
529 brcmf_msgbuf_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len, int *fwerr) brcmf_msgbuf_set_dcmd() argument
536 brcmf_msgbuf_hdrpull(struct brcmf_pub *drvr, bool do_fws, struct sk_buff *skb, struct brcmf_if **ifp) brcmf_msgbuf_hdrpull() argument
586 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_flowring_create_worker() local
701 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_txflow() local
800 brcmf_msgbuf_tx_queue_data(struct brcmf_pub *drvr, int ifidx, struct sk_buff *skb) brcmf_msgbuf_tx_queue_data() argument
825 brcmf_msgbuf_configure_addr_mode(struct brcmf_pub *drvr, int ifidx, enum proto_addr_mode addr_mode) brcmf_msgbuf_configure_addr_mode() argument
835 brcmf_msgbuf_delete_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_msgbuf_delete_peer() argument
844 brcmf_msgbuf_add_tdls_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_msgbuf_add_tdls_peer() argument
901 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_rxbuf_data_post() local
1009 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_rxbuf_ctrl_post() local
1101 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_event() local
1145 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_rx_complete() local
1204 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_gen_status() local
1216 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_ring_status() local
1232 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_flow_ring_create_response() local
1261 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_flow_ring_delete_response() local
1286 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_msgtype() local
1368 struct brcmf_pub *drvr = bus_if->drvr; brcmf_proto_msgbuf_rx_trigger() local
1397 brcmf_msgbuf_delete_flowring(struct brcmf_pub *drvr, u16 flowid) brcmf_msgbuf_delete_flowring() argument
1450 struct brcmf_pub *drvr = bus_if->drvr; brcmf_msgbuf_stats_read() local
1500 brcmf_msgbuf_debugfs_create(struct brcmf_pub *drvr) brcmf_msgbuf_debugfs_create() argument
1505 brcmf_proto_msgbuf_attach(struct brcmf_pub *drvr) brcmf_proto_msgbuf_attach() argument
1635 brcmf_proto_msgbuf_detach(struct brcmf_pub *drvr) brcmf_proto_msgbuf_detach() argument
[all...]
H A Dcommon.c82 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_set_joinpref_default() local
99 bphy_err(drvr, "Set join_pref error (%d)\n", err); in brcmf_c_set_joinpref_default()
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()
139 bphy_err(drvr, "get CLM blob file name failed (%d)\n", err); in brcmf_c_process_clm_blob()
176 bphy_err(drvr, "clmload (%zu byte file) failed (%d)\n", in brcmf_c_process_clm_blob()
181 bphy_err(drvr, "get clmload_status failed (%d)\n", err); in brcmf_c_process_clm_blob()
195 struct brcmf_pub *drvr in brcmf_c_preinit_dcmds() local
[all...]
H A Dcfg80211.c476 struct brcmf_pub *drvr = ifp->drvr; in send_key_to_dongle() local
488 bphy_err(drvr, "wsec_key error (%d)\n", err); in send_key_to_dongle()
504 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
507 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
511 static int brcmf_get_first_free_bsscfgidx(struct brcmf_pub *drvr) in brcmf_get_first_free_bsscfgidx() argument
519 if (!drvr->iflist[bsscfgidx]) in brcmf_get_first_free_bsscfgidx()
528 struct brcmf_pub *drvr = ifp->drvr; in brcmf_cfg80211_request_ap_if() local
534 bsscfgidx = brcmf_get_first_free_bsscfgidx(ifp->drvr); in brcmf_cfg80211_request_ap_if()
563 struct brcmf_pub *drvr = cfg->pub; brcmf_ap_add_vif() local
713 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_add_iface() local
762 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_mpc() local
779 struct brcmf_pub *drvr = cfg->pub; brcmf_notify_escan_complete() local
859 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_del_ap_iface() local
939 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_change_iface() local
1105 struct brcmf_pub *drvr = cfg->pub; brcmf_run_escan() local
1174 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_scan() local
1242 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_rts() local
1255 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_frag() local
1269 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_retry() local
1351 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_pmk() local
1375 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_sae_password() local
1401 struct brcmf_pub *drvr = cfg->pub; brcmf_link_down() local
1440 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_join_ibss() local
1612 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_wpa_version() local
1641 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_auth_type() local
1681 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_wsec_mode() local
1757 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_key_mgmt() local
1896 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_sharedkey() local
1974 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_join_pref() local
2024 struct brcmf_pub *drvr = ifp->drvr; brcmf_cfg80211_connect() local
2257 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_disconnect() local
2287 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_set_tx_power() local
2337 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_get_tx_power() local
2362 struct brcmf_pub *drvr = ifp->drvr; brcmf_cfg80211_config_default_key() local
2435 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_add_key() local
2560 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_get_key() local
2625 struct brcmf_pub *drvr = ifp->drvr; brcmf_cfg80211_reconfigure_wep() local
2679 struct brcmf_pub *drvr = ifp->drvr; brcmf_fill_bss_param() local
2717 struct brcmf_pub *drvr = ifp->drvr; brcmf_cfg80211_get_station_ibss() local
2768 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_get_station() local
2891 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_dump_station() local
2923 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_set_power_mgmt() local
2971 struct brcmf_pub *drvr = cfg->pub; brcmf_inform_single_bss() local
3043 struct brcmf_pub *drvr = cfg->pub; brcmf_inform_bss() local
3070 struct brcmf_pub *drvr = cfg->pub; brcmf_inform_ibss() local
3152 struct brcmf_pub *drvr = cfg->pub; brcmf_update_bss_info() local
3226 struct brcmf_pub *drvr = cfg->pub; brcmf_escan_timeout() local
3277 struct brcmf_pub *drvr = ifp->drvr; brcmf_cfg80211_escan_handler() local
3512 struct brcmf_pub *drvr = ifp->drvr; brcmf_notify_sched_scan_results() local
3602 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_sched_scan_start() local
3687 struct brcmf_pub *drvr = ifp->drvr; brcmf_wowl_nd_results() local
3737 struct brcmf_pub *drvr = cfg->pub; brcmf_report_wowl_wakeind() local
3978 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_set_pmksa() local
4018 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_del_pmksa() local
4074 struct brcmf_pub *drvr = ifp->drvr; brcmf_configure_opensecurity() local
4117 struct brcmf_pub *drvr = ifp->drvr; brcmf_configure_wpaie() local
4431 struct brcmf_pub *drvr; brcmf_vif_set_mgmt_ie() local
4613 struct brcmf_pub *drvr = vif->ifp->drvr; brcmf_config_ap_mgmt_ie() local
4695 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_start_ap() local
4941 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_stop_ap() local
5027 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_del_station() local
5059 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_change_station() local
5104 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_mgmt_tx() local
5213 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_cancel_remain_on_channel() local
5236 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_get_channel() local
5371 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_tdls_oper() local
5401 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_update_conn_params() local
5425 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_set_rekey_data() local
5818 struct brcmf_pub *drvr = cfg->pub; brcmf_get_assoc_ies() local
6011 struct brcmf_pub *drvr = cfg->pub; brcmf_notify_connect_status_ap() local
6331 struct brcmf_pub *drvr = ifp->drvr; brcmf_dongle_roam() local
6383 struct brcmf_pub *drvr = ifp->drvr; brcmf_dongle_scantime() local
6435 struct brcmf_pub *drvr = cfg->pub; brcmf_construct_chaninfo() local
6568 struct brcmf_pub *drvr = cfg->pub; brcmf_enable_bw40_2g() local
6653 struct brcmf_pub *drvr = ifp->drvr; brcmf_get_bwcap() local
6764 struct brcmf_pub *drvr = cfg->pub; brcmf_setup_wiphybands() local
7041 struct brcmf_pub *drvr = cfg->pub; brcmf_wiphy_wowl_params() local
7070 struct brcmf_pub *drvr = ifp->drvr; brcmf_setup_wiphy() local
7208 struct brcmf_pub *drvr = cfg->pub; brcmf_config_dongle() local
7376 brcmf_translate_country_code(struct brcmf_pub *drvr, char alpha2[2], struct brcmf_fil_country_le *ccreq) brcmf_translate_country_code() argument
7427 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_reg_notifier() local
7491 brcmf_cfg80211_attach(struct brcmf_pub *drvr, struct cfg80211_ops *ops, bool p2pdev_forced) brcmf_cfg80211_attach() argument
[all...]
H A Dbcdc.h9 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
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dproto.h19 int (*hdrpull)(struct brcmf_pub *drvr, bool do_fws,
21 int (*query_dcmd)(struct brcmf_pub *drvr, int ifidx, uint cmd,
23 int (*set_dcmd)(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf,
25 int (*tx_queue_data)(struct brcmf_pub *drvr, int ifidx,
27 int (*txdata)(struct brcmf_pub *drvr, int ifidx, u8 offset,
29 void (*configure_addr_mode)(struct brcmf_pub *drvr, int ifidx,
31 void (*delete_peer)(struct brcmf_pub *drvr, int ifidx,
33 void (*add_tdls_peer)(struct brcmf_pub *drvr, int ifidx,
39 int (*init_done)(struct brcmf_pub *drvr);
40 void (*debugfs_create)(struct brcmf_pub *drvr);
48 brcmf_proto_hdrpull(struct brcmf_pub *drvr, bool do_fws, struct sk_buff *skb, struct brcmf_if **ifp) brcmf_proto_hdrpull() argument
63 brcmf_proto_query_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len, int *fwerr) brcmf_proto_query_dcmd() argument
69 brcmf_proto_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len, int *fwerr) brcmf_proto_set_dcmd() argument
76 brcmf_proto_tx_queue_data(struct brcmf_pub *drvr, int ifidx, struct sk_buff *skb) brcmf_proto_tx_queue_data() argument
82 brcmf_proto_txdata(struct brcmf_pub *drvr, int ifidx, u8 offset, struct sk_buff *skb) brcmf_proto_txdata() argument
88 brcmf_proto_configure_addr_mode(struct brcmf_pub *drvr, int ifidx, enum proto_addr_mode addr_mode) brcmf_proto_configure_addr_mode() argument
94 brcmf_proto_delete_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_proto_delete_peer() argument
99 brcmf_proto_add_tdls_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_proto_add_tdls_peer() argument
118 brcmf_proto_add_if(struct brcmf_pub *drvr, struct brcmf_if *ifp) brcmf_proto_add_if() argument
126 brcmf_proto_del_if(struct brcmf_pub *drvr, struct brcmf_if *ifp) brcmf_proto_del_if() argument
134 brcmf_proto_reset_if(struct brcmf_pub *drvr, struct brcmf_if *ifp) brcmf_proto_reset_if() argument
142 brcmf_proto_init_done(struct brcmf_pub *drvr) brcmf_proto_init_done() argument
150 brcmf_proto_debugfs_create(struct brcmf_pub *drvr) brcmf_proto_debugfs_create() argument
[all...]
H A Dcore.c78 struct brcmf_if *brcmf_get_ifp(struct brcmf_pub *drvr, int ifidx) in brcmf_get_ifp() argument
84 bphy_err(drvr, "ifidx %d out of range\n", ifidx); in brcmf_get_ifp()
89 bsscfgidx = drvr->if2bss[ifidx]; in brcmf_get_ifp()
91 ifp = drvr->iflist[bsscfgidx]; in brcmf_get_ifp()
137 struct brcmf_pub *drvr = ifp->drvr; in _brcmf_set_multicast_list() local
175 bphy_err(drvr, "Setting mcast_list failed, %d\n", err); in _brcmf_set_multicast_list()
188 bphy_err(drvr, "Setting allmulti failed, %d\n", err); in _brcmf_set_multicast_list()
196 bphy_info_once(drvr, "BRCMF_C_SET_PROMISC unsupported\n"); in _brcmf_set_multicast_list()
198 bphy_err(drvr, "Settin in _brcmf_set_multicast_list()
209 struct brcmf_pub *drvr = ifp->drvr; _brcmf_update_ndtable() local
293 struct brcmf_pub *drvr = ifp->drvr; brcmf_netdev_start_xmit() local
478 brcmf_rx_hdrpull(struct brcmf_pub *drvr, struct sk_buff *skb, struct brcmf_if **ifp) brcmf_rx_hdrpull() argument
502 struct brcmf_pub *drvr = bus_if->drvr; brcmf_rx_frame() local
527 struct brcmf_pub *drvr = bus_if->drvr; brcmf_rx_event() local
562 struct brcmf_pub *drvr = ifp->drvr; brcmf_ethtool_get_drvinfo() local
594 struct brcmf_pub *drvr = ifp->drvr; brcmf_netdev_open() local
635 struct brcmf_pub *drvr = ifp->drvr; brcmf_net_attach() local
693 struct brcmf_pub *drvr = ifp->drvr; brcmf_net_mon_open() local
719 struct brcmf_pub *drvr = ifp->drvr; brcmf_net_mon_stop() local
749 struct brcmf_pub *drvr = ifp->drvr; brcmf_net_mon_attach() local
815 struct brcmf_pub *drvr = ifp->drvr; brcmf_net_p2p_attach() local
842 brcmf_add_if(struct brcmf_pub *drvr, s32 bsscfgidx, s32 ifidx, bool is_p2pdev, const char *name, u8 *mac_addr) brcmf_add_if() argument
908 brcmf_del_if(struct brcmf_pub *drvr, s32 bsscfgidx, bool locked) brcmf_del_if() argument
970 struct brcmf_pub *drvr = ifp->drvr; brcmf_psm_watchdog_notify() local
990 struct brcmf_pub *drvr = container_of(nb, struct brcmf_pub, brcmf_inetaddr_changed() local
1081 struct brcmf_pub *drvr = container_of(nb, struct brcmf_pub, brcmf_inet6addr_changed() local
1162 struct brcmf_pub *drvr = container_of(work, struct brcmf_pub, brcmf_core_bus_reset() local
1171 struct brcmf_pub *drvr = file->private_data; bus_reset_write() local
1191 brcmf_bus_started(struct brcmf_pub *drvr, struct cfg80211_ops *ops) brcmf_bus_started() argument
1296 struct brcmf_pub *drvr = NULL; brcmf_alloc() local
1324 struct brcmf_pub *drvr = bus_if->drvr; brcmf_attach() local
1375 struct brcmf_pub *drvr = bus_if->drvr; brcmf_bus_add_txhdrlen() local
1385 struct brcmf_pub *drvr = bus_if->drvr; brcmf_dev_reset() local
1405 struct brcmf_pub *drvr = bus_if->drvr; brcmf_fw_crashed() local
1419 struct brcmf_pub *drvr = bus_if->drvr; brcmf_detach() local
1462 struct brcmf_pub *drvr = bus_if->drvr; brcmf_free() local
1489 struct brcmf_pub *drvr = ifp->drvr; brcmf_netdev_wait_pend8021x() local
1506 struct brcmf_pub *drvr = bus->drvr; brcmf_bus_change_state() local
[all...]
H A Dbcdc.c101 struct brcmf_fws_info *drvr_to_fws(struct brcmf_pub *drvr) in drvr_to_fws() argument
103 struct brcmf_bcdc *bcdc = drvr->proto->pd; in drvr_to_fws()
109 brcmf_proto_bcdc_msg(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, in brcmf_proto_bcdc_msg() argument
112 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd; in brcmf_proto_bcdc_msg()
137 return brcmf_bus_txctl(drvr->bus_if, (unsigned char *)&bcdc->msg, len); in brcmf_proto_bcdc_msg()
140 static int brcmf_proto_bcdc_cmplt(struct brcmf_pub *drvr, u32 id, u32 len) in brcmf_proto_bcdc_cmplt() argument
143 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd; in brcmf_proto_bcdc_cmplt()
148 ret = brcmf_bus_rxctl(drvr->bus_if, (unsigned char *)&bcdc->msg, in brcmf_proto_bcdc_cmplt()
158 brcmf_proto_bcdc_query_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, in brcmf_proto_bcdc_query_dcmd() argument
161 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr in brcmf_proto_bcdc_query_dcmd()
216 brcmf_proto_bcdc_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len, int *fwerr) brcmf_proto_bcdc_set_dcmd() argument
257 brcmf_proto_bcdc_hdrpush(struct brcmf_pub *drvr, int ifidx, u8 offset, struct sk_buff *pktbuf) brcmf_proto_bcdc_hdrpush() argument
281 brcmf_proto_bcdc_hdrpull(struct brcmf_pub *drvr, bool do_fws, struct sk_buff *pktbuf, struct brcmf_if **ifp) brcmf_proto_bcdc_hdrpull() argument
333 brcmf_proto_bcdc_tx_queue_data(struct brcmf_pub *drvr, int ifidx, struct sk_buff *skb) brcmf_proto_bcdc_tx_queue_data() argument
346 brcmf_proto_bcdc_txdata(struct brcmf_pub *drvr, int ifidx, u8 offset, struct sk_buff *pktbuf) brcmf_proto_bcdc_txdata() argument
356 struct brcmf_pub *drvr = bus_if->drvr; brcmf_proto_bcdc_txflowblock() local
383 brcmf_proto_bcdc_configure_addr_mode(struct brcmf_pub *drvr, int ifidx, enum proto_addr_mode addr_mode) brcmf_proto_bcdc_configure_addr_mode() argument
389 brcmf_proto_bcdc_delete_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_proto_bcdc_delete_peer() argument
395 brcmf_proto_bcdc_add_tdls_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_proto_bcdc_add_tdls_peer() argument
425 brcmf_proto_bcdc_init_done(struct brcmf_pub *drvr) brcmf_proto_bcdc_init_done() argument
438 brcmf_proto_bcdc_debugfs_create(struct brcmf_pub *drvr) brcmf_proto_bcdc_debugfs_create() argument
443 brcmf_proto_bcdc_attach(struct brcmf_pub *drvr) brcmf_proto_bcdc_attach() argument
483 brcmf_proto_bcdc_detach(struct brcmf_pub *drvr) brcmf_proto_bcdc_detach() argument
[all...]
H A Dfwil.c99 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_cmd_data() local
102 if (drvr->bus_if->state != BRCMF_BUS_UP) { in brcmf_fil_cmd_data()
103 bphy_err(drvr, "bus is down. we have nothing to do.\n"); in brcmf_fil_cmd_data()
110 err = brcmf_proto_set_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data()
113 err = brcmf_proto_query_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data()
134 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
141 mutex_unlock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
151 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_get()
159 mutex_unlock(&ifp->drvr in brcmf_fil_cmd_data_get()
219 struct brcmf_pub *drvr = ifp->drvr; brcmf_fil_iovar_data_set() local
247 struct brcmf_pub *drvr = ifp->drvr; brcmf_fil_iovar_data_get() local
343 struct brcmf_pub *drvr = ifp->drvr; brcmf_fil_bsscfg_data_set() local
372 struct brcmf_pub *drvr = ifp->drvr; brcmf_fil_bsscfg_data_get() local
444 struct brcmf_pub *drvr = ifp->drvr; brcmf_fil_xtlv_data_set() local
472 struct brcmf_pub *drvr = ifp->drvr; brcmf_fil_xtlv_data_get() local
[all...]
H A Dproto.c20 int brcmf_proto_attach(struct brcmf_pub *drvr) in brcmf_proto_attach() argument
30 drvr->proto = proto; in brcmf_proto_attach()
32 if (drvr->bus_if->proto_type == BRCMF_PROTO_BCDC) { in brcmf_proto_attach()
33 if (brcmf_proto_bcdc_attach(drvr)) in brcmf_proto_attach()
35 } else if (drvr->bus_if->proto_type == BRCMF_PROTO_MSGBUF) { in brcmf_proto_attach()
36 if (brcmf_proto_msgbuf_attach(drvr)) in brcmf_proto_attach()
39 bphy_err(drvr, "Unsupported proto type %d\n", in brcmf_proto_attach()
40 drvr->bus_if->proto_type); in brcmf_proto_attach()
48 bphy_err(drvr, "Not all proto handlers have been installed\n"); in brcmf_proto_attach()
55 drvr in brcmf_proto_attach()
59 brcmf_proto_detach(struct brcmf_pub *drvr) brcmf_proto_detach() argument
[all...]
H A Dfeature.c68 u32 feats = bus_if->drvr->feat_flags; in brcmf_feat_debugfs_read()
69 u32 quirks = bus_if->drvr->chip_quirks; in brcmf_feat_debugfs_read()
195 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get()
216 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_data_set()
228 struct brcmf_pub *drvr = ifp->drvr; in brcmf_feat_firmware_capabilities() local
235 bphy_err(drvr, "could not get firmware cap (%d)\n", err); in brcmf_feat_firmware_capabilities()
246 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_firmware_capabilities()
260 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_feat_fwcap_debugfs_read() local
287 brcmf_feat_attach(struct brcmf_pub *drvr) brcmf_feat_attach() argument
366 brcmf_feat_debugfs_create(struct brcmf_pub *drvr) brcmf_feat_debugfs_create() argument
[all...]
H A Dfwvid.h13 int (*attach)(struct brcmf_pub *drvr);
14 void (*detach)(struct brcmf_pub *drvr);
23 int brcmf_fwvid_attach_ops(struct brcmf_pub *drvr);
24 void brcmf_fwvid_detach_ops(struct brcmf_pub *drvr);
25 const char *brcmf_fwvid_vendor_name(struct brcmf_pub *drvr);
27 static inline int brcmf_fwvid_attach(struct brcmf_pub *drvr) in brcmf_fwvid_attach() argument
31 ret = brcmf_fwvid_attach_ops(drvr); in brcmf_fwvid_attach()
35 return drvr->vops->attach(drvr); in brcmf_fwvid_attach()
38 static inline void brcmf_fwvid_detach(struct brcmf_pub *drvr) in brcmf_fwvid_detach() argument
[all...]
H A Dfweh.c95 static int brcmf_fweh_call_event_handler(struct brcmf_pub *drvr, in brcmf_fweh_call_event_handler() argument
105 fweh = &ifp->drvr->fweh; in brcmf_fweh_call_event_handler()
111 bphy_err(drvr, "unhandled event %d ignored\n", code); in brcmf_fweh_call_event_handler()
113 bphy_err(drvr, "no interface object\n"); in brcmf_fweh_call_event_handler()
121 * @drvr: driver information object.
125 static void brcmf_fweh_handle_if_event(struct brcmf_pub *drvr, in brcmf_fweh_handle_if_event() argument
145 (drvr->fweh.p2pdev_setup_ongoing)))); in brcmf_fweh_handle_if_event()
151 bphy_err(drvr, "invalid interface index: %u\n", ifevent->ifidx); in brcmf_fweh_handle_if_event()
155 ifp = drvr->iflist[ifevent->bsscfgidx]; in brcmf_fweh_handle_if_event()
160 ifp = brcmf_add_if(drvr, ifeven in brcmf_fweh_handle_if_event()
215 struct brcmf_pub *drvr; brcmf_fweh_event_worker() local
294 brcmf_fweh_attach(struct brcmf_pub *drvr) brcmf_fweh_attach() argument
307 brcmf_fweh_detach(struct brcmf_pub *drvr) brcmf_fweh_detach() argument
326 brcmf_fweh_register(struct brcmf_pub *drvr, enum brcmf_fweh_event_code code, brcmf_fweh_handler_t handler) brcmf_fweh_register() argument
345 brcmf_fweh_unregister(struct brcmf_pub *drvr, enum brcmf_fweh_event_code code) brcmf_fweh_unregister() argument
360 struct brcmf_pub *drvr = ifp->drvr; brcmf_fweh_activate_events() local
396 brcmf_fweh_process_event(struct brcmf_pub *drvr, struct brcmf_event *event_packet, u32 packet_len, gfp_t gfp) brcmf_fweh_process_event() argument
[all...]
H A Dcommon.c82 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_set_joinpref_default() local
99 bphy_err(drvr, "Set join_pref error (%d)\n", err); in brcmf_c_set_joinpref_default()
124 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_download_blob() local
163 bphy_err(drvr, "%s (%zu byte file) failed (%d)\n", in brcmf_c_download_blob()
168 bphy_err(drvr, "get %s failed (%d)\n", statvar, err); in brcmf_c_download_blob()
180 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_process_clm_blob() local
181 struct brcmf_bus *bus = drvr in brcmf_c_process_clm_blob()
203 struct brcmf_pub *drvr = ifp->drvr; brcmf_c_process_txcap_blob() local
251 struct brcmf_pub *drvr = ifp->drvr; brcmf_c_process_cal_blob() local
268 struct brcmf_pub *drvr = ifp->drvr; brcmf_c_preinit_dcmds() local
[all...]
H A Dmsgbuf.c230 struct brcmf_pub *drvr; member
423 brcmf_msgbuf_release_array(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_release_pktids()
426 brcmf_msgbuf_release_array(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_release_pktids()
431 static int brcmf_msgbuf_tx_ioctl(struct brcmf_pub *drvr, int ifidx, in brcmf_msgbuf_tx_ioctl() argument
434 struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd; in brcmf_msgbuf_tx_ioctl()
445 bphy_err(drvr, "Failed to reserve space in commonring\n"); in brcmf_msgbuf_tx_ioctl()
492 static int brcmf_msgbuf_query_dcmd(struct brcmf_pub *drvr, int ifidx, in brcmf_msgbuf_query_dcmd() argument
495 struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd; in brcmf_msgbuf_query_dcmd()
503 err = brcmf_msgbuf_tx_ioctl(drvr, ifidx, cmd, buf, len); in brcmf_msgbuf_query_dcmd()
509 bphy_err(drvr, "Timeou in brcmf_msgbuf_query_dcmd()
530 brcmf_msgbuf_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len, int *fwerr) brcmf_msgbuf_set_dcmd() argument
537 brcmf_msgbuf_hdrpull(struct brcmf_pub *drvr, bool do_fws, struct sk_buff *skb, struct brcmf_if **ifp) brcmf_msgbuf_hdrpull() argument
586 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_flowring_create_worker() local
701 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_txflow() local
800 brcmf_msgbuf_tx_queue_data(struct brcmf_pub *drvr, int ifidx, struct sk_buff *skb) brcmf_msgbuf_tx_queue_data() argument
829 brcmf_msgbuf_configure_addr_mode(struct brcmf_pub *drvr, int ifidx, enum proto_addr_mode addr_mode) brcmf_msgbuf_configure_addr_mode() argument
839 brcmf_msgbuf_delete_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_msgbuf_delete_peer() argument
848 brcmf_msgbuf_add_tdls_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) brcmf_msgbuf_add_tdls_peer() argument
905 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_rxbuf_data_post() local
1013 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_rxbuf_ctrl_post() local
1105 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_event() local
1149 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_rx_complete() local
1208 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_gen_status() local
1220 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_ring_status() local
1236 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_flow_ring_create_response() local
1265 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_flow_ring_delete_response() local
1290 struct brcmf_pub *drvr = msgbuf->drvr; brcmf_msgbuf_process_msgtype() local
1372 struct brcmf_pub *drvr = bus_if->drvr; brcmf_proto_msgbuf_rx_trigger() local
1401 brcmf_msgbuf_delete_flowring(struct brcmf_pub *drvr, u16 flowid) brcmf_msgbuf_delete_flowring() argument
1472 struct brcmf_pub *drvr = bus_if->drvr; brcmf_msgbuf_stats_read() local
1522 brcmf_msgbuf_debugfs_create(struct brcmf_pub *drvr) brcmf_msgbuf_debugfs_create() argument
1527 brcmf_proto_msgbuf_attach(struct brcmf_pub *drvr) brcmf_proto_msgbuf_attach() argument
1657 brcmf_proto_msgbuf_detach(struct brcmf_pub *drvr) brcmf_proto_msgbuf_detach() argument
[all...]
H A Dfwvid.c153 int brcmf_fwvid_attach_ops(struct brcmf_pub *drvr) in brcmf_fwvid_attach_ops() argument
155 enum brcmf_fwvendor fwvid = drvr->bus_if->fwvid; in brcmf_fwvid_attach_ops()
162 dev_name(drvr->bus_if->dev)); in brcmf_fwvid_attach_ops()
170 drvr->vops = fwvid_list[fwvid].vops; in brcmf_fwvid_attach_ops()
171 list_add(&drvr->bus_if->list, &fwvid_list[fwvid].drvr_list); in brcmf_fwvid_attach_ops()
178 void brcmf_fwvid_detach_ops(struct brcmf_pub *drvr) in brcmf_fwvid_detach_ops() argument
180 enum brcmf_fwvendor fwvid = drvr->bus_if->fwvid; in brcmf_fwvid_detach_ops()
186 dev_name(drvr->bus_if->dev)); in brcmf_fwvid_detach_ops()
190 if (drvr->vops) { in brcmf_fwvid_detach_ops()
191 drvr in brcmf_fwvid_detach_ops()
197 brcmf_fwvid_vendor_name(struct brcmf_pub *drvr) brcmf_fwvid_vendor_name() argument
[all...]
H A Dcfg80211.c549 struct brcmf_pub *drvr = ifp->drvr; in send_key_to_dongle() local
561 bphy_err(drvr, "wsec_key error (%d)\n", err); in send_key_to_dongle()
577 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
580 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
584 static int brcmf_get_first_free_bsscfgidx(struct brcmf_pub *drvr) in brcmf_get_first_free_bsscfgidx() argument
592 if (!drvr->iflist[bsscfgidx]) in brcmf_get_first_free_bsscfgidx()
601 u8 mac_idx = ifp->drvr->sta_mac_idx; in brcmf_set_vif_sta_macaddr()
609 ifp->drvr->sta_mac_idx = mac_idx; in brcmf_set_vif_sta_macaddr()
712 struct brcmf_pub *drvr in brcmf_cfg80211_request_ap_if() local
824 struct brcmf_pub *drvr = cfg->pub; brcmf_apsta_add_vif() local
980 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_add_iface() local
1029 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_mpc() local
1168 struct brcmf_pub *drvr = cfg->pub; brcmf_notify_escan_complete() local
1250 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_del_apsta_iface() local
1330 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_change_iface() local
1426 struct brcmf_pub *drvr = cfg->pub; brcmf_run_escan() local
1514 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_scan() local
1582 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_rts() local
1595 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_frag() local
1609 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_retry() local
1691 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_pmk() local
1715 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_sae_password() local
1741 struct brcmf_pub *drvr = cfg->pub; brcmf_link_down() local
1782 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_join_ibss() local
1954 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_wpa_version() local
1983 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_auth_type() local
2023 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_wsec_mode() local
2099 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_key_mgmt() local
2246 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_sharedkey() local
2324 struct brcmf_pub *drvr = ifp->drvr; brcmf_set_join_pref() local
2374 struct brcmf_pub *drvr = ifp->drvr; brcmf_cfg80211_connect() local
2613 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_disconnect() local
2645 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_set_tx_power() local
2695 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_get_tx_power() local
2721 struct brcmf_pub *drvr = ifp->drvr; brcmf_cfg80211_config_default_key() local
2795 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_add_key() local
2921 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_get_key() local
2987 struct brcmf_pub *drvr = ifp->drvr; brcmf_cfg80211_reconfigure_wep() local
3041 struct brcmf_pub *drvr = ifp->drvr; brcmf_fill_bss_param() local
3079 struct brcmf_pub *drvr = ifp->drvr; brcmf_cfg80211_get_station_ibss() local
3130 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_get_station() local
3253 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_dump_station() local
3290 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_set_power_mgmt() local
3338 struct brcmf_pub *drvr = cfg->pub; brcmf_inform_single_bss() local
3410 struct brcmf_pub *drvr = cfg->pub; brcmf_inform_bss() local
3437 struct brcmf_pub *drvr = cfg->pub; brcmf_inform_ibss() local
3519 struct brcmf_pub *drvr = cfg->pub; brcmf_update_bss_info() local
3569 struct brcmf_pub *drvr = cfg->pub; brcmf_escan_timeout() local
3620 struct brcmf_pub *drvr = ifp->drvr; brcmf_cfg80211_escan_handler() local
3857 struct brcmf_pub *drvr = ifp->drvr; brcmf_notify_sched_scan_results() local
3947 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_sched_scan_start() local
4032 struct brcmf_pub *drvr = ifp->drvr; brcmf_wowl_nd_results() local
4082 struct brcmf_pub *drvr = cfg->pub; brcmf_report_wowl_wakeind() local
4375 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_set_pmksa() local
4420 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_del_pmksa() local
4486 struct brcmf_pub *drvr = ifp->drvr; brcmf_configure_opensecurity() local
4529 struct brcmf_pub *drvr = ifp->drvr; brcmf_configure_wpaie() local
4843 struct brcmf_pub *drvr; brcmf_vif_set_mgmt_ie() local
5025 struct brcmf_pub *drvr = vif->ifp->drvr; brcmf_config_ap_mgmt_ie() local
5107 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_start_ap() local
5354 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_stop_ap() local
5437 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_del_station() local
5469 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_change_station() local
5514 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_mgmt_tx() local
5665 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_cancel_remain_on_channel() local
5689 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_get_channel() local
5824 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_tdls_oper() local
5854 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_update_conn_params() local
5878 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_set_rekey_data() local
6272 struct brcmf_pub *drvr = cfg->pub; brcmf_get_assoc_ies() local
6469 struct brcmf_pub *drvr = cfg->pub; brcmf_notify_connect_status_ap() local
6838 struct brcmf_pub *drvr = ifp->drvr; brcmf_dongle_roam() local
6890 struct brcmf_pub *drvr = ifp->drvr; brcmf_dongle_scantime() local
6942 struct brcmf_pub *drvr = cfg->pub; brcmf_construct_chaninfo() local
7075 struct brcmf_pub *drvr = cfg->pub; brcmf_enable_bw40_2g() local
7160 struct brcmf_pub *drvr = ifp->drvr; brcmf_get_bwcap() local
7271 struct brcmf_pub *drvr = cfg->pub; brcmf_setup_wiphybands() local
7553 struct brcmf_pub *drvr = cfg->pub; brcmf_wiphy_wowl_params() local
7582 struct brcmf_pub *drvr = ifp->drvr; brcmf_setup_wiphy() local
7722 struct brcmf_pub *drvr = cfg->pub; brcmf_config_dongle() local
7890 brmcf_use_iso3166_ccode_fallback(struct brcmf_pub *drvr) brmcf_use_iso3166_ccode_fallback() argument
7906 brcmf_translate_country_code(struct brcmf_pub *drvr, char alpha2[2], struct brcmf_fil_country_le *ccreq) brcmf_translate_country_code() argument
8190 struct brcmf_pub *drvr = cfg->pub; brcmf_cfg80211_reg_notifier() local
8254 brcmf_cfg80211_attach(struct brcmf_pub *drvr, struct cfg80211_ops *ops, bool p2pdev_forced) brcmf_cfg80211_attach() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddebug.c48 void brcms_debugfs_attach(struct brcms_pub *drvr) in brcms_debugfs_attach() argument
50 drvr->dbgfs_dir = debugfs_create_dir( in brcms_debugfs_attach()
51 dev_name(&drvr->wlc->hw->d11core->dev), root_folder); in brcms_debugfs_attach()
54 void brcms_debugfs_detach(struct brcms_pub *drvr) in brcms_debugfs_detach() argument
56 debugfs_remove_recursive(drvr->dbgfs_dir); in brcms_debugfs_detach()
59 struct dentry *brcms_debugfs_get_devdir(struct brcms_pub *drvr) in brcms_debugfs_get_devdir() argument
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 in brcms_debugfs_hardware_read()
100 struct brcms_pub *drvr = s->private; brcms_debugfs_macstat_read() local
171 struct brcms_pub *drvr; global() member
190 brcms_debugfs_add_entry(struct brcms_pub *drvr, const char *fn, int (*read_fn)(struct seq_file *seq, void *data)) brcms_debugfs_add_entry() argument
207 brcms_debugfs_create_files(struct brcms_pub *drvr) brcms_debugfs_create_files() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddebug.c48 void brcms_debugfs_attach(struct brcms_pub *drvr) in brcms_debugfs_attach() argument
50 drvr->dbgfs_dir = debugfs_create_dir( in brcms_debugfs_attach()
51 dev_name(&drvr->wlc->hw->d11core->dev), root_folder); in brcms_debugfs_attach()
54 void brcms_debugfs_detach(struct brcms_pub *drvr) in brcms_debugfs_detach() argument
56 debugfs_remove_recursive(drvr->dbgfs_dir); in brcms_debugfs_detach()
59 struct dentry *brcms_debugfs_get_devdir(struct brcms_pub *drvr) in brcms_debugfs_get_devdir() argument
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 in brcms_debugfs_hardware_read()
100 struct brcms_pub *drvr = s->private; brcms_debugfs_macstat_read() local
171 struct brcms_pub *drvr; global() member
190 brcms_debugfs_add_entry(struct brcms_pub *drvr, const char *fn, int (*read_fn)(struct seq_file *seq, void *data)) brcms_debugfs_add_entry() argument
207 brcms_debugfs_create_files(struct brcms_pub *drvr) brcms_debugfs_create_files() argument
[all...]

Completed in 29 milliseconds

123