STRUCT PDS_CORE_MATCH_RECORD_DESC_CMD(9)
π struct pds_core_match_record_desc_cmd(9) β from the Kernel API Manual, bestie π
okay so first things first, this came out of the Kernel API Manual and it's the page for struct pds_core_match_record_desc_cmd β the MATCH_RECORD_DESC command. yes that's a mouthful. we're getting through it together π«Ά
β¨ NAME β¨
struct pds_core_match_record_desc_cmd β the MATCH_RECORD_DESC command. that's it, that's the whole vibe πΈ
π SYNOPSIS π
here's the struct, exactly as it lives, no cap:
struct pds_core_match_record_desc_cmd {
u8 opcode;
u8 ver;
__le16 type;
__le16 size;
u8 rsvd[2];
};
look at her. five fields, immaculate energy π
π Members π
opcodeβ it'sPDS_CORE_CMD_MATCH_RECORD_DESC, literally the whole point of the struct πverβ the driver's max supported version of this command. like, how new-school your driver is π¦typeβ the PLDM Descriptor Identifier Type β¨sizeβ the length of the Descriptor Identifier Value πrsvdβ word boundary padding. it's just there keeping things aligned. padding is a main character too π
π₯ Description π₯
so the deal is: this command expects to find the Descriptor Identifier Data in cmd_regs->data. that's where the data's at, periodt π«Ά
also, the driver should keep the devcmd interface locked while it's preparing and sending this command. lock it down, don't let anyone barge in mid-send, iykyk πβ¨
π SEE ALSO π
it all lives in the Kernel file ./include/linux/pds/pds_core_if.h β and the full squad of friends is listed, bestie, strap in:
- struct
pds_core_drv_identity(9) - enum
pds_core_dev_capability(9) - struct
pds_core_dev_identity(9) - struct
pds_core_dev_identify_cmd(9) - struct
pds_core_dev_identify_comp(9) - struct
pds_core_dev_reset_cmd(9) - struct
pds_core_dev_reset_comp(9) - struct
pds_core_dev_init_cmd(9) - struct
pds_core_dev_init_comp(9) - struct
pds_core_fw_download_cmd(9) - struct
pds_core_fw_download_comp(9) - enum
pds_core_fw_control_oper(9) - enum
pds_core_fw_slot(9) - struct
pds_core_fw_control_cmd(9) - struct
pds_core_fw_control_comp(9) - enum
pds_core_vf_link_status(9) - struct
pds_core_vf_setattr_cmd(9) - struct
pds_core_vf_getattr_cmd(9) - struct
pds_core_vf_ctrl_cmd(9) - struct
pds_core_vf_ctrl_comp(9) - struct
pds_core_send_pkg_data_cmd(9) - struct
pds_core_send_pkg_data_comp(9) - struct
pds_core_component_tbl(9) - struct
pds_core_send_component_tbl_cmd(9) - struct
pds_core_send_component_tbl_comp(9) - enum
pds_core_send_component_op(9) - struct
pds_core_flash_component(9) - struct
pds_core_send_component_cmd(9) - struct
pds_core_send_component_comp(9) - enum
pds_core_fw_component_type(9) - enum
pds_core_component_info_flags(9) - struct
pds_core_fw_component_info(9) - struct
pds_core_component_list_info(9) - struct
pds_core_get_component_info_cmd(9) - struct
pds_core_get_component_info_comp(9) - struct
pds_core_finalize_update_cmd(9) - struct
pds_core_finalize_update_comp(9) - struct
pds_core_match_record_desc_comp(9) - enum
pds_core_host_mem_oper(9) - struct
pds_core_host_mem_cmd(9) - struct
pds_core_host_mem_comp(9) - struct
pds_core_dev_hwstamp_regs(9) - struct
pds_core_dev_info_regs(9) - struct
pds_core_dev_cmd_regs(9) - struct
pds_core_dev_regs(9)
like, that's a whole friend group and they all ate ππΈ go read them too, fr fr.
okay that's the page!! source-wise this came from ./include/linux/pds and it's dated October 2026 β so yeah, from the future, slay βπ§π bye bestie!! π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms