Home
last modified time | relevance | path

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

/drivers/staging/media/meson/vdec/
Desparser.c193 u32 pad_size = 0; in esparser_pad_start_code() local
197 pad_size = ESPARSER_MIN_PACKET_SIZE - payload_size; in esparser_pad_start_code()
198 memset(vaddr + payload_size, 0, pad_size); in esparser_pad_start_code()
201 if ((payload_size + pad_size + SEARCH_PATTERN_LEN) > in esparser_pad_start_code()
204 return pad_size; in esparser_pad_start_code()
207 memset(vaddr + payload_size + pad_size, 0, SEARCH_PATTERN_LEN); in esparser_pad_start_code()
208 vaddr[payload_size + pad_size] = 0x00; in esparser_pad_start_code()
209 vaddr[payload_size + pad_size + 1] = 0x00; in esparser_pad_start_code()
210 vaddr[payload_size + pad_size + 2] = 0x01; in esparser_pad_start_code()
211 vaddr[payload_size + pad_size + 3] = 0xff; in esparser_pad_start_code()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h134 int page_size, pad_size; in i40e_compute_pad() local
137 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in i40e_compute_pad()
139 return pad_size; in i40e_compute_pad()
/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()
/drivers/net/ethernet/intel/igb/
Digb.h168 int page_size, pad_size; in igb_compute_pad() local
171 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in igb_compute_pad()
173 return pad_size; in igb_compute_pad()
/drivers/bluetooth/
Dbtmtksdio.c388 int err, i, pad_size; in btmtksdio_rx_packet() local
456 pad_size = skb->len - (&pkts[i])->hlen - dlen; in btmtksdio_rx_packet()
459 if (pad_size < 0) { in btmtksdio_rx_packet()
465 skb_trim(skb, skb->len - pad_size); in btmtksdio_rx_packet()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h89 int page_size, pad_size; in ixgbe_compute_pad() local
92 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in ixgbe_compute_pad()
94 return pad_size; in ixgbe_compute_pad()
/drivers/scsi/aic94xx/
Daic94xx_sds.c376 __le32 pad_size; member
661 *size = le32_to_cpu(de->pad_size); in asd_find_flash_de()
/drivers/target/
Dtarget_core_user.c956 size_t pad_size = head_to_end(cmd_head, udev->cmdr_size); in ring_insert_padding() local
960 tcmu_hdr_set_len(&hdr->len_op, pad_size); in ring_insert_padding()
966 UPDATE_HEAD(mb->cmd_head, pad_size, udev->cmdr_size); in ring_insert_padding()
/drivers/infiniband/hw/hfi1/
Dverbs.c1000 u8 pad_size = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_pio() local
1002 extra_bytes = pad_size + (SIZE_OF_CRC << 2) + SIZE_OF_LT; in hfi1_verbs_send_pio()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1407 u32 pad_size; member
Dbe_cmds.c2943 img_size = le32_to_cpu(fsec->fsec_entry[i].pad_size); in be_flash_skyhawk()