Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dcore.c69 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 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()
265 ifp->drvr->feat_flags |= in brcmf_feat_attach()
268 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 Dcommon.c82 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_set_joinpref_default()
225 err = brcmf_c_set_cur_etheraddr(ifp, ifp->mac_addr); in brcmf_c_preinit_dcmds()
230 err = brcmf_fil_iovar_data_get(ifp, "cur_etheraddr", ifp->mac_addr, in brcmf_c_preinit_dcmds()
239 eth_random_addr(ifp->mac_addr); in brcmf_c_preinit_dcmds()
241 err = brcmf_c_set_cur_etheraddr(ifp, ifp->mac_addr); in brcmf_c_preinit_dcmds()
247 memcpy(ifp->drvr->mac, ifp->mac_addr, sizeof(ifp->drvr->mac)); in brcmf_c_preinit_dcmds()
248 memcpy(ifp->drvr->wiphy->perm_addr, ifp->drvr->mac, ETH_ALEN); in brcmf_c_preinit_dcmds()
250 bus = ifp->drvr->bus_if; in brcmf_c_preinit_dcmds()
251 ri = &ifp->drvr->revinfo; in brcmf_c_preinit_dcmds()
315 strscpy(ifp->drvr->fwver, ptr + 1, sizeof(ifp->drvr->fwver)); in brcmf_c_preinit_dcmds()
[all …]
A Dcfg80211.c572 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->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
862 ifp = vif->ifp; in brcmf_apsta_add_vif()
863 if (!ifp) { in brcmf_apsta_add_vif()
939 vif->ifp = ifp; in brcmf_mon_add_vif()
1421 escan->ifp = ifp; in brcmf_do_escan()
4739 ifp = vif->ifp; in brcmf_vif_set_mgmt_ie()
5323 ifp = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_cfg80211_del_station()
6553 vif->ifp = ifp; in brcmf_notify_vif_event()
[all …]
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);
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);
98 s32 brcmf_fil_bsscfg_int_set(struct brcmf_if *ifp, const char *name, u32 data);
99 s32 brcmf_fil_bsscfg_int_get(struct brcmf_if *ifp, const char *name, u32 *data);
100 s32 brcmf_fil_xtlv_data_set(struct brcmf_if *ifp, const 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); 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 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
263 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.h207 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 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);
46 void brcmf_fws_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb);
A Dbcdc.c328 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 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()
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
2500 struct brcmf_if *ifp; in brcmf_fws_bus_blocked() local
[all …]
A Dp2p.h152 void brcmf_p2p_ifp_removed(struct brcmf_if *ifp, bool rtnl_locked);
161 int brcmf_p2p_notify_listen_complete(struct brcmf_if *ifp,
164 void brcmf_p2p_cancel_remain_on_channel(struct brcmf_if *ifp);
165 int brcmf_p2p_notify_action_frame_rx(struct brcmf_if *ifp,
168 int brcmf_p2p_notify_action_tx_complete(struct brcmf_if *ifp,
176 s32 brcmf_p2p_notify_rx_mgmt_p2p_probereq(struct brcmf_if *ifp,
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_inode_fork.c61 ifp->if_bytes = size; in xfs_init_local_fork()
127 ifp->if_bytes = 0; in xfs_iformat_extents()
129 ifp->if_height = 0; in xfs_iformat_extents()
213 ifp->if_bytes = 0; in xfs_iformat_btree()
399 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_iroot_realloc()
417 ASSERT((ifp->if_broot != NULL) && (ifp->if_broot_bytes > 0)); in xfs_iroot_realloc()
503 ifp->if_u1.if_data = krealloc(ifp->if_u1.if_data, new_size, in xfs_idata_realloc()
603 if (!ifp) { in xfs_iflush_fork()
615 memcpy(cp, ifp->if_u1.if_data, ifp->if_bytes); in xfs_iflush_fork()
634 xfs_bmbt_to_bmdr(mp, ifp->if_broot, ifp->if_broot_bytes, in xfs_iflush_fork()
[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.h91 if (!ifp) in xfs_ifork_nextents()
93 return ifp->if_nextents; in xfs_ifork_nextents()
98 if (!ifp) in xfs_ifork_format()
100 return ifp->if_format; in xfs_ifork_format()
211 xfs_iext_next(ifp, cur); in xfs_iext_next_extent()
218 xfs_iext_prev(ifp, cur); in xfs_iext_prev_extent()
230 xfs_iext_next(ifp, &ncur); in xfs_iext_peek_next_extent()
242 xfs_iext_prev(ifp, &ncur); in xfs_iext_peek_prev_extent()
247 for (xfs_iext_first((ifp), (ext)); \
249 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.c343 block = ifp->if_broot; in xfs_bmap_check_leaf_extents()
746 ifp->if_height = 0; in xfs_bmap_local_to_extents_empty()
780 if (!ifp->if_bytes) { in xfs_bmap_local_to_extents()
831 ifp->if_height = 0; in xfs_bmap_local_to_extents()
840 ifp->if_nextents = 1; in xfs_bmap_local_to_extents()
1481 ifp->if_nextents--; in xfs_bmap_add_extent_delay_real()
1585 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real()
1651 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real()
1738 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real()
1824 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real()
[all …]
/linux-6.3-rc2/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-6.3-rc2/net/ipv6/
A Daddrconf.c980 ifp); in inet6_ifa_finish_destroy()
2641 if (ifp->valid_lft > (now - ifp->tstamp) / HZ) in addrconf_prefix_rcv_add_addr()
3482 if (!ifp->rt || !ifp->rt->fib6_node) { in fixup_permanent_addr()
4131 if (!ifp->dad_probes && addrconf_dad_end(ifp)) in addrconf_dad_work()
4535 !ifp->regen_count && ifp->ifpub) { in addrconf_verify_rtnl()
4587 next = ifp->tstamp + ifp->valid_lft * HZ; in addrconf_verify_rtnl()
4719 ifp->rt_priority, ifp->idev->dev, in modify_prefix_route()
4812 ifp->rt_priority, ifp->idev->dev, in inet6_addr_modify()
4821 ifp->rt_priority, ifp->idev->dev, in inet6_addr_modify()
6165 &ifp->addr, ifp->idev->dev->name); in __ipv6_ifa_notify()
[all …]
/linux-6.3-rc2/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()

Completed in 95 milliseconds

1234