Home
last modified time | relevance | path

Searched refs:pad_size (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/staging/media/meson/vdec/
Desparser.c85 u32 pad_size = 0; in esparser_pad_start_code() local
89 pad_size = ESPARSER_MIN_PACKET_SIZE - payload_size; in esparser_pad_start_code()
90 memset(vaddr, 0, pad_size); in esparser_pad_start_code()
93 memset(vaddr + pad_size, 0, SEARCH_PATTERN_LEN); in esparser_pad_start_code()
94 vaddr[pad_size] = 0x00; in esparser_pad_start_code()
95 vaddr[pad_size + 1] = 0x00; in esparser_pad_start_code()
96 vaddr[pad_size + 2] = 0x01; in esparser_pad_start_code()
97 vaddr[pad_size + 3] = 0xff; in esparser_pad_start_code()
99 return pad_size; in esparser_pad_start_code()
188 u32 pad_size; in esparser_queue() local
[all …]
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtest_lwt_seg6local.c119 uint32_t *tlv_off, uint32_t *pad_size, in is_valid_tlv_boundary() argument
149 *pad_size = tlv.len + sizeof(tlv); in is_valid_tlv_boundary()
183 uint32_t pad_size = 0; in add_tlv() local
193 err = is_valid_tlv_boundary(skb, srh, &tlv_off, &pad_size, &pad_off); in add_tlv()
217 return update_tlv_pad(skb, new_pad, pad_size, pad_off); in add_tlv()
228 uint32_t pad_size = 0; in delete_tlv() local
234 err = is_valid_tlv_boundary(skb, srh, &tlv_off, &pad_size, &pad_off); in delete_tlv()
255 return update_tlv_pad(skb, new_pad, pad_size, pad_off); in delete_tlv()
Dtest_seg6_loop.c120 uint32_t *pad_size, in is_valid_tlv_boundary() argument
150 *pad_size = tlv.len + sizeof(tlv); in is_valid_tlv_boundary()
184 uint32_t pad_size = 0; in add_tlv() local
194 err = is_valid_tlv_boundary(skb, srh, &tlv_off, &pad_size, &pad_off); in add_tlv()
218 return update_tlv_pad(skb, new_pad, pad_size, pad_off); in add_tlv()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h141 int page_size, pad_size; in i40e_compute_pad() local
144 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in i40e_compute_pad()
146 return pad_size; in i40e_compute_pad()
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h121 int page_size, pad_size; in iavf_compute_pad() local
124 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in iavf_compute_pad()
126 return pad_size; in iavf_compute_pad()
/Linux-v5.4/drivers/bluetooth/
Dbtmtksdio.c387 int err, i, pad_size; in btmtksdio_rx_packet() local
455 pad_size = skb->len - (&pkts[i])->hlen - dlen; in btmtksdio_rx_packet()
458 if (pad_size < 0) { in btmtksdio_rx_packet()
464 skb_trim(skb, skb->len - pad_size); in btmtksdio_rx_packet()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h87 int page_size, pad_size; in ixgbe_compute_pad() local
90 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in ixgbe_compute_pad()
92 return pad_size; in ixgbe_compute_pad()
/Linux-v5.4/drivers/scsi/aic94xx/
Daic94xx_sds.c376 __le32 pad_size; member
661 *size = le32_to_cpu(de->pad_size); in asd_find_flash_de()
/Linux-v5.4/drivers/target/
Dtarget_core_user.c1021 size_t pad_size = head_to_end(cmd_head, udev->cmdr_size); in queue_cmd_ring() local
1025 tcmu_hdr_set_len(&entry->hdr.len_op, pad_size); in queue_cmd_ring()
1031 UPDATE_HEAD(mb->cmd_head, pad_size, udev->cmdr_size); in queue_cmd_ring()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dverbs.c997 u8 pad_size = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_pio() local
999 extra_bytes = pad_size + (SIZE_OF_CRC << 2) + SIZE_OF_LT; in hfi1_verbs_send_pio()
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1407 u32 pad_size; member
Dbe_cmds.c2941 img_size = le32_to_cpu(fsec->fsec_entry[i].pad_size); in be_flash_skyhawk()