Lines Matching refs:uint8_t
587 uint8_t flags;
588 uint8_t command_version;
589 uint8_t data_size;
590 uint8_t checksum;
756 uint8_t struct_version;
757 uint8_t checksum;
759 uint8_t command_version;
760 uint8_t reserved;
776 uint8_t struct_version;
777 uint8_t checksum;
851 uint8_t fields0;
858 uint8_t fields1;
867 uint8_t reserved;
870 uint8_t header_crc;
881 uint8_t fields0;
887 uint8_t fields1;
896 uint8_t reserved;
899 uint8_t header_crc;
1060 uint8_t offset;
1061 uint8_t size;
1072 uint8_t cmd;
1123 uint8_t buf[32];
1128 uint8_t buf[32];
1453 uint8_t reserved[2];
1460 uint8_t size_exp;
1462 uint8_t write_size_exp;
1464 uint8_t erase_size_exp;
1466 uint8_t protect_size_exp;
1468 uint8_t reserved[2];
1564 uint8_t cmd;
1565 uint8_t reserved;
1704 uint8_t block[EC_VBNV_BLOCK_SIZE];
1708 uint8_t block[EC_VBNV_BLOCK_SIZE];
1717 uint8_t jedec[3];
1720 uint8_t reserved0;
1723 uint8_t mfr_dev_id[2];
1726 uint8_t sr1, sr2;
1738 uint8_t select;
1763 uint8_t fan_idx;
1771 uint8_t percent;
1772 uint8_t enabled;
1780 uint8_t percent;
1794 uint8_t fan_idx;
1813 uint8_t pwm_type; /* ec_pwm_type */
1814 uint8_t index; /* Type-specific index, or 0 if unique */
1820 uint8_t pwm_type; /* ec_pwm_type */
1821 uint8_t index; /* Type-specific index, or 0 if unique */
1838 uint8_t r, g, b;
1860 uint8_t new_s0;
1861 uint8_t osc_min[2]; /* AC=0/1 */
1862 uint8_t osc_max[2]; /* AC=0/1 */
1863 uint8_t w_ofs[2]; /* AC=0/1 */
1866 uint8_t bright_bl_off_fixed[2]; /* AC=0/1 */
1867 uint8_t bright_bl_on_min[2]; /* AC=0/1 */
1868 uint8_t bright_bl_on_max[2]; /* AC=0/1 */
1871 uint8_t battery_threshold[LB_BATTERY_LEVELS - 1];
1874 uint8_t s0_idx[2][LB_BATTERY_LEVELS]; /* AP is running */
1875 uint8_t s3_idx[2][LB_BATTERY_LEVELS]; /* AP is sleeping */
1899 uint8_t tap_pct_red;
1900 uint8_t tap_pct_green;
1901 uint8_t tap_seg_min_on;
1902 uint8_t tap_seg_max_on;
1903 uint8_t tap_seg_osc;
1904 uint8_t tap_idx[3];
1907 uint8_t osc_min[2]; /* AC=0/1 */
1908 uint8_t osc_max[2]; /* AC=0/1 */
1909 uint8_t w_ofs[2]; /* AC=0/1 */
1912 uint8_t bright_bl_off_fixed[2]; /* AC=0/1 */
1913 uint8_t bright_bl_on_min[2]; /* AC=0/1 */
1914 uint8_t bright_bl_on_max[2]; /* AC=0/1 */
1917 uint8_t battery_threshold[LB_BATTERY_LEVELS - 1];
1920 uint8_t s0_idx[2][LB_BATTERY_LEVELS]; /* AP is running */
1921 uint8_t s3_idx[2][LB_BATTERY_LEVELS]; /* AP is sleeping */
1924 uint8_t s5_idx;
1959 uint8_t tap_pct_red;
1960 uint8_t tap_pct_green;
1961 uint8_t tap_seg_min_on;
1962 uint8_t tap_seg_max_on;
1963 uint8_t tap_seg_osc;
1964 uint8_t tap_idx[3];
1969 uint8_t osc_min[2]; /* AC=0/1 */
1970 uint8_t osc_max[2]; /* AC=0/1 */
1971 uint8_t w_ofs[2]; /* AC=0/1 */
1976 uint8_t bright_bl_off_fixed[2]; /* AC=0/1 */
1977 uint8_t bright_bl_on_min[2]; /* AC=0/1 */
1978 uint8_t bright_bl_on_max[2]; /* AC=0/1 */
1983 uint8_t battery_threshold[LB_BATTERY_LEVELS - 1];
1988 uint8_t s0_idx[2][LB_BATTERY_LEVELS]; /* AP is running */
1989 uint8_t s3_idx[2][LB_BATTERY_LEVELS]; /* AP is sleeping */
1992 uint8_t s5_idx;
2001 uint8_t size;
2002 uint8_t data[EC_LB_PROG_LEN];
2006 uint8_t cmd; /* Command (see enum lightbar_command) */
2021 uint8_t num;
2025 uint8_t ctrl, reg, value;
2029 uint8_t led, red, green, blue;
2033 uint8_t led;
2037 uint8_t enable;
2058 uint8_t reg;
2059 uint8_t ic0;
2060 uint8_t ic1;
2065 uint8_t num;
2085 uint8_t red, green, blue;
2182 uint8_t led_id; /* Which LED to control */
2183 uint8_t flags; /* Control flags */
2185 uint8_t brightness[EC_LED_COLOR_COUNT];
2196 uint8_t brightness_range[EC_LED_COLOR_COUNT];
2211 uint8_t cmd; /* enum ec_vboot_hash_cmd */
2212 uint8_t hash_type; /* enum ec_vboot_hash_type */
2213 uint8_t nonce_size; /* Nonce size; may be 0 */
2214 uint8_t reserved0; /* Reserved; set 0 */
2217 uint8_t nonce_data[64]; /* Nonce data; ignored if nonce_size=0 */
2221 uint8_t status; /* enum ec_vboot_hash_status */
2222 uint8_t hash_type; /* enum ec_vboot_hash_type */
2223 uint8_t digest_size; /* Size of hash digest in bytes */
2224 uint8_t reserved0; /* Ignore; will be 0 */
2227 uint8_t hash_digest[64]; /* Hash digest data */
2452 uint8_t flags;
2454 uint8_t sensor_num;
2463 uint8_t activity; /* motionsensor_activity */
2464 uint8_t state;
2500 uint8_t sensor_num;
2501 uint8_t activity; /* one of enum motionsensor_activity */
2502 uint8_t enable; /* 1: enable, 0: disable */
2503 uint8_t reserved;
2556 uint8_t cmd;
2565 uint8_t max_sensor_count;
2583 uint8_t sensor_num;
2592 uint8_t sensor_num;
2595 uint8_t roundup;
2605 uint8_t sensor_num;
2634 uint8_t sensor_num;
2690 uint8_t sensor_id;
2693 uint8_t spoof_enable;
2696 uint8_t reserved;
2727 uint8_t module_flags;
2730 uint8_t sensor_count;
2742 uint8_t type;
2745 uint8_t location;
2748 uint8_t chip;
2754 uint8_t type;
2757 uint8_t location;
2760 uint8_t chip;
2846 uint8_t enabled;
2860 uint8_t flags;
2870 uint8_t usb_port_id;
2871 uint8_t mode:7;
2872 uint8_t inhibit_charge:1;
2909 uint8_t data[EC_PSTORE_SIZE_MAX];
2992 uint8_t slot_count;
3003 uint8_t slot; /* Slot to read from */
3007 uint8_t data[EC_VSTORE_SLOT_SIZE];
3016 uint8_t slot; /* Slot to write to */
3017 uint8_t data[EC_VSTORE_SLOT_SIZE];
3036 uint8_t sensor_type;
3037 uint8_t threshold_id;
3043 uint8_t sensor_type;
3044 uint8_t threshold_id;
3113 uint8_t fan_idx;
3131 uint8_t index;
3143 uint8_t index;
3144 uint8_t reserved[3];
3153 uint8_t algorithm;
3154 uint8_t num_params;
3155 uint8_t reserved[2];
3160 uint8_t index;
3161 uint8_t algorithm;
3162 uint8_t num_params;
3163 uint8_t reserved;
3172 uint8_t index;
3204 uint8_t reserved;
3208 uint8_t info_type;
3209 uint8_t event_type;
3255 uint8_t col;
3256 uint8_t row;
3257 uint8_t pressed;
3298 uint8_t flags; /* some flags (enum mkbp_config_flags) */
3299 uint8_t valid_flags; /* which flags are valid */
3314 uint8_t fifo_max_depth;
3345 uint8_t flags; /* some flags (enum ec_collect_flags) */
3349 uint8_t cmd; /* Command to send (enum ec_keyscan_seq_cmd) */
3352 uint8_t active; /* still active */
3353 uint8_t num_items; /* number of items */
3355 uint8_t cur_item;
3363 uint8_t scan[0]; /* keyscan data */
3366 uint8_t start_item; /* First item to return */
3367 uint8_t num_items; /* Number of items to return */
3375 uint8_t num_items; /* Number of items */
3446 uint8_t key_matrix[13];
3454 uint8_t reserved[3];
3471 uint8_t key_matrix[16];
3479 uint8_t reserved[3];
3494 uint8_t cec_message[16];
3499 uint8_t key_matrix[18];
3507 uint8_t reserved[3];
3522 uint8_t cec_message[16];
3527 uint8_t event_type;
3533 uint8_t event_type;
3539 uint8_t event_type;
3608 uint8_t id;
3613 uint8_t sensor_type;
3662 uint8_t action;
3668 uint8_t mask_type;
3741 uint8_t enabled;
3750 uint8_t enabled;
3756 uint8_t now_flags;
3759 uint8_t now_mask;
3766 uint8_t suspend_flags;
3769 uint8_t suspend_mask;
3775 uint8_t now_flags;
3778 uint8_t suspend_flags;
3789 uint8_t val;
3801 uint8_t val;
3806 uint8_t subcmd;
3812 uint8_t index;
3820 uint8_t val;
3823 uint8_t val;
3851 uint8_t read_size; /* Either 8 or 16. */
3852 uint8_t port;
3853 uint8_t offset;
3866 uint8_t write_size; /* Either 8 or 16. */
3867 uint8_t port;
3868 uint8_t offset;
3908 uint8_t cmd; /* enum ec_charge_control_cmd. */
3909 uint8_t flags; /* enum ec_charge_control_flag (v3+) */
3931 uint8_t flags; /* enum ec_charge_control_flag (v3+) */
3932 uint8_t reserved;
3960 uint8_t subcmd; /* enum ec_console_read_subcmd */
3977 uint8_t flags;
3989 uint8_t mux;
4006 uint8_t index;
4007 uint8_t state;
4016 uint8_t index;
4020 uint8_t state;
4062 uint8_t port; /* I2C port number */
4063 uint8_t num_msgs; /* Number of messages */
4069 uint8_t i2c_status; /* Status flags (EC_I2C_STATUS_...) */
4070 uint8_t num_msgs; /* Number of messages processed */
4071 uint8_t data[]; /* Data read by messages concatenated here */
4119 uint8_t status; /* enum ec_hang_detect_status */
4175 uint8_t cmd; /* enum charge_state_command */
4288 uint8_t sleep_event;
4302 uint8_t sleep_event;
4305 uint8_t reserved;
4372 uint8_t param;
4393 uint8_t reg;
4401 uint8_t reg;
4406 uint8_t data[32];
4410 uint8_t reg;
4433 uint8_t mode;
4479 uint8_t data[SB_FW_UPDATE_CMD_WRITE_BLOCK_SIZE];
4488 uint8_t data[SB_FW_UPDATE_CMD_INFO_SIZE];
4493 uint8_t data[SB_FW_UPDATE_CMD_STATUS_SIZE];
4526 uint8_t subcmd;
4527 uint8_t port; /* I2C port number */
4531 uint8_t status; /* Status flags (0: unlocked, 1: locked) */
4564 uint8_t msg[MAX_CEC_MSG_LEN];
4574 uint8_t port;
4575 uint8_t msg_len;
4576 uint8_t msg[MAX_CEC_MSG_LEN];
4587 uint8_t port;
4596 uint8_t msg_len;
4597 uint8_t msg[MAX_CEC_MSG_LEN];
4613 uint8_t cmd : 4; /* enum cec_command */
4614 uint8_t port : 4;
4615 uint8_t val;
4627 uint8_t cmd : 4; /* enum cec_command */
4628 uint8_t port : 4;
4639 uint8_t val;
4650 uint8_t port_count;
4701 uint8_t shm_id;
4702 uint8_t reserved[3];
4708 uint8_t shm_id;
4709 uint8_t reserved[3];
4713 uint8_t cmd; /* enum ec_codec_subcmd */
4714 uint8_t reserved[3];
4731 uint8_t type;
4732 uint8_t reserved[3];
4760 uint8_t channel; /* enum ec_codec_dmic_channel */
4761 uint8_t gain;
4762 uint8_t reserved[2];
4766 uint8_t channel; /* enum ec_codec_dmic_channel */
4767 uint8_t reserved[3];
4771 uint8_t cmd; /* enum ec_codec_dmic_subcmd */
4772 uint8_t reserved[3];
4783 uint8_t max_gain;
4787 uint8_t gain;
4820 uint8_t depth;
4821 uint8_t reserved[3];
4825 uint8_t left;
4826 uint8_t right;
4827 uint8_t reserved[2];
4831 uint8_t daifmt;
4832 uint8_t reserved[3];
4840 uint8_t cmd; /* enum ec_codec_i2s_rx_subcmd */
4841 uint8_t reserved[3];
4877 uint8_t hash[32];
4880 uint8_t buf[128];
4885 uint8_t hash[32];
4890 uint8_t cmd; /* enum ec_codec_wov_subcmd */
4891 uint8_t reserved[3];
4902 uint8_t hash[32];
4906 uint8_t buf[128];
4943 uint8_t cmd; /* enum ec_reboot_cmd */
4944 uint8_t flags; /* See EC_REBOOT_FLAG_* */
5017 uint8_t status; /* EC status */
5019 uint8_t charge_state; /* charging state (from enum pd_charge_state) */
5086 uint8_t port;
5087 uint8_t role;
5088 uint8_t mux;
5089 uint8_t swap;
5105 uint8_t enabled;
5106 uint8_t role;
5107 uint8_t polarity;
5108 uint8_t state;
5112 uint8_t enabled;
5113 uint8_t role;
5114 uint8_t polarity;
5136 uint8_t enabled;
5137 uint8_t role;
5138 uint8_t polarity;
5140 uint8_t cc_state; /* enum pd_cc_states representing cc state */
5141 uint8_t dp_mode; /* Current DP pin mode (MODE_DP_PIN_[A-E]) */
5142 uint8_t reserved; /* Reserved for future use */
5143 uint8_t control_flags; /* USB_PD_CTRL_*flags */
5144 uint8_t cable_speed; /* TBT_SS_* cable speed */
5145 uint8_t cable_gen; /* TBT_GEN3_* cable rounded support */
5154 uint8_t num_ports;
5161 uint8_t port;
5192 uint8_t role;
5193 uint8_t type;
5194 uint8_t dualrole;
5195 uint8_t reserved1;
5208 uint8_t port_count;
5223 uint8_t cmd;
5224 uint8_t port;
5235 uint8_t dev_rw_hash[PD_RW_HASH_SIZE];
5236 uint8_t reserved; /*
5248 uint8_t port;
5256 uint8_t ptype; /* product type (hub,periph,cable,ama) */
5282 uint8_t type; /* event type : see PD_EVENT_xx below */
5283 uint8_t size_port; /* [7:5] port number [4:0] payload size in bytes */
5285 uint8_t payload[]; /* optional additional data payload: 0..16 bytes */
5349 uint8_t major;
5350 uint8_t minor;
5355 uint8_t family[2];
5356 uint8_t chipid[2];
5369 uint8_t port; /* port */
5390 uint8_t opos; /* Object Position */
5391 uint8_t port; /* port */
5398 uint8_t type; /* event type : see PD_EVENT_xx above */
5399 uint8_t port; /* port#, or 0 for events unrelated to a given port */
5415 uint8_t chip; /* chip id */
5416 uint8_t subcmd;
5423 uint8_t port; /* USB-C port number */
5438 uint8_t flags; /* USB_PD_MUX_*-encoded USB mux state */
5444 uint8_t port; /* USB-C port number */
5445 uint8_t renew; /* Force renewal */
5453 uint8_t fw_version_string[8];
5463 uint8_t fw_version_string[8];
5467 uint8_t min_req_fw_version_string[8];
5495 uint8_t region; /* enum ec_flash_region */
5548 uint8_t data[]; /* For string and raw data */
5623 uint8_t action;
5632 uint8_t adc_channel;
5662 uint8_t port_count;
5671 uint8_t port;
5676 uint8_t state; /* enum pchg_state state */
5677 uint8_t battery_percentage;
5678 uint8_t unused0;
5679 uint8_t unused1;
5754 uint8_t port;
5756 uint8_t cmd;
5758 uint8_t reserved0;
5759 uint8_t reserved1;
5769 uint8_t data[];
5814 uint8_t enable;
5829 uint8_t enabled;
5883 uint8_t port;
5884 uint8_t partner_type; /* enum typec_partner_type */
5894 uint8_t identity_count; /* Number of identity VDOs partner sent */
5895 uint8_t svid_count; /* Number of SVIDs partner sent */
5921 uint8_t mux_index; /* Index of the mux to set in the chain */
5922 uint8_t mux_flags; /* USB_PD_MUX_*-encoded USB mux state to set */
5931 uint8_t vdm_data_objects;
5933 uint8_t partner_type;
5937 uint8_t port;
5938 uint8_t command; /* enum typec_control_command */
5948 uint8_t mode_to_enter; /* enum typec_mode */
5949 uint8_t tbt_ufp_reply; /* enum typec_tbt_ufp_reply */
5953 uint8_t placeholder[128];
6039 uint8_t port;
6043 uint8_t pd_enabled; /* PD communication enabled - bool */
6044 uint8_t dev_connected; /* Device connected - bool */
6045 uint8_t sop_connected; /* Device is SOP PD capable - bool */
6046 uint8_t source_cap_count; /* Number of Source Cap PDOs */
6048 uint8_t power_role; /* enum pd_power_role */
6049 uint8_t data_role; /* enum pd_data_role */
6050 uint8_t vconn_role; /* enum pd_vconn_role */
6051 uint8_t sink_cap_count; /* Number of Sink Cap PDOs */
6053 uint8_t polarity; /* enum tcpc_cc_polarity */
6054 uint8_t cc_state; /* enum pd_cc_states */
6055 uint8_t dp_pin; /* DP pin mode (MODE_DP_IN_[A-E]) */
6056 uint8_t mux_state; /* USB_PD_MUX* - encoded mux state */
6087 uint8_t port;
6092 uint8_t vdm_data_objects;
6094 uint8_t partner_type;
6100 uint8_t vdm_attention_objects;
6102 uint8_t vdm_attention_left;
6123 uint8_t data[];
6131 uint8_t size;
6155 uint8_t data[]; /* Data to send */
6309 uint8_t nonce[FP_CONTEXT_NONCE_BYTES];
6310 uint8_t salt[FP_CONTEXT_SALT_BYTES];
6311 uint8_t tag[FP_CONTEXT_TAG_BYTES];
6333 uint8_t data[];
6356 uint8_t timestamps_invalid;
6369 uint8_t seed[FP_CONTEXT_TPM_BYTES];
6426 uint8_t index;
6461 uint8_t index;
6502 uint8_t allow_charging;
6509 uint8_t port; /* USB-C port number */