xref: /aosp_15_r20/prebuilts/build-tools/sysroots/aarch64-unknown-linux-musl/include/linux/stm.h (revision cda5da8d549138a6648c5ee6d7a49cf8f4a657be)
1*cda5da8dSAndroid Build Coastguard Worker /*
2*cda5da8dSAndroid Build Coastguard Worker  * This file is auto-generated. Modifications will be lost.
3*cda5da8dSAndroid Build Coastguard Worker  *
4*cda5da8dSAndroid Build Coastguard Worker  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5*cda5da8dSAndroid Build Coastguard Worker  * for more information.
6*cda5da8dSAndroid Build Coastguard Worker  */
7*cda5da8dSAndroid Build Coastguard Worker #ifndef _UAPI_LINUX_STM_H
8*cda5da8dSAndroid Build Coastguard Worker #define _UAPI_LINUX_STM_H
9*cda5da8dSAndroid Build Coastguard Worker #include <linux/types.h>
10*cda5da8dSAndroid Build Coastguard Worker #define STP_MASTER_MAX 0xffff
11*cda5da8dSAndroid Build Coastguard Worker #define STP_CHANNEL_MAX 0xffff
12*cda5da8dSAndroid Build Coastguard Worker struct stp_policy_id {
13*cda5da8dSAndroid Build Coastguard Worker   __u32 size;
14*cda5da8dSAndroid Build Coastguard Worker   __u16 master;
15*cda5da8dSAndroid Build Coastguard Worker   __u16 channel;
16*cda5da8dSAndroid Build Coastguard Worker   __u16 width;
17*cda5da8dSAndroid Build Coastguard Worker   __u16 __reserved_0;
18*cda5da8dSAndroid Build Coastguard Worker   __u32 __reserved_1;
19*cda5da8dSAndroid Build Coastguard Worker   char id[];
20*cda5da8dSAndroid Build Coastguard Worker };
21*cda5da8dSAndroid Build Coastguard Worker #define STP_POLICY_ID_SET _IOWR('%', 0, struct stp_policy_id)
22*cda5da8dSAndroid Build Coastguard Worker #define STP_POLICY_ID_GET _IOR('%', 1, struct stp_policy_id)
23*cda5da8dSAndroid Build Coastguard Worker #define STP_SET_OPTIONS _IOW('%', 2, __u64)
24*cda5da8dSAndroid Build Coastguard Worker #endif
25