Home
last modified time | relevance | path

Searched refs:header_length (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/
Drt2x00crypto.c53 txdesc->iv_offset = txdesc->header_length; in rt2x00crypto_create_tx_descriptor()
123 void rt2x00crypto_tx_insert_iv(struct sk_buff *skb, unsigned int header_length) in rt2x00crypto_tx_insert_iv() argument
135 memmove(skb->data, skb->data + iv_len, header_length); in rt2x00crypto_tx_insert_iv()
138 memcpy(skb->data + header_length, skbdesc->iv, iv_len); in rt2x00crypto_tx_insert_iv()
145 unsigned int header_length, in rt2x00crypto_rx_insert_iv() argument
148 unsigned int payload_len = rxdesc->size - header_length; in rt2x00crypto_rx_insert_iv()
149 unsigned int align = ALIGN_SIZE(skb, header_length); in rt2x00crypto_rx_insert_iv()
196 header_length); in rt2x00crypto_rx_insert_iv()
197 transfer += header_length; in rt2x00crypto_rx_insert_iv()
208 header_length); in rt2x00crypto_rx_insert_iv()
[all …]
Drt2x00lib.h118 void rt2x00queue_insert_l2pad(struct sk_buff *skb, unsigned int header_length);
128 void rt2x00queue_remove_l2pad(struct sk_buff *skb, unsigned int header_length);
325 void rt2x00crypto_tx_insert_iv(struct sk_buff *skb, unsigned int header_length);
327 unsigned int header_length,
358 unsigned int header_length) in rt2x00crypto_tx_insert_iv() argument
363 unsigned int header_length, in rt2x00crypto_rx_insert_iv() argument
Drt2x00dev.c467 unsigned int header_length; in rt2x00lib_txdone() local
488 header_length = ieee80211_get_hdrlen_from_skb(entry->skb); in rt2x00lib_txdone()
494 rt2x00queue_remove_l2pad(entry->skb, header_length); in rt2x00lib_txdone()
503 rt2x00crypto_tx_insert_iv(entry->skb, header_length); in rt2x00lib_txdone()
743 unsigned int header_length; in rt2x00lib_rxdone() local
788 header_length = ieee80211_get_hdrlen_from_skb(entry->skb); in rt2x00lib_rxdone()
798 rt2x00crypto_rx_insert_iv(entry->skb, header_length, in rt2x00lib_rxdone()
800 else if (header_length && in rt2x00lib_rxdone()
801 (rxdesc.size > header_length) && in rt2x00lib_rxdone()
803 rt2x00queue_remove_l2pad(entry->skb, header_length); in rt2x00lib_rxdone()
Drt2x00dump.h100 __le32 header_length; member
Drt2x00queue.h297 u16 header_length; member
/linux-6.6.21/sound/firewire/
Damdtp-stream.c653 !!(params->header_length == 0 && params->payload_length == 0); in queue_out_packet()
661 params->header_length = s->ctx_data.tx.ctx_header_size; in queue_in_packet()
681 struct fw_iso_packet *params, unsigned int header_length, in build_it_pkt_header() argument
692 if (header_length > 0) { in build_it_pkt_header()
695 params->header_length = header_length; in build_it_pkt_header()
700 trace_amdtp_packet(s, cycle, cip_header, payload_length + header_length, data_blocks, in build_it_pkt_header()
1135 static void process_rx_packets(struct fw_iso_context *context, u32 tstamp, size_t header_length, in process_rx_packets() argument
1154 packets = header_length / sizeof(*ctx_header); in process_rx_packets()
1209 static void skip_rx_packets(struct fw_iso_context *context, u32 tstamp, size_t header_length, in skip_rx_packets() argument
1222 packets = header_length / sizeof(*ctx_header); in skip_rx_packets()
[all …]
/linux-6.6.21/drivers/scsi/fnic/
Dwq_enet_desc.h40 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
49 (header_length & WQ_ENET_HDRLEN_MASK) | in wq_enet_desc_enc()
59 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
69 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec()
/linux-6.6.21/drivers/net/ethernet/cisco/enic/
Dwq_enet_desc.h41 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
50 (header_length & WQ_ENET_HDRLEN_MASK) | in wq_enet_desc_enc()
60 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
70 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec()
/linux-6.6.21/drivers/scsi/snic/
Dwq_enet_desc.h38 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
47 (header_length & WQ_ENET_HDRLEN_MASK) | in wq_enet_desc_enc()
57 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
67 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec()
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dintel_huc_fw.c204 if (header->header_length < sizeof(struct intel_gsc_cpd_header_v2)) { in intel_huc_fw_get_binary_info()
206 header->header_length); in intel_huc_fw_get_binary_info()
210 min_size = header->header_length + sizeof(*entry) * header->num_of_entries; in intel_huc_fw_get_binary_info()
216 entry = data + header->header_length; in intel_huc_fw_get_binary_info()
Dintel_gsc_binary_headers.h87 u8 header_length; /* in bytes */ member
117 u32 header_length; /* in dwords */ member
/linux-6.6.21/fs/pstore/
Dram.c149 int header_length = 0; in ramoops_read_kmsg_hdr() local
153 &header_length) == 3) { in ramoops_read_kmsg_hdr()
161 &header_length) == 2) { in ramoops_read_kmsg_hdr()
169 return header_length; in ramoops_read_kmsg_hdr()
183 int header_length = 0; in ramoops_pstore_read() local
201 header_length = ramoops_read_kmsg_hdr(persistent_ram_old(prz), in ramoops_pstore_read()
205 if (!header_length) { in ramoops_pstore_read()
267 size = persistent_ram_old_size(prz) - header_length; in ramoops_pstore_read()
278 memcpy(record->buf, (char *)persistent_ram_old(prz) + header_length, in ramoops_pstore_read()
/linux-6.6.21/drivers/firewire/
Dohci.c167 size_t header_length; member
861 p.header_length = 16; in handle_ar_packet()
867 p.header_length = 16; in handle_ar_packet()
876 p.header_length = 16; in handle_ar_packet()
887 p.header_length = 12; in handle_ar_packet()
896 p.payload = (void *) buffer + p.header_length; in handle_ar_packet()
899 length = (p.header_length + p.payload_length + 3) / 4; in handle_ar_packet()
1379 d[0].req_count = cpu_to_le16(packet->header_length); in at_context_queue_packet()
2785 ctx->header_length, ctx->header, in flush_iso_completions()
2787 ctx->header_length = 0; in flush_iso_completions()
[all …]
Dcore-transaction.c238 packet->header_length = 4; in fw_fill_request()
264 packet->header_length = 16; in fw_fill_request()
273 packet->header_length = 16; in fw_fill_request()
279 packet->header_length = 12; in fw_fill_request()
287 packet->header_length = 16; in fw_fill_request()
486 .header_length = 12,
753 response->header_length = 12; in fw_fill_response()
764 response->header_length = 16; in fw_fill_response()
774 response->header_length = 16; in fw_fill_response()
Dcore-cdev.c966 size_t header_length, void *header, void *data) in iso_callback() argument
971 e = kmalloc(sizeof(*e) + header_length, GFP_ATOMIC); in iso_callback()
978 e->interrupt.header_length = header_length; in iso_callback()
979 memcpy(e->interrupt.header, header, header_length); in iso_callback()
981 sizeof(e->interrupt) + header_length, NULL, 0); in iso_callback()
1168 u.packet.header_length = GET_HEADER_LENGTH(control); in ioctl_queue_iso()
1172 if (u.packet.header_length & 3) in ioctl_queue_iso()
1174 transmit_header_bytes = u.packet.header_length; in ioctl_queue_iso()
1178 if (u.packet.header_length == 0 || in ioctl_queue_iso()
1179 u.packet.header_length % ctx->header_size != 0) in ioctl_queue_iso()
[all …]
/linux-6.6.21/include/net/
Ddatalink.h17 unsigned short header_length; member
/linux-6.6.21/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge_mcp_gen_header.h17 unsigned header_length; member
/linux-6.6.21/include/linux/
Dfirewire.h296 size_t header_length; member
465 u32 header_length:8; /* Length of immediate header */ member
500 u32 cycle, size_t header_length,
/linux-6.6.21/net/appletalk/
Daarp.c104 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in __aarp_send_query()
117 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in __aarp_send_query()
157 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in aarp_send_reply()
164 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in aarp_send_reply()
206 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in aarp_send_probe()
215 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in aarp_send_probe()
/linux-6.6.21/net/802/
Dp8022.c43 proto->header_length = 3; in register_8022_client()
Dpsnap.c139 proto->header_length = 5 + 3; /* snap + 802.2 */ in register_snap_client()
/linux-6.6.21/drivers/media/firewire/
Dfiredtv-fw.c92 p.header_length = ISO_HEADER_SIZE; in queue_iso()
99 size_t header_length, void *header, void *data) in handle_iso() argument
107 for (h = header, h_end = h + header_length / 4; h < h_end; h++) { in handle_iso()
/linux-6.6.21/drivers/tty/ipwireless/
Dhardware.c817 unsigned int header_length; in handle_received_packet() local
823 header_length = NL_FIRST_PACKET_HEADER_SIZE; in handle_received_packet()
825 header_length = NL_FOLLOWING_PACKET_HEADER_SIZE; in handle_received_packet()
827 data = packet->rawpkt + header_length; in handle_received_packet()
828 data_len = len - header_length; in handle_received_packet()
/linux-6.6.21/drivers/acpi/apei/
Deinj.c673 if ((einj_tab->header_length != in einj_check_table()
675 && (einj_tab->header_length != sizeof(struct acpi_table_einj))) in einj_check_table()
/linux-6.6.21/drivers/scsi/
Dscsi.c712 data.length - data.header_length - in scsi_cdl_enable()
714 buf_data = buf + data.header_length + in scsi_cdl_enable()

123