| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | core.c | 69 if (!ifp) in brcmf_ifname() 88 ifp = NULL; in brcmf_get_ifp() 245 eth_hw_addr_set(ifp->ndev, ifp->mac_addr); in brcmf_netdev_set_mac_address() 384 if (!ifp || !ifp->ndev) in brcmf_txflowblock_if() 486 if (ret || !(*ifp) || !(*ifp)->ndev) { in brcmf_rx_hdrpull() 487 if (ret != -ENODATA && *ifp && (*ifp)->ndev) in brcmf_rx_hdrpull() 837 ifp->drvr->iflist[ifp->bsscfgidx] = NULL; in brcmf_net_p2p_attach() 872 ifp = kzalloc(sizeof(*ifp), GFP_KERNEL); in brcmf_add_if() 958 if (!ifp || WARN_ON(ifp->drvr->iflist[ifp->bsscfgidx] != ifp)) in brcmf_remove_interface() 962 brcmf_proto_del_if(ifp->drvr, ifp); in brcmf_remove_interface() [all …]
|
| A D | feature.c | 191 ifp->fwil_fwerr = true; in brcmf_feat_iovar_int_get() 196 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get() 202 ifp->fwil_fwerr = false; in brcmf_feat_iovar_int_get() 212 ifp->fwil_fwerr = true; in brcmf_feat_iovar_data_set() 217 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_data_set() 223 ifp->fwil_fwerr = false; in brcmf_feat_iovar_data_set() 229 struct brcmf_pub *drvr = ifp->drvr; in brcmf_feat_firmware_capabilities() 313 ifp->drvr->feat_flags |= in brcmf_feat_attach() 316 ifp->drvr->feat_flags |= in brcmf_feat_attach() 346 brcmf_fwvid_feat_attach(ifp); in brcmf_feat_attach() [all …]
|
| A D | fwil.h | 85 s32 brcmf_fil_cmd_int_set(struct brcmf_if *ifp, u32 cmd, u32 data) in brcmf_fil_cmd_int_set() argument 91 err = brcmf_fil_cmd_data_set(ifp, cmd, &data_le, sizeof(data_le)); in brcmf_fil_cmd_int_set() 96 s32 brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data) in brcmf_fil_cmd_int_get() argument 100 err = brcmf_fil_cmd_data_get(ifp, cmd, data, sizeof(*data)); in brcmf_fil_cmd_int_get() 113 return brcmf_fil_cmd_int_get(ifp, cmd, data); in brcmf_fil_cmd_int_query() 132 err = brcmf_fil_iovar_data_get(ifp, name, data, sizeof(*data)); in brcmf_fil_iovar_int_get() 143 return brcmf_fil_iovar_int_get(ifp, name, data); in brcmf_fil_iovar_int_query() 156 return brcmf_fil_bsscfg_data_set(ifp, name, &data_le, in brcmf_fil_bsscfg_int_set() 164 err = brcmf_fil_bsscfg_data_get(ifp, name, data, sizeof(*data)); in brcmf_fil_bsscfg_int_get() 175 return brcmf_fil_bsscfg_int_get(ifp, name, data); in brcmf_fil_bsscfg_int_query() [all …]
|
| A D | btcoex.c | 112 return brcmf_fil_iovar_data_set(ifp, "btc_params", in brcmf_btcoex_params_write() 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, 64, &btci->reg64); in brcmf_btcoex_boost_wifi() 154 brcmf_btcoex_params_read(ifp, 65, &btci->reg65); in brcmf_btcoex_boost_wifi() 155 brcmf_btcoex_params_read(ifp, 71, &btci->reg71); in brcmf_btcoex_boost_wifi() 235 struct brcmf_if *ifp = btci->vif->ifp; in btcmf_btcoex_save_part1() local 255 struct brcmf_if *ifp; in brcmf_btcoex_restore_part1() local 259 ifp = btci->vif->ifp; in brcmf_btcoex_restore_part1() 411 struct brcmf_if *ifp = btci->vif->ifp; in brcmf_btcoex_dhcp_start() local [all …]
|
| A D | common.c | 82 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_set_joinpref_default() 280 err = brcmf_c_set_cur_etheraddr(ifp, ifp->mac_addr); in brcmf_c_preinit_dcmds() 285 err = brcmf_fil_iovar_data_get(ifp, "cur_etheraddr", ifp->mac_addr, in brcmf_c_preinit_dcmds() 294 eth_random_addr(ifp->mac_addr); in brcmf_c_preinit_dcmds() 296 err = brcmf_c_set_cur_etheraddr(ifp, ifp->mac_addr); in brcmf_c_preinit_dcmds() 302 memcpy(ifp->drvr->mac, ifp->mac_addr, sizeof(ifp->drvr->mac)); in brcmf_c_preinit_dcmds() 303 memcpy(ifp->drvr->wiphy->perm_addr, ifp->drvr->mac, ETH_ALEN); in brcmf_c_preinit_dcmds() 305 bus = ifp->drvr->bus_if; in brcmf_c_preinit_dcmds() 306 ri = &ifp->drvr->revinfo; in brcmf_c_preinit_dcmds() 384 strscpy(ifp->drvr->fwver, ptr + 1, sizeof(ifp->drvr->fwver)); in brcmf_c_preinit_dcmds() [all …]
|
| A D | fwil.c | 99 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_cmd_data() 123 if (ifp->fwil_fwerr) in brcmf_fil_cmd_data() 134 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set() 152 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_get() 191 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_iovar_data_set() 220 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_iovar_data_get() 297 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_bsscfg_data_set() 304 ifp->bsscfgidx, name, len); in brcmf_fil_bsscfg_data_set() 327 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_bsscfg_data_get() 345 ifp->ifidx, ifp->bsscfgidx, name, len, err); in brcmf_fil_bsscfg_data_get() [all …]
|
| A D | cfg80211.c | 573 ifp = vif->ifp; in brcmf_cfg80211_update_proto_addr_mode() 578 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode() 581 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode() 863 ifp = vif->ifp; in brcmf_apsta_add_vif() 864 if (!ifp) { in brcmf_apsta_add_vif() 870 strscpy(ifp->ndev->name, name, sizeof(ifp->ndev->name)); in brcmf_apsta_add_vif() 940 vif->ifp = ifp; in brcmf_mon_add_vif() 1495 escan->ifp = ifp; in brcmf_do_escan() 4858 ifp = vif->ifp; in brcmf_vif_set_mgmt_ie() 6681 vif->ifp = ifp; in brcmf_notify_vif_event() [all …]
|
| A D | proto.h | 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() argument 57 if (ifp) in brcmf_proto_hdrpull() 58 *ifp = NULL; in brcmf_proto_hdrpull() 60 ifp = &tmp; in brcmf_proto_hdrpull() 114 ifp->drvr->proto->rxreorder(ifp, skb); in brcmf_proto_rxreorder() 122 drvr->proto->add_if(ifp); in brcmf_proto_add_if() 130 drvr->proto->del_if(ifp); in brcmf_proto_del_if() [all …]
|
| A D | pno.c | 105 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_config() 157 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_set_random() 200 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_add_ssid() 223 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_add_bssid() 258 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_clean() 402 pi = ifp_to_pno(ifp); in brcmf_pno_config_sched_scans() 416 err = brcmf_pno_clean(ifp); in brcmf_pno_config_sched_scans() 459 brcmf_pno_clean(ifp); in brcmf_pno_config_sched_scans() 475 pi = ifp_to_pno(ifp); in brcmf_pno_start_sched_scan() 497 pi = ifp_to_pno(ifp); in brcmf_pno_stop_sched_scan() [all …]
|
| A D | fwvid.h | 15 void (*feat_attach)(struct brcmf_if *ifp); 16 int (*set_sae_password)(struct brcmf_if *ifp, struct cfg80211_crypto_settings *crypto); 30 static inline void brcmf_fwvid_feat_attach(struct brcmf_if *ifp) in brcmf_fwvid_feat_attach() argument 32 const struct brcmf_fwvid_ops *vops = ifp->drvr->vops; in brcmf_fwvid_feat_attach() 37 vops->feat_attach(ifp); in brcmf_fwvid_feat_attach() 40 static inline int brcmf_fwvid_set_sae_password(struct brcmf_if *ifp, in brcmf_fwvid_set_sae_password() argument 43 const struct brcmf_fwvid_ops *vops = ifp->drvr->vops; in brcmf_fwvid_set_sae_password() 48 return vops->set_sae_password(ifp, crypto); in brcmf_fwvid_set_sae_password()
|
| A D | p2p.c | 1046 if (!ifp) in brcmf_p2p_cancel_remain_on_channel() 1302 struct brcmf_if *ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_stop_wait_next_action_frame() local 1340 struct brcmf_if *ifp; in brcmf_p2p_gon_req_collision() local 1354 ifp = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif->ifp; in brcmf_p2p_gon_req_collision() 2009 struct brcmf_if *ifp; in brcmf_p2p_get_current_chanspec() local 2015 ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_get_current_chanspec() 2237 if (!ifp) in brcmf_p2p_get_conn_idx() 2330 ifp = vif->ifp; in brcmf_p2p_add_vif() 2331 if (!ifp) { in brcmf_p2p_add_vif() 2337 strscpy(ifp->ndev->name, name, sizeof(ifp->ndev->name)); in brcmf_p2p_add_vif() [all …]
|
| A D | fweh.c | 97 struct brcmf_if *ifp, in brcmf_fweh_call_event_handler() argument 105 if (ifp) { in brcmf_fweh_call_event_handler() 106 fweh = ifp->drvr->fweh; in brcmf_fweh_call_event_handler() 131 struct brcmf_if *ifp; in brcmf_fweh_handle_if_event() local 163 if (IS_ERR(ifp)) in brcmf_fweh_handle_if_event() 166 brcmf_proto_add_if(drvr, ifp); in brcmf_fweh_handle_if_event() 173 brcmf_proto_reset_if(drvr, ifp); in brcmf_fweh_handle_if_event() 183 brcmf_remove_interface(ifp, false); in brcmf_fweh_handle_if_event() 256 struct brcmf_if *ifp; in brcmf_fweh_event_worker() local 307 ifp = drvr->iflist[0]; in brcmf_fweh_event_worker() [all …]
|
| A D | core.h | 207 int brcmf_netdev_wait_pend8021x(struct brcmf_if *ifp); 210 char *brcmf_ifname(struct brcmf_if *ifp); 212 void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable); 213 int brcmf_net_attach(struct brcmf_if *ifp, bool locked); 216 void brcmf_remove_interface(struct brcmf_if *ifp, bool locked); 217 void brcmf_txflowblock_if(struct brcmf_if *ifp, 219 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success); 220 void brcmf_netif_rx(struct brcmf_if *ifp, struct sk_buff *skb); 221 void brcmf_netif_mon_rx(struct brcmf_if *ifp, struct sk_buff *skb); 223 int brcmf_net_mon_attach(struct brcmf_if *ifp); [all …]
|
| A D | fwsignal.h | 37 void brcmf_fws_hdrpull(struct brcmf_if *ifp, s16 siglen, struct sk_buff *skb); 38 int brcmf_fws_process_skb(struct brcmf_if *ifp, struct sk_buff *skb); 40 void brcmf_fws_reset_interface(struct brcmf_if *ifp); 41 void brcmf_fws_add_interface(struct brcmf_if *ifp); 42 void brcmf_fws_del_interface(struct brcmf_if *ifp); 46 void brcmf_fws_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb);
|
| A D | bcdc.c | 328 if (ifp != NULL) in brcmf_proto_bcdc_hdrpull() 329 *ifp = tmp_if; in brcmf_proto_bcdc_hdrpull() 342 return brcmf_fws_process_skb(ifp, skb); in brcmf_proto_bcdc_tx_queue_data() 369 struct brcmf_if *ifp; in brcmf_proto_bcdc_txcomplete() local 378 brcmf_txfinalize(ifp, txp, success); in brcmf_proto_bcdc_txcomplete() 403 brcmf_fws_rxreorder(ifp, skb); in brcmf_proto_bcdc_rxreorder() 407 brcmf_proto_bcdc_add_if(struct brcmf_if *ifp) in brcmf_proto_bcdc_add_if() argument 409 brcmf_fws_add_interface(ifp); in brcmf_proto_bcdc_add_if() 413 brcmf_proto_bcdc_del_if(struct brcmf_if *ifp) in brcmf_proto_bcdc_del_if() argument 415 brcmf_fws_del_interface(ifp); in brcmf_proto_bcdc_del_if() [all …]
|
| A D | vendor.c | 24 struct brcmf_if *ifp; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local 38 ifp = vif->ifp; in brcmf_cfg80211_vndr_cmds_dcmd_handler() 40 brcmf_dbg(TRACE, "ifidx=%d, cmd=%d\n", ifp->ifidx, cmdhdr->cmd); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 68 ret = brcmf_fil_cmd_data_set(ifp, cmdhdr->cmd, dcmd_buf, in brcmf_cfg80211_vndr_cmds_dcmd_handler() 71 ret = brcmf_fil_cmd_data_get(ifp, cmdhdr->cmd, dcmd_buf, in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
| A D | fwsignal.c | 759 entry = ifp->fws_desc; in brcmf_fws_macdesc_find() 765 entry = ifp->fws_desc; in brcmf_fws_macdesc_find() 964 if (WARN_ON(!ifp)) in brcmf_fws_flow_control_check() 1447 struct brcmf_if *ifp; in brcmf_fws_txs_process() local 2158 brcmf_fws_macdesc_init(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_reset_interface() 2171 brcmf_fws_macdesc_init(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_add_interface() 2187 ifp->fws_desc = NULL; in brcmf_fws_del_interface() 2190 ifp->ifidx); in brcmf_fws_del_interface() 2341 struct brcmf_if *ifp; in brcmf_fws_attach() local 2496 struct brcmf_if *ifp; in brcmf_fws_bus_blocked() local [all …]
|
| /linux/fs/xfs/libxfs/ |
| A D | xfs_inode_fork.c | 135 ifp->if_bytes = 0; in xfs_iformat_extents() 137 ifp->if_height = 0; in xfs_iformat_extents() 225 ifp->if_bytes = 0; in xfs_iformat_btree() 428 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_iroot_realloc() 446 ASSERT((ifp->if_broot != NULL) && (ifp->if_broot_bytes > 0)); in xfs_iroot_realloc() 523 ifp->if_data = krealloc(ifp->if_data, new_size, in xfs_idata_realloc() 629 if (!ifp) { in xfs_iflush_fork() 641 memcpy(cp, ifp->if_data, ifp->if_bytes); in xfs_iflush_fork() 660 xfs_bmbt_to_bmdr(mp, ifp->if_broot, ifp->if_broot_bytes, in xfs_iflush_fork() 757 fa = xfs_attr_shortform_verify(ifp->if_data, ifp->if_bytes); in xfs_ifork_verify_local_attr() [all …]
|
| A D | xfs_iext_tree.c | 164 if (!ifp->if_height) in xfs_iext_find_first_leaf() 182 if (!ifp->if_height) in xfs_iext_find_last_leaf() 240 if (ifp->if_height > 1 && !xfs_iext_valid(ifp, cur) && in xfs_iext_next() 429 ifp->if_height++; in xfs_iext_grow() 594 ifp->if_height = 1; in xfs_iext_alloc_root() 615 memset(new + ifp->if_bytes, 0, new_size - ifp->if_bytes); in xfs_iext_realloc_root() 629 WRITE_ONCE(ifp->if_seq, READ_ONCE(ifp->if_seq) + 1); in xfs_iext_inc_seq() 799 ifp->if_height--; in xfs_iext_remove_node() 873 ifp->if_height--; in xfs_iext_free_last_leaf() 1062 xfs_iext_destroy_node(ifp->if_data, ifp->if_height); in xfs_iext_destroy() [all …]
|
| A D | xfs_inode_fork.h | 85 ifp->if_format == XFS_DINODE_FMT_BTREE; in xfs_ifork_has_extents() 90 if (!ifp) in xfs_ifork_nextents() 92 return ifp->if_nextents; in xfs_ifork_nextents() 97 if (!ifp) in xfs_ifork_format() 99 return ifp->if_format; in xfs_ifork_format() 213 xfs_iext_next(ifp, cur); in xfs_iext_next_extent() 220 xfs_iext_prev(ifp, cur); in xfs_iext_prev_extent() 232 xfs_iext_next(ifp, &ncur); in xfs_iext_peek_next_extent() 244 xfs_iext_prev(ifp, &ncur); in xfs_iext_peek_prev_extent() 249 for (xfs_iext_first((ifp), (ext)); \ [all …]
|
| A D | xfs_bmap.c | 369 block = ifp->if_broot; in xfs_bmap_check_leaf_extents() 776 ifp->if_data = NULL; in xfs_bmap_local_to_extents_empty() 777 ifp->if_height = 0; in xfs_bmap_local_to_extents_empty() 812 if (!ifp->if_bytes) { in xfs_bmap_local_to_extents() 862 ifp->if_data = NULL; in xfs_bmap_local_to_extents() 863 ifp->if_height = 0; in xfs_bmap_local_to_extents() 1540 ifp->if_nextents--; in xfs_bmap_add_extent_delay_real() 1652 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real() 1723 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real() 1814 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real() [all …]
|
| /linux/drivers/infiniband/hw/qib/ |
| A D | qib_eeprom.c | 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 199 csum = flash_csum(ifp, 0); in qib_get_eeprom_info() 203 csum, ifp->if_csum); in qib_get_eeprom_info() 221 bguid = ifp->if_guid; in qib_get_eeprom_info() 242 if ((ifp->if_fversion > 1) && ifp->if_sprefix[0] && in qib_get_eeprom_info() 250 memcpy(snp, ifp->if_sprefix, sizeof(ifp->if_sprefix)); in qib_get_eeprom_info() [all …]
|
| /linux/net/ipv6/ |
| A D | addrconf.c | 987 ifp); in inet6_ifa_finish_destroy() 2708 if (ifp->valid_lft > (now - ifp->tstamp) / HZ) in addrconf_prefix_rcv_add_addr() 3585 if (!ifp->rt || !ifp->rt->fib6_node) { in fixup_permanent_addr() 4239 if (!ifp->dad_probes && addrconf_dad_end(ifp)) in addrconf_dad_work() 4644 !ifp->regen_count && ifp->ifpub) { in addrconf_verify_rtnl() 4694 next = ifp->tstamp + ifp->valid_lft * HZ; in addrconf_verify_rtnl() 4827 ifp->rt_priority, ifp->idev->dev, in modify_prefix_route() 4928 ifp->rt_priority, ifp->idev->dev, in inet6_addr_modify() 4937 ifp->rt_priority, ifp->idev->dev, in inet6_addr_modify() 6270 &ifp->addr, ifp->idev->dev->name); in __ipv6_ifa_notify() [all …]
|
| /linux/fs/xfs/scrub/ |
| A D | symlink_repair.c | 169 struct xfs_ifork *ifp; in xrep_symlink_salvage_inline() local 173 if (!ifp->if_data) in xrep_symlink_salvage_inline() 181 old_target = ifp->if_data; in xrep_symlink_salvage_inline() 250 struct xfs_ifork *ifp, in xrep_symlink_local_to_remote() argument 306 struct xfs_ifork *ifp; in xrep_symlink_swap_prep() local 309 xfs_idestroy_fork(ifp); in xrep_symlink_swap_prep() 311 ifp->if_nextents = 0; in xrep_symlink_swap_prep() 312 ifp->if_bytes = 0; in xrep_symlink_swap_prep() 313 ifp->if_data = NULL; in xrep_symlink_swap_prep() 314 ifp->if_height = 0; in xrep_symlink_swap_prep() [all …]
|
| /linux/drivers/block/aoe/ |
| A D | aoenet.c | 57 struct net_device *ifp; in tx() local 61 ifp = skb->dev; in tx() 64 ifp ? ifp->name : "netif", in tx() 66 dev_put(ifp); in tx() 73 is_aoe_netif(struct net_device *ifp) in is_aoe_netif() argument 89 if (strlen(ifp->name) == len && !strncmp(ifp->name, p, len)) in is_aoe_netif() 131 aoenet_rcv(struct sk_buff *skb, struct net_device *ifp, struct packet_type *pt, struct net_device *… in aoenet_rcv() argument 138 if (dev_net(ifp) != &init_net) in aoenet_rcv() 144 if (!is_aoe_netif(ifp)) in aoenet_rcv()
|