Home
last modified time | relevance | path

Searched refs:ext_hdr (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/sound/soc/sof/
Dipc3.c522 const struct sof_ipc_ext_data_hdr *ext_hdr) in sof_ipc3_get_ext_windows() argument
525 container_of(ext_hdr, struct sof_ipc_window, ext_hdr); in sof_ipc3_get_ext_windows()
531 if (memcmp(sdev->info_window, w, ext_hdr->hdr.size)) { in sof_ipc3_get_ext_windows()
539 sdev->info_window = devm_kmemdup(sdev->dev, w, ext_hdr->hdr.size, GFP_KERNEL); in sof_ipc3_get_ext_windows()
547 const struct sof_ipc_ext_data_hdr *ext_hdr) in sof_ipc3_get_cc_info() argument
552 container_of(ext_hdr, struct sof_ipc_cc_version, ext_hdr); in sof_ipc3_get_cc_info()
555 if (memcmp(sdev->cc_version, cc, cc->ext_hdr.hdr.size)) { in sof_ipc3_get_cc_info()
570 sdev->cc_version = devm_kmemdup(sdev->dev, cc, cc->ext_hdr.hdr.size, GFP_KERNEL); in sof_ipc3_get_cc_info()
575 cc->ext_hdr.hdr.size, in sof_ipc3_get_cc_info()
591 struct sof_ipc_ext_data_hdr *ext_hdr; in ipc3_fw_parse_ext_data() local
[all …]
Dipc3-priv.h23 const struct sof_ipc_ext_data_hdr *ext_hdr);
25 const struct sof_ipc_ext_data_hdr *ext_hdr);
Dipc3-loader.c34 return sof_ipc3_get_ext_windows(sdev, &w->ipc_window.ext_hdr); in ipc3_fw_ext_man_get_windows()
44 return sof_ipc3_get_cc_info(sdev, &cc->cc_version.ext_hdr); in ipc3_fw_ext_man_get_cc_info()
/linux-6.6.21/tools/perf/util/arm-spe-decoder/
Darm-spe-pkt-decoder.c61 unsigned char ext_hdr, in arm_spe_get_payload() argument
64 size_t payload_len = arm_spe_payload_len(buf[ext_hdr]); in arm_spe_get_payload()
66 if (len < 1 + ext_hdr + payload_len) in arm_spe_get_payload()
69 buf += 1 + ext_hdr; in arm_spe_get_payload()
79 return 1 + ext_hdr + payload_len; in arm_spe_get_payload()
152 const unsigned char ext_hdr, struct arm_spe_pkt *packet) in arm_spe_get_counter() argument
156 if (ext_hdr) in arm_spe_get_counter()
161 return arm_spe_get_payload(buf, len, ext_hdr, packet); in arm_spe_get_counter()
165 const unsigned char ext_hdr, struct arm_spe_pkt *packet) in arm_spe_get_addr() argument
169 if (ext_hdr) in arm_spe_get_addr()
[all …]
/linux-6.6.21/drivers/misc/mei/
Dbus.c126 cb->ext_hdr = (struct mei_ext_hdr *)cb->buf.data; in __mei_cl_send_timeout()
239 if (cb->ext_hdr && cb->ext_hdr->type == MEI_EXT_HDR_GSC) { in __mei_cl_recv()
240 r_length = min_t(size_t, length, cb->ext_hdr->length * sizeof(u32)); in __mei_cl_recv()
241 memcpy(buf, cb->ext_hdr, r_length); in __mei_cl_recv()
892 struct mei_ext_hdr_gsc_h2f *ext_hdr; in mei_cldev_send_gsc_command() local
918 ext_hdr = kzalloc(buf_sz, GFP_KERNEL); in mei_cldev_send_gsc_command()
919 if (!ext_hdr) in mei_cldev_send_gsc_command()
923 ext_hdr->hdr.type = MEI_EXT_HDR_GSC; in mei_cldev_send_gsc_command()
924 ext_hdr->hdr.length = buf_sz / sizeof(u32); /* length is in dw */ in mei_cldev_send_gsc_command()
926 ext_hdr->client_id = client_id; in mei_cldev_send_gsc_command()
[all …]
Dinterrupt.c136 cb->ext_hdr = kzalloc(sizeof(*gsc_f2h), GFP_KERNEL); in mei_cl_irq_read_msg()
137 if (!cb->ext_hdr) { in mei_cl_irq_read_msg()
190 memcpy(cb->ext_hdr, gsc_f2h, ext_hdr_len); in mei_cl_irq_read_msg()
Dclient.c325 kfree(cb->ext_hdr); in mei_io_cb_free()
405 cb->ext_hdr = NULL; in mei_io_cb_init()
1779 is_gsc = ((!is_hbm) && cb->cl->dev->hbm_f_gsc_supported && mei_ext_hdr_is_gsc(cb->ext_hdr)); in mei_msg_hdr_init()
1793 hdr_len += mei_ext_hdr_len(cb->ext_hdr); in mei_msg_hdr_init()
1819 meta->size += mei_ext_hdr_set_gsc(next_ext, cb->ext_hdr); in mei_msg_hdr_init()
Dmei_dev.h231 struct mei_ext_hdr *ext_hdr; member
/linux-6.6.21/include/sound/sof/
Dinfo.h107 struct sof_ipc_ext_data_hdr ext_hdr; member
113 struct sof_ipc_ext_data_hdr ext_hdr; member
128 struct sof_ipc_ext_data_hdr ext_hdr; member
139 struct sof_ipc_ext_data_hdr ext_hdr; member
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dlegacy_dpm.c403 ATOM_PPLIB_EXTENDEDHEADER *ext_hdr = (ATOM_PPLIB_EXTENDEDHEADER *) in amdgpu_parse_extended_power_table() local
406 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2) && in amdgpu_parse_extended_power_table()
407 ext_hdr->usVCETableOffset) { in amdgpu_parse_extended_power_table()
410 le16_to_cpu(ext_hdr->usVCETableOffset) + 1); in amdgpu_parse_extended_power_table()
414 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in amdgpu_parse_extended_power_table()
419 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in amdgpu_parse_extended_power_table()
467 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3) && in amdgpu_parse_extended_power_table()
468 ext_hdr->usUVDTableOffset) { in amdgpu_parse_extended_power_table()
471 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1); in amdgpu_parse_extended_power_table()
475 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1 + in amdgpu_parse_extended_power_table()
[all …]
/linux-6.6.21/drivers/gpu/drm/radeon/
Dr600_dpm.c1069 ATOM_PPLIB_EXTENDEDHEADER *ext_hdr = (ATOM_PPLIB_EXTENDEDHEADER *) in r600_parse_extended_power_table() local
1072 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2) && in r600_parse_extended_power_table()
1073 ext_hdr->usVCETableOffset) { in r600_parse_extended_power_table()
1076 le16_to_cpu(ext_hdr->usVCETableOffset) + 1); in r600_parse_extended_power_table()
1080 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in r600_parse_extended_power_table()
1085 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in r600_parse_extended_power_table()
1134 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3) && in r600_parse_extended_power_table()
1135 ext_hdr->usUVDTableOffset) { in r600_parse_extended_power_table()
1138 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1); in r600_parse_extended_power_table()
1142 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1 + in r600_parse_extended_power_table()
[all …]
/linux-6.6.21/net/rds/
Dmessage.c271 struct rds_ext_header_rdma_dest ext_hdr; in rds_message_add_rdma_dest_extension() local
273 ext_hdr.h_rdma_rkey = cpu_to_be32(r_key); in rds_message_add_rdma_dest_extension()
274 ext_hdr.h_rdma_offset = cpu_to_be32(offset); in rds_message_add_rdma_dest_extension()
275 return rds_message_add_extension(hdr, RDS_EXTHDR_RDMA_DEST, &ext_hdr, sizeof(ext_hdr)); in rds_message_add_rdma_dest_extension()
Dib_send.c580 struct rds_ext_header_rdma ext_hdr; in rds_ib_xmit() local
582 ext_hdr.h_rdma_rkey = cpu_to_be32(rm->rdma.op_rkey); in rds_ib_xmit()
584 RDS_EXTHDR_RDMA, &ext_hdr, sizeof(ext_hdr)); in rds_ib_xmit()
/linux-6.6.21/arch/x86/kernel/cpu/microcode/
Dintel.c106 struct extended_sigtable *ext_hdr; in intel_find_matching_signature() local
117 ext_hdr = mc + intel_microcode_get_datasize(mc_hdr) + MC_HEADER_SIZE; in intel_find_matching_signature()
118 ext_sig = (void *)ext_hdr + EXT_HEADER_SIZE; in intel_find_matching_signature()
120 for (i = 0; i < ext_hdr->count; i++) { in intel_find_matching_signature()
/linux-6.6.21/include/linux/usb/
Dpd.h90 #define PD_HEADER(type, pwr, data, rev, id, cnt, ext_hdr) \ argument
97 ((ext_hdr) ? PD_HEADER_EXT_HDR : 0))
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1750 void *ext_hdr; in bnxt_qplib_post_send() local
1796 ext_hdr = bnxt_qplib_get_prod_qe(hwq, idx++); in bnxt_qplib_post_send()
1798 memset(ext_hdr, 0, sizeof(struct sq_sge)); in bnxt_qplib_post_send()
1813 struct sq_raw_ext_hdr *ext_sqe = ext_hdr; in bnxt_qplib_post_send()
1832 struct sq_ud_ext_hdr *ext_sqe = ext_hdr; in bnxt_qplib_post_send()
1862 struct sq_rdma_ext_hdr *ext_sqe = ext_hdr; in bnxt_qplib_post_send()
1882 struct sq_atomic_ext_hdr *ext_sqe = ext_hdr; in bnxt_qplib_post_send()
1910 struct sq_fr_pmr_ext_hdr *ext_sqe = ext_hdr; in bnxt_qplib_post_send()
1942 struct sq_bind_ext_hdr *ext_sqe = ext_hdr; in bnxt_qplib_post_send()
1997 struct rq_ext_hdr *ext_hdr; in bnxt_qplib_post_recv() local
[all …]
/linux-6.6.21/drivers/target/
Dtarget_core_alua.c143 int ext_hdr = (cmd->t_task_cdb[1] & 0x20); in target_emulate_report_target_port_groups() local
149 if (ext_hdr != 0) in target_emulate_report_target_port_groups()
157 (ext_hdr) ? "extended" : "normal"); in target_emulate_report_target_port_groups()
243 if (ext_hdr != 0) { in target_emulate_report_target_port_groups()
/linux-6.6.21/net/ipv4/
Dicmp.c1032 struct icmp_ext_hdr *ext_hdr, _ext_hdr; in icmp_build_probe() local
1054 ext_hdr = skb_header_pointer(skb, 0, sizeof(_ext_hdr), &_ext_hdr); in icmp_build_probe()
1059 if (!ext_hdr || !iio) in icmp_build_probe()