Home
last modified time | relevance | path

Searched refs:uh (Results 1 – 10 of 10) sorted by relevance

/drivers/media/platform/mediatek/vcodec/decoder/vdec/
A Dvdec_av1_req_lat_if.c904 struct vdec_av1_slice_uncompressed_header *uh = &vsi->frame.uh; in vdec_av1_slice_setup_slot() local
1315 struct vdec_av1_slice_uncompressed_header *uh = &frame->uh; in vdec_av1_slice_setup_uh() local
1324 uh->mi_cols = ((uh->frame_width + 7) >> 3) << 1; in vdec_av1_slice_setup_uh()
1325 uh->mi_rows = ((uh->frame_height + 7) >> 3) << 1; in vdec_av1_slice_setup_uh()
1370 uh->quant.qindex[i] = vdec_av1_slice_get_qindex(uh, i); in vdec_av1_slice_setup_uh()
1372 (uh->quant.qindex[i] == 0 && uh->quant.delta_qydc == 0 && in vdec_av1_slice_setup_uh()
1373 uh->quant.delta_quac == 0 && uh->quant.delta_qudc == 0 && in vdec_av1_slice_setup_uh()
1374 uh->quant.delta_qvac == 0 && uh->quant.delta_qvdc == 0); in vdec_av1_slice_setup_uh()
1392 struct vdec_av1_slice_uncompressed_header *uh = &vsi->frame.uh; in vdec_av1_slice_setup_tile_group() local
1497 struct vdec_av1_slice_uncompressed_header *uh = &frame->uh; in vdec_av1_slice_setup_ref() local
[all …]
A Dvdec_vp9_req_lat_if.c674 memcpy(&f->uh.dequant, &rf->uh.dequant, sizeof(f->uh.dequant)); in vdec_vp9_slice_vsi_from_remote()
737 uh->profile = hdr->profile; in vdec_vp9_slice_setup_hdr()
955 uh = &vsi->frame.uh; in vdec_vp9_slice_setup_pfc()
1024 uh = &vsi->frame.uh; in vdec_vp9_slice_setup_prob_buffer()
1046 uh = &vsi->frame.uh; in vdec_vp9_slice_setup_seg_buffer()
1047 if (uh->frame_type == 0 || in vdec_vp9_slice_setup_seg_buffer()
1048 uh->intra_only || in vdec_vp9_slice_setup_seg_buffer()
1087 uh = &vsi->frame.uh; in vdec_vp9_slice_setup_tile_buffer()
1099 uh->header_size_in_bytes; in vdec_vp9_slice_setup_tile_buffer()
1539 uh = &vsi->frame.uh; in vdec_vp9_slice_update_prob()
[all …]
/drivers/infiniband/core/
A Dlag.c18 struct udphdr *uh; in rdma_build_skb() local
35 uh = udp_hdr(skb); in rdma_build_skb()
36 uh->source = in rdma_build_skb()
38 uh->dest = htons(ROCE_V2_UDP_DPORT); in rdma_build_skb()
39 uh->len = htons(sizeof(struct udphdr)); in rdma_build_skb()
/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_ptp.c60 struct udphdr *uh; in cxgb4_ptp_is_ptp_tx() local
62 uh = udp_hdr(skb); in cxgb4_ptp_is_ptp_tx()
67 uh->dest == htons(PTP_EVENT_PORT); in cxgb4_ptp_is_ptp_tx()
86 struct udphdr *uh = (struct udphdr *)(skb->data + ETH_HLEN + in cxgb4_ptp_is_ptp_rx() local
89 return uh->dest == htons(PTP_EVENT_PORT) && in cxgb4_ptp_is_ptp_rx()
90 uh->source == htons(PTP_EVENT_PORT); in cxgb4_ptp_is_ptp_rx()
/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtxrx.h514 struct udphdr *uh; in mlx5e_swp_encap_csum_partial() local
531 uh = (struct udphdr *)skb_inner_transport_header(skb); in mlx5e_swp_encap_csum_partial()
535 uh->check = ~udp_v4_check(len, ip->saddr, ip->daddr, 0); in mlx5e_swp_encap_csum_partial()
538 uh->check = ~udp_v6_check(len, &ip6->saddr, &ip6->daddr, 0); in mlx5e_swp_encap_csum_partial()
/drivers/net/ethernet/mellanox/mlx5/core/
A Den_rx.c1232 struct udphdr *uh; in mlx5e_shampo_update_ipv4_udp_hdr() local
1234 uh = (struct udphdr *)(skb->data + udp_off); in mlx5e_shampo_update_ipv4_udp_hdr()
1235 uh->len = htons(skb->len - udp_off); in mlx5e_shampo_update_ipv4_udp_hdr()
1237 if (uh->check) in mlx5e_shampo_update_ipv4_udp_hdr()
1238 uh->check = ~udp_v4_check(skb->len - udp_off, ipv4->saddr, in mlx5e_shampo_update_ipv4_udp_hdr()
1241 skb->csum_start = (unsigned char *)uh - skb->head; in mlx5e_shampo_update_ipv4_udp_hdr()
1251 struct udphdr *uh; in mlx5e_shampo_update_ipv6_udp_hdr() local
1253 uh = (struct udphdr *)(skb->data + udp_off); in mlx5e_shampo_update_ipv6_udp_hdr()
1254 uh->len = htons(skb->len - udp_off); in mlx5e_shampo_update_ipv6_udp_hdr()
1256 if (uh->check) in mlx5e_shampo_update_ipv6_udp_hdr()
[all …]
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_txrx.c1157 struct udphdr *uh = udp_hdr(skb); in otx2_set_txtstamp() local
1159 if (skb->ip_summed != CHECKSUM_PARTIAL && uh->check != 0) { in otx2_set_txtstamp()
1161 uh->check = 0; in otx2_set_txtstamp()
1165 uh->check = csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in otx2_set_txtstamp()
1171 uh->check = csum_tcpudp_magic(ip_hdr(skb)->saddr, in otx2_set_txtstamp()
/drivers/net/ethernet/freescale/enetc/
A Denetc.c366 struct udphdr *uh = udp_hdr(skb); in enetc_map_tx_buffs() local
371 inet_proto_csum_replace2(&uh->check, skb, old_sec_h, in enetc_map_tx_buffs()
375 inet_proto_csum_replace4(&uh->check, skb, old_sec_l, in enetc_map_tx_buffs()
379 inet_proto_csum_replace4(&uh->check, skb, old_nsec, in enetc_map_tx_buffs()
/drivers/net/vmxnet3/
A Dvmxnet3_drv.c1578 struct udphdr *uh = NULL; in vmxnet3_lro_tunnel() local
1584 uh = (struct udphdr *)(iph + 1); in vmxnet3_lro_tunnel()
1589 uh = (struct udphdr *)(iph + 1); in vmxnet3_lro_tunnel()
1591 if (uh) { in vmxnet3_lro_tunnel()
1592 if (uh->check) in vmxnet3_lro_tunnel()
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt.c1624 struct udphdr *uh = NULL; in bnxt_gro_tunnel() local
1630 uh = (struct udphdr *)(iph + 1); in bnxt_gro_tunnel()
1635 uh = (struct udphdr *)(iph + 1); in bnxt_gro_tunnel()
1637 if (uh) { in bnxt_gro_tunnel()
1638 if (uh->check) in bnxt_gro_tunnel()
13819 struct udphdr *uh = udp_hdr(skb); in bnxt_udp_tunl_check() local
13820 __be16 udp_port = uh->dest; in bnxt_udp_tunl_check()

Completed in 79 milliseconds