| /linux/tools/hv/ |
| H A D | hv_kvp_daemon.c | 1333 int ip_offset = 0, error = 0, ip_ver; in process_dns_gateway_nm() local 1354 ip_ver = ip_version_check(addr); in process_dns_gateway_nm() 1355 if (ip_ver < 0) in process_dns_gateway_nm() 1358 if ((ip_ver == IPV4 && ip_sec == IPV4) || in process_dns_gateway_nm() 1359 (ip_ver == IPV6 && ip_sec == IPV6)) { in process_dns_gateway_nm() 1397 int plen, ip_ver; in process_ip_string_nm() local 1409 ip_ver = ip_version_check(addr); in process_ip_string_nm() 1410 if (ip_ver < 0) in process_ip_string_nm() 1413 if (ip_ver == IPV4 && ip_sec == IPV4) in process_ip_string_nm() 1415 else if (ip_ver == IPV6 && ip_sec == IPV6) in process_ip_string_nm() [all …]
|
| /linux/drivers/mailbox/ |
| H A D | stm32-ipcc.c | 211 u32 ip_ver; in stm32_ipcc_probe() local 314 ip_ver = readl_relaxed(ipcc->reg_base + IPCC_VER); in stm32_ipcc_probe() 317 FIELD_GET(VER_MAJREV_MASK, ip_ver), in stm32_ipcc_probe() 318 FIELD_GET(VER_MINREV_MASK, ip_ver), in stm32_ipcc_probe()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_display_device.c | 1519 probe_gmdid_display(struct intel_display *display, struct intel_display_ip_ver *ip_ver) in probe_gmdid_display() argument 1549 *ip_ver = gmd_id; in probe_gmdid_display() 1661 struct intel_display_ip_ver ip_ver = {}; in intel_display_device_probe() local 1692 info = probe_gmdid_display(display, &ip_ver); in intel_display_device_probe() 1721 if (ip_ver.ver || ip_ver.rel || ip_ver.step) { in intel_display_device_probe() 1722 DISPLAY_RUNTIME_INFO(display)->ip = ip_ver; in intel_display_device_probe() 1723 step = STEP_A0 + ip_ver.step; in intel_display_device_probe()
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 971 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in iavf_get_ethtool_fdir_entry() 977 fsp->m_u.usr_ip4_spec.ip_ver = 0xFF; in iavf_get_ethtool_fdir_entry() 1145 fltr->ip_ver = 4; in iavf_add_fdir_fltr_info() 1157 fltr->ip_ver = 4; in iavf_add_fdir_fltr_info() 1170 fltr->ip_ver = 4; in iavf_add_fdir_fltr_info() 1189 fltr->ip_ver = 6; in iavf_add_fdir_fltr_info() 1205 fltr->ip_ver = 6; in iavf_add_fdir_fltr_info() 1222 fltr->ip_ver = 6; in iavf_add_fdir_fltr_info()
|
| H A D | iavf_fdir.h | 114 u8 ip_ver; /* used to adjust the flex offset, 4 : IPv4, 6 : IPv6 */ member
|
| H A D | iavf_fdir.c | 44 if (fltr->ip_ver == 4) { in iavf_validate_fdir_fltr_masks() 55 } else if (fltr->ip_ver == 6) { in iavf_validate_fdir_fltr_masks() 102 (fltr->ip_ver == 4 ? sizeof(struct iphdr) : sizeof(struct ipv6hdr)) + in iavf_pkt_udp_no_pay_len()
|
| /linux/net/tls/ |
| H A D | tls_main.c | 133 int ip_ver = sk->sk_family == AF_INET6 ? TLSV6 : TLSV4; in update_sk_prot() local 136 &tls_prots[ip_ver][ctx->tx_conf][ctx->rx_conf]); in update_sk_prot() 138 &tls_proto_ops[ip_ver][ctx->tx_conf][ctx->rx_conf]); in update_sk_prot() 973 int ip_ver = sk->sk_family == AF_INET6 ? TLSV6 : TLSV4; in tls_build_proto() local 977 if (ip_ver == TLSV6 && in tls_build_proto() 989 if (ip_ver == TLSV4 && in tls_build_proto()
|
| /linux/drivers/ufs/host/ |
| H A D | ufs-mediatek.c | 286 if (host->ip_ver >= IP_VER_MT6989) { in ufs_mtk_hce_enable_notify() 291 if (host->ip_ver >= IP_VER_MT6991_A0) { in ufs_mtk_hce_enable_notify() 416 if (!host->legacy_ip_ver && host->ip_ver >= IP_VER_MT6983) { in ufs_mtk_dbg_sel() 444 if (host->legacy_ip_ver || host->ip_ver < IP_VER_MT6899) { in ufs_mtk_wait_idle_state() 488 if (host->legacy_ip_ver || host->ip_ver < IP_VER_MT6899) { in ufs_mtk_wait_link_state() 924 host->ip_ver = hw_ip_ver; in ufs_mtk_get_hw_ip_version() 1584 if (host->ip_ver == IP_VER_MT6989) { in ufs_mtk_pre_link() 1602 if (host->ip_ver >= IP_VER_MT6899) { in ufs_mtk_post_link() 1672 if (host->ip_ver < IP_VER_MT6899) { in ufs_mtk_link_set_hpm()
|
| H A D | ufs-mediatek.h | 193 u32 ip_ver; member
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | qedr_roce_cm.c | 391 int ip_ver = 0; in qedr_gsi_build_header() local 414 ip_ver = 4; in qedr_gsi_build_header() 420 ip_ver = 6; in qedr_gsi_build_header() 426 has_grh_ipv6, ip_ver, has_udp, 0, udh); in qedr_gsi_build_header()
|
| /linux/drivers/scsi/qedi/ |
| H A D | qedi_nvm_iscsi_cfg.h | 154 u32 ip_ver; member
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_fdir.h | 113 u8 ip_ver; member
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | ethtool_common.c | 750 uip_entry->ip_ver = ETH_RX_NFC_IP4; in efx_ethtool_get_class_rule() 1022 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule() 1023 uip_entry->ip_ver != ETH_RX_NFC_IP4) in efx_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | ethtool.c | 897 uip_entry->ip_ver = ETH_RX_NFC_IP4; in ef4_ethtool_get_class_rule() 1141 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in ef4_ethtool_set_class_rule() 1142 uip_entry->ip_ver != ETH_RX_NFC_IP4) in ef4_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ethtool_common.c | 749 uip_entry->ip_ver = ETH_RX_NFC_IP4; in efx_ethtool_get_class_rule() 1031 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule() 1032 uip_entry->ip_ver != ETH_RX_NFC_IP4) in efx_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bcmsysport.c | 1221 __be16 ip_ver; in bcm_sysport_insert_tsb() local 1248 ip_ver = skb->protocol; in bcm_sysport_insert_tsb() 1249 switch (ip_ver) { in bcm_sysport_insert_tsb() 1271 ip_ver == htons(ETH_P_IP)) in bcm_sysport_insert_tsb()
|
| /linux/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_ethtool.c | 141 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in txgbe_get_ethtool_fdir_entry()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_ethtool.c | 1363 fs->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in nfp_net_fs_to_ethtool() 1653 !!fs->m_u.usr_ip4_spec.ip_ver; in nfp_net_fs_add() 1655 unsupp_mask |= fs->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4; in nfp_net_fs_add()
|
| /linux/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmgenet.c | 1445 VALIDATE_MASK(l4_mask->ip_ver) || in bcmgenet_validate_flow() 2058 __be16 ip_ver; in bcmgenet_add_tsb() local 2081 ip_ver = skb->protocol; in bcmgenet_add_tsb() 2082 switch (ip_ver) { in bcmgenet_add_tsb()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_fs_ethtool.c | 598 fs->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in validate_ip4()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | gianfar_ethtool.c | 1230 if (flow->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in gfar_check_capability()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 1157 fs->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in bnxt_grxclsrule() 1162 fs->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in bnxt_grxclsrule() 1322 ip_spec->ip_ver != ETH_RX_NFC_IP4 || in bnxt_verify_ntuple_ip4_flow()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 781 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in fbnic_get_cls_rule()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_ethtool.c | 1359 cmd->fs.h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4 || in mlx4_en_validate_flow()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_ethtool.c | 3377 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in i40e_get_ethtool_fdir_entry() 4484 if (usr_ip4_spec->ip_ver) in i40e_check_fdir_input_set()
|