Home
last modified time | relevance | path

Searched refs:psrc (Results 1 – 23 of 23) sorted by relevance

/drivers/media/common/videobuf2/
Dvideobuf2-v4l2.c246 struct v4l2_plane *psrc = &b->m.planes[plane]; in vb2_fill_vb2_v4l2_buffer() local
248 if (psrc->bytesused == 0) in vb2_fill_vb2_v4l2_buffer()
252 pdst->bytesused = psrc->bytesused; in vb2_fill_vb2_v4l2_buffer()
254 pdst->bytesused = psrc->bytesused ? in vb2_fill_vb2_v4l2_buffer()
255 psrc->bytesused : pdst->length; in vb2_fill_vb2_v4l2_buffer()
256 pdst->data_offset = psrc->data_offset; in vb2_fill_vb2_v4l2_buffer()
493 struct vb2_plane *psrc = &vb->planes[plane]; in __fill_v4l2_buffer() local
495 pdst->bytesused = psrc->bytesused; in __fill_v4l2_buffer()
496 pdst->length = psrc->length; in __fill_v4l2_buffer()
498 pdst->m.mem_offset = psrc->m.offset; in __fill_v4l2_buffer()
[all …]
/drivers/media/usb/zr364xx/
Dzr364xx.c558 unsigned char *psrc; in zr364xx_read_video_callback() local
582 psrc = (u8 *)pipe_info->transfer_buffer; in zr364xx_read_video_callback()
603 memcpy(ptr, psrc, 64); in zr364xx_read_video_callback()
608 memcpy(ptr, psrc + 64, 64); in zr364xx_read_video_callback()
612 memcpy(ptr, psrc + 128, in zr364xx_read_video_callback()
616 psrc[0], psrc[1], psrc[2], in zr364xx_read_video_callback()
617 psrc[3], psrc[4], psrc[5], in zr364xx_read_video_callback()
618 psrc[6], psrc[7], psrc[8]); in zr364xx_read_video_callback()
627 memcpy(pdest, psrc, purb->actual_length); in zr364xx_read_video_callback()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c217 set_tcp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, in parse_tcp4()
230 set_udp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, in parse_udp4()
273 set_tcp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, in parse_tcp6()
286 set_udp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, in parse_udp6()
525 if (l4_mask->psrc) in validate_tcpudp4()
583 if (l4_mask->psrc) in validate_tcpudp6()
/drivers/net/ethernet/sfc/falcon/
Dethtool.c835 ip_entry->psrc = spec.rem_port; in ef4_ethtool_get_class_rule()
836 ip_mask->psrc = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()
864 ip6_entry->psrc = spec.rem_port; in ef4_ethtool_get_class_rule()
865 ip6_mask->psrc = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()
1083 if (ip_mask->psrc) { in ef4_ethtool_set_class_rule()
1084 if (ip_mask->psrc != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1087 spec.rem_port = ip_entry->psrc; in ef4_ethtool_set_class_rule()
1118 if (ip6_mask->psrc) { in ef4_ethtool_set_class_rule()
1119 if (ip6_mask->psrc != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1122 spec.rem_port = ip6_entry->psrc; in ef4_ethtool_set_class_rule()
/drivers/net/ethernet/sfc/
Dethtool.c858 ip_entry->psrc = spec.rem_port; in efx_ethtool_get_class_rule()
859 ip_mask->psrc = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
887 ip6_entry->psrc = spec.rem_port; in efx_ethtool_get_class_rule()
888 ip6_mask->psrc = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
1148 if (ip_mask->psrc) { in efx_ethtool_set_class_rule()
1149 if (ip_mask->psrc != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
1152 spec.rem_port = ip_entry->psrc; in efx_ethtool_set_class_rule()
1183 if (ip6_mask->psrc) { in efx_ethtool_set_class_rule()
1184 if (ip6_mask->psrc != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
1187 spec.rem_port = ip6_entry->psrc; in efx_ethtool_set_class_rule()
/drivers/media/dvb-core/
Ddvb_vb2.c264 unsigned char *psrc = (unsigned char *)src; in dvb_vb2_fill_buffer() local
302 memcpy(vbuf + ctx->offset, psrc, ll); in dvb_vb2_fill_buffer()
304 psrc += ll; in dvb_vb2_fill_buffer()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c381 if (l4_mask->psrc) { in prep_l4_rule()
383 *(__be16 *)(key + off) = l4_value->psrc; in prep_l4_rule()
384 *(__be16 *)(mask + off) = l4_mask->psrc; in prep_l4_rule()
/drivers/crypto/
Dtalitos.c875 struct scatterlist *psrc; member
1718 if (req_ctx->psrc) in common_nonsnoop_hash_unmap()
1719 talitos_sg_unmap(dev, edesc, req_ctx->psrc, NULL, 0, 0); in common_nonsnoop_hash_unmap()
1824 sg_copy_to_buffer(req_ctx->psrc, sg_count, edesc->buf, length); in common_nonsnoop_hash()
1826 sg_count = dma_map_sg(dev, req_ctx->psrc, sg_count, in common_nonsnoop_hash()
1836 sg_count = talitos_sg_map(dev, req_ctx->psrc, length, edesc, in common_nonsnoop_hash()
1882 sg_count = talitos_sg_map(dev, req_ctx->psrc, length, edesc, in common_nonsnoop_hash()
1922 return talitos_edesc_alloc(ctx->dev, req_ctx->psrc, NULL, NULL, 0, in ahash_edesc_alloc()
2031 req_ctx->psrc = req_ctx->bufsl; in ahash_process_req()
2047 req_ctx->psrc = scatterwalk_ffwd(req_ctx->bufsl, areq->src, in ahash_process_req()
[all …]
/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c466 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; in enic_grxclsrule()
467 fsp->m_u.tcp_ip4_spec.psrc = (__u16)~0; in enic_grxclsrule()
/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c337 rfse.sport_h = ntohs(l4ip4_h->psrc); in enetc_set_cls_entry()
338 rfse.sport_m = ntohs(l4ip4_m->psrc); in enetc_set_cls_entry()
/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c528 ntohs(fsp->h_u.tcp_ip4_spec.psrc); in aq_set_data_fl3l4()
533 ntohs(fsp->h_u.tcp_ip6_spec.psrc); in aq_set_data_fl3l4()
/drivers/net/ethernet/cadence/
Dmacb_main.c2893 if (enable && ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF))) in gem_enable_flow_filters()
2943 if ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF)) { in gem_prog_cmp_regs()
2948 if (tp4sp_m->psrc == tp4sp_m->pdst) { in gem_prog_cmp_regs()
2949 w0 = GEM_BFINS(T2MASK, tp4sp_v->psrc, w0); in gem_prog_cmp_regs()
2957 if (tp4sp_m->psrc == 0xFFFF) { /* src port */ in gem_prog_cmp_regs()
2958 w0 = GEM_BFINS(T2CMP, tp4sp_v->psrc, w0); in gem_prog_cmp_regs()
3002 htons(fs->h_u.tcp_ip4_spec.psrc), htons(fs->h_u.tcp_ip4_spec.pdst)); in gem_add_flow_filter()
3055 htons(fs->h_u.tcp_ip4_spec.psrc), in gem_del_flow_filter()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1343 !all_zeros_or_all_ones(l4_mask->psrc) || in mlx4_en_validate_flow()
1506 spec_l4->tcp_udp.src_port = cmd->fs.h_u.tcp_ip4_spec.psrc; in add_tcp_udp_rule()
1518 spec_l4->tcp_udp.src_port = cmd->fs.h_u.udp_ip4_spec.psrc; in add_tcp_udp_rule()
1527 if (l4_mask->psrc) in add_tcp_udp_rule()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c969 gfar_set_attribute(be16_to_cpu(value->psrc), in gfar_set_basic_ip()
970 be16_to_cpu(mask->psrc), in gfar_set_basic_ip()
/drivers/media/usb/s2255/
Ds2255drv.c1697 char *psrc; in save_frame() local
1807 psrc = (u8 *)pipe_info->transfer_buffer + offset; in save_frame()
1824 memcpy(pdest, psrc, copy_size); in save_frame()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3224 fsp->h_u.tcp_ip4_spec.psrc = rule->dst_port; in i40e_get_ethtool_fdir_entry()
3264 fsp->m_u.tcp_ip4_spec.psrc = htons(0xFFFF); in i40e_get_ethtool_fdir_entry()
4126 if (tcp_ip4_spec->psrc == htons(0xFFFF)) in i40e_check_fdir_input_set()
4128 else if (!tcp_ip4_spec->psrc) in i40e_check_fdir_input_set()
4532 input->dst_port = fsp->h_u.tcp_ip4_spec.psrc; in i40e_add_fdir_ethtool()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c964 fs->h_u.tcp_ip4_spec.psrc = fkeys->ports.src; in bnxt_grxclsrule()
965 fs->m_u.tcp_ip4_spec.psrc = cpu_to_be16(~0); in bnxt_grxclsrule()
987 fs->h_u.tcp_ip6_spec.psrc = fkeys->ports.src; in bnxt_grxclsrule()
988 fs->m_u.tcp_ip6_spec.psrc = cpu_to_be16(~0); in bnxt_grxclsrule()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2454 fsp->h_u.tcp_ip4_spec.psrc = rule->filter.formatted.src_port; in ixgbe_get_ethtool_fdir_entry()
2455 fsp->m_u.tcp_ip4_spec.psrc = mask->formatted.src_port; in ixgbe_get_ethtool_fdir_entry()
2745 input->filter.formatted.src_port = fsp->h_u.tcp_ip4_spec.psrc; in ixgbe_add_ethtool_fdir_entry()
2746 mask.formatted.src_port = fsp->m_u.tcp_ip4_spec.psrc; in ixgbe_add_ethtool_fdir_entry()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5166 if (!tcp_ip4_spec->psrc) in hclge_fd_check_spec()
5216 if (!tcp_ip6_spec->psrc) in hclge_fd_check_spec()
5386 rule->tuples.src_port = be16_to_cpu(fs->h_u.tcp_ip4_spec.psrc); in hclge_fd_get_tuple()
5388 be16_to_cpu(fs->m_u.tcp_ip4_spec.psrc); in hclge_fd_get_tuple()
5435 rule->tuples.src_port = be16_to_cpu(fs->h_u.tcp_ip6_spec.psrc); in hclge_fd_get_tuple()
5437 be16_to_cpu(fs->m_u.tcp_ip6_spec.psrc); in hclge_fd_get_tuple()
5809 fs->h_u.tcp_ip4_spec.psrc = cpu_to_be16(rule->tuples.src_port); in hclge_get_fd_rule_info()
5810 fs->m_u.tcp_ip4_spec.psrc = in hclge_get_fd_rule_info()
5872 fs->h_u.tcp_ip6_spec.psrc = cpu_to_be16(rule->tuples.src_port); in hclge_get_fd_rule_info()
5873 fs->m_u.tcp_ip6_spec.psrc = in hclge_get_fd_rule_info()
/drivers/dma/
Dat_hdmac.c873 dma_addr_t psrc, in atc_create_memset_desc() argument
901 desc->lli.saddr = psrc; in atc_create_memset_desc()
/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1430 fsp->h_u.tcp_ip4_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry()
1439 fsp->h_u.tcp_ip6_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry()
/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1920 fsp->h_u.tcp_ip4_spec.psrc = 0; in mtk_hwlro_get_fdir_entry()
1921 fsp->m_u.tcp_ip4_spec.psrc = 0xffff; in mtk_hwlro_get_fdir_entry()
/drivers/net/ethernet/sun/
Dniu.c7105 fsp->h_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
7113 fsp->m_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
7375 sport = be16_to_cpu(fsp->h_u.tcp_ip4_spec.psrc); in niu_get_tcamkey_from_ip4fs()
7376 spm = be16_to_cpu(fsp->m_u.tcp_ip4_spec.psrc); in niu_get_tcamkey_from_ip4fs()