/linux/drivers/block/aoe/ |
H A D | aoe.h | 144 struct aoeif *ifp; /* current aoeif in use */ member 245 int is_aoe_netif(struct net_device *ifp);
|
H A D | aoeblk.c | 63 struct aoeif *ifp, *e; in aoedisk_show_netif() local 72 ifp = (*t)->ifs; in aoedisk_show_netif() 73 e = ifp + NAOEIFS; in aoedisk_show_netif() 74 for (; ifp < e && ifp->nd; ifp++) { in aoedisk_show_netif() 76 if (*nnd == ifp->nd) in aoedisk_show_netif() 79 *nd++ = ifp->nd; in aoedisk_show_netif() 115 struct aoeif *ifp, *ife; in aoe_debugfs_show() local 142 ifp = (*t)->ifs; in aoe_debugfs_show() 143 ife = ifp + ARRAY_SIZE((*t)->ifs); in aoe_debugfs_show() 144 for (; ifp->nd && ifp < ife; ifp++) { in aoe_debugfs_show() [all …]
|
H A D | aoecmd.c | 132 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in aoehdr_atainit() 158 struct aoeif *ifp; in ifrotate() local 160 ifp = t->ifp; in ifrotate() 161 ifp++; in ifrotate() 162 if (ifp >= &t->ifs[NAOEIFS] || ifp->nd == NULL) in ifrotate() 163 ifp = t->ifs; in ifrotate() 164 if (ifp->nd == NULL) in ifrotate() 166 return t->ifp = ifp; in ifrotate() 273 && t->ifp->nd) { in newframe() 364 skb->dev = t->ifp->nd; in ata_rw_frameinit() [all …]
|
H A D | aoedev.c | 502 struct aoeif *ifp; in freetgt() local 504 for (ifp = t->ifs; ifp < &t->ifs[NAOEIFS]; ++ifp) { in freetgt() 505 if (!ifp->nd) in freetgt() 507 dev_put(ifp->nd); in freetgt()
|
H 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()
|
/linux/drivers/infiniband/core/ |
H A D | roce_gid_mgmt.c | 378 struct inet6_ifaddr *ifp; in enum_netdev_ipv6_ips() local 397 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in enum_netdev_ipv6_ips() 404 entry->sin6.sin6_addr = ifp->addr; in enum_netdev_ipv6_ips()
|
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 3266 struct inet6_ifaddr *ifp; in get_lladdr() local 3269 list_for_each_entry(ifp, &idev->addr_list, if_list) { in get_lladdr() 3270 if (ifp->scope == IFA_LINK && in get_lladdr() 3271 !(ifp->flags & banned_flags)) { in get_lladdr() 3272 memcpy(addr, &ifp->addr, 16); in get_lladdr()
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | cm.c | 1661 struct inet6_ifaddr *ifp, *tmp; in irdma_add_mqh_6() local 1681 list_for_each_entry_safe (ifp, tmp, &idev->addr_list, if_list) { in irdma_add_mqh_6() 1683 &ifp->addr, rdma_vlan_dev_vlan_id(ip_dev), in irdma_add_mqh_6() 1699 ifp->addr.in6_u.u6_addr32); in irdma_add_mqh_6()
|
H A D | utils.c | 342 struct inet6_ifaddr *ifp, *tmp; in irdma_add_ipv6_addr() local 356 list_for_each_entry_safe (ifp, tmp, &idev->addr_list, in irdma_add_ipv6_addr() 360 &ifp->addr, in irdma_add_ipv6_addr() 365 ifp->addr.in6_u.u6_addr32); in irdma_add_ipv6_addr()
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_eeprom.c | 114 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->if_csum); in qib_get_eeprom_info() [all …]
|
/linux/drivers/media/i2c/ |
H A D | mt9m114.c | 411 } ifp; member 907 u16 frame_rate = sensor->ifp.frame_rate << 8; in mt9m114_set_frame_rate() 940 ret = __v4l2_ctrl_handler_setup(&sensor->ifp.hdl); in mt9m114_start_streaming() 1455 return container_of(ctrl->handler, struct mt9m114, ifp.hdl); in ifp_ctrl_to_mt9m114() 1508 unsigned int pattern = sensor->ifp.tpg[MT9M114_TPG_PATTERN]->val; in mt9m114_ifp_s_ctrl() 1518 sensor->ifp.tpg[MT9M114_TPG_RED]->val, &ret); in mt9m114_ifp_s_ctrl() 1521 sensor->ifp.tpg[MT9M114_TPG_GREEN]->val, &ret); in mt9m114_ifp_s_ctrl() 1524 sensor->ifp.tpg[MT9M114_TPG_BLUE]->val, &ret); in mt9m114_ifp_s_ctrl() 1564 return container_of(sd, struct mt9m114, ifp.sd); in ifp_to_mt9m114() 1577 ifp_state = v4l2_subdev_lock_and_get_active_state(&sensor->ifp.sd); in mt9m114_ifp_s_stream() [all …]
|
/linux/drivers/most/ |
H A D | core.c | 797 ret = enqueue(mbo->ifp, mbo->hdm_channel_id, mbo); in hdm_enqueue_thread() 888 mbo->ifp = c->iface; in arm_mbo_chain()
|
H A D | most_cdev.c | 358 c = get_channel(mbo->ifp, mbo->hdm_channel_id); in comp_rx_completion()
|
H A D | most_snd.c | 669 struct channel *channel = get_channel(mbo->ifp, mbo->hdm_channel_id); in audio_rx_completion()
|
H A D | most_usb.c | 343 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_write_completion() 395 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_read_completion() 537 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_dma_alloc() 545 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_dma_free()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bca/ |
H A D | core.c | 16 static void brcmf_bca_feat_attach(struct brcmf_if *ifp) in brcmf_bca_feat_attach() argument 19 ifp->drvr->feat_flags &= ~BIT(BRCMF_FEAT_SAE); in brcmf_bca_feat_attach()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | bcdc.c | 282 struct sk_buff *pktbuf, struct brcmf_if **ifp) in brcmf_proto_bcdc_hdrpull() argument 328 if (ifp != NULL) in brcmf_proto_bcdc_hdrpull() 329 *ifp = tmp_if; in brcmf_proto_bcdc_hdrpull() 336 struct brcmf_if *ifp = brcmf_get_ifp(drvr, ifidx); in brcmf_proto_bcdc_tx_queue_data() local 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 375 if (brcmf_proto_bcdc_hdrpull(bus_if->drvr, false, txp, &ifp)) in brcmf_proto_bcdc_txcomplete() 378 brcmf_txfinalize(ifp, txp, success); in brcmf_proto_bcdc_txcomplete() 400 static void brcmf_proto_bcdc_rxreorder(struct brcmf_if *ifp, in brcmf_proto_bcdc_rxreorder() argument 403 brcmf_fws_rxreorder(ifp, skb); in brcmf_proto_bcdc_rxreorder() [all …]
|
H A D | btcoex.c | 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() 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, 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() [all …]
|
H A D | cfg80211.c | 548 send_key_to_dongle(struct brcmf_if *ifp, struct brcmf_wsec_key *key) in send_key_to_dongle() argument 550 struct brcmf_pub *drvr = ifp->drvr; in send_key_to_dongle() 556 brcmf_netdev_wait_pend8021x(ifp); in send_key_to_dongle() 558 err = brcmf_fil_bsscfg_data_set(ifp, "wsec_key", &key_le, in send_key_to_dongle() 570 struct brcmf_if *ifp; in brcmf_cfg80211_update_proto_addr_mode() local 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() 600 static void brcmf_set_vif_sta_macaddr(struct brcmf_if *ifp, u8 *mac_addr) in brcmf_set_vif_sta_macaddr() argument 602 u8 mac_idx = ifp->drvr->sta_mac_idx; in brcmf_set_vif_sta_macaddr() [all …]
|
H A D | cfg80211.h | 221 struct brcmf_if *ifp; member 265 struct brcmf_if *ifp; member 266 s32 (*run)(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, 423 struct brcmf_if *ifp = netdev_priv(nd); in ndev_to_prof() local 424 return &ifp->vif->profile; in ndev_to_prof() 429 struct brcmf_if *ifp = netdev_priv(ndev); in ndev_to_vif() local 430 return ifp->vif; in ndev_to_vif() 446 enum nl80211_iftype brcmf_cfg80211_get_iftype(struct brcmf_if *ifp); 465 struct brcmf_if *ifp, bool aborted, 471 int brcmf_set_wsec(struct brcmf_if *ifp, const u8 *key, u16 key_len, u16 flags);
|
H A D | common.c | 80 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 [all …]
|
H A D | common.h | 64 void brcmf_c_set_joinpref_default(struct brcmf_if *ifp); 72 int brcmf_c_preinit_dcmds(struct brcmf_if *ifp); 73 int brcmf_c_set_cur_etheraddr(struct brcmf_if *ifp, const u8 *addr);
|
H A D | core.c | 67 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_ol", mode); in brcmf_configure_arp_nd_offload() [all …]
|
H 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 …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/ |
H A D | core.c | 16 static int brcmf_cyw_set_sae_pwd(struct brcmf_if *ifp, in brcmf_cyw_set_sae_pwd() argument 19 struct brcmf_pub *drvr = ifp->drvr; in brcmf_cyw_set_sae_pwd() 33 err = brcmf_fil_iovar_data_set(ifp, "sae_password", &sae_pwd, in brcmf_cyw_set_sae_pwd()
|