/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1/* Copyright(c) Advanced Micro Devices, Inc */23/*4* fwctl interface info for pds_fwctl5*/67#ifndef _UAPI_FWCTL_PDS_H_8#define _UAPI_FWCTL_PDS_H_910#include <linux/types.h>1112/**13* struct fwctl_info_pds14* @uctx_caps: bitmap of firmware capabilities15*16* Return basic information about the FW interface available.17*/18struct fwctl_info_pds {19__u32 uctx_caps;20};2122/**23* enum pds_fwctl_capabilities24* @PDS_FWCTL_QUERY_CAP: firmware can be queried for information25* @PDS_FWCTL_SEND_CAP: firmware can be sent commands26*/27enum pds_fwctl_capabilities {28PDS_FWCTL_QUERY_CAP = 0,29PDS_FWCTL_SEND_CAP,30};3132/**33* struct fwctl_rpc_pds34* @in.op: requested operation code35* @in.ep: firmware endpoint to operate on36* @in.rsvd: reserved37* @in.len: length of payload data38* @in.payload: address of payload buffer39* @in: rpc in parameters40* @out.retval: operation result value41* @out.rsvd: reserved42* @out.len: length of result data buffer43* @out.payload: address of payload data buffer44* @out: rpc out parameters45*/46struct fwctl_rpc_pds {47struct {48__u32 op;49__u32 ep;50__u32 rsvd;51__u32 len;52__aligned_u64 payload;53} in;54struct {55__u32 retval;56__u32 rsvd[2];57__u32 len;58__aligned_u64 payload;59} out;60};61#endif /* _UAPI_FWCTL_PDS_H_ */626364