Home
last modified time | relevance | path

Searched refs:ifp (Results 1 - 25 of 163) sorted by relevance

1234567

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcore.c65 char *brcmf_ifname(struct brcmf_if *ifp) in brcmf_ifname() argument
67 if (!ifp) in brcmf_ifname()
70 if (ifp->ndev) in brcmf_ifname()
71 return ifp->ndev->name; in brcmf_ifname()
78 struct brcmf_if *ifp; in brcmf_get_ifp() local
86 ifp = NULL; in brcmf_get_ifp()
89 ifp = drvr->iflist[bsscfgidx]; in brcmf_get_ifp()
91 return ifp; in brcmf_get_ifp()
94 void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable) in brcmf_configure_arp_nd_offload() argument
106 err = brcmf_fil_iovar_int_set(ifp, "arp_o in brcmf_configure_arp_nd_offload()
133 struct brcmf_if *ifp = container_of(work, struct brcmf_if, _brcmf_set_multicast_list() local
200 struct brcmf_if *ifp = container_of(work, struct brcmf_if, _brcmf_update_ndtable() local
228 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_set_mac_address() local
249 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_set_multicast_list() local
289 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_start_xmit() local
376 brcmf_txflowblock_if(struct brcmf_if *ifp, enum brcmf_netif_stop_reason reason, bool state) brcmf_txflowblock_if() argument
400 brcmf_netif_rx(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq) brcmf_netif_rx() argument
434 brcmf_netif_mon_rx(struct brcmf_if *ifp, struct sk_buff *skb) brcmf_netif_mon_rx() argument
483 brcmf_rx_hdrpull(struct brcmf_pub *drvr, struct sk_buff *skb, struct brcmf_if **ifp) brcmf_rx_hdrpull() argument
505 struct brcmf_if *ifp; brcmf_rx_frame() local
530 struct brcmf_if *ifp; brcmf_rx_event() local
543 brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success) brcmf_txfinalize() argument
566 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_ethtool_get_drvinfo() local
585 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_stop() local
598 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_open() local
638 brcmf_net_attach(struct brcmf_if *ifp, bool rtnl_locked) brcmf_net_attach() argument
697 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_net_mon_open() local
723 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_net_mon_stop() local
752 brcmf_net_mon_attach(struct brcmf_if *ifp) brcmf_net_mon_attach() argument
770 brcmf_net_setcarrier(struct brcmf_if *ifp, bool on) brcmf_net_setcarrier() argument
818 brcmf_net_p2p_attach(struct brcmf_if *ifp) brcmf_net_p2p_attach() argument
850 struct brcmf_if *ifp; brcmf_add_if() local
916 struct brcmf_if *ifp; brcmf_del_if() local
961 brcmf_remove_interface(struct brcmf_if *ifp, bool rtnl_locked) brcmf_remove_interface() argument
971 brcmf_psm_watchdog_notify(struct brcmf_if *ifp, const struct brcmf_event_msg *evtmsg, void *data) brcmf_psm_watchdog_notify() argument
999 struct brcmf_if *ifp; brcmf_inetaddr_changed() local
1089 struct brcmf_if *ifp; brcmf_inet6addr_changed() local
1199 struct brcmf_if *ifp; brcmf_bus_started() local
1471 struct brcmf_if *ifp = bus_if->drvr->iflist[0]; brcmf_iovar_data_set() local
1476 brcmf_get_pend_8021x_cnt(struct brcmf_if *ifp) brcmf_get_pend_8021x_cnt() argument
1481 brcmf_netdev_wait_pend8021x(struct brcmf_if *ifp) brcmf_netdev_wait_pend8021x() argument
[all...]
H A Dbtcoex.c99 * @ifp: interface
103 static s32 brcmf_btcoex_params_write(struct brcmf_if *ifp, u32 addr, u32 data) in brcmf_btcoex_params_write() argument
112 return brcmf_fil_iovar_data_set(ifp, "btc_params", in brcmf_btcoex_params_write()
118 * @ifp: interface
122 static s32 brcmf_btcoex_params_read(struct brcmf_if *ifp, u32 addr, u32 *data) in brcmf_btcoex_params_read() argument
126 return brcmf_fil_iovar_int_get(ifp, "btc_params", data); in brcmf_btcoex_params_read()
142 struct brcmf_if *ifp = brcmf_get_ifp(btci->cfg->pub, 0); in brcmf_btcoex_boost_wifi() local
151 brcmf_btcoex_params_read(ifp, 50, &btci->reg50); in brcmf_btcoex_boost_wifi()
152 brcmf_btcoex_params_read(ifp, 51, &btci->reg51); in brcmf_btcoex_boost_wifi()
153 brcmf_btcoex_params_read(ifp, 6 in brcmf_btcoex_boost_wifi()
196 brcmf_btcoex_is_sco_active(struct brcmf_if *ifp) brcmf_btcoex_is_sco_active() argument
235 struct brcmf_if *ifp = btci->vif->ifp; btcmf_btcoex_save_part1() local
255 struct brcmf_if *ifp; brcmf_btcoex_restore_part1() local
411 struct brcmf_if *ifp = btci->vif->ifp; brcmf_btcoex_dhcp_start() local
456 struct brcmf_if *ifp = brcmf_get_ifp(cfg->pub, 0); brcmf_btcoex_set_mode() local
[all...]
H A Dfeature.c132 * @ifp: interface to query.
136 static void brcmf_feat_iovar_int_get(struct brcmf_if *ifp, in brcmf_feat_iovar_int_get() argument
143 ifp->fwil_fwerr = true; in brcmf_feat_iovar_int_get()
145 err = brcmf_fil_iovar_int_get(ifp, name, &data); in brcmf_feat_iovar_int_get()
148 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get()
154 ifp->fwil_fwerr = false; in brcmf_feat_iovar_int_get()
157 static void brcmf_feat_iovar_data_set(struct brcmf_if *ifp, in brcmf_feat_iovar_data_set() argument
164 ifp->fwil_fwerr = true; in brcmf_feat_iovar_data_set()
166 err = brcmf_fil_iovar_data_set(ifp, name, data, len); in brcmf_feat_iovar_data_set()
169 ifp in brcmf_feat_iovar_data_set()
179 brcmf_feat_firmware_capabilities(struct brcmf_if *ifp) brcmf_feat_firmware_capabilities() argument
214 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); brcmf_feat_fwcap_debugfs_read() local
242 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); brcmf_feat_attach() local
320 brcmf_feat_is_enabled(struct brcmf_if *ifp, enum brcmf_feat_id id) brcmf_feat_is_enabled() argument
325 brcmf_feat_is_quirk_enabled(struct brcmf_if *ifp, enum brcmf_feat_quirk quirk) brcmf_feat_is_quirk_enabled() argument
[all...]
H A Dfwil.c96 brcmf_fil_cmd_data(struct brcmf_if *ifp, u32 cmd, void *data, u32 len, bool set) in brcmf_fil_cmd_data() argument
98 struct brcmf_pub *drvr = ifp->drvr; 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()
122 if (ifp->fwil_fwerr) in brcmf_fil_cmd_data()
129 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_set() argument
133 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
135 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d\n", ifp->ifidx, cmd, len); in brcmf_fil_cmd_data_set()
139 err = brcmf_fil_cmd_data(ifp, cmd, data, len, true); in brcmf_fil_cmd_data_set()
140 mutex_unlock(&ifp in brcmf_fil_cmd_data_set()
146 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) brcmf_fil_cmd_data_get() argument
164 brcmf_fil_cmd_int_set(struct brcmf_if *ifp, u32 cmd, u32 data) brcmf_fil_cmd_int_set() argument
178 brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data) brcmf_fil_cmd_int_get() argument
214 brcmf_fil_iovar_data_set(struct brcmf_if *ifp, char *name, const void *data, u32 len) brcmf_fil_iovar_data_set() argument
242 brcmf_fil_iovar_data_get(struct brcmf_if *ifp, char *name, void *data, u32 len) brcmf_fil_iovar_data_get() argument
272 brcmf_fil_iovar_int_set(struct brcmf_if *ifp, char *name, u32 data) brcmf_fil_iovar_int_set() argument
280 brcmf_fil_iovar_int_get(struct brcmf_if *ifp, char *name, u32 *data) brcmf_fil_iovar_int_get() argument
337 brcmf_fil_bsscfg_data_set(struct brcmf_if *ifp, char *name, void *data, u32 len) brcmf_fil_bsscfg_data_set() argument
366 brcmf_fil_bsscfg_data_get(struct brcmf_if *ifp, char *name, void *data, u32 len) brcmf_fil_bsscfg_data_get() argument
397 brcmf_fil_bsscfg_int_set(struct brcmf_if *ifp, char *name, u32 data) brcmf_fil_bsscfg_int_set() argument
406 brcmf_fil_bsscfg_int_get(struct brcmf_if *ifp, char *name, u32 *data) brcmf_fil_bsscfg_int_get() argument
[all...]
H A Dcfg80211.c474 send_key_to_dongle(struct brcmf_if *ifp, struct brcmf_wsec_key *key) in send_key_to_dongle() argument
476 struct brcmf_pub *drvr = ifp->drvr; in send_key_to_dongle()
482 brcmf_netdev_wait_pend8021x(ifp); in send_key_to_dongle()
484 err = brcmf_fil_bsscfg_data_set(ifp, "wsec_key", &key_le, in send_key_to_dongle()
496 struct brcmf_if *ifp; in brcmf_cfg80211_update_proto_addr_mode() local
499 ifp = vif->ifp; in brcmf_cfg80211_update_proto_addr_mode()
504 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
507 brcmf_proto_configure_addr_mode(ifp in brcmf_cfg80211_update_proto_addr_mode()
526 brcmf_cfg80211_request_ap_if(struct brcmf_if *ifp) brcmf_cfg80211_request_ap_if() argument
562 struct brcmf_if *ifp = netdev_priv(cfg_to_ndev(cfg)); brcmf_ap_add_vif() local
642 struct brcmf_if *ifp; brcmf_mon_add_vif() local
754 brcmf_scan_config_mpc(struct brcmf_if *ifp, int mpc) brcmf_scan_config_mpc() argument
760 brcmf_set_mpc(struct brcmf_if *ifp, int mpc) brcmf_set_mpc() argument
775 brcmf_notify_escan_complete(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, bool aborted, bool fw_abort) brcmf_notify_escan_complete() argument
858 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_del_ap_iface() local
937 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_change_iface() local
1102 brcmf_run_escan(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, struct cfg80211_scan_request *request) brcmf_run_escan() argument
1146 brcmf_do_escan(struct brcmf_if *ifp, struct cfg80211_scan_request *request) brcmf_do_escan() argument
1241 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_rts() local
1254 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_frag() local
1268 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_retry() local
1285 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_set_wiphy_params() local
1349 brcmf_set_pmk(struct brcmf_if *ifp, const u8 *pmk_data, u16 pmk_len) brcmf_set_pmk() argument
1372 brcmf_set_sae_password(struct brcmf_if *ifp, const u8 *pwd_data, u16 pwd_len) brcmf_set_sae_password() argument
1438 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_join_ibss() local
1588 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_leave_ibss() local
1610 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_wpa_version() local
1639 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_auth_type() local
1679 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_wsec_mode() local
1755 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_key_mgmt() local
1895 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_sharedkey() local
1960 brcmf_war_auth_type(struct brcmf_if *ifp, enum nl80211_auth_type type) brcmf_war_auth_type() argument
1971 brcmf_set_join_pref(struct brcmf_if *ifp, struct cfg80211_bss_selection *bss_select) brcmf_set_join_pref() argument
2021 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_connect() local
2255 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_disconnect() local
2286 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_set_tx_power() local
2361 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_config_default_key() local
2395 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_del_key() local
2434 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_add_key() local
2558 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_get_key() local
2610 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_config_default_mgmt_key() local
2623 brcmf_cfg80211_reconfigure_wep(struct brcmf_if *ifp) brcmf_cfg80211_reconfigure_wep() argument
2677 brcmf_fill_bss_param(struct brcmf_if *ifp, struct station_info *si) brcmf_fill_bss_param() argument
2714 brcmf_cfg80211_get_station_ibss(struct brcmf_if *ifp, struct station_info *sinfo) brcmf_cfg80211_get_station_ibss() argument
2767 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_get_station() local
2890 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_dump_station() local
2922 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_set_power_mgmt() local
3149 brcmf_update_bss_info(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp) brcmf_update_bss_info() argument
3274 brcmf_cfg80211_escan_handler(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_cfg80211_escan_handler() argument
3454 brcmf_start_internal_escan(struct brcmf_if *ifp, u32 fwmap, struct cfg80211_scan_request *request) brcmf_start_internal_escan() argument
3509 brcmf_notify_sched_scan_results(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_sched_scan_results() argument
3601 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_sched_scan_start() local
3626 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_sched_scan_stop() local
3645 brcmf_config_wowl_pattern(struct brcmf_if *ifp, u8 cmd[4], u8 *pattern, u32 patternsize, u8 *mask, u32 packet_offset) brcmf_config_wowl_pattern() argument
3684 brcmf_wowl_nd_results(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_wowl_nd_results() argument
3734 brcmf_report_wowl_wakeind(struct wiphy *wiphy, struct brcmf_if *ifp) brcmf_report_wowl_wakeind() argument
3805 brcmf_report_wowl_wakeind(struct wiphy *wiphy, struct brcmf_if *ifp) brcmf_report_wowl_wakeind() argument
3815 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_resume() local
3839 brcmf_configure_wowl(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, struct cfg80211_wowlan *wowl) brcmf_configure_wowl() argument
3900 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_suspend() local
3951 brcmf_update_pmklist(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp) brcmf_update_pmklist() argument
3976 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_set_pmksa() local
4016 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_del_pmksa() local
4057 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_flush_pmksa() local
4072 brcmf_configure_opensecurity(struct brcmf_if *ifp) brcmf_configure_opensecurity() argument
4113 brcmf_configure_wpaie(struct brcmf_if *ifp, const struct brcmf_vs_tlv *wpa_ie, bool is_rsn_ie) brcmf_configure_wpaie() argument
4432 struct brcmf_if *ifp; brcmf_vif_set_mgmt_ie() local
4647 brcmf_parse_configure_security(struct brcmf_if *ifp, struct cfg80211_ap_settings *settings, enum nl80211_iftype dev_role) brcmf_parse_configure_security() argument
4694 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_start_ap() local
4940 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_stop_ap() local
5012 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_change_beacon() local
5029 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_del_station() local
5060 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_change_station() local
5325 brcmf_notify_tdls_peer_event(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_tdls_peer_event() argument
5372 struct brcmf_if *ifp; brcmf_cfg80211_tdls_oper() local
5402 struct brcmf_if *ifp; brcmf_cfg80211_update_conn_params() local
5426 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_set_rekey_data() local
5449 struct brcmf_if *ifp; brcmf_cfg80211_set_pmk() local
5467 struct brcmf_if *ifp; brcmf_cfg80211_del_pmk() local
5544 struct brcmf_if *ifp = brcmf_get_ifp(cfg->pub, 0); brcmf_alloc_vif() local
5582 struct brcmf_if *ifp; brcmf_cfg80211_free_netdev() local
5815 brcmf_get_assoc_ies(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp) brcmf_get_assoc_ies() argument
5901 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_bss_roaming_done() local
5974 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_bss_connect_done() local
6053 brcmf_notify_connect_status(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_connect_status() argument
6117 brcmf_notify_roaming_status(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_roaming_status() argument
6138 brcmf_notify_mic_status(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_mic_status() argument
6155 brcmf_notify_vif_event(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_vif_event() argument
6329 brcmf_dongle_roam(struct brcmf_if *ifp) brcmf_dongle_roam() argument
6381 brcmf_dongle_scantime(struct brcmf_if *ifp) brcmf_dongle_scantime() argument
6436 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); brcmf_construct_chaninfo() local
6569 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); brcmf_enable_bw40_2g() local
6651 brcmf_get_bwcap(struct brcmf_if *ifp, u32 bw_cap[]) brcmf_get_bwcap() argument
6765 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); brcmf_setup_wiphybands() local
6905 brcmf_setup_ifmodes(struct wiphy *wiphy, struct brcmf_if *ifp) brcmf_setup_ifmodes() argument
7037 brcmf_wiphy_wowl_params(struct wiphy *wiphy, struct brcmf_if *ifp) brcmf_wiphy_wowl_params() argument
7068 brcmf_setup_wiphy(struct wiphy *wiphy, struct brcmf_if *ifp) brcmf_setup_wiphy() argument
7211 struct brcmf_if *ifp; brcmf_config_dongle() local
7257 __brcmf_cfg80211_up(struct brcmf_if *ifp) __brcmf_cfg80211_up() argument
7264 __brcmf_cfg80211_down(struct brcmf_if *ifp) __brcmf_cfg80211_down() argument
7290 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_up() local
7303 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_down() local
7314 brcmf_cfg80211_get_iftype(struct brcmf_if *ifp) brcmf_cfg80211_get_iftype() argument
7426 struct brcmf_if *ifp = brcmf_get_ifp(cfg->pub, 0); brcmf_cfg80211_reg_notifier() local
7499 struct brcmf_if *ifp; brcmf_cfg80211_attach() local
[all...]
H A Dproto.h20 struct sk_buff *skb, struct brcmf_if **ifp);
35 void (*rxreorder)(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq);
36 void (*add_if)(struct brcmf_if *ifp);
37 void (*del_if)(struct brcmf_if *ifp);
38 void (*reset_if)(struct brcmf_if *ifp);
50 struct brcmf_if **ifp) in brcmf_proto_hdrpull()
57 if (ifp) in brcmf_proto_hdrpull()
58 *ifp = NULL; in brcmf_proto_hdrpull()
60 ifp = &tmp; in brcmf_proto_hdrpull()
61 return drvr->proto->hdrpull(drvr, do_fws, skb, ifp); in brcmf_proto_hdrpull()
48 brcmf_proto_hdrpull(struct brcmf_pub *drvr, bool do_fws, struct sk_buff *skb, struct brcmf_if **ifp) brcmf_proto_hdrpull() argument
112 brcmf_proto_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq) brcmf_proto_rxreorder() 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
[all...]
H A Dcommon.c80 void brcmf_c_set_joinpref_default(struct brcmf_if *ifp) in brcmf_c_set_joinpref_default() argument
82 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_set_joinpref_default()
96 err = brcmf_fil_iovar_data_set(ifp, "join_pref", join_pref_params, in brcmf_c_set_joinpref_default()
102 static int brcmf_c_download(struct brcmf_if *ifp, u16 flag, in brcmf_c_download() argument
115 err = brcmf_fil_iovar_data_set(ifp, "clmload", dload_buf, len); in brcmf_c_download()
120 static int brcmf_c_process_clm_blob(struct brcmf_if *ifp) in brcmf_c_process_clm_blob() argument
122 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_process_clm_blob()
167 err = brcmf_c_download(ifp, dl_flag, chunk_buf, chunk_len); in brcmf_c_process_clm_blob()
179 err = brcmf_fil_iovar_int_get(ifp, "clmload_status", &status); in brcmf_c_process_clm_blob()
193 int brcmf_c_preinit_dcmds(struct brcmf_if *ifp) in brcmf_c_preinit_dcmds() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcore.c67 char *brcmf_ifname(struct brcmf_if *ifp) in brcmf_ifname() argument
69 if (!ifp) in brcmf_ifname()
72 if (ifp->ndev) in brcmf_ifname()
73 return ifp->ndev->name; in brcmf_ifname()
80 struct brcmf_if *ifp; in brcmf_get_ifp() local
88 ifp = NULL; in brcmf_get_ifp()
91 ifp = drvr->iflist[bsscfgidx]; in brcmf_get_ifp()
93 return ifp; in brcmf_get_ifp()
96 void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable) in brcmf_configure_arp_nd_offload() argument
108 err = brcmf_fil_iovar_int_set(ifp, "arp_o in brcmf_configure_arp_nd_offload()
135 struct brcmf_if *ifp = container_of(work, struct brcmf_if, _brcmf_set_multicast_list() local
207 struct brcmf_if *ifp = container_of(work, struct brcmf_if, _brcmf_update_ndtable() local
235 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_set_mac_address() local
252 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_set_multicast_list() local
292 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_start_xmit() local
379 brcmf_txflowblock_if(struct brcmf_if *ifp, enum brcmf_netif_stop_reason reason, bool state) brcmf_txflowblock_if() argument
403 brcmf_netif_rx(struct brcmf_if *ifp, struct sk_buff *skb) brcmf_netif_rx() argument
429 brcmf_netif_mon_rx(struct brcmf_if *ifp, struct sk_buff *skb) brcmf_netif_mon_rx() argument
478 brcmf_rx_hdrpull(struct brcmf_pub *drvr, struct sk_buff *skb, struct brcmf_if **ifp) brcmf_rx_hdrpull() argument
500 struct brcmf_if *ifp; brcmf_rx_frame() local
525 struct brcmf_if *ifp; brcmf_rx_event() local
538 brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success) brcmf_txfinalize() argument
561 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_ethtool_get_drvinfo() local
580 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_stop() local
593 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_open() local
633 brcmf_net_attach(struct brcmf_if *ifp, bool locked) brcmf_net_attach() argument
692 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_net_mon_open() local
718 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_net_mon_stop() local
747 brcmf_net_mon_attach(struct brcmf_if *ifp) brcmf_net_mon_attach() argument
765 brcmf_net_setcarrier(struct brcmf_if *ifp, bool on) brcmf_net_setcarrier() argument
813 brcmf_net_p2p_attach(struct brcmf_if *ifp) brcmf_net_p2p_attach() argument
845 struct brcmf_if *ifp; brcmf_add_if() local
911 struct brcmf_if *ifp; brcmf_del_if() local
956 brcmf_remove_interface(struct brcmf_if *ifp, bool locked) brcmf_remove_interface() argument
966 brcmf_psm_watchdog_notify(struct brcmf_if *ifp, const struct brcmf_event_msg *evtmsg, void *data) brcmf_psm_watchdog_notify() argument
994 struct brcmf_if *ifp; brcmf_inetaddr_changed() local
1084 struct brcmf_if *ifp; brcmf_inet6addr_changed() local
1195 struct brcmf_if *ifp; brcmf_bus_started() local
1477 struct brcmf_if *ifp = bus_if->drvr->iflist[0]; brcmf_iovar_data_set() local
1482 brcmf_get_pend_8021x_cnt(struct brcmf_if *ifp) brcmf_get_pend_8021x_cnt() argument
1487 brcmf_netdev_wait_pend8021x(struct brcmf_if *ifp) brcmf_netdev_wait_pend8021x() argument
[all...]
H A Dfwil.c97 brcmf_fil_cmd_data(struct brcmf_if *ifp, u32 cmd, void *data, u32 len, bool set) in brcmf_fil_cmd_data() argument
99 struct brcmf_pub *drvr = ifp->drvr; 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()
123 if (ifp->fwil_fwerr) in brcmf_fil_cmd_data()
130 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_set() argument
134 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
136 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d\n", ifp->ifidx, cmd, len); in brcmf_fil_cmd_data_set()
140 err = brcmf_fil_cmd_data(ifp, cmd, data, len, true); in brcmf_fil_cmd_data_set()
141 mutex_unlock(&ifp in brcmf_fil_cmd_data_set()
147 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) brcmf_fil_cmd_data_get() argument
166 brcmf_fil_cmd_int_set(struct brcmf_if *ifp, u32 cmd, u32 data) brcmf_fil_cmd_int_set() argument
180 brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data) brcmf_fil_cmd_int_get() argument
216 brcmf_fil_iovar_data_set(struct brcmf_if *ifp, const char *name, const void *data, u32 len) brcmf_fil_iovar_data_set() argument
244 brcmf_fil_iovar_data_get(struct brcmf_if *ifp, const char *name, void *data, u32 len) brcmf_fil_iovar_data_get() argument
275 brcmf_fil_iovar_int_set(struct brcmf_if *ifp, const char *name, u32 data) brcmf_fil_iovar_int_set() argument
283 brcmf_fil_iovar_int_get(struct brcmf_if *ifp, const char *name, u32 *data) brcmf_fil_iovar_int_get() argument
340 brcmf_fil_bsscfg_data_set(struct brcmf_if *ifp, const char *name, void *data, u32 len) brcmf_fil_bsscfg_data_set() argument
369 brcmf_fil_bsscfg_data_get(struct brcmf_if *ifp, const char *name, void *data, u32 len) brcmf_fil_bsscfg_data_get() argument
399 brcmf_fil_bsscfg_int_set(struct brcmf_if *ifp, const char *name, u32 data) brcmf_fil_bsscfg_int_set() argument
408 brcmf_fil_bsscfg_int_get(struct brcmf_if *ifp, const char *name, u32 *data) brcmf_fil_bsscfg_int_get() argument
441 brcmf_fil_xtlv_data_set(struct brcmf_if *ifp, const char *name, u16 id, void *data, u32 len) brcmf_fil_xtlv_data_set() argument
469 brcmf_fil_xtlv_data_get(struct brcmf_if *ifp, const char *name, u16 id, void *data, u32 len) brcmf_fil_xtlv_data_get() argument
498 brcmf_fil_xtlv_int_set(struct brcmf_if *ifp, const char *name, u16 id, u32 data) brcmf_fil_xtlv_int_set() argument
506 brcmf_fil_xtlv_int_get(struct brcmf_if *ifp, const char *name, u16 id, u32 *data) brcmf_fil_xtlv_int_get() argument
517 brcmf_fil_xtlv_int8_get(struct brcmf_if *ifp, const char *name, u16 id, u8 *data) brcmf_fil_xtlv_int8_get() argument
522 brcmf_fil_xtlv_int16_get(struct brcmf_if *ifp, const char *name, u16 id, u16 *data) brcmf_fil_xtlv_int16_get() argument
[all...]
H A Dfeature.c142 struct brcmf_if *ifp = brcmf_get_ifp(drv, 0); in brcmf_feat_wlc_version_overrides() local
148 err = brcmf_fil_iovar_data_get(ifp, "wlc_ver", &ver, sizeof(ver)); in brcmf_feat_wlc_version_overrides()
179 * @ifp: interface to query.
183 static void brcmf_feat_iovar_int_get(struct brcmf_if *ifp, in brcmf_feat_iovar_int_get() argument
190 ifp->fwil_fwerr = true; in brcmf_feat_iovar_int_get()
192 err = brcmf_fil_iovar_int_get(ifp, name, &data); in brcmf_feat_iovar_int_get()
195 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get()
201 ifp->fwil_fwerr = false; in brcmf_feat_iovar_int_get()
204 static void brcmf_feat_iovar_data_set(struct brcmf_if *ifp, in brcmf_feat_iovar_data_set() argument
211 ifp in brcmf_feat_iovar_data_set()
226 brcmf_feat_firmware_capabilities(struct brcmf_if *ifp) brcmf_feat_firmware_capabilities() argument
261 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); brcmf_feat_fwcap_debugfs_read() local
289 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); brcmf_feat_attach() local
372 brcmf_feat_is_enabled(struct brcmf_if *ifp, enum brcmf_feat_id id) brcmf_feat_is_enabled() argument
377 brcmf_feat_is_quirk_enabled(struct brcmf_if *ifp, enum brcmf_feat_quirk quirk) brcmf_feat_is_quirk_enabled() argument
[all...]
H A Dcommon.c80 void brcmf_c_set_joinpref_default(struct brcmf_if *ifp) in brcmf_c_set_joinpref_default() argument
82 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_set_joinpref_default()
96 err = brcmf_fil_iovar_data_set(ifp, "join_pref", join_pref_params, in brcmf_c_set_joinpref_default()
102 static int brcmf_c_download(struct brcmf_if *ifp, u16 flag, in brcmf_c_download() argument
114 err = brcmf_fil_iovar_data_set(ifp, var, dload_buf, in brcmf_c_download()
120 static int brcmf_c_download_blob(struct brcmf_if *ifp, in brcmf_c_download_blob() argument
124 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_download_blob()
153 err = brcmf_c_download(ifp, dl_flag, chunk_buf, chunk_len, in brcmf_c_download_blob()
166 err = brcmf_fil_iovar_int_get(ifp, statvar, &status); in brcmf_c_download_blob()
178 static int brcmf_c_process_clm_blob(struct brcmf_if *ifp) in brcmf_c_process_clm_blob() argument
201 brcmf_c_process_txcap_blob(struct brcmf_if *ifp) brcmf_c_process_txcap_blob() argument
224 brcmf_c_set_cur_etheraddr(struct brcmf_if *ifp, const u8 *addr) brcmf_c_set_cur_etheraddr() argument
249 brcmf_c_process_cal_blob(struct brcmf_if *ifp) brcmf_c_process_cal_blob() argument
266 brcmf_c_preinit_dcmds(struct brcmf_if *ifp) brcmf_c_preinit_dcmds() argument
[all...]
H A Dbtcoex.c99 * @ifp: interface
103 static s32 brcmf_btcoex_params_write(struct brcmf_if *ifp, u32 addr, u32 data) in brcmf_btcoex_params_write() argument
112 return brcmf_fil_iovar_data_set(ifp, "btc_params", in brcmf_btcoex_params_write()
118 * @ifp: interface
122 static s32 brcmf_btcoex_params_read(struct brcmf_if *ifp, u32 addr, u32 *data) in brcmf_btcoex_params_read() argument
126 return brcmf_fil_iovar_int_get(ifp, "btc_params", data); in brcmf_btcoex_params_read()
142 struct brcmf_if *ifp = brcmf_get_ifp(btci->cfg->pub, 0); in brcmf_btcoex_boost_wifi() local
151 brcmf_btcoex_params_read(ifp, 50, &btci->reg50); in brcmf_btcoex_boost_wifi()
152 brcmf_btcoex_params_read(ifp, 51, &btci->reg51); in brcmf_btcoex_boost_wifi()
153 brcmf_btcoex_params_read(ifp, 6 in brcmf_btcoex_boost_wifi()
196 brcmf_btcoex_is_sco_active(struct brcmf_if *ifp) brcmf_btcoex_is_sco_active() argument
235 struct brcmf_if *ifp = btci->vif->ifp; btcmf_btcoex_save_part1() local
255 struct brcmf_if *ifp; brcmf_btcoex_restore_part1() local
411 struct brcmf_if *ifp = btci->vif->ifp; brcmf_btcoex_dhcp_start() local
456 struct brcmf_if *ifp = brcmf_get_ifp(cfg->pub, 0); brcmf_btcoex_set_mode() local
[all...]
H A Dcfg80211.c547 send_key_to_dongle(struct brcmf_if *ifp, struct brcmf_wsec_key *key) in send_key_to_dongle() argument
549 struct brcmf_pub *drvr = ifp->drvr; in send_key_to_dongle()
555 brcmf_netdev_wait_pend8021x(ifp); in send_key_to_dongle()
557 err = brcmf_fil_bsscfg_data_set(ifp, "wsec_key", &key_le, in send_key_to_dongle()
569 struct brcmf_if *ifp; in brcmf_cfg80211_update_proto_addr_mode() local
572 ifp = vif->ifp; in brcmf_cfg80211_update_proto_addr_mode()
577 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
580 brcmf_proto_configure_addr_mode(ifp in brcmf_cfg80211_update_proto_addr_mode()
599 brcmf_set_vif_sta_macaddr(struct brcmf_if *ifp, u8 *mac_addr) brcmf_set_vif_sta_macaddr() argument
612 brcmf_cfg80211_request_sta_if(struct brcmf_if *ifp, u8 *macaddr) brcmf_cfg80211_request_sta_if() argument
706 brcmf_cfg80211_request_ap_if(struct brcmf_if *ifp) brcmf_cfg80211_request_ap_if() argument
823 struct brcmf_if *ifp = netdev_priv(cfg_to_ndev(cfg)); brcmf_apsta_add_vif() local
909 struct brcmf_if *ifp; brcmf_mon_add_vif() local
1021 brcmf_scan_config_mpc(struct brcmf_if *ifp, int mpc) brcmf_scan_config_mpc() argument
1027 brcmf_set_mpc(struct brcmf_if *ifp, int mpc) brcmf_set_mpc() argument
1164 brcmf_notify_escan_complete(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, bool aborted, bool fw_abort) brcmf_notify_escan_complete() argument
1249 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_del_apsta_iface() local
1328 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_change_iface() local
1423 brcmf_run_escan(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, struct cfg80211_scan_request *request) brcmf_run_escan() argument
1486 brcmf_do_escan(struct brcmf_if *ifp, struct cfg80211_scan_request *request) brcmf_do_escan() argument
1581 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_rts() local
1594 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_frag() local
1608 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_retry() local
1625 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_set_wiphy_params() local
1689 brcmf_set_pmk(struct brcmf_if *ifp, const u8 *pmk_data, u16 pmk_len) brcmf_set_pmk() argument
1712 brcmf_set_sae_password(struct brcmf_if *ifp, const u8 *pwd_data, u16 pwd_len) brcmf_set_sae_password() argument
1780 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_join_ibss() local
1930 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_leave_ibss() local
1952 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_wpa_version() local
1981 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_auth_type() local
2021 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_wsec_mode() local
2097 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_key_mgmt() local
2245 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_set_sharedkey() local
2310 brcmf_war_auth_type(struct brcmf_if *ifp, enum nl80211_auth_type type) brcmf_war_auth_type() argument
2321 brcmf_set_join_pref(struct brcmf_if *ifp, struct cfg80211_bss_selection *bss_select) brcmf_set_join_pref() argument
2371 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_connect() local
2611 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_disconnect() local
2644 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_set_tx_power() local
2720 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_config_default_key() local
2755 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_del_key() local
2794 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_add_key() local
2919 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_get_key() local
2972 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_config_default_mgmt_key() local
2985 brcmf_cfg80211_reconfigure_wep(struct brcmf_if *ifp) brcmf_cfg80211_reconfigure_wep() argument
3039 brcmf_fill_bss_param(struct brcmf_if *ifp, struct station_info *si) brcmf_fill_bss_param() argument
3076 brcmf_cfg80211_get_station_ibss(struct brcmf_if *ifp, struct station_info *sinfo) brcmf_cfg80211_get_station_ibss() argument
3129 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_get_station() local
3252 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_dump_station() local
3289 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_set_power_mgmt() local
3516 brcmf_update_bss_info(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp) brcmf_update_bss_info() argument
3617 brcmf_cfg80211_escan_handler(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_cfg80211_escan_handler() argument
3799 brcmf_start_internal_escan(struct brcmf_if *ifp, u32 fwmap, struct cfg80211_scan_request *request) brcmf_start_internal_escan() argument
3854 brcmf_notify_sched_scan_results(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_sched_scan_results() argument
3946 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_sched_scan_start() local
3971 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_sched_scan_stop() local
3990 brcmf_config_wowl_pattern(struct brcmf_if *ifp, u8 cmd[4], u8 *pattern, u32 patternsize, u8 *mask, u32 packet_offset) brcmf_config_wowl_pattern() argument
4029 brcmf_wowl_nd_results(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_wowl_nd_results() argument
4079 brcmf_report_wowl_wakeind(struct wiphy *wiphy, struct brcmf_if *ifp) brcmf_report_wowl_wakeind() argument
4150 brcmf_report_wowl_wakeind(struct wiphy *wiphy, struct brcmf_if *ifp) brcmf_report_wowl_wakeind() argument
4160 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_resume() local
4184 brcmf_configure_wowl(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, struct cfg80211_wowlan *wowl) brcmf_configure_wowl() argument
4240 brcmf_keepalive_start(struct brcmf_if *ifp, unsigned int interval) brcmf_keepalive_start() argument
4263 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_suspend() local
4317 brcmf_pmksa_v3_op(struct brcmf_if *ifp, struct cfg80211_pmksa *pmksa, bool alive) brcmf_pmksa_v3_op() argument
4351 brcmf_update_pmklist(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp) brcmf_update_pmklist() argument
4373 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_set_pmksa() local
4418 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_del_pmksa() local
4464 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_flush_pmksa() local
4484 brcmf_configure_opensecurity(struct brcmf_if *ifp) brcmf_configure_opensecurity() argument
4525 brcmf_configure_wpaie(struct brcmf_if *ifp, const struct brcmf_vs_tlv *wpa_ie, bool is_rsn_ie) brcmf_configure_wpaie() argument
4844 struct brcmf_if *ifp; brcmf_vif_set_mgmt_ie() local
5059 brcmf_parse_configure_security(struct brcmf_if *ifp, struct cfg80211_ap_settings *settings, enum nl80211_iftype dev_role) brcmf_parse_configure_security() argument
5106 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_start_ap() local
5353 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_stop_ap() local
5425 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_change_beacon() local
5439 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_del_station() local
5470 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_change_station() local
5621 struct brcmf_if *ifp; brcmf_cfg80211_set_cqm_rssi_range_config() local
5778 brcmf_notify_tdls_peer_event(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_tdls_peer_event() argument
5825 struct brcmf_if *ifp; brcmf_cfg80211_tdls_oper() local
5855 struct brcmf_if *ifp; brcmf_cfg80211_update_conn_params() local
5879 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_set_rekey_data() local
5902 struct brcmf_if *ifp; brcmf_cfg80211_set_pmk() local
5920 struct brcmf_if *ifp; brcmf_cfg80211_del_pmk() local
5998 struct brcmf_if *ifp = brcmf_get_ifp(cfg->pub, 0); brcmf_alloc_vif() local
6036 struct brcmf_if *ifp; brcmf_cfg80211_free_netdev() local
6269 brcmf_get_assoc_ies(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp) brcmf_get_assoc_ies() argument
6355 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_bss_roaming_done() local
6428 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_bss_connect_done() local
6511 brcmf_notify_connect_status(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_connect_status() argument
6579 brcmf_notify_roaming_status(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_roaming_status() argument
6600 brcmf_notify_mic_status(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_mic_status() argument
6617 brcmf_notify_rssi(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_rssi() argument
6660 brcmf_notify_vif_event(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) brcmf_notify_vif_event() argument
6836 brcmf_dongle_roam(struct brcmf_if *ifp) brcmf_dongle_roam() argument
6888 brcmf_dongle_scantime(struct brcmf_if *ifp) brcmf_dongle_scantime() argument
6943 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); brcmf_construct_chaninfo() local
7076 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); brcmf_enable_bw40_2g() local
7158 brcmf_get_bwcap(struct brcmf_if *ifp, u32 bw_cap[]) brcmf_get_bwcap() argument
7272 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); brcmf_setup_wiphybands() local
7417 brcmf_setup_ifmodes(struct wiphy *wiphy, struct brcmf_if *ifp) brcmf_setup_ifmodes() argument
7549 brcmf_wiphy_wowl_params(struct wiphy *wiphy, struct brcmf_if *ifp) brcmf_wiphy_wowl_params() argument
7580 brcmf_setup_wiphy(struct wiphy *wiphy, struct brcmf_if *ifp) brcmf_setup_wiphy() argument
7725 struct brcmf_if *ifp; brcmf_config_dongle() local
7771 __brcmf_cfg80211_up(struct brcmf_if *ifp) __brcmf_cfg80211_up() argument
7778 __brcmf_cfg80211_down(struct brcmf_if *ifp) __brcmf_cfg80211_down() argument
7804 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_up() local
7817 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_cfg80211_down() local
7828 brcmf_cfg80211_get_iftype(struct brcmf_if *ifp) brcmf_cfg80211_get_iftype() argument
8034 brcmf_dump_obss(struct brcmf_if *ifp, struct cca_msrmnt_query req, struct brcmf_dump_survey *survey) brcmf_dump_obss() argument
8068 struct brcmf_if *ifp = netdev_priv(cfg_to_ndev(cfg)); brcmf_set_channel() local
8094 struct brcmf_if *ifp = netdev_priv(cfg_to_ndev(cfg)); brcmf_cfg80211_dump_survey() local
8189 struct brcmf_if *ifp = brcmf_get_ifp(cfg->pub, 0); brcmf_cfg80211_reg_notifier() local
8262 struct brcmf_if *ifp; brcmf_cfg80211_attach() local
[all...]
H A Dfwil.h82 s32 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len);
83 s32 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len);
84 s32 brcmf_fil_cmd_int_set(struct brcmf_if *ifp, u32 cmd, u32 data);
85 s32 brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data);
87 s32 brcmf_fil_iovar_data_set(struct brcmf_if *ifp, const char *name, const void *data,
89 s32 brcmf_fil_iovar_data_get(struct brcmf_if *ifp, const char *name, void *data,
91 s32 brcmf_fil_iovar_int_set(struct brcmf_if *ifp, const char *name, u32 data);
92 s32 brcmf_fil_iovar_int_get(struct brcmf_if *ifp, const char *name, u32 *data);
94 s32 brcmf_fil_bsscfg_data_set(struct brcmf_if *ifp, const char *name, void *data,
96 s32 brcmf_fil_bsscfg_data_get(struct brcmf_if *ifp, cons
[all...]
H A Dproto.h20 struct sk_buff *skb, struct brcmf_if **ifp);
35 void (*rxreorder)(struct brcmf_if *ifp, struct sk_buff *skb);
36 void (*add_if)(struct brcmf_if *ifp);
37 void (*del_if)(struct brcmf_if *ifp);
38 void (*reset_if)(struct brcmf_if *ifp);
50 struct brcmf_if **ifp) in brcmf_proto_hdrpull()
57 if (ifp) in brcmf_proto_hdrpull()
58 *ifp = NULL; in brcmf_proto_hdrpull()
60 ifp = &tmp; in brcmf_proto_hdrpull()
61 return drvr->proto->hdrpull(drvr, do_fws, skb, ifp); in brcmf_proto_hdrpull()
48 brcmf_proto_hdrpull(struct brcmf_pub *drvr, bool do_fws, struct sk_buff *skb, struct brcmf_if **ifp) brcmf_proto_hdrpull() argument
112 brcmf_proto_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb) brcmf_proto_rxreorder() 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
[all...]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_inode_fork.c36 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_init_local_fork() local
52 ifp->if_u1.if_data = kmem_alloc(real_size, KM_NOFS); in xfs_init_local_fork()
53 memcpy(ifp->if_u1.if_data, data, size); in xfs_init_local_fork()
55 ifp->if_u1.if_data[size] = '\0'; in xfs_init_local_fork()
57 ifp->if_u1.if_data = NULL; in xfs_init_local_fork()
60 ifp->if_bytes = size; in xfs_init_local_fork()
61 ifp->if_flags &= ~(XFS_IFEXTENTS | XFS_IFBROOT); in xfs_init_local_fork()
62 ifp->if_flags |= XFS_IFINLINE; in xfs_init_local_fork()
106 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_iformat_extents() local
128 ifp in xfs_iformat_extents()
172 struct xfs_ifork *ifp; xfs_iformat_btree() local
353 struct xfs_ifork *ifp; xfs_iroot_realloc() local
478 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); xfs_idata_realloc() local
505 xfs_idestroy_fork( struct xfs_ifork *ifp) xfs_idestroy_fork() argument
543 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); xfs_iextents_copy() local
584 struct xfs_ifork *ifp; xfs_iflush_fork() local
714 struct xfs_ifork *ifp = ip->i_afp; xfs_ifork_verify_local_attr() local
[all...]
H A Dxfs_iext_tree.c128 inline xfs_extnum_t xfs_iext_count(struct xfs_ifork *ifp) in xfs_iext_count() argument
130 return ifp->if_bytes / sizeof(struct xfs_iext_rec); in xfs_iext_count()
133 static inline int xfs_iext_max_recs(struct xfs_ifork *ifp) in xfs_iext_max_recs() argument
135 if (ifp->if_height == 1) in xfs_iext_max_recs()
136 return xfs_iext_count(ifp); in xfs_iext_max_recs()
145 static inline bool xfs_iext_valid(struct xfs_ifork *ifp, in xfs_iext_valid() argument
150 if (cur->pos < 0 || cur->pos >= xfs_iext_max_recs(ifp)) in xfs_iext_valid()
159 struct xfs_ifork *ifp) in xfs_iext_find_first_leaf()
161 struct xfs_iext_node *node = ifp->if_u1.if_root; in xfs_iext_find_first_leaf()
164 if (!ifp in xfs_iext_find_first_leaf()
158 xfs_iext_find_first_leaf( struct xfs_ifork *ifp) xfs_iext_find_first_leaf() argument
176 xfs_iext_find_last_leaf( struct xfs_ifork *ifp) xfs_iext_find_last_leaf() argument
197 xfs_iext_first( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_first() argument
206 xfs_iext_last( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_last() argument
226 xfs_iext_next( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_next() argument
248 xfs_iext_prev( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_prev() argument
304 xfs_iext_find_level( struct xfs_ifork *ifp, xfs_fileoff_t offset, int level) xfs_iext_find_level() argument
374 xfs_iext_leaf_nr_entries( struct xfs_ifork *ifp, struct xfs_iext_leaf *leaf, int start) xfs_iext_leaf_nr_entries() argument
398 xfs_iext_grow( struct xfs_ifork *ifp) xfs_iext_grow() argument
426 xfs_iext_update_node( struct xfs_ifork *ifp, xfs_fileoff_t old_offset, xfs_fileoff_t new_offset, int level, void *ptr) xfs_iext_update_node() argument
493 xfs_iext_insert_node( struct xfs_ifork *ifp, uint64_t offset, void *ptr, int level) xfs_iext_insert_node() argument
580 xfs_iext_alloc_root( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_alloc_root() argument
595 xfs_iext_realloc_root( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_realloc_root() argument
619 xfs_iext_inc_seq(struct xfs_ifork *ifp) xfs_iext_inc_seq() argument
631 struct xfs_ifork *ifp = xfs_iext_state_to_fork(ip, state); xfs_iext_insert() local
723 xfs_iext_remove_node( struct xfs_ifork *ifp, xfs_fileoff_t offset, void *victim) xfs_iext_remove_node() argument
788 xfs_iext_rebalance_leaf( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_iext_leaf *leaf, xfs_fileoff_t offset, int nr_entries) xfs_iext_rebalance_leaf() argument
853 xfs_iext_free_last_leaf( struct xfs_ifork *ifp) xfs_iext_free_last_leaf() argument
867 struct xfs_ifork *ifp = xfs_iext_state_to_fork(ip, state); xfs_iext_remove() local
919 xfs_iext_lookup_extent( struct xfs_inode *ip, struct xfs_ifork *ifp, xfs_fileoff_t offset, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_lookup_extent() argument
960 xfs_iext_lookup_extent_before( struct xfs_inode *ip, struct xfs_ifork *ifp, xfs_fileoff_t *end, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_lookup_extent_before() argument
984 struct xfs_ifork *ifp = xfs_iext_state_to_fork(ip, state); xfs_iext_update_extent() local
1008 xfs_iext_get_extent( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_get_extent() argument
1042 xfs_iext_destroy( struct xfs_ifork *ifp) xfs_iext_destroy() argument
[all...]
H A Dxfs_inode_fork.h63 static inline bool xfs_ifork_has_extents(struct xfs_ifork *ifp) in xfs_ifork_has_extents() argument
65 return ifp->if_format == XFS_DINODE_FMT_EXTENTS || in xfs_ifork_has_extents()
66 ifp->if_format == XFS_DINODE_FMT_BTREE; in xfs_ifork_has_extents()
69 static inline xfs_extnum_t xfs_ifork_nextents(struct xfs_ifork *ifp) in xfs_ifork_nextents() argument
71 if (!ifp) in xfs_ifork_nextents()
73 return ifp->if_nextents; in xfs_ifork_nextents()
76 static inline int8_t xfs_ifork_format(struct xfs_ifork *ifp) in xfs_ifork_format() argument
78 if (!ifp) in xfs_ifork_format()
80 return ifp->if_format; in xfs_ifork_format()
89 void xfs_idestroy_fork(struct xfs_ifork *ifp);
126 xfs_iext_next_extent(struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_next_extent() argument
133 xfs_iext_prev_extent(struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_prev_extent() argument
143 xfs_iext_peek_next_extent(struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_peek_next_extent() argument
155 xfs_iext_peek_prev_extent(struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_peek_prev_extent() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_iext_tree.c128 inline xfs_extnum_t xfs_iext_count(struct xfs_ifork *ifp) in xfs_iext_count() argument
130 return ifp->if_bytes / sizeof(struct xfs_iext_rec); in xfs_iext_count()
133 static inline int xfs_iext_max_recs(struct xfs_ifork *ifp) in xfs_iext_max_recs() argument
135 if (ifp->if_height == 1) in xfs_iext_max_recs()
136 return xfs_iext_count(ifp); in xfs_iext_max_recs()
145 static inline bool xfs_iext_valid(struct xfs_ifork *ifp, in xfs_iext_valid() argument
150 if (cur->pos < 0 || cur->pos >= xfs_iext_max_recs(ifp)) in xfs_iext_valid()
159 struct xfs_ifork *ifp) in xfs_iext_find_first_leaf()
161 struct xfs_iext_node *node = ifp->if_u1.if_root; in xfs_iext_find_first_leaf()
164 if (!ifp in xfs_iext_find_first_leaf()
158 xfs_iext_find_first_leaf( struct xfs_ifork *ifp) xfs_iext_find_first_leaf() argument
176 xfs_iext_find_last_leaf( struct xfs_ifork *ifp) xfs_iext_find_last_leaf() argument
197 xfs_iext_first( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_first() argument
206 xfs_iext_last( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_last() argument
226 xfs_iext_next( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_next() argument
248 xfs_iext_prev( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_prev() argument
304 xfs_iext_find_level( struct xfs_ifork *ifp, xfs_fileoff_t offset, int level) xfs_iext_find_level() argument
374 xfs_iext_leaf_nr_entries( struct xfs_ifork *ifp, struct xfs_iext_leaf *leaf, int start) xfs_iext_leaf_nr_entries() argument
398 xfs_iext_grow( struct xfs_ifork *ifp) xfs_iext_grow() argument
426 xfs_iext_update_node( struct xfs_ifork *ifp, xfs_fileoff_t old_offset, xfs_fileoff_t new_offset, int level, void *ptr) xfs_iext_update_node() argument
493 xfs_iext_insert_node( struct xfs_ifork *ifp, uint64_t offset, void *ptr, int level) xfs_iext_insert_node() argument
580 xfs_iext_alloc_root( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_alloc_root() argument
595 xfs_iext_realloc_root( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur) xfs_iext_realloc_root() argument
619 xfs_iext_inc_seq(struct xfs_ifork *ifp) xfs_iext_inc_seq() argument
631 struct xfs_ifork *ifp = xfs_iext_state_to_fork(ip, state); xfs_iext_insert() local
723 xfs_iext_remove_node( struct xfs_ifork *ifp, xfs_fileoff_t offset, void *victim) xfs_iext_remove_node() argument
788 xfs_iext_rebalance_leaf( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_iext_leaf *leaf, xfs_fileoff_t offset, int nr_entries) xfs_iext_rebalance_leaf() argument
853 xfs_iext_free_last_leaf( struct xfs_ifork *ifp) xfs_iext_free_last_leaf() argument
867 struct xfs_ifork *ifp = xfs_iext_state_to_fork(ip, state); xfs_iext_remove() local
919 xfs_iext_lookup_extent( struct xfs_inode *ip, struct xfs_ifork *ifp, xfs_fileoff_t offset, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_lookup_extent() argument
960 xfs_iext_lookup_extent_before( struct xfs_inode *ip, struct xfs_ifork *ifp, xfs_fileoff_t *end, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_lookup_extent_before() argument
984 struct xfs_ifork *ifp = xfs_iext_state_to_fork(ip, state); xfs_iext_update_extent() local
1008 xfs_iext_get_extent( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_get_extent() argument
1042 xfs_iext_destroy( struct xfs_ifork *ifp) xfs_iext_destroy() argument
[all...]
H A Dxfs_inode_fork.c38 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_init_local_fork() local
53 ifp->if_u1.if_data = kmem_alloc(mem_size, KM_NOFS); in xfs_init_local_fork()
54 memcpy(ifp->if_u1.if_data, data, size); in xfs_init_local_fork()
56 ifp->if_u1.if_data[size] = '\0'; in xfs_init_local_fork()
58 ifp->if_u1.if_data = NULL; in xfs_init_local_fork()
61 ifp->if_bytes = size; in xfs_init_local_fork()
105 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_iformat_extents() local
127 ifp->if_bytes = 0; in xfs_iformat_extents()
128 ifp->if_u1.if_root = NULL; in xfs_iformat_extents()
129 ifp in xfs_iformat_extents()
171 struct xfs_ifork *ifp; xfs_iformat_btree() local
378 struct xfs_ifork *ifp; xfs_iroot_realloc() local
502 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); xfs_idata_realloc() local
524 xfs_idestroy_fork( struct xfs_ifork *ifp) xfs_idestroy_fork() argument
561 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); xfs_iextents_copy() local
602 struct xfs_ifork *ifp; xfs_iflush_fork() local
729 struct xfs_ifork *ifp = &ip->i_af; xfs_ifork_verify_local_attr() local
752 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); xfs_iext_count_may_overflow() local
[all...]
H A Dxfs_inode_fork.h84 static inline bool xfs_ifork_has_extents(struct xfs_ifork *ifp) in xfs_ifork_has_extents() argument
86 return ifp->if_format == XFS_DINODE_FMT_EXTENTS || in xfs_ifork_has_extents()
87 ifp->if_format == XFS_DINODE_FMT_BTREE; in xfs_ifork_has_extents()
90 static inline xfs_extnum_t xfs_ifork_nextents(struct xfs_ifork *ifp) in xfs_ifork_nextents() argument
92 if (!ifp) in xfs_ifork_nextents()
94 return ifp->if_nextents; in xfs_ifork_nextents()
97 static inline int8_t xfs_ifork_format(struct xfs_ifork *ifp) in xfs_ifork_format() argument
99 if (!ifp) in xfs_ifork_format()
101 return ifp->if_format; in xfs_ifork_format()
172 void xfs_idestroy_fork(struct xfs_ifork *ifp);
209 xfs_iext_next_extent(struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_next_extent() argument
216 xfs_iext_prev_extent(struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_prev_extent() argument
226 xfs_iext_peek_next_extent(struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_peek_next_extent() argument
238 xfs_iext_peek_prev_extent(struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *gotp) xfs_iext_peek_prev_extent() argument
264 xfs_need_iread_extents(const struct xfs_ifork *ifp) xfs_need_iread_extents() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_eeprom.c114 static u8 flash_csum(struct qib_flash *ifp, int adjust) in flash_csum() argument
116 u8 *ip = (u8 *) ifp; in flash_csum()
124 len = ifp->if_length; in flash_csum()
129 csum -= ifp->if_csum; in flash_csum()
132 ifp->if_csum = csum; in flash_csum()
147 struct qib_flash *ifp; in qib_get_eeprom_info() local
197 ifp = (struct qib_flash *)buf; in qib_get_eeprom_info()
199 csum = flash_csum(ifp, 0); in qib_get_eeprom_info()
200 if (csum != ifp->if_csum) { in qib_get_eeprom_info()
203 csum, ifp in qib_get_eeprom_info()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_eeprom.c114 static u8 flash_csum(struct qib_flash *ifp, int adjust) in flash_csum() argument
116 u8 *ip = (u8 *) ifp; in flash_csum()
124 len = ifp->if_length; in flash_csum()
129 csum -= ifp->if_csum; in flash_csum()
132 ifp->if_csum = csum; in flash_csum()
147 struct qib_flash *ifp; in qib_get_eeprom_info() local
197 ifp = (struct qib_flash *)buf; in qib_get_eeprom_info()
199 csum = flash_csum(ifp, 0); in qib_get_eeprom_info()
200 if (csum != ifp->if_csum) { in qib_get_eeprom_info()
203 csum, ifp in qib_get_eeprom_info()
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Daddrconf.c161 static void addrconf_join_anycast(struct inet6_ifaddr *ifp);
162 static void addrconf_leave_anycast(struct inet6_ifaddr *ifp);
174 static void addrconf_dad_start(struct inet6_ifaddr *ifp);
176 static void addrconf_dad_completed(struct inet6_ifaddr *ifp, bool bump_id,
310 static void addrconf_del_dad_work(struct inet6_ifaddr *ifp) in addrconf_del_dad_work() argument
312 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work()
313 __in6_ifa_put(ifp); in addrconf_del_dad_work()
323 static void addrconf_mod_dad_work(struct inet6_ifaddr *ifp, in addrconf_mod_dad_work() argument
326 in6_ifa_hold(ifp); in addrconf_mod_dad_work()
327 if (mod_delayed_work(addrconf_wq, &ifp in addrconf_mod_dad_work()
961 inet6_ifa_finish_destroy(struct inet6_ifaddr *ifp) inet6_ifa_finish_destroy() argument
984 ipv6_link_dev_addr(struct inet6_dev *idev, struct inet6_ifaddr *ifp) ipv6_link_dev_addr() argument
1013 struct inet6_ifaddr *ifp; ipv6_chk_same_addr() local
1199 check_cleanup_prefix_route(struct inet6_ifaddr *ifp, unsigned long *expires) check_cleanup_prefix_route() argument
1237 cleanup_prefix_route(struct inet6_ifaddr *ifp, unsigned long expires, bool del_rt, bool del_peer) cleanup_prefix_route() argument
1259 ipv6_del_addr(struct inet6_ifaddr *ifp) ipv6_del_addr() argument
1315 ipv6_create_tempaddr(struct inet6_ifaddr *ifp, bool block) ipv6_create_tempaddr() argument
1842 struct inet6_ifaddr *ifp; __ipv6_get_lladdr() local
1877 const struct inet6_ifaddr *ifp; ipv6_count_addresses() local
1911 struct inet6_ifaddr *ifp; __ipv6_chk_addr_and_flags() local
2023 struct inet6_ifaddr *ifp, *result = NULL; ipv6_get_ifaddr() local
2046 addrconf_dad_stop(struct inet6_ifaddr *ifp, int dad_failed) addrconf_dad_stop() argument
2079 addrconf_dad_end(struct inet6_ifaddr *ifp) addrconf_dad_end() argument
2093 addrconf_dad_failure(struct sk_buff *skb, struct inet6_ifaddr *ifp) addrconf_dad_failure() argument
2192 addrconf_join_anycast(struct inet6_ifaddr *ifp) addrconf_join_anycast() argument
2205 addrconf_leave_anycast(struct inet6_ifaddr *ifp) addrconf_leave_anycast() argument
2339 struct inet6_ifaddr *ifp; ipv6_inherit_eui64() local
2508 manage_tempaddrs(struct inet6_dev *idev, struct inet6_ifaddr *ifp, __u32 valid_lft, __u32 prefered_lft, bool create, unsigned long now) manage_tempaddrs() argument
2594 struct inet6_ifaddr *ifp = ipv6_get_ifaddr(net, addr, dev, 1); addrconf_prefix_rcv_add_addr() local
2918 struct inet6_ifaddr *ifp; inet6_addr_add() local
3009 struct inet6_ifaddr *ifp; inet6_addr_del() local
3095 struct inet6_ifaddr *ifp; add_addr() local
3204 struct inet6_ifaddr *ifp; addrconf_add_linklocal() local
3444 fixup_permanent_addr(struct net *net, struct inet6_dev *idev, struct inet6_ifaddr *ifp) fixup_permanent_addr() argument
3483 struct inet6_ifaddr *ifp, *tmp; addrconf_permanent_addr() local
3949 addrconf_dad_kick(struct inet6_ifaddr *ifp) addrconf_dad_kick() argument
3972 addrconf_dad_begin(struct inet6_ifaddr *ifp) addrconf_dad_begin() argument
4043 addrconf_dad_start(struct inet6_ifaddr *ifp) addrconf_dad_start() argument
4060 struct inet6_ifaddr *ifp = container_of(to_delayed_work(w), addrconf_dad_work() local
4169 ipv6_lonely_lladdr(struct inet6_ifaddr *ifp) ipv6_lonely_lladdr() argument
4186 addrconf_dad_completed(struct inet6_ifaddr *ifp, bool bump_id, bool send_na) addrconf_dad_completed() argument
4263 struct inet6_ifaddr *ifp; addrconf_dad_run() local
4369 struct inet6_ifaddr *ifp = (struct inet6_ifaddr *)v; if6_seq_show() local
4421 struct inet6_ifaddr *ifp = NULL; ipv6_chk_home_addr() local
4454 struct inet6_ifaddr *ifp; ipv6_chk_rpl_srh_loop() local
4499 struct inet6_ifaddr *ifp; addrconf_verify_rtnl() local
4683 modify_prefix_route(struct inet6_ifaddr *ifp, unsigned long expires, u32 flags, bool modify_peer) modify_prefix_route() argument
4718 inet6_addr_modify(struct inet6_ifaddr *ifp, struct ifa6_config *cfg) inet6_addr_modify() argument
5720 struct inet6_ifaddr *ifp; inet6_set_iftoken() local
6080 __ipv6_ifa_notify(int event, struct inet6_ifaddr *ifp) __ipv6_ifa_notify() argument
6136 ipv6_ifa_notify(int event, struct inet6_ifaddr *ifp) ipv6_ifa_notify() argument
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Daddrconf.c155 static void addrconf_join_anycast(struct inet6_ifaddr *ifp);
156 static void addrconf_leave_anycast(struct inet6_ifaddr *ifp);
168 static void addrconf_dad_start(struct inet6_ifaddr *ifp);
170 static void addrconf_dad_completed(struct inet6_ifaddr *ifp, bool bump_id,
314 static void addrconf_del_dad_work(struct inet6_ifaddr *ifp) in addrconf_del_dad_work() argument
316 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work()
317 __in6_ifa_put(ifp); in addrconf_del_dad_work()
327 static void addrconf_mod_dad_work(struct inet6_ifaddr *ifp, in addrconf_mod_dad_work() argument
330 in6_ifa_hold(ifp); in addrconf_mod_dad_work()
331 if (mod_delayed_work(addrconf_wq, &ifp in addrconf_mod_dad_work()
984 inet6_ifa_finish_destroy(struct inet6_ifaddr *ifp) inet6_ifa_finish_destroy() argument
1007 ipv6_link_dev_addr(struct inet6_dev *idev, struct inet6_ifaddr *ifp) ipv6_link_dev_addr() argument
1036 struct inet6_ifaddr *ifp; ipv6_chk_same_addr() local
1230 check_cleanup_prefix_route(struct inet6_ifaddr *ifp, unsigned long *expires) check_cleanup_prefix_route() argument
1268 cleanup_prefix_route(struct inet6_ifaddr *ifp, unsigned long expires, bool del_rt, bool del_peer) cleanup_prefix_route() argument
1290 ipv6_del_addr(struct inet6_ifaddr *ifp) ipv6_del_addr() argument
1347 ipv6_create_tempaddr(struct inet6_ifaddr *ifp, bool block) ipv6_create_tempaddr() argument
1874 struct inet6_ifaddr *ifp; __ipv6_get_lladdr() local
1909 const struct inet6_ifaddr *ifp; ipv6_count_addresses() local
1943 struct inet6_ifaddr *ifp; __ipv6_chk_addr_and_flags() local
2054 struct inet6_ifaddr *ifp, *result = NULL; ipv6_get_ifaddr() local
2074 addrconf_dad_stop(struct inet6_ifaddr *ifp, int dad_failed) addrconf_dad_stop() argument
2107 addrconf_dad_end(struct inet6_ifaddr *ifp) addrconf_dad_end() argument
2121 addrconf_dad_failure(struct sk_buff *skb, struct inet6_ifaddr *ifp) addrconf_dad_failure() argument
2220 addrconf_join_anycast(struct inet6_ifaddr *ifp) addrconf_join_anycast() argument
2233 addrconf_leave_anycast(struct inet6_ifaddr *ifp) addrconf_leave_anycast() argument
2367 struct inet6_ifaddr *ifp; ipv6_inherit_eui64() local
2536 manage_tempaddrs(struct inet6_dev *idev, struct inet6_ifaddr *ifp, __u32 valid_lft, __u32 prefered_lft, bool create, unsigned long now) manage_tempaddrs() argument
2622 struct inet6_ifaddr *ifp = ipv6_get_ifaddr(net, addr, dev, 1); addrconf_prefix_rcv_add_addr() local
2947 struct inet6_ifaddr *ifp; inet6_addr_add() local
3049 struct inet6_ifaddr *ifp; inet6_addr_del() local
3143 struct inet6_ifaddr *ifp; add_addr() local
3258 struct inet6_ifaddr *ifp; addrconf_add_linklocal() local
3526 fixup_permanent_addr(struct net *net, struct inet6_dev *idev, struct inet6_ifaddr *ifp) fixup_permanent_addr() argument
3565 struct inet6_ifaddr *ifp, *tmp; addrconf_permanent_addr() local
4018 addrconf_dad_kick(struct inet6_ifaddr *ifp) addrconf_dad_kick() argument
4041 addrconf_dad_begin(struct inet6_ifaddr *ifp) addrconf_dad_begin() argument
4110 addrconf_dad_start(struct inet6_ifaddr *ifp) addrconf_dad_start() argument
4127 struct inet6_ifaddr *ifp = container_of(to_delayed_work(w), addrconf_dad_work() local
4236 ipv6_lonely_lladdr(struct inet6_ifaddr *ifp) ipv6_lonely_lladdr() argument
4253 addrconf_dad_completed(struct inet6_ifaddr *ifp, bool bump_id, bool send_na) addrconf_dad_completed() argument
4331 struct inet6_ifaddr *ifp; addrconf_dad_run() local
4431 struct inet6_ifaddr *ifp = (struct inet6_ifaddr *)v; if6_seq_show() local
4483 struct inet6_ifaddr *ifp = NULL; ipv6_chk_home_addr() local
4514 struct inet6_ifaddr *ifp; ipv6_chk_rpl_srh_loop() local
4557 struct inet6_ifaddr *ifp; addrconf_verify_rtnl() local
4751 modify_prefix_route(struct inet6_ifaddr *ifp, unsigned long expires, u32 flags, bool modify_peer) modify_prefix_route() argument
4786 inet6_addr_modify(struct net *net, struct inet6_ifaddr *ifp, struct ifa6_config *cfg) inet6_addr_modify() argument
5814 struct inet6_ifaddr *ifp; inet6_set_iftoken() local
6197 __ipv6_ifa_notify(int event, struct inet6_ifaddr *ifp) __ipv6_ifa_notify() argument
6253 ipv6_ifa_notify(int event, struct inet6_ifaddr *ifp) ipv6_ifa_notify() argument
[all...]

Completed in 30 milliseconds

1234567