Home
last modified time | relevance | path

Searched refs:ifp (Results 1 – 25 of 79) sorted by relevance

1234

/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dcore.c67 if (!ifp) in brcmf_ifname()
86 ifp = NULL; in brcmf_get_ifp()
247 eth_hw_addr_set(ifp->ndev, ifp->mac_addr); in brcmf_netdev_set_mac_address()
384 if (!ifp || !ifp->ndev) in brcmf_txflowblock_if()
494 if (ret || !(*ifp) || !(*ifp)->ndev) { in brcmf_rx_hdrpull()
495 if (ret != -ENODATA && *ifp && (*ifp)->ndev) in brcmf_rx_hdrpull()
845 ifp->drvr->iflist[ifp->bsscfgidx] = NULL; in brcmf_net_p2p_attach()
880 ifp = kzalloc(sizeof(*ifp), GFP_KERNEL); in brcmf_add_if()
966 if (!ifp || WARN_ON(ifp->drvr->iflist[ifp->bsscfgidx] != ifp)) in brcmf_remove_interface()
970 brcmf_proto_del_if(ifp->drvr, ifp); in brcmf_remove_interface()
[all …]
A Dfwil.c99 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()
151 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_get()
171 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_int_set()
185 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_int_get()
219 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_iovar_data_set()
247 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_iovar_data_get()
343 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_bsscfg_data_set()
350 ifp->bsscfgidx, name, len); in brcmf_fil_bsscfg_data_set()
[all …]
A Dfeature.c143 ifp->fwil_fwerr = true; 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()
164 ifp->fwil_fwerr = true; in brcmf_feat_iovar_data_set()
169 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_data_set()
175 ifp->fwil_fwerr = false; in brcmf_feat_iovar_data_set()
181 struct brcmf_pub *drvr = ifp->drvr; in brcmf_feat_firmware_capabilities()
199 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_firmware_capabilities()
263 ifp->drvr->feat_flags |= in brcmf_feat_attach()
266 ifp->drvr->feat_flags |= in brcmf_feat_attach()
[all …]
A Dbtcoex.c112 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 Dcfg80211.c496 ifp = vif->ifp; in brcmf_cfg80211_update_proto_addr_mode()
501 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
504 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
592 ifp = vif->ifp; in brcmf_ap_add_vif()
593 if (!ifp) { in brcmf_ap_add_vif()
599 strncpy(ifp->ndev->name, name, sizeof(ifp->ndev->name) - 1); in brcmf_ap_add_vif()
669 vif->ifp = ifp; in brcmf_mon_add_vif()
1151 escan->ifp = ifp; in brcmf_do_escan()
4461 ifp = vif->ifp; in brcmf_vif_set_mgmt_ie()
6268 vif->ifp = ifp; in brcmf_notify_vif_event()
[all …]
A Dfwil.h84 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);
89 s32 brcmf_fil_iovar_data_get(struct brcmf_if *ifp, char *name, void *data,
91 s32 brcmf_fil_iovar_int_set(struct brcmf_if *ifp, char *name, u32 data);
92 s32 brcmf_fil_iovar_int_get(struct brcmf_if *ifp, char *name, u32 *data);
94 s32 brcmf_fil_bsscfg_data_set(struct brcmf_if *ifp, char *name, void *data,
96 s32 brcmf_fil_bsscfg_data_get(struct brcmf_if *ifp, char *name, void *data,
98 s32 brcmf_fil_bsscfg_int_set(struct brcmf_if *ifp, char *name, u32 data);
99 s32 brcmf_fil_bsscfg_int_get(struct brcmf_if *ifp, char *name, u32 *data);
100 s32 brcmf_fil_xtlv_data_set(struct brcmf_if *ifp, char *name, u16 id,
[all …]
A Dproto.h36 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, inirq); 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 Dcommon.c82 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_set_joinpref_default()
122 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_process_clm_blob()
206 err = brcmf_fil_iovar_data_get(ifp, "cur_etheraddr", ifp->mac_addr, in brcmf_c_preinit_dcmds()
207 sizeof(ifp->mac_addr)); in brcmf_c_preinit_dcmds()
212 memcpy(ifp->drvr->mac, ifp->mac_addr, sizeof(ifp->drvr->mac)); in brcmf_c_preinit_dcmds()
213 memcpy(ifp->drvr->wiphy->perm_addr, ifp->drvr->mac, ETH_ALEN); in brcmf_c_preinit_dcmds()
215 bus = ifp->drvr->bus_if; in brcmf_c_preinit_dcmds()
216 ri = &ifp->drvr->revinfo; in brcmf_c_preinit_dcmds()
275 strlcpy(ifp->drvr->fwver, ptr, sizeof(ifp->drvr->fwver)); in brcmf_c_preinit_dcmds()
285 memcpy(ifp->drvr->clmver, clmver, sizeof(ifp->drvr->clmver)); in brcmf_c_preinit_dcmds()
[all …]
A Dpno.c105 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 Dfweh.c96 struct brcmf_if *ifp, in brcmf_fweh_call_event_handler() argument
104 if (ifp) { in brcmf_fweh_call_event_handler()
105 fweh = &ifp->drvr->fweh; in brcmf_fweh_call_event_handler()
130 struct brcmf_if *ifp; in brcmf_fweh_handle_if_event() local
162 if (IS_ERR(ifp)) in brcmf_fweh_handle_if_event()
165 brcmf_proto_add_if(drvr, ifp); in brcmf_fweh_handle_if_event()
172 brcmf_proto_reset_if(drvr, ifp); in brcmf_fweh_handle_if_event()
182 brcmf_remove_interface(ifp, false); in brcmf_fweh_handle_if_event()
216 struct brcmf_if *ifp; in brcmf_fweh_event_worker() local
259 ifp = drvr->iflist[0]; in brcmf_fweh_event_worker()
[all …]
A Dp2p.c1046 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 strncpy(ifp->ndev->name, name, sizeof(ifp->ndev->name) - 1); in brcmf_p2p_add_vif()
[all …]
A Dcore.h198 int brcmf_netdev_wait_pend8021x(struct brcmf_if *ifp);
201 char *brcmf_ifname(struct brcmf_if *ifp);
203 void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable);
204 int brcmf_net_attach(struct brcmf_if *ifp, bool locked);
207 void brcmf_remove_interface(struct brcmf_if *ifp, bool locked);
208 void brcmf_txflowblock_if(struct brcmf_if *ifp,
210 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success);
211 void brcmf_netif_rx(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq);
212 void brcmf_netif_mon_rx(struct brcmf_if *ifp, struct sk_buff *skb);
214 int brcmf_net_mon_attach(struct brcmf_if *ifp);
[all …]
A Dfwsignal.h37 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);
45 void brcmf_fws_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq);
A Dbcdc.c326 if (ifp != NULL) in brcmf_proto_bcdc_hdrpull()
327 *ifp = tmp_if; in brcmf_proto_bcdc_hdrpull()
340 return brcmf_fws_process_skb(ifp, skb); in brcmf_proto_bcdc_tx_queue_data()
367 struct brcmf_if *ifp; in brcmf_proto_bcdc_txcomplete() local
377 brcmf_txfinalize(ifp, txp, success); in brcmf_proto_bcdc_txcomplete()
402 brcmf_fws_rxreorder(ifp, skb, inirq); in brcmf_proto_bcdc_rxreorder()
406 brcmf_proto_bcdc_add_if(struct brcmf_if *ifp) in brcmf_proto_bcdc_add_if() argument
408 brcmf_fws_add_interface(ifp); in brcmf_proto_bcdc_add_if()
412 brcmf_proto_bcdc_del_if(struct brcmf_if *ifp) in brcmf_proto_bcdc_del_if() argument
414 brcmf_fws_del_interface(ifp); in brcmf_proto_bcdc_del_if()
[all …]
A Dfwsignal.c759 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
2162 brcmf_fws_macdesc_init(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_reset_interface()
2175 brcmf_fws_macdesc_init(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_add_interface()
2191 ifp->fws_desc = NULL; in brcmf_fws_del_interface()
2194 ifp->ifidx); in brcmf_fws_del_interface()
2345 struct brcmf_if *ifp; in brcmf_fws_attach() local
2496 struct brcmf_if *ifp; in brcmf_fws_bus_blocked() local
[all …]
A Dvendor.c24 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()
/linux/fs/xfs/libxfs/
A Dxfs_inode_fork.c128 ifp->if_bytes = 0; in xfs_iformat_extents()
214 ifp->if_bytes = 0; in xfs_iformat_btree()
290 return ifp; in xfs_ifork_alloc()
396 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_iroot_realloc()
414 ASSERT((ifp->if_broot != NULL) && (ifp->if_broot_bytes > 0)); in xfs_iroot_realloc()
605 if (!ifp) { in xfs_iflush_fork()
617 memcpy(cp, ifp->if_u1.if_data, ifp->if_bytes); in xfs_iflush_fork()
636 xfs_bmbt_to_bmdr(mp, ifp->if_broot, ifp->if_broot_bytes, in xfs_iflush_fork()
719 if (!ifp) in xfs_ifork_verify_local_attr()
726 ifp ? ifp->if_u1.if_data : NULL, in xfs_ifork_verify_local_attr()
[all …]
A Dxfs_iext_tree.c164 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()
422 ifp->if_height++; in xfs_iext_grow()
587 ifp->if_height = 1; in xfs_iext_alloc_root()
607 memset(new + ifp->if_bytes, 0, new_size - ifp->if_bytes); in xfs_iext_realloc_root()
621 WRITE_ONCE(ifp->if_seq, READ_ONCE(ifp->if_seq) + 1); in xfs_iext_inc_seq()
782 ifp->if_height--; in xfs_iext_remove_node()
856 ifp->if_height--; in xfs_iext_free_last_leaf()
1045 xfs_iext_destroy_node(ifp->if_u1.if_root, ifp->if_height); in xfs_iext_destroy()
[all …]
A Dxfs_inode_fork.h124 if (!ifp) in xfs_ifork_nextents()
126 return ifp->if_nextents; in xfs_ifork_nextents()
131 if (!ifp) in xfs_ifork_format()
133 return ifp->if_format; in xfs_ifork_format()
184 xfs_iext_next(ifp, cur); in xfs_iext_next_extent()
191 xfs_iext_prev(ifp, cur); in xfs_iext_prev_extent()
203 xfs_iext_next(ifp, &ncur); in xfs_iext_peek_next_extent()
215 xfs_iext_prev(ifp, &ncur); in xfs_iext_peek_prev_extent()
220 for (xfs_iext_first((ifp), (ext)); \
222 xfs_iext_next((ifp), (ext)))
[all …]
A Dxfs_symlink_remote.c169 struct xfs_ifork *ifp) in xfs_symlink_local_to_remote() argument
178 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote()
179 xfs_trans_log_buf(tp, bp, 0, ifp->if_bytes - 1); in xfs_symlink_local_to_remote()
188 ifp->if_bytes + sizeof(struct xfs_dsymlink_hdr)); in xfs_symlink_local_to_remote()
193 buf += xfs_symlink_hdr_set(mp, ip->i_ino, 0, ifp->if_bytes, bp); in xfs_symlink_local_to_remote()
194 memcpy(buf, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote()
196 ifp->if_bytes - 1); in xfs_symlink_local_to_remote()
207 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xfs_symlink_shortform_verify() local
208 char *sfp = (char *)ifp->if_u1.if_data; in xfs_symlink_shortform_verify()
209 int size = ifp->if_bytes; in xfs_symlink_shortform_verify()
[all …]
A Dxfs_bmap.c345 block = ifp->if_broot; in xfs_bmap_check_leaf_extents()
759 ifp->if_height = 0; in xfs_bmap_local_to_extents_empty()
793 if (!ifp->if_bytes) { in xfs_bmap_local_to_extents()
848 ifp->if_height = 0; in xfs_bmap_local_to_extents()
857 ifp->if_nextents = 1; in xfs_bmap_local_to_extents()
1500 ifp->if_nextents--; in xfs_bmap_add_extent_delay_real()
1604 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real()
1670 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real()
1757 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real()
1843 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real()
[all …]
/linux/drivers/infiniband/hw/qib/
A Dqib_eeprom.c116 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 Daddrconf.c972 ifp); in inet6_ifa_finish_destroy()
2643 if (ifp->valid_lft > (now - ifp->tstamp) / HZ) in addrconf_prefix_rcv_add_addr()
3440 if (!ifp->rt || !ifp->rt->fib6_node) { in fixup_permanent_addr()
4095 if (!ifp->dad_probes && addrconf_dad_end(ifp)) in addrconf_dad_work()
4527 next = ifp->tstamp + ifp->valid_lft * HZ; in addrconf_verify_rtnl()
4684 ifp->rt_priority, ifp->idev->dev, in modify_prefix_route()
4775 ifp->rt_priority, ifp->idev->dev, in inet6_addr_modify()
4784 ifp->rt_priority, ifp->idev->dev, in inet6_addr_modify()
6117 &ifp->addr, ifp->idev->dev->name); in __ipv6_ifa_notify()
6124 ifp->rt_priority, ifp->idev->dev, in __ipv6_ifa_notify()
[all …]
/linux/drivers/block/aoe/
A Daoenet.c58 struct net_device *ifp; in tx() local
62 ifp = skb->dev; in tx()
65 ifp ? ifp->name : "netif", 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()
A Daoeblk.c64 struct aoeif *ifp, *e; in aoedisk_show_netif() local
73 ifp = (*t)->ifs; in aoedisk_show_netif()
74 e = ifp + NAOEIFS; in aoedisk_show_netif()
75 for (; ifp < e && ifp->nd; ifp++) { in aoedisk_show_netif()
77 if (*nnd == ifp->nd) in aoedisk_show_netif()
80 *nd++ = ifp->nd; in aoedisk_show_netif()
116 struct aoeif *ifp, *ife; in aoedisk_debugfs_show() local
143 ifp = (*t)->ifs; in aoedisk_debugfs_show()
144 ife = ifp + ARRAY_SIZE((*t)->ifs); in aoedisk_debugfs_show()
145 for (; ifp->nd && ifp < ife; ifp++) { in aoedisk_debugfs_show()
[all …]

Completed in 103 milliseconds

1234