Home
last modified time | relevance | path

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

/drivers/net/ethernet/google/gve/
Dgve_tx.c288 int pad_bytes, align_hdr_pad; in gve_skb_fifo_bytes_required() local
295 pad_bytes = gve_tx_fifo_pad_alloc_one_frag(&tx->tx_fifo, in gve_skb_fifo_bytes_required()
299 bytes = align_hdr_pad + pad_bytes + skb->len; in gve_skb_fifo_bytes_required()
410 int pad_bytes, hlen, hdr_nfrags, payload_nfrags, l4_hdr_offset; in gve_tx_add_skb() local
436 pad_bytes = gve_tx_fifo_pad_alloc_one_frag(&tx->tx_fifo, hlen); in gve_tx_add_skb()
437 hdr_nfrags = gve_tx_alloc_fifo(&tx->tx_fifo, hlen + pad_bytes, in gve_tx_add_skb()
/drivers/base/regmap/
Dregmap.c769 map->format.pad_bytes = config->pad_bits / 8; in __regmap_init()
1483 map->format.pad_bytes; in _regmap_raw_write_impl()
1592 memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + in _regmap_raw_write_impl()
1603 map->format.pad_bytes, in _regmap_raw_write_impl()
1609 map->format.pad_bytes + in _regmap_raw_write_impl()
1633 map->format.pad_bytes + in _regmap_raw_write_impl()
1638 map->format.pad_bytes, in _regmap_raw_write_impl()
1645 len = map->format.reg_bytes + map->format.pad_bytes + val_len; in _regmap_raw_write_impl()
1651 memcpy(buf + map->format.reg_bytes + map->format.pad_bytes, in _regmap_raw_write_impl()
1747 + map->format.pad_bytes, val, 0); in _regmap_bus_raw_write()
[all …]
Dinternal.h33 size_t pad_bytes; member
/drivers/net/wireless/ath/ath10k/
Dhw.c1117 int pad_bytes = 0; in ath10k_get_htt_tx_data_rssi_pad() local
1120 pad_bytes += sizeof(extd.a_retries) / in ath10k_get_htt_tx_data_rssi_pad()
1124 pad_bytes += sizeof(extd.t_stamp) / sizeof(extd.msdus_rssi[0]); in ath10k_get_htt_tx_data_rssi_pad()
1126 return pad_bytes; in ath10k_get_htt_tx_data_rssi_pad()
/drivers/target/iscsi/
Discsi_target.c534 iov[niov].iov_base = &cmd->pad_bytes; in iscsit_xmit_nondatain_pdu()
544 padding, &cmd->pad_bytes, in iscsit_xmit_nondatain_pdu()
611 iov[iov_count].iov_base = cmd->pad_bytes; in iscsit_xmit_datain_pdu()
623 cmd->pad_bytes); in iscsit_xmit_datain_pdu()
1380 u8 *pad_bytes) in iscsit_do_crypto_hash_sg() argument
1406 sg_init_one(&pad_sg, pad_bytes, padding); in iscsit_do_crypto_hash_sg()
1420 const void *pad_bytes, void *data_crc) in iscsit_do_crypto_hash_buf() argument
1427 sg_set_buf(sg + 1, pad_bytes, padding); in iscsit_do_crypto_hash_buf()
1596 iov[iov_count].iov_base = cmd->pad_bytes; in iscsit_get_dataout()
1622 cmd->pad_bytes); in iscsit_get_dataout()
[all …]
/drivers/crypto/axis/
Dartpec6_crypto.c1002 unsigned int mod, target, diff, pad_bytes, size_bytes; in create_hash_pad() local
1023 pad_bytes = diff > target ? target + mod - diff : target - diff; in create_hash_pad()
1025 memset(dst + 1, 0, pad_bytes); in create_hash_pad()
1029 memset(dst + 1 + pad_bytes, 0, 8); in create_hash_pad()
1030 memcpy(dst + 1 + pad_bytes + 8, &bits, 8); in create_hash_pad()
1032 memcpy(dst + 1 + pad_bytes, &bits, 8); in create_hash_pad()
1035 return pad_bytes + size_bytes + 1; in create_hash_pad()
/drivers/net/wireless/rsi/
Drsi_91x_mgmt.c491 u8 pad_bytes = msg[4]; in rsi_mgmt_pkt_to_core() local
497 msg_len -= pad_bytes; in rsi_mgmt_pkt_to_core()
510 (u8 *)(msg + FRAME_DESC_SZ + pad_bytes), in rsi_mgmt_pkt_to_core()
/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c564 u32 pad_bytes = 0; in cxgbit_xmit_nondatain_pdu() local
570 &pad_bytes, padding); in cxgbit_xmit_nondatain_pdu()
/drivers/net/wireless/ath/wcn36xx/
Dhal.h806 u16 pad_bytes; member
Dsmd.c95 entry->pad_bytes = 0; in put_cfg_tlv_u32()
/drivers/net/ethernet/sun/
Dniu.c6543 u64 pad_bytes, u64 len) in niu_compute_tx_flags() argument
6585 (pad_bytes + sizeof(struct tx_pkt_hdr)); in niu_compute_tx_flags()
6593 (pad_bytes + sizeof(struct tx_pkt_hdr)); in niu_compute_tx_flags()
6595 ret = (((pad_bytes / 2) << TXHDR_PAD_SHIFT) | in niu_compute_tx_flags()