Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 2001) sorted by relevance

12345678910>>...81

/linux-6.6.21/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.6.21/tools/net/ynl/generated/
Dethtool-user.h214 __u32 header:1; member
219 struct ethtool_header header; member
233 req->_present.header = 1; in ethtool_strset_get_req_set_header_dev_index()
234 req->header._present.dev_index = 1; in ethtool_strset_get_req_set_header_dev_index()
235 req->header.dev_index = dev_index; in ethtool_strset_get_req_set_header_dev_index()
241 free(req->header.dev_name); in ethtool_strset_get_req_set_header_dev_name()
242 req->header._present.dev_name_len = strlen(dev_name); in ethtool_strset_get_req_set_header_dev_name()
243 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_strset_get_req_set_header_dev_name()
244 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_strset_get_req_set_header_dev_name()
245 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_strset_get_req_set_header_dev_name()
[all …]
/linux-6.6.21/sound/soc/intel/skylake/
Dskl-sst-ipc.c298 struct skl_ipc_header *header = (struct skl_ipc_header *)(&msg->tx.header); in skl_ipc_tx_msg() local
303 header->extension); in skl_ipc_tx_msg()
305 header->primary | SKL_ADSP_REG_HIPCI_BUSY); in skl_ipc_tx_msg()
329 struct skl_ipc_header *header = (struct skl_ipc_header *)(&ipc_header); in skl_ipc_reply_get_msg() local
333 header->primary); in skl_ipc_reply_get_msg()
346 struct skl_ipc_header header) in skl_ipc_process_notification() argument
350 if (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { in skl_ipc_process_notification()
351 switch (IPC_GLB_NOTIFY_TYPE(header.primary)) { in skl_ipc_process_notification()
354 dev_err(ipc->dev, "FW Underrun %x\n", header.primary); in skl_ipc_process_notification()
359 header.primary); in skl_ipc_process_notification()
[all …]
/linux-6.6.21/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.6.21/usr/include/
DMakefile26 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
33 no-header-test += linux/ivtv.h
34 no-header-test += linux/matroxfb.h
35 no-header-test += linux/omap3isp.h
[all …]
/linux-6.6.21/arch/um/drivers/
Dcow_user.c200 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()
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()
233 err = os_file_modtime(header->backing_file, &modtime); in write_cow_header()
236 "request failed, err = %d\n", header->backing_file, in write_cow_header()
[all …]
/linux-6.6.21/arch/alpha/kernel/
Derr_common.c89 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()
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()
116 timestamp = header->by_type.sys_event.timestamp; in el_process_header_subpacket()
120 length = header->by_type.err_halt.frame_length; in el_process_header_subpacket()
[all …]
/linux-6.6.21/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.6.21/arch/x86/kernel/acpi/
Dsleep.c61 struct wakeup_header *header = in x86_acpi_suspend_lowlevel() local
64 if (header->signature != WAKEUP_HEADER_SIGNATURE) { in x86_acpi_suspend_lowlevel()
69 header->video_mode = saved_video_mode; in x86_acpi_suspend_lowlevel()
71 header->pmode_behavior = 0; in x86_acpi_suspend_lowlevel()
74 native_store_gdt((struct desc_ptr *)&header->pmode_gdt); in x86_acpi_suspend_lowlevel()
85 &header->pmode_efer_low, in x86_acpi_suspend_lowlevel()
86 &header->pmode_efer_high) && in x86_acpi_suspend_lowlevel()
88 header->pmode_efer_low, in x86_acpi_suspend_lowlevel()
89 header->pmode_efer_high)) in x86_acpi_suspend_lowlevel()
90 header->pmode_behavior |= (1 << WAKEUP_BEHAVIOR_RESTORE_EFER); in x86_acpi_suspend_lowlevel()
[all …]
/linux-6.6.21/drivers/ps3/
Dps3-sys-manager.c231 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()
238 BUG_ON(header->service_id > 8); in ps3_sys_manager_write()
240 result = ps3_vuart_write(dev, header, in ps3_sys_manager_write()
244 result = ps3_vuart_write(dev, payload, header->payload_size); in ps3_sys_manager_write()
257 struct ps3_sys_manager_header header; in ps3_sys_manager_send_attr() local
268 memset(&header, 0, sizeof(header)); in ps3_sys_manager_send_attr()
269 header.version = 1; in ps3_sys_manager_send_attr()
[all …]
/linux-6.6.21/tools/testing/selftests/kvm/
Dkvm_binary_stats_test.c30 struct kvm_stats_header header; in stats_test() local
38 read_stats_header(stats_fd, &header); in stats_test()
40 size_desc = get_stats_descriptor_size(&header); in stats_test()
43 id = malloc(header.name_size); in stats_test()
46 ret = pread(stats_fd, id, header.name_size, sizeof(header)); in stats_test()
47 TEST_ASSERT(ret == header.name_size, in stats_test()
49 header.name_size, ret); in stats_test()
52 TEST_ASSERT(!strncmp(id, "kvm", 3) && strlen(id) < header.name_size, in stats_test()
56 if (header.num_desc == 0) { in stats_test()
65 TEST_ASSERT(header.desc_offset && header.desc_offset >= sizeof(header) && in stats_test()
[all …]
/linux-6.6.21/drivers/mtd/parsers/
Dar7part.c35 struct ar7_bin_rec header; in create_mtd_partitions() local
59 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions()
60 (uint8_t *)&header); in create_mtd_partitions()
61 if (!strncmp((char *)&header, "TIENV0.8", 8)) in create_mtd_partitions()
63 if (header.checksum == LOADER_MAGIC1) in create_mtd_partitions()
65 if (header.checksum == LOADER_MAGIC2) in create_mtd_partitions()
77 switch (header.checksum) { in create_mtd_partitions()
79 while (header.length) { in create_mtd_partitions()
80 offset += sizeof(header) + header.length; in create_mtd_partitions()
81 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions()
[all …]
/linux-6.6.21/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()
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()
51 header->length = be16_to_cpu(*(__be16 *)(data + offset)); in delta_mjpeg_read_sof()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/pxp/
Dintel_pxp_gsccs.c61 struct intel_gsc_mtl_header *header = exec_res->pkt_vaddr; in gsccs_send_message() local
70 max_msg_size = PXP43_MAX_HECI_INOUT_SIZE - sizeof(*header); in gsccs_send_message()
82 memset(header, 0, sizeof(*header)); in gsccs_send_message()
83 intel_gsc_uc_heci_cmd_emit_mtl_header(header, HECI_MEADDRESS_PXP, in gsccs_send_message()
84 msg_in_size + sizeof(*header), in gsccs_send_message()
89 header->flags |= GSC_INFLAG_MSG_CLEANUP; in gsccs_send_message()
92 header->gsc_message_handle = *gsc_msg_handle_retry; in gsccs_send_message()
96 memcpy(exec_res->pkt_vaddr + sizeof(*header), msg_in, msg_in_size); in gsccs_send_message()
99 pkt.size_in = header->message_size; in gsccs_send_message()
101 pkt.size_out = msg_out_size_max + sizeof(*header); in gsccs_send_message()
[all …]
/linux-6.6.21/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.6.21/net/tipc/
Dtrace.h138 TP_PROTO(struct sk_buff *skb, bool more, const char *header),
140 TP_ARGS(skb, more, header),
143 __string(header, header)
148 __assign_str(header, header);
152 TP_printk("%s\n%s", __get_str(header), __get_str(buf))
157 TP_PROTO(struct sk_buff *skb, bool more, const char *header), \
158 TP_ARGS(skb, more, header))
165 TP_PROTO(struct sk_buff_head *list, bool more, const char *header),
167 TP_ARGS(list, more, header),
170 __string(header, header)
[all …]
/linux-6.6.21/drivers/net/wireless/ath/wcn36xx/
Dhal.h964 struct wcn36xx_hal_msg_header header; member
990 struct wcn36xx_hal_msg_header header; member
1001 struct wcn36xx_hal_msg_header header; member
1006 struct wcn36xx_hal_msg_header header; member
1017 struct wcn36xx_hal_msg_header header; member
1033 struct wcn36xx_hal_msg_header header; member
1105 struct wcn36xx_hal_msg_header header; member
1136 struct wcn36xx_hal_msg_header header; member
1174 struct wcn36xx_hal_msg_header header; member
1182 struct wcn36xx_hal_msg_header header; member
[all …]
/linux-6.6.21/drivers/acpi/
Dprocessor_core.c36 container_of(entry, struct acpi_madt_local_apic, header); in map_lapic_id()
52 container_of(entry, struct acpi_madt_local_x2apic, header); in map_x2apic_id()
69 container_of(entry, struct acpi_madt_local_sapic, header); in map_lsapic_id()
91 container_of(entry, struct acpi_madt_generic_interrupt, header); in map_gicc_mpidr()
117 container_of(entry, struct acpi_madt_rintc, header); in map_rintc_hartid()
142 container_of(entry, struct acpi_madt_core_pic, header); in map_core_pic_id()
169 madt_end = entry + madt->header.length; in map_madt_entry()
175 struct acpi_subtable_header *header = in map_madt_entry() local
177 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) { in map_madt_entry()
178 if (!map_lapic_id(header, acpi_id, &phys_id)) in map_madt_entry()
[all …]
/linux-6.6.21/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
84 struct perf_event_header header; member
94 struct perf_event_header header; member
[all …]
/linux-6.6.21/drivers/platform/x86/intel/
Dvsec.c187 static int intel_vsec_add_dev(struct pci_dev *pdev, struct intel_vsec_header *header, in intel_vsec_add_dev() argument
195 if (!intel_vsec_supported(header->id, info->caps)) in intel_vsec_add_dev()
198 if (!header->num_entries) { in intel_vsec_add_dev()
199 dev_dbg(&pdev->dev, "Invalid 0 entry count for header id %d\n", header->id); in intel_vsec_add_dev()
203 if (!header->entry_size) { in intel_vsec_add_dev()
204 dev_dbg(&pdev->dev, "Invalid 0 entry size for header id %d\n", header->id); in intel_vsec_add_dev()
212 res = kcalloc(header->num_entries, sizeof(*res), GFP_KERNEL); in intel_vsec_add_dev()
219 header->offset >>= TABLE_OFFSET_SHIFT; in intel_vsec_add_dev()
226 for (i = 0, tmp = res; i < header->num_entries; i++, tmp++) { in intel_vsec_add_dev()
227 tmp->start = pdev->resource[header->tbir].start + in intel_vsec_add_dev()
[all …]
/linux-6.6.21/sound/isa/wavefront/
Dwavefront_synth.c781 wavefront_send_patch (snd_wavefront_t *dev, wavefront_patch_info *header) in wavefront_send_patch() argument
788 header->number); in wavefront_send_patch()
790 if (header->number >= ARRAY_SIZE(dev->patch_status)) in wavefront_send_patch()
793 dev->patch_status[header->number] |= WF_SLOT_FILLED; in wavefront_send_patch()
795 bptr = munge_int32 (header->number, buf, 2); in wavefront_send_patch()
796 munge_buf ((unsigned char *)&header->hdr.p, bptr, WF_PATCH_BYTES); in wavefront_send_patch()
807 wavefront_send_program (snd_wavefront_t *dev, wavefront_patch_info *header) in wavefront_send_program() argument
814 header->number); in wavefront_send_program()
816 if (header->number >= ARRAY_SIZE(dev->prog_status)) in wavefront_send_program()
819 dev->prog_status[header->number] = WF_SLOT_USED; in wavefront_send_program()
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/i2c/
Datomisp-libmsrlisthelper.c96 struct tbd_data_record_header *header = in parse_and_apply() local
104 if ((uint8_t *)header + sizeof(*header) > endptr8) in parse_and_apply()
108 if ((uint8_t *)header + header->data_offset + in parse_and_apply()
109 header->data_size > endptr8) in parse_and_apply()
116 if (header->data_size && (header->flags & 1)) { in parse_and_apply()
121 dataset, header->data_size); in parse_and_apply()
123 buffer + header->data_offset, in parse_and_apply()
124 header->data_size); in parse_and_apply()
128 header = (struct tbd_data_record_header *)(buffer + in parse_and_apply()
129 header->next_offset); in parse_and_apply()
[all …]
/linux-6.6.21/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.6.21/drivers/thunderbolt/
Dcap.c74 struct tb_cap_any header; in tb_port_next_cap() local
80 ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1); in tb_port_next_cap()
84 return header.basic.next; in tb_port_next_cap()
92 struct tb_cap_any header; in __tb_port_find_cap() local
99 ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1); in __tb_port_find_cap()
103 if (header.basic.cap == cap) in __tb_port_find_cap()
147 struct tb_cap_any header; in tb_switch_next_cap() local
153 ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 2); in tb_switch_next_cap()
157 switch (header.basic.cap) { in tb_switch_next_cap()
159 ret = header.basic.next; in tb_switch_next_cap()
[all …]
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c235 static void vmw_cmdbuf_header_inline_free(struct vmw_cmdbuf_header *header) in vmw_cmdbuf_header_inline_free() argument
239 if (WARN_ON_ONCE(!header->inline_space)) in vmw_cmdbuf_header_inline_free()
242 dheader = container_of(header->cb_header, struct vmw_cmdbuf_dheader, in vmw_cmdbuf_header_inline_free()
244 dma_pool_free(header->man->dheaders, dheader, header->handle); in vmw_cmdbuf_header_inline_free()
245 kfree(header); in vmw_cmdbuf_header_inline_free()
256 static void __vmw_cmdbuf_header_free(struct vmw_cmdbuf_header *header) in __vmw_cmdbuf_header_free() argument
258 struct vmw_cmdbuf_man *man = header->man; in __vmw_cmdbuf_header_free()
262 if (header->inline_space) { in __vmw_cmdbuf_header_free()
263 vmw_cmdbuf_header_inline_free(header); in __vmw_cmdbuf_header_free()
267 drm_mm_remove_node(&header->node); in __vmw_cmdbuf_header_free()
[all …]

12345678910>>...81