Home
last modified time | relevance | path

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

123

/linux/drivers/net/wireless/ralink/rt2x00/
H A 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()
205 header_length); in rt2x00crypto_rx_insert_iv()
[all …]
H A 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
H A 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()
H A Drt2x00dump.h100 __le32 header_length; member
/linux/sound/firewire/
H A Damdtp-stream.c678 !!(params->header_length == 0 && params->payload_length == 0); in queue_out_packet()
686 params->header_length = s->ctx_data.tx.ctx_header_size; in queue_in_packet()
706 struct fw_iso_packet *params, unsigned int header_length, in build_it_pkt_header() argument
717 if (header_length > 0) { in build_it_pkt_header()
720 params->header_length = header_length; in build_it_pkt_header()
725 trace_amdtp_packet(s, cycle, cip_header, payload_length + header_length, data_blocks, in build_it_pkt_header()
1171 static void process_rx_packets(struct fw_iso_context *context, u32 tstamp, size_t header_length, in process_rx_packets() argument
1190 packets = header_length / sizeof(*ctx_header); in process_rx_packets()
1242 static void skip_rx_packets(struct fw_iso_context *context, u32 tstamp, size_t header_length, in skip_rx_packets() argument
1255 packets = header_length / sizeof(*ctx_header); in skip_rx_packets()
[all …]
/linux/drivers/scsi/snic/
H A 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/drivers/scsi/fnic/
H A 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/drivers/net/ethernet/cisco/enic/
H A 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/drivers/gpu/drm/i915/gt/uc/
H A 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()
H A Dintel_gsc_binary_headers.h87 u8 header_length; /* in bytes */ member
117 u32 header_length; /* in dwords */ member
/linux/fs/pstore/
H A Dram.c153 int header_length = 0; in ramoops_read_kmsg_hdr() local
157 &header_length) == 3) { in ramoops_read_kmsg_hdr()
165 &header_length) == 2) { in ramoops_read_kmsg_hdr()
173 return header_length; in ramoops_read_kmsg_hdr()
187 int header_length = 0; in ramoops_pstore_read() local
205 header_length = ramoops_read_kmsg_hdr(persistent_ram_old(prz), in ramoops_pstore_read()
209 if (!header_length) { in ramoops_pstore_read()
271 size = persistent_ram_old_size(prz) - header_length; in ramoops_pstore_read()
282 memcpy(record->buf, (char *)persistent_ram_old(prz) + header_length, in ramoops_pstore_read()
/linux/drivers/gpu/drm/xe/
H A Dxe_uc_fw_abi.h273 u8 header_length; /* in bytes */ member
303 u32 header_length; /* in dwords */ member
H A Dxe_uc_fw.c448 entry = (void *)header + header->header_length; in entry_offset()
475 if (header->header_length < sizeof(struct gsc_cpd_header_v2)) { in parse_cpd_header()
476 xe_gt_err(gt, "invalid CPD header length %u!\n", header->header_length); in parse_cpd_header()
480 min_size = header->header_length + sizeof(struct gsc_cpd_entry) * header->num_of_entries; in parse_cpd_header()
/linux/drivers/firewire/
H A Dohci.c168 size_t header_length; member
910 p.header_length = 16; in handle_ar_packet()
916 p.header_length = 16; in handle_ar_packet()
925 p.header_length = 16; in handle_ar_packet()
936 p.header_length = 12; in handle_ar_packet()
945 p.payload = (void *) buffer + p.header_length; in handle_ar_packet()
948 length = (p.header_length + p.payload_length + 3) / 4; in handle_ar_packet()
1443 d[0].req_count = cpu_to_le16(packet->header_length); in at_context_queue_packet()
2864 ctx->header_length); in flush_iso_completions()
2866 ctx->header_length); in flush_iso_completions()
[all …]
H A Dcore-transaction.c203 packet->header_length = 4; in fw_fill_request()
226 packet->header_length = 16; in fw_fill_request()
234 packet->header_length = 16; in fw_fill_request()
240 packet->header_length = 12; in fw_fill_request()
247 packet->header_length = 16; in fw_fill_request()
452 .header_length = 12,
725 response->header_length = 12; in fw_fill_response()
735 response->header_length = 16; in fw_fill_response()
744 response->header_length = 16; in fw_fill_response()
H A Dcore-cdev.c980 size_t header_length, void *header, void *data) in iso_callback() argument
985 e = kmalloc(sizeof(*e) + header_length, GFP_KERNEL); in iso_callback()
992 e->interrupt.header_length = header_length; in iso_callback()
993 memcpy(e->interrupt.header, header, header_length); in iso_callback()
995 sizeof(e->interrupt) + header_length, NULL, 0); in iso_callback()
1180 u.packet.header_length = GET_HEADER_LENGTH(control); in ioctl_queue_iso()
1184 if (u.packet.header_length & 3) in ioctl_queue_iso()
1186 transmit_header_bytes = u.packet.header_length; in ioctl_queue_iso()
1190 if (u.packet.header_length == 0 || in ioctl_queue_iso()
1191 u.packet.header_length % ctx->header_size != 0) in ioctl_queue_iso()
[all …]
/linux/include/net/
H A Ddatalink.h17 unsigned short header_length; member
/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge_mcp_gen_header.h17 unsigned header_length; member
/linux/include/trace/events/
H A Dfirewire.h760 __dynamic_array(u32, header, packet->header_length / QUADLET_SIZE) \
845 …stamp, enum fw_iso_context_completions_cause cause, const u32 *header, unsigned int header_length),
846 TP_ARGS(ctx, timestamp, cause, header, header_length),
852 __dynamic_array(u32, header, header_length / QUADLET_SIZE)
873 …stamp, enum fw_iso_context_completions_cause cause, const u32 *header, unsigned int header_length),
874 TP_ARGS(ctx, timestamp, cause, header, header_length),
879 …stamp, enum fw_iso_context_completions_cause cause, const u32 *header, unsigned int header_length),
880 TP_ARGS(ctx, timestamp, cause, header, header_length),
/linux/net/appletalk/
H A 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/drivers/media/firewire/
H A 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/include/linux/
H A Dfirewire.h298 size_t header_length; member
467 u32 header_length:8; /* Size of immediate header */ member
502 u32 cycle, size_t header_length,
/linux/net/802/
H A Dp8022.c43 proto->header_length = 3; in register_8022_client()
H A Dpsnap.c139 proto->header_length = 5 + 3; /* snap + 802.2 */ in register_snap_client()
/linux/drivers/tty/ipwireless/
H A 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()

123