Home
last modified time | relevance | path

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

/drivers/media/common/videobuf2/
Dvideobuf2-v4l2.c253 struct vb2_plane *pdst = &planes[plane]; in vb2_fill_vb2_v4l2_buffer() local
260 pdst->bytesused = psrc->bytesused; in vb2_fill_vb2_v4l2_buffer()
262 pdst->bytesused = psrc->bytesused ? in vb2_fill_vb2_v4l2_buffer()
263 psrc->bytesused : pdst->length; in vb2_fill_vb2_v4l2_buffer()
264 pdst->data_offset = psrc->data_offset; in vb2_fill_vb2_v4l2_buffer()
545 struct v4l2_plane *pdst = &b->m.planes[plane]; in __fill_v4l2_buffer() local
548 pdst->bytesused = psrc->bytesused; in __fill_v4l2_buffer()
549 pdst->length = psrc->length; in __fill_v4l2_buffer()
551 pdst->m.mem_offset = psrc->m.offset; in __fill_v4l2_buffer()
553 pdst->m.userptr = psrc->m.userptr; in __fill_v4l2_buffer()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c229 l4_mask->pdst, l4_val->pdst); in parse_tcp4()
242 l4_mask->pdst, l4_val->pdst); in parse_udp4()
285 l4_mask->pdst, l4_val->pdst); in parse_tcp6()
298 l4_mask->pdst, l4_val->pdst); in parse_udp6()
578 if (l4_mask->pdst) in validate_tcpudp4()
636 if (l4_mask->pdst) in validate_tcpudp6()
/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c157 fsp->h_u.tcp_ip4_spec.pdst = rule->ip.v4.dst_port; in ice_get_ethtool_fdir_entry()
161 fsp->m_u.tcp_ip4_spec.pdst = rule->mask.v4.dst_port; in ice_get_ethtool_fdir_entry()
189 fsp->h_u.tcp_ip6_spec.pdst = rule->ip.v6.dst_port; in ice_get_ethtool_fdir_entry()
197 fsp->m_u.tcp_ip6_spec.pdst = rule->mask.v6.dst_port; in ice_get_ethtool_fdir_entry()
777 !tcp_ip4_spec->pdst && !tcp_ip4_spec->ip4dst) in ice_set_fdir_ip4_seg()
831 if (tcp_ip4_spec->pdst == htons(0xFFFF)) in ice_set_fdir_ip4_seg()
835 else if (!tcp_ip4_spec->pdst) in ice_set_fdir_ip4_seg()
921 !tcp_ip6_spec->psrc && !tcp_ip6_spec->pdst) in ice_set_fdir_ip6_seg()
977 if (tcp_ip6_spec->pdst == htons(0xFFFF)) in ice_set_fdir_ip6_seg()
981 else if (!tcp_ip6_spec->pdst) in ice_set_fdir_ip6_seg()
[all …]
/drivers/net/ethernet/sfc/falcon/
Dethtool.c832 ip_entry->pdst = spec.loc_port; in ef4_ethtool_get_class_rule()
833 ip_mask->pdst = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()
861 ip6_entry->pdst = spec.loc_port; in ef4_ethtool_get_class_rule()
862 ip6_mask->pdst = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()
1078 if (ip_mask->pdst) { in ef4_ethtool_set_class_rule()
1079 if (ip_mask->pdst != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1082 spec.loc_port = ip_entry->pdst; in ef4_ethtool_set_class_rule()
1113 if (ip6_mask->pdst) { in ef4_ethtool_set_class_rule()
1114 if (ip6_mask->pdst != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1117 spec.loc_port = ip6_entry->pdst; in ef4_ethtool_set_class_rule()
/drivers/net/ethernet/sfc/
Dethtool_common.c690 ip_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule()
691 ip_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
719 ip6_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule()
720 ip6_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
981 if (ip_mask->pdst) { in efx_ethtool_set_class_rule()
982 if (ip_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
985 spec.loc_port = ip_entry->pdst; in efx_ethtool_set_class_rule()
1016 if (ip6_mask->pdst) { in efx_ethtool_set_class_rule()
1017 if (ip6_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
1020 spec.loc_port = ip6_entry->pdst; in efx_ethtool_set_class_rule()
/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c1083 fsp->h_u.tcp_ip4_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry()
1088 fsp->m_u.tcp_ip4_spec.pdst = rule->ip_mask.dst_port; in iavf_get_ethtool_fdir_entry()
1124 fsp->h_u.tcp_ip6_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry()
1131 fsp->m_u.tcp_ip6_spec.pdst = rule->ip_mask.dst_port; in iavf_get_ethtool_fdir_entry()
1271 fltr->ip_data.dst_port = fsp->h_u.tcp_ip4_spec.pdst; in iavf_add_fdir_fltr_info()
1276 fltr->ip_mask.dst_port = fsp->m_u.tcp_ip4_spec.pdst; in iavf_add_fdir_fltr_info()
1313 fltr->ip_data.dst_port = fsp->h_u.tcp_ip6_spec.pdst; in iavf_add_fdir_fltr_info()
1320 fltr->ip_mask.dst_port = fsp->m_u.tcp_ip6_spec.pdst; in iavf_add_fdir_fltr_info()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c585 if (ipv4_l4_mask->pdst) { in otx2_prepare_ipv4_flow()
586 memcpy(&pkt->dport, &ipv4_l4_hdr->pdst, in otx2_prepare_ipv4_flow()
588 memcpy(&pmask->dport, &ipv4_l4_mask->pdst, in otx2_prepare_ipv4_flow()
710 if (ipv6_l4_mask->pdst) { in otx2_prepare_ipv6_flow()
711 memcpy(&pkt->dport, &ipv6_l4_hdr->pdst, in otx2_prepare_ipv6_flow()
713 memcpy(&pmask->dport, &ipv6_l4_mask->pdst, in otx2_prepare_ipv6_flow()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c434 if (l4_mask->pdst) { in dpaa2_eth_prep_l4_rule()
436 *(__be16 *)(key + off) = l4_value->pdst; in dpaa2_eth_prep_l4_rule()
437 *(__be16 *)(mask + off) = l4_mask->pdst; in dpaa2_eth_prep_l4_rule()
/drivers/infiniband/core/
Daddr.c421 struct dst_entry **pdst) in addr6_resolve() argument
443 *pdst = dst; in addr6_resolve()
450 struct dst_entry **pdst) in addr6_resolve() argument
/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c452 fsp->h_u.tcp_ip4_spec.pdst = n->keys.ports.dst; in enic_grxclsrule()
453 fsp->m_u.tcp_ip4_spec.pdst = (__u16)~0; in enic_grxclsrule()
/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c368 rfse.dport_h = ntohs(l4ip4_h->pdst); in enetc_set_cls_entry()
369 rfse.dport_m = ntohs(l4ip4_m->pdst); in enetc_set_cls_entry()
/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c534 ntohs(fsp->h_u.tcp_ip4_spec.pdst); in aq_set_data_fl3l4()
539 ntohs(fsp->h_u.tcp_ip6_spec.pdst); in aq_set_data_fl3l4()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3292 fsp->h_u.tcp_ip6_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry()
3303 fsp->h_u.tcp_ip4_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry()
3372 fsp->m_u.tcp_ip4_spec.pdst = htons(0xFFFF); in i40e_get_ethtool_fdir_entry()
4290 if (tcp_ip4_spec->pdst == htons(0xFFFF)) in i40e_check_fdir_input_set()
4292 else if (!tcp_ip4_spec->pdst) in i40e_check_fdir_input_set()
4338 if (tcp_ip6_spec->pdst == htons(0xFFFF)) in i40e_check_fdir_input_set()
4340 else if (!tcp_ip6_spec->pdst) in i40e_check_fdir_input_set()
4792 input->src_port = fsp->h_u.tcp_ip6_spec.pdst; in i40e_add_fdir_ethtool()
4804 input->src_port = fsp->h_u.tcp_ip4_spec.pdst; in i40e_add_fdir_ethtool()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1662 fs->h_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule()
1663 fs->m_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->mask.lport); in cxgb4_fill_filter_rule()
1677 fs->h_u.tcp_ip4_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule()
1678 fs->m_u.tcp_ip4_spec.pdst = cpu_to_be16(dfs->mask.lport); in cxgb4_fill_filter_rule()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1365 !all_zeros_or_all_ones(l4_mask->pdst)) in mlx4_en_validate_flow()
1527 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.tcp_ip4_spec.pdst; in add_tcp_udp_rule()
1539 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.udp_ip4_spec.pdst; in add_tcp_udp_rule()
1549 if (l4_mask->pdst) in add_tcp_udp_rule()
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c93 wil_memdup_ie(u8 **pdst, size_t *pdst_len, const u8 *src, size_t src_len) in wil_memdup_ie() argument
95 kfree(*pdst); in wil_memdup_ie()
96 *pdst = NULL; in wil_memdup_ie()
99 *pdst = kmemdup(src, src_len, GFP_KERNEL); in wil_memdup_ie()
100 if (*pdst) in wil_memdup_ie()
/drivers/net/ethernet/cadence/
Dmacb_main.c3318 if (enable && ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF))) in gem_enable_flow_filters()
3371 if ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF)) { in gem_prog_cmp_regs()
3376 if (tp4sp_m->psrc == tp4sp_m->pdst) { in gem_prog_cmp_regs()
3378 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs()
3389 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs()
3430 htons(fs->h_u.tcp_ip4_spec.psrc), htons(fs->h_u.tcp_ip4_spec.pdst)); in gem_add_flow_filter()
3484 htons(fs->h_u.tcp_ip4_spec.pdst)); in gem_del_flow_filter()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c937 gfar_set_attribute(be16_to_cpu(value->pdst), in gfar_set_basic_ip()
938 be16_to_cpu(mask->pdst), in gfar_set_basic_ip()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2547 fsp->h_u.tcp_ip4_spec.pdst = rule->filter.formatted.dst_port; in ixgbe_get_ethtool_fdir_entry()
2548 fsp->m_u.tcp_ip4_spec.pdst = mask->formatted.dst_port; in ixgbe_get_ethtool_fdir_entry()
2847 input->filter.formatted.dst_port = fsp->h_u.tcp_ip4_spec.pdst; in ixgbe_add_ethtool_fdir_entry()
2848 mask.formatted.dst_port = fsp->m_u.tcp_ip4_spec.pdst; in ixgbe_add_ethtool_fdir_entry()
/drivers/dma/
Dat_hdmac.c854 dma_addr_t pdst, in atc_create_memset_desc() argument
882 desc->lli.daddr = pdst; in atc_create_memset_desc()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1031 fs->h_u.tcp_ip4_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule()
1032 fs->m_u.tcp_ip4_spec.pdst = cpu_to_be16(~0); in bnxt_grxclsrule()
1054 fs->h_u.tcp_ip6_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule()
1055 fs->m_u.tcp_ip6_spec.pdst = cpu_to_be16(~0); in bnxt_grxclsrule()
/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1349 fsp->h_u.tcp_ip4_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
1358 fsp->h_u.tcp_ip6_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c6060 if (!spec->pdst) in hclge_fd_check_tcpip4_tuple()
6117 if (!spec->pdst) in hclge_fd_check_tcpip6_tuple()
6391 rule->tuples.dst_port = be16_to_cpu(fs->h_u.tcp_ip4_spec.pdst); in hclge_fd_get_tcpip4_tuple()
6392 rule->tuples_mask.dst_port = be16_to_cpu(fs->m_u.tcp_ip4_spec.pdst); in hclge_fd_get_tcpip4_tuple()
6445 rule->tuples.dst_port = be16_to_cpu(fs->h_u.tcp_ip6_spec.pdst); in hclge_fd_get_tcpip6_tuple()
6446 rule->tuples_mask.dst_port = be16_to_cpu(fs->m_u.tcp_ip6_spec.pdst); in hclge_fd_get_tcpip6_tuple()
6865 spec->pdst = cpu_to_be16(rule->tuples.dst_port); in hclge_fd_get_tcpip4_info()
6866 spec_mask->pdst = rule->unused_tuple & BIT(INNER_DST_PORT) ? in hclge_fd_get_tcpip4_info()
6925 spec->pdst = cpu_to_be16(rule->tuples.dst_port); in hclge_fd_get_tcpip6_info()
6926 spec_mask->pdst = rule->unused_tuple & BIT(INNER_DST_PORT) ? in hclge_fd_get_tcpip6_info()
/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c2024 fsp->h_u.tcp_ip4_spec.pdst = 0; in mtk_hwlro_get_fdir_entry()
2025 fsp->m_u.tcp_ip4_spec.pdst = 0xffff; in mtk_hwlro_get_fdir_entry()
/drivers/net/ethernet/sun/
Dniu.c7107 fsp->h_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
7115 fsp->m_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
7375 dport = be16_to_cpu(fsp->h_u.tcp_ip4_spec.pdst); in niu_get_tcamkey_from_ip4fs()
7376 dpm = be16_to_cpu(fsp->m_u.tcp_ip4_spec.pdst); in niu_get_tcamkey_from_ip4fs()