Home
last modified time | relevance | path

Searched refs:fc_type (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c365 u8 fc_type, fc_stype; in mt76_connac2_mac_write_txwi_8023() local
386 fc_type = IEEE80211_FTYPE_DATA >> 2; in mt76_connac2_mac_write_txwi_8023()
389 val = FIELD_PREP(MT_TXD2_FRAME_TYPE, fc_type) | in mt76_connac2_mac_write_txwi_8023()
394 val = FIELD_PREP(MT_TXD7_TYPE, fc_type) | in mt76_connac2_mac_write_txwi_8023()
412 u8 fc_type, fc_stype; in mt76_connac2_mac_write_txwi_80211() local
437 fc_type = (le16_to_cpu(fc) & IEEE80211_FCTL_FTYPE) >> 2; in mt76_connac2_mac_write_txwi_80211()
440 val = FIELD_PREP(MT_TXD2_FRAME_TYPE, fc_type) | in mt76_connac2_mac_write_txwi_80211()
485 val = FIELD_PREP(MT_TXD7_TYPE, fc_type) | in mt76_connac2_mac_write_txwi_80211()
489 val = FIELD_PREP(MT_TXD8_L_TYPE, fc_type) | in mt76_connac2_mac_write_txwi_80211()
/linux/net/ipv4/
H A Dfib_frontend.c529 cfg->fc_type = RTN_UNREACHABLE; in rtentry_to_fib_config()
534 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config()
764 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
772 if (cfg->fc_type > RTN_MAX) { in rtm_to_fib_config()
931 if (!err && cfg.fc_type == RTN_LOCAL) in inet_rtm_newroute()
1107 .fc_type = type, in fib_magic()
H A Dfib_semantics.c439 cfg->fc_type == fi->fib_type && in fib_find_info_nh()
1326 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_valid_prefsrc()
1359 if (cfg->fc_type > RTN_MAX) in fib_create_info()
1363 if (fib_props[cfg->fc_type].scope > cfg->fc_scope) { in fib_create_info()
1420 fi->fib_type = cfg->fc_type; in fib_create_info()
1447 if (fib_props[cfg->fc_type].error) { in fib_create_info()
1455 switch (cfg->fc_type) { in fib_create_info()
H A Dfib_trie.c1256 if (fa->fa_type == cfg->fc_type && in fib_table_insert()
1282 new_fa->fa_type = cfg->fc_type; in fib_table_insert()
1344 new_fa->fa_type = cfg->fc_type; in fib_table_insert()
1722 if ((!cfg->fc_type || fa->fa_type == cfg->fc_type) && in fib_table_delete()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c626 u8 fc_type, fc_stype; in mt7925_mac_write_txwi_8023() local
647 fc_type = IEEE80211_FTYPE_DATA >> 2; in mt7925_mac_write_txwi_8023()
650 val = FIELD_PREP(MT_TXD2_FRAME_TYPE, fc_type) | in mt7925_mac_write_txwi_8023()
667 u8 fc_type, fc_stype; in mt7925_mac_write_txwi_80211() local
695 fc_type = (le16_to_cpu(fc) & IEEE80211_FCTL_FTYPE) >> 2; in mt7925_mac_write_txwi_80211()
698 val = FIELD_PREP(MT_TXD2_FRAME_TYPE, fc_type) | in mt7925_mac_write_txwi_80211()
/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.h306 __be16 fc_type; member
373 __be16 fc_type; member
H A Dibmvfc.c462 enum ibmvfc_fc_type fc_type; member
464 } fc_type [] = { variable
486 for (i = 0; i < ARRAY_SIZE(fc_type); i++) in ibmvfc_get_fc_type()
487 if (fc_type[i].fc_type == status) in ibmvfc_get_fc_type()
488 return fc_type[i].name; in ibmvfc_get_fc_type()
4198 ibmvfc_get_fc_type(be16_to_cpu(rsp->fc_type)), be16_to_cpu(rsp->fc_type), in ibmvfc_tgt_plogi_done()
4794 ibmvfc_get_fc_type(be16_to_cpu(rsp->fc_type)), be16_to_cpu(rsp->fc_type), in ibmvfc_tgt_query_target_done()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c716 u8 fc_type, fc_stype, p_fmt, q_idx, omac_idx = 0, wmm_idx = 0; in mt7615_mac_write_txwi() local
745 fc_type = (le16_to_cpu(fc) & IEEE80211_FCTL_FTYPE) >> 2; in mt7615_mac_write_txwi()
776 val = FIELD_PREP(MT_TXD2_FRAME_TYPE, fc_type) | in mt7615_mac_write_txwi()
858 val = FIELD_PREP(MT_TXD7_TYPE, fc_type) | in mt7615_mac_write_txwi()
863 val = FIELD_PREP(MT_TXD8_L_TYPE, fc_type) | in mt7615_mac_write_txwi()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c753 u8 fc_type, fc_stype; in mt7996_mac_write_txwi_8023() local
773 fc_type = IEEE80211_FTYPE_DATA >> 2; in mt7996_mac_write_txwi_8023()
776 val = FIELD_PREP(MT_TXD2_FRAME_TYPE, fc_type) | in mt7996_mac_write_txwi_8023()
799 u8 fc_type, fc_stype; in mt7996_mac_write_txwi_80211() local
836 fc_type = (le16_to_cpu(fc) & IEEE80211_FCTL_FTYPE) >> 2; in mt7996_mac_write_txwi_80211()
839 val = FIELD_PREP(MT_TXD2_FRAME_TYPE, fc_type) | in mt7996_mac_write_txwi_80211()
/linux/include/net/
H A Dip6_fib.h44 u16 fc_type; /* only 8 bits are used */ member
H A Dip_fib.h33 u8 fc_type; member
/linux/net/ipv6/
H A Droute.c3762 if (cfg->fc_type > RTN_MAX) { in fib6_config_validate()
3844 rt->fib6_type = cfg->fc_type ? : RTN_UNICAST; in ip6_route_info_create()
4411 .fc_type = RTN_UNICAST, in rt6_add_route_info()
4477 .fc_type = RTN_UNICAST, in rt6_add_dflt_router()
4553 .fc_type = rtmsg->rtmsg_type, in rtmsg_to_fib6_config()
4680 cfg.fc_type = RTN_ANYCAST; in addrconf_f6i_alloc()
4683 cfg.fc_type = RTN_LOCAL; in addrconf_f6i_alloc()
5198 .fc_type = rtm->rtm_type, in rtm_to_fib6_config()
H A Daddrconf.c2473 .fc_type = RTN_UNICAST, in addrconf_prefix_route()
2544 .fc_type = RTN_MULTICAST, in addrconf_add_mroute()