Searched refs:header (Results 501 - 525 of 1416) sorted by relevance

<<21222324252627282930>>

/linux-master/kernel/module/
H A Ddecompress.c59 * Calculate length of the header which consists of signature, header
213 zstd_frame_header header; local
231 ret = zstd_get_frame_header(&header, zstd_buf.src, zstd_buf.size);
233 pr_err("ZSTD-compressed data has an incomplete frame header\n");
237 if (header.windowSize > (1 << ZSTD_WINDOWLOG_MAX)) {
243 wksp_size = zstd_dstream_workspace_bound(header.windowSize);
250 dstream = zstd_init_dstream(header.windowSize, wksp, wksp_size);
/linux-master/drivers/accel/qaic/
H A Dqaic_timesync.c32 * struct qts_hdr - Timesync message header structure.
59 * @header: Header of the timesync message.
63 struct qts_hdr header; member in struct:qts_host_time_sync_msg_data
148 sync_msg->header.signature = cpu_to_le16(QAIC_TIMESYNC_SIGNATURE);
149 sync_msg->header.msg_type = QAIC_TS_SYNC_REQ;
273 req->header = data.hdr;
274 req->header.msg_type = QAIC_TS_SYNC_REQ;
/linux-master/drivers/staging/media/atomisp/pci/
H A Dia_css_acc_types.h346 /* The following #if is there because this header file is also included
370 size_t header_size; /** size of fw header */
389 struct ia_css_fw_info header; member in struct:ia_css_blob_descr
417 header in bytes */
418 u32 isp_blob_offset; /** blob offset wrt header
429 * This contains the header and actual blobs.
433 * header and computed using the access macros below.
436 struct ia_css_acc_fw_hdr header; /** firmware header */ member in struct:ia_css_acc_fw
446 #define IA_CSS_ACC_OFFSET(t, f, n) ((t)((uint8_t *)(f) + (f->header
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-prd.c29 struct opal_prd_msg_header header; member in union:opal_prd_msg::__anon48
167 /* we need at least a header's worth of data */
168 if (count < sizeof(item->msg.header))
198 size = be16_to_cpu(item->msg.header.size);
235 /* grab the header */
261 msg.header.size = cpu_to_be16(sizeof(msg));
262 msg.header.type = OPAL_PRD_MSG_TYPE_FINI;
355 * 'size' field in the header includes the header itself. */
/linux-master/drivers/gpu/drm/xe/
H A Dxe_huc.c144 huc_auth_msg_wr(xe, map, wr_offset, header.api_version, PXP_APIVER(4, 3));
145 huc_auth_msg_wr(xe, map, wr_offset, header.command_id, PXP43_CMDID_NEW_HUC_AUTH);
146 huc_auth_msg_wr(xe, map, wr_offset, header.status, 0);
147 huc_auth_msg_wr(xe, map, wr_offset, header.buffer_len,
208 out_status = huc_auth_msg_rd(xe, &pkt->vmap, rd_offset, header.status);
H A Dxe_guc.c516 * Note that GuC needs the CSS header plus uKernel code to be copied
703 u32 header, reply; local
747 header = xe_mmio_read32(gt, reply_reg);
748 if (FIELD_GET(GUC_HXG_MSG_0_TYPE, header) ==
764 1000000, &header, false);
766 if (unlikely(FIELD_GET(GUC_HXG_MSG_0_ORIGIN, header) !=
770 if (FIELD_GET(GUC_HXG_MSG_0_TYPE, header) !=
777 if (FIELD_GET(GUC_HXG_MSG_0_TYPE, header) ==
779 u32 reason = FIELD_GET(GUC_HXG_RETRY_MSG_0_REASON, header);
786 if (FIELD_GET(GUC_HXG_MSG_0_TYPE, header)
[all...]
/linux-master/sound/firewire/
H A Damdtp-stream.c31 /* isochronous header parameters */
36 // Common Isochronous Packet (CIP) header parameters. Use two quadlets CIP header when supported.
64 // For iso header and tstamp.
68 // Add two quadlets CIP header.
86 * @fmt: the value of fmt field in CIP header
210 // context when total size of accumulated context header reaches
214 // IRQ, use the largest size of context header between IT/IR contexts.
215 // Here, use the value of context header in IR context is for both
309 // The CIP header i
1139 process_rx_packets(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
1211 skip_rx_packets(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
1246 process_rx_packets_intermediately(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
1300 process_tx_packets(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
1347 drop_tx_packets(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
1375 process_tx_packets_intermediately(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
1426 drop_tx_packets_initially(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
1542 irq_target_callback(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
1552 irq_target_callback_intermediately(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
1562 irq_target_callback_skip(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
1619 amdtp_stream_first_callback(struct fw_iso_context *context, u32 tstamp, size_t header_length, void *header, void *private_data) argument
[all...]
/linux-master/drivers/tty/hvc/
H A Dhvsi.c152 struct hvsi_header *header = (struct hvsi_header *)packet; local
153 return header->type >= VS_QUERY_RESPONSE_PACKET_HEADER;
159 return 0; /* don't even have the packet header */
208 struct hvsi_header *header = (struct hvsi_header *)packet; local
210 printk("type 0x%x, len %i, seqno %i:\n", header->type, header->len,
211 header->seqno);
213 dump_hex(packet, header->len);
228 struct hvsi_control *header = (struct hvsi_control *)packet; local
230 switch (be16_to_cpu(header
352 const struct hvsi_header *header = (const struct hvsi_header *)packet; local
410 struct hvsi_header *header = (struct hvsi_header *)packet; local
[all...]
/linux-master/drivers/iommu/intel/
H A Ddmar.c244 * normal PCI header. NTB devices are identified by class
304 struct acpi_dmar_hardware_unit, header);
306 ((void *)drhd) + drhd->header.length,
408 static int dmar_parse_one_drhd(struct acpi_dmar_header *header, void *arg) argument
414 drhd = (struct acpi_dmar_hardware_unit *)header;
419 dmaru = kzalloc(sizeof(*dmaru) + header->length, GFP_KERNEL);
424 * If header is allocated from slab by ACPI _DSM method, we need to
428 memcpy(dmaru->hdr, header, header->length);
435 ((void *)drhd) + drhd->header
467 dmar_parse_one_andd(struct acpi_dmar_header *header, void *arg) argument
490 dmar_parse_one_rhsa(struct acpi_dmar_header *header, void *arg) argument
522 dmar_table_print_dmar_entry(struct acpi_dmar_header *header) argument
2283 dmar_hp_add_drhd(struct acpi_dmar_header *header, void *arg) argument
2299 dmar_hp_remove_drhd(struct acpi_dmar_header *header, void *arg) argument
2325 dmar_hp_release_drhd(struct acpi_dmar_header *header, void *arg) argument
[all...]
/linux-master/drivers/scsi/elx/libefc/
H A Defc_device.c539 struct fc_frame_header *hdr = cbdata->header->dma.virt;
544 cbdata->header->dma.virt,
568 struct fc_frame_header *hdr = cbdata->header->dma.virt;
592 struct fc_frame_header *hdr = cbdata->header->dma.virt;
617 struct fc_frame_header *hdr = cbdata->header->dma.virt;
710 cbdata->header->dma.virt,
732 cbdata->header->dma.virt,
745 struct fc_frame_header *hdr = cbdata->header->dma.virt;
1136 struct fc_frame_header *hdr = cbdata->header->dma.virt;
1229 cbdata->header
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_scrn.c69 uint32 header; member in struct:vmw_kms_sou_readback_blit
74 uint32 header; member in struct:vmw_kms_sou_bo_blit
79 SVGA3dCmdHeader header; member in struct:vmw_kms_sou_dirty_cmd
84 uint32_t header; member in struct:vmw_kms_sou_define_gmrfb
128 } header; member in struct:__anon807
140 cmd->header.cmdType = SVGA_CMD_DEFINE_SCREEN;
175 } header; member in struct:__anon809
189 cmd->header.cmdType = SVGA_CMD_DESTROY_SCREEN;
481 gmr->header = SVGA_CMD_DEFINE_GMRFB;
498 blit->header
950 uint32_t header; member in struct:__anon811
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c218 static void qat_alg_init_common_hdr(struct icp_qat_fw_comn_req_hdr *header) argument
220 header->hdr_flags =
222 header->service_type = ICP_QAT_FW_COMN_REQ_CPM_FW_LA;
223 header->comn_req_flags =
226 ICP_QAT_FW_LA_PARTIAL_SET(header->serv_specif_flags,
228 ICP_QAT_FW_LA_CIPH_IV_FLD_FLAG_SET(header->serv_specif_flags,
230 ICP_QAT_FW_LA_PROTO_SET(header->serv_specif_flags,
232 ICP_QAT_FW_LA_UPDATE_STATE_SET(header->serv_specif_flags,
250 struct icp_qat_fw_comn_req_hdr *header = &req_tmpl->comn_hdr; local
268 qat_alg_init_common_hdr(header);
332 struct icp_qat_fw_comn_req_hdr *header = &req_tmpl->comn_hdr; local
415 struct icp_qat_fw_comn_req_hdr *header = &req->comn_hdr; local
[all...]
/linux-master/arch/s390/kernel/
H A Dperf_cpum_sf.c120 if (te->header.t)
226 te->header.a = 1;
704 struct perf_event_header header; local
717 perf_prepare_header(&header, data, event, regs);
718 if (perf_output_begin(&handle, data, event, header.size))
725 perf_output_sample(&handle, &header, data, event);
1242 te->header.f, sample->def, sample);
1253 if (!te->header.f)
1298 if (!te->header.f) {
1305 if (te->header
[all...]
/linux-master/drivers/net/wireless/ath/ath6kl/
H A Dbmi.c176 const u32 header = sizeof(cid) + sizeof(addr) + sizeof(len); local
185 if ((ar->bmi.max_data_size + header) > ar->bmi.max_cmd_size) {
193 memset(ar->bmi.cmd_buf, 0, ar->bmi.max_data_size + header);
202 if (len_remain < (ar->bmi.max_data_size - header)) {
212 tx_len = (ar->bmi.max_data_size - header);
409 const u32 header = sizeof(cid) + sizeof(len); local
417 size = ar->bmi.max_data_size + header;
429 tx_len = (len_remain < (ar->bmi.max_data_size - header)) ?
430 len_remain : (ar->bmi.max_data_size - header);
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif_tx.c100 if (FIELD_GET(DRB_HDR_DTYP, le32_to_cpu(cur_drb->header)) == DES_DTYP_PD) {
106 if (!FIELD_GET(DRB_HDR_CONT, le32_to_cpu(cur_drb->header))) {
128 if (FIELD_GET(DRB_HDR_CONT, le32_to_cpu(cur_drb->header)))
199 drb->header = cpu_to_le32(FIELD_PREP(DRB_HDR_DTYP, DES_DTYP_MSG) |
214 u32 header; local
216 header = FIELD_PREP(DRB_HDR_DTYP, DES_DTYP_PD) | FIELD_PREP(DRB_HDR_DATA_LEN, pkt_size);
218 header |= FIELD_PREP(DRB_HDR_CONT, 1);
220 drb->header = cpu_to_le32(header);
/linux-master/drivers/usb/gadget/function/
H A Df_eem.c335 * Add the EEM header and ethernet checksum.
373 /* EEM packet header format:
389 * Remove the EEM header. Note that there can be many EEM packets in a single
401 u16 header; local
406 DBG(cdev, "invalid EEM header\n");
410 /* remove the EEM header */
411 header = get_unaligned_le16(skb->data);
414 /* EEM packet header format:
418 if (header & BIT(15)) {
430 if (header
[all...]
/linux-master/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw.h403 struct libipw_hdr_3addr header; member in struct:libipw_auth
420 struct libipw_hdr_3addr header; member in struct:libipw_action
433 struct libipw_hdr_3addr header; member in struct:libipw_disassoc
441 struct libipw_hdr_3addr header; member in struct:libipw_probe_request
447 struct libipw_hdr_3addr header; member in struct:libipw_probe_response
460 struct libipw_hdr_3addr header; member in struct:libipw_assoc_request
468 struct libipw_hdr_3addr header; member in struct:libipw_reassoc_request
476 struct libipw_hdr_3addr header; member in struct:libipw_assoc_response
960 void libipw_rx_mgt(struct libipw_device *ieee, struct libipw_hdr_4addr *header,
/linux-master/arch/x86/boot/
H A Dheader.S3 * header.S
45 # "MZ", MS-DOS header
49 # Offset to the PE header.
214 # header, from the old boot sector.
216 .section ".header", "a"
241 # Part 2 of the header, from the old setup.S
243 .ascii "HdrS" # header signature
244 .word 0x020f # header version number (>= 0x0105)
251 # above section of header is compatible
252 # with loadlin-1.5 (header v
[all...]
/linux-master/drivers/usb/typec/altmodes/
H A Ddisplayport.c207 u32 header; local
213 header = DP_HEADER(dp, svdm_version, DP_CMD_CONFIGURE);
221 ret = typec_altmode_vdm(dp->alt, header, &conf, 2);
231 u32 header; local
236 header = DP_HEADER(dp, svdm_version, DP_CMD_CONFIGURE);
238 return typec_cable_altmode_vdm(dp->plug_prime, TYPEC_PLUG_SOP_P, header, &conf, 2);
245 u32 header; local
274 header = DP_HEADER(dp, svdm_version, DP_CMD_STATUS_UPDATE);
276 ret = typec_altmode_vdm(dp->alt, header, &vdo, 2);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dumsch_mm_v4_0.c270 set_hw_resources.header.type = UMSCH_API_TYPE_SCHEDULER;
271 set_hw_resources.header.opcode = UMSCH_API_SET_HW_RSRC;
272 set_hw_resources.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
329 add_queue.header.type = UMSCH_API_TYPE_SCHEDULER;
330 add_queue.header.opcode = UMSCH_API_ADD_QUEUE;
331 add_queue.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
379 remove_queue.header.type = UMSCH_API_TYPE_SCHEDULER;
380 remove_queue.header.opcode = UMSCH_API_REMOVE_QUEUE;
381 remove_queue.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
/linux-master/drivers/char/tpm/
H A Dtpm2-space.c272 const struct tpm_header *header = (const void *)cmd; local
281 cc = be32_to_cpu(header->ordinal);
381 struct tpm_header *header = (struct tpm_header *)rsp; local
388 if (be32_to_cpu(header->return_code) != TPM2_RC_SUCCESS)
441 struct tpm_header *header = (struct tpm_header *)rsp; local
450 be32_to_cpu(header->return_code) != TPM2_RC_SUCCESS) {
489 header->length = cpu_to_be32(TPM_HEADER_SIZE + 9 + 4 * j);
540 struct tpm_header *header = buf; local
564 *bufsiz = be32_to_cpu(header->length);
/linux-master/drivers/usb/core/
H A Dconfig.c616 struct usb_descriptor_header *header; local
650 (buffer2 += header->bLength, size2 -= header->bLength)) {
659 header = (struct usb_descriptor_header *) buffer2;
660 if ((header->bLength > size2) || (header->bLength < 2)) {
663 cfgno, header->bLength);
667 if (header->bDescriptorType == USB_DT_INTERFACE) {
671 d = (struct usb_interface_descriptor *) header;
710 } else if (header
[all...]
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A D11n.c23 * RD responder bit to set to clear in the extended capability header.
138 * Handling includes changing the header fields to CPU formats, checking
322 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY);
323 ht_cap->header.len =
327 le16_to_cpu(ht_cap->header.len));
372 ht_info->header.type =
374 ht_info->header.len =
381 le16_to_cpu(ht_info->header.len));
396 chan_list->header.type = cpu_to_le16(TLV_TYPE_CHANLIST);
397 chan_list->header
[all...]
/linux-master/drivers/thunderbolt/
H A Dctl.c188 struct tb_cfg_header *header = pkg->buffer; local
202 /* check header */
203 if (WARN(header->unknown != 1 << 9,
204 "header->unknown is %#x\n", header->unknown))
206 if (WARN(route != tb_cfg_get_route(header),
208 route, tb_cfg_get_route(header)))
239 res.response_route = tb_cfg_get_route(&pkg->header);
242 tb_cfg_get_route(&pkg->header));
256 struct tb_cfg_header *header local
[all...]
/linux-master/fs/dlm/
H A Dmidcomms.c506 switch (p->header.h_cmd) {
535 switch (p->header.h_cmd) {
612 /* we only trust outer header msglen because
659 uint16_t msglen = le16_to_cpu(p->header.h_length);
697 switch (p->header.h_cmd) {
724 seq = le32_to_cpu(p->header.u.h_seq);
737 msglen = le16_to_cpu(p->header.h_length);
738 switch (p->header.h_cmd) {
772 seq = le32_to_cpu(p->header.u.h_seq);
777 p->header
[all...]

Completed in 261 milliseconds

<<21222324252627282930>>