Home
last modified time | relevance | path

Searched full:header (Results 1 – 25 of 5110) sorted by relevance

12345678910>>...205

/linux-6.12.1/drivers/firewire/
Dpacket-header-definitions.h3 // packet-header-definitions.h - The definitions of header fields for IEEE 1394 packet.
37 static inline unsigned int async_header_get_destination(const u32 header[ASYNC_HEADER_QUADLET_COUNT… in async_header_get_destination()
39 return (header[0] & ASYNC_HEADER_Q0_DESTINATION_MASK) >> ASYNC_HEADER_Q0_DESTINATION_SHIFT; in async_header_get_destination()
42 static inline unsigned int async_header_get_tlabel(const u32 header[ASYNC_HEADER_QUADLET_COUNT]) in async_header_get_tlabel()
44 return (header[0] & ASYNC_HEADER_Q0_TLABEL_MASK) >> ASYNC_HEADER_Q0_TLABEL_SHIFT; in async_header_get_tlabel()
47 static inline unsigned int async_header_get_retry(const u32 header[ASYNC_HEADER_QUADLET_COUNT]) in async_header_get_retry()
49 return (header[0] & ASYNC_HEADER_Q0_RETRY_MASK) >> ASYNC_HEADER_Q0_RETRY_SHIFT; in async_header_get_retry()
52 static inline unsigned int async_header_get_tcode(const u32 header[ASYNC_HEADER_QUADLET_COUNT]) in async_header_get_tcode()
54 return (header[0] & ASYNC_HEADER_Q0_TCODE_MASK) >> ASYNC_HEADER_Q0_TCODE_SHIFT; in async_header_get_tcode()
57 static inline unsigned int async_header_get_priority(const u32 header[ASYNC_HEADER_QUADLET_COUNT]) in async_header_get_priority()
[all …]
Dpacket-serdes-test.c12 #include "packet-header-definitions.h"
15 static void serialize_async_header_common(u32 header[ASYNC_HEADER_QUADLET_COUNT], in serialize_async_header_common()
20 async_header_set_destination(header, dst_id); in serialize_async_header_common()
21 async_header_set_tlabel(header, tlabel); in serialize_async_header_common()
22 async_header_set_retry(header, retry); in serialize_async_header_common()
23 async_header_set_tcode(header, tcode); in serialize_async_header_common()
24 async_header_set_priority(header, priority); in serialize_async_header_common()
25 async_header_set_source(header, src_id); in serialize_async_header_common()
28 static void serialize_async_header_request(u32 header[ASYNC_HEADER_QUADLET_COUNT], in serialize_async_header_request()
33 serialize_async_header_common(header, dst_id, tlabel, retry, tcode, priority, src_id); in serialize_async_header_request()
[all …]
/linux-6.12.1/tools/power/x86/intel-speed-select/
Disst-display.c84 static void format_and_print_txt(FILE *outf, int level, char *header, in format_and_print_txt() argument
102 if (header && value) { in format_and_print_txt()
104 fprintf(outf, "%s:%s\n", header, value); in format_and_print_txt()
105 } else if (header) { in format_and_print_txt()
107 fprintf(outf, "%s\n", header); in format_and_print_txt()
112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print() argument
119 format_and_print_txt(outf, level, header, value); in format_and_print()
124 if (header) in format_and_print()
143 fprintf(outf, "%s\"%s\": ", delimiters, header); in format_and_print()
153 if (i == level && header) in format_and_print()
[all …]
/linux-6.12.1/drivers/infiniband/core/
Dud_header.c42 #define STRUCT_FIELD(header, field) \ argument
43 .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \
44 .struct_size_bytes = sizeof_field(struct ib_unpacked_ ## header, field), \
45 .field_name = #header ":" #field
283 __sum16 ib_ud_ip4_csum(struct ib_ud_header *header) in ib_ud_ip4_csum() argument
289 iph.tos = header->ip4.tos; in ib_ud_ip4_csum()
290 iph.tot_len = header->ip4.tot_len; in ib_ud_ip4_csum()
291 iph.id = header->ip4.id; in ib_ud_ip4_csum()
292 iph.frag_off = header->ip4.frag_off; in ib_ud_ip4_csum()
293 iph.ttl = header->ip4.ttl; in ib_ud_ip4_csum()
[all …]
/linux-6.12.1/net/6lowpan/
DKconfig18 tristate "Next Header and Generic Header Compression Support"
22 Support for next header and generic header compression defined in
28 tristate "Destination Options Header Support"
31 6LoWPAN IPv6 Destination Options Header compression according to
35 tristate "Fragment Header Support"
38 6LoWPAN IPv6 Fragment Header compression according to RFC6282.
41 tristate "Hop-by-Hop Options Header Support"
44 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to
48 tristate "IPv6 Header Support"
51 6LoWPAN IPv6 Header compression according to RFC6282.
[all …]
/linux-6.12.1/usr/include/
DMakefile11 # In theory, we do not care -m32 or -m64 for header compile tests.
22 # Do not add a new header to the blacklist without legitimate reason.
23 # Please consider to fix the header first.
26 no-header-test += asm/ucontext.h
27 no-header-test += drm/vmwgfx_drm.h
28 no-header-test += linux/am437x-vpfe.h
29 no-header-test += linux/coda.h
30 no-header-test += linux/cyclades.h
31 no-header-test += linux/errqueue.h
32 no-header-test += linux/hdlc/ioctl.h
[all …]
/linux-6.12.1/arch/um/drivers/
Dcow_user.c63 * Move the backing_file field to the end of the header. This allows
200 struct cow_header_v3 *header; in write_cow_header() local
211 header = cow_malloc(sizeof(*header)); in write_cow_header()
212 if (header == NULL) { in write_cow_header()
214 "header\n"); in write_cow_header()
217 header->magic = htobe32(COW_MAGIC); in write_cow_header()
218 header->version = htobe32(COW_VERSION); in write_cow_header()
221 if (strlen(backing_file) > sizeof(header->backing_file) - 1) { in write_cow_header()
225 sizeof(header->backing_file) - 1); in write_cow_header()
229 if (absolutize(header->backing_file, sizeof(header->backing_file), in write_cow_header()
[all …]
/linux-6.12.1/arch/alpha/kernel/
Derr_common.c50 printk("%s -- Frame Header --\n" in mchk_dump_logout_frame()
89 el_process_header_subpacket(struct el_subpacket *header) in el_process_header_subpacket() argument
96 if (header->class != EL_CLASS__HEADER) { in el_process_header_subpacket()
97 printk("%s** Unexpected header CLASS %d TYPE %d, aborting\n", in el_process_header_subpacket()
99 header->class, header->type); in el_process_header_subpacket()
103 switch(header->type) { in el_process_header_subpacket()
106 length = header->by_type.sys_err.frame_length; in el_process_header_subpacket()
108 header->by_type.sys_err.frame_packet_count; in el_process_header_subpacket()
113 length = header->by_type.sys_event.frame_length; in el_process_header_subpacket()
115 header->by_type.sys_event.frame_packet_count; in el_process_header_subpacket()
[all …]
/linux-6.12.1/Documentation/netlink/specs/
Dethtool.yaml20 name: header-flags
50 name: header
61 enum: header-flags
143 name: header
145 nested-attributes: header
158 name: header
160 nested-attributes: header
170 name: header
172 nested-attributes: header
247 name: header
[all …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-viperboard.c121 rmsg->header.cmd = VPRBRD_I2C_CMD_READ; in vprbrd_i2c_read()
123 rmsg->header.addr = cpu_to_le16(start + 0x4000); in vprbrd_i2c_read()
127 rmsg->header.len0 = remain_len; in vprbrd_i2c_read()
128 rmsg->header.len1 = 0x00; in vprbrd_i2c_read()
129 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
130 rmsg->header.len3 = 0x00; in vprbrd_i2c_read()
131 rmsg->header.len4 = 0x00; in vprbrd_i2c_read()
132 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
137 rmsg->header.len0 = remain_len - 255; in vprbrd_i2c_read()
138 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_hdcp_gsc_message.c33 session_init_in.header.api_version = HDCP_API_VERSION; in intel_hdcp_gsc_initiate_session()
34 session_init_in.header.command_id = WIRED_INITIATE_HDCP2_SESSION; in intel_hdcp_gsc_initiate_session()
35 session_init_in.header.status = FW_HDCP_STATUS_SUCCESS; in intel_hdcp_gsc_initiate_session()
36 session_init_in.header.buffer_len = in intel_hdcp_gsc_initiate_session()
53 if (session_init_out.header.status != FW_HDCP_STATUS_SUCCESS) { in intel_hdcp_gsc_initiate_session()
56 session_init_out.header.status); in intel_hdcp_gsc_initiate_session()
92 verify_rxcert_in.header.api_version = HDCP_API_VERSION; in intel_hdcp_gsc_verify_receiver_cert_prepare_km()
93 verify_rxcert_in.header.command_id = WIRED_VERIFY_RECEIVER_CERT; in intel_hdcp_gsc_verify_receiver_cert_prepare_km()
94 verify_rxcert_in.header.status = FW_HDCP_STATUS_SUCCESS; in intel_hdcp_gsc_verify_receiver_cert_prepare_km()
95 verify_rxcert_in.header.buffer_len = in intel_hdcp_gsc_verify_receiver_cert_prepare_km()
[all …]
/linux-6.12.1/drivers/media/platform/st/sti/delta/
Ddelta-mjpeg-hdr.c15 static char *header_str(struct mjpeg_header *header, in header_str() argument
22 if (!header) in header_str()
25 snprintf(cur, left, "[MJPEG header]\n" in header_str()
31 header->length, in header_str()
32 header->sample_precision, in header_str()
33 header->frame_width, in header_str()
34 header->frame_height, in header_str()
35 header->nb_of_components); in header_str()
42 struct mjpeg_header *header) in delta_mjpeg_read_sof() argument
50 memset(header, 0, sizeof(*header)); in delta_mjpeg_read_sof()
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/
Dkvm_binary_stats_test.c28 struct kvm_stats_header header; in stats_test() local
35 /* Read kvm stats header */ in stats_test()
36 read_stats_header(stats_fd, &header); in stats_test()
38 size_desc = get_stats_descriptor_size(&header); in stats_test()
41 id = malloc(header.name_size); in stats_test()
44 ret = pread(stats_fd, id, header.name_size, sizeof(header)); in stats_test()
45 TEST_ASSERT(ret == header.name_size, in stats_test()
46 "Expected header size '%u', read '%lu' bytes", in stats_test()
47 header.name_size, ret); in stats_test()
50 TEST_ASSERT(!strncmp(id, "kvm", 3) && strlen(id) < header.name_size, in stats_test()
[all …]
/linux-6.12.1/tools/lib/perf/include/perf/
Devent.h11 #define event_contains(obj, mem) ((obj).header.size > offsetof(typeof(obj), mem))
14 struct perf_event_header header; member
23 struct perf_event_header header; member
48 struct perf_event_header header; member
54 struct perf_event_header header; member
61 struct perf_event_header header; member
68 struct perf_event_header header; member
76 struct perf_event_header header; member
90 struct perf_event_header header; member
100 struct perf_event_header header; member
[all …]
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c55 SVGA3dCmdHeader header; \
573 SVGA3dCmdHeader *header) in vmw_cmd_invalid() argument
580 SVGA3dCmdHeader *header) in vmw_cmd_ok() argument
723 cmd->header.id = SVGA_3D_CMD_DX_BIND_ALL_QUERY; in vmw_rebind_all_dx_query()
724 cmd->header.size = sizeof(cmd->body); in vmw_rebind_all_dx_query()
815 * vmw_cmd_cid_check - Check a command header for valid context information.
819 * @header: A command header with an embedded user-space context handle.
822 * handle embedded in @header.
826 SVGA3dCmdHeader *header) in vmw_cmd_cid_check() argument
829 container_of(header, typeof(*cmd), header); in vmw_cmd_cid_check()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/pxp/
Dintel_pxp_gsccs.c62 struct intel_gsc_mtl_header *header = exec_res->pkt_vaddr; in gsccs_send_message() local
71 max_msg_size = PXP43_MAX_HECI_INOUT_SIZE - sizeof(*header); in gsccs_send_message()
83 memset(header, 0, sizeof(*header)); in gsccs_send_message()
84 intel_gsc_uc_heci_cmd_emit_mtl_header(header, HECI_MEADDRESS_PXP, in gsccs_send_message()
85 msg_in_size + sizeof(*header), in gsccs_send_message()
90 header->flags |= GSC_INFLAG_MSG_CLEANUP; in gsccs_send_message()
93 header->gsc_message_handle = *gsc_msg_handle_retry; in gsccs_send_message()
97 memcpy(exec_res->pkt_vaddr + sizeof(*header), msg_in, msg_in_size); in gsccs_send_message()
100 pkt.size_in = header->message_size; in gsccs_send_message()
102 pkt.size_out = msg_out_size_max + sizeof(*header); in gsccs_send_message()
[all …]
/linux-6.12.1/sound/soc/tegra/
Dtegra210_sfc.c53 0x000c6102,//header
59 0x0018a102,//header
76 0x00005102,//header
85 0x00006102,//header
94 0x000c6102,//header
100 0x0018a102,//header
117 0x00005102,//header
126 0x0000a105,//header
138 0x000c6102,//header
144 0x00006102,//header
[all …]
/linux-6.12.1/sound/soc/intel/avs/
Dtrace.h42 trace_avs_ipc_request_msg((msg)->header, fwregs); \
48 trace_avs_ipc_reply_msg((msg)->header, fwregs); \
54 trace_avs_ipc_notify_msg((msg)->header, fwregs); \
61 TP_PROTO(u64 header, u64 fwregs),
63 TP_ARGS(header, fwregs),
66 __field(u64, header)
71 __entry->header = header;
77 lower_32_bits(__entry->header), upper_32_bits(__entry->header),
82 TP_PROTO(u64 header, u64 fwregs),
83 TP_ARGS(header, fwregs)
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_huc_fw.c18 struct intel_gsc_mtl_header header; member
23 struct intel_gsc_mtl_header header; member
52 intel_gsc_uc_heci_cmd_emit_mtl_header(&msg_in->header, in intel_huc_fw_auth_via_gsccs()
56 msg_in->huc_in.header.api_version = PXP_APIVER(4, 3); in intel_huc_fw_auth_via_gsccs()
57 msg_in->huc_in.header.command_id = PXP43_CMDID_NEW_HUC_AUTH; in intel_huc_fw_auth_via_gsccs()
58 msg_in->huc_in.header.status = 0; in intel_huc_fw_auth_via_gsccs()
59 msg_in->huc_in.header.buffer_len = sizeof(msg_in->huc_in) - in intel_huc_fw_auth_via_gsccs()
60 sizeof(msg_in->huc_in.header); in intel_huc_fw_auth_via_gsccs()
74 if (msg_out->header.flags & GSC_OUTFLAG_MSG_PENDING) { in intel_huc_fw_auth_via_gsccs()
75 msg_in->header.gsc_message_handle = msg_out->header.gsc_message_handle; in intel_huc_fw_auth_via_gsccs()
[all …]
/linux-6.12.1/drivers/platform/x86/intel/
Dvsec.c148 static int intel_vsec_add_dev(struct pci_dev *pdev, struct intel_vsec_header *header, in intel_vsec_add_dev() argument
164 if (!intel_vsec_supported(header->id, info->caps)) in intel_vsec_add_dev()
167 if (!header->num_entries) { in intel_vsec_add_dev()
168 dev_dbg(&pdev->dev, "Invalid 0 entry count for header id %d\n", header->id); in intel_vsec_add_dev()
172 if (!header->entry_size) { in intel_vsec_add_dev()
173 dev_dbg(&pdev->dev, "Invalid 0 entry size for header id %d\n", header->id); in intel_vsec_add_dev()
181 res = kcalloc(header->num_entries, sizeof(*res), GFP_KERNEL); in intel_vsec_add_dev()
186 header->offset >>= TABLE_OFFSET_SHIFT; in intel_vsec_add_dev()
191 base_addr = pdev->resource[header->tbir].start; in intel_vsec_add_dev()
198 for (i = 0, tmp = res; i < header->num_entries; i++, tmp++) { in intel_vsec_add_dev()
[all …]
/linux-6.12.1/Documentation/networking/device_drivers/cellular/qualcomm/
Drmnet.rst21 routes to the appropriate PDN after removing the MAP header.
32 MAP header fields are in big endian format.
53 Payload length includes the padding length but does not include MAP header
58 MAP header fields are in big endian format.
66 Function Raw bytes Checksum offload header
79 Payload length includes the padding length but does not include MAP header
82 Checksum offload header, has the information about the checksum processing done
83 by the hardware.Checksum offload header fields are in big endian format.
102 IP header, from which modem computed checksum.
111 MAP header fields are in big endian format.
[all …]
/linux-6.12.1/drivers/hwmon/occ/
Dsysfs.c50 struct occ_poll_response_header *header; in occ_sysfs_show() local
58 header = (struct occ_poll_response_header *)occ->resp.data; in occ_sysfs_show()
62 val = !!(header->status & OCC_STAT_MASTER); in occ_sysfs_show()
68 val = !!(header->ext_status & OCC_EXT_STAT_DVFS_OT); in occ_sysfs_show()
71 val = !!(header->ext_status & OCC_EXT_STAT_DVFS_POWER); in occ_sysfs_show()
74 val = !!(header->ext_status & in occ_sysfs_show()
78 val = !!(header->ext_status & OCC_EXT_STAT_QUICK_DROP); in occ_sysfs_show()
81 val = header->occ_state; in occ_sysfs_show()
84 if (header->status & OCC_STAT_MASTER) in occ_sysfs_show()
85 val = hweight8(header->occs_present); in occ_sysfs_show()
[all …]
/linux-6.12.1/drivers/net/wireless/marvell/libertas/
Dtypes.h3 * This header file contains definition for global types
18 struct ieee_ie_header header; member
28 struct ieee_ie_header header; member
39 struct ieee_ie_header header; member
48 struct ieee_ie_header header; member
108 struct mrvl_ie_header header; member
113 struct mrvl_ie_header header; member
118 struct mrvl_ie_header header; member
123 struct mrvl_ie_header header; member
149 struct mrvl_ie_header header; member
[all …]
/linux-6.12.1/drivers/ps3/
Dps3-sys-manager.c31 * Messages are comprised of a fixed field header followed by a message
36 * struct ps3_sys_manager_header - System manager message header.
37 * @version: Header version, currently 1.
38 * @size: Header size in bytes, currently 16.
71 * (16 bytes header + 8 bytes payload = 24 bytes) or (16 bytes header
82 * enum ps3_sys_manager_service_id - Message header service_id.
231 const struct ps3_sys_manager_header *header, const void *payload) in ps3_sys_manager_write() argument
235 BUG_ON(header->version != 1); in ps3_sys_manager_write()
236 BUG_ON(header->size != 16); in ps3_sys_manager_write()
237 BUG_ON(header->payload_size != 8 && header->payload_size != 16); in ps3_sys_manager_write()
[all …]
/linux-6.12.1/virt/kvm/
Dbinary_stats.c18 * @header: stats header for a vm or a vcpu
29 * | Header |
40 * 1. Read header from offset 0. Get the offset of descriptors and stats data
52 ssize_t kvm_stats_read(char *id, const struct kvm_stats_header *header, in kvm_stats_read() argument
66 size_header = sizeof(*header); in kvm_stats_read()
67 size_desc = header->num_desc * sizeof(*desc); in kvm_stats_read()
76 * Copy kvm stats header. in kvm_stats_read()
77 * The header is the first block of content userspace usually read out. in kvm_stats_read()
78 * The pos is 0 and the copylen and remain would be the size of header. in kvm_stats_read()
79 * The copy of the header would be skipped if offset is larger than the in kvm_stats_read()
[all …]

12345678910>>...205