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 */
2457 uint8_t activity; /* motionsensor_activity */
2458 uint8_t state;
2463 uint8_t flags;
2465 uint8_t sensor_num;
2511 uint8_t sensor_num;
2512 uint8_t activity; /* one of enum motionsensor_activity */
2513 uint8_t enable; /* 1: enable, 0: disable */
2514 uint8_t reserved;
2567 uint8_t cmd;
2576 uint8_t max_sensor_count;
2594 uint8_t sensor_num;
2603 uint8_t sensor_num;
2606 uint8_t roundup;
2616 uint8_t sensor_num;
2645 uint8_t sensor_num;
2702 uint8_t sensor_id;
2705 uint8_t spoof_enable;
2708 uint8_t reserved;
2734 uint8_t sensor_num;
2735 uint8_t activity; /* enum motionsensor_activity */
2745 uint8_t module_flags;
2748 uint8_t sensor_count;
2760 uint8_t type;
2763 uint8_t location;
2766 uint8_t chip;
2772 uint8_t type;
2775 uint8_t location;
2778 uint8_t chip;
2856 uint8_t state;
2868 uint8_t enabled;
2882 uint8_t flags;
2892 uint8_t usb_port_id;
2893 uint8_t mode:7;
2894 uint8_t inhibit_charge:1;
2931 uint8_t data[EC_PSTORE_SIZE_MAX];
3014 uint8_t slot_count;
3025 uint8_t slot; /* Slot to read from */
3029 uint8_t data[EC_VSTORE_SLOT_SIZE];
3038 uint8_t slot; /* Slot to write to */
3039 uint8_t data[EC_VSTORE_SLOT_SIZE];
3058 uint8_t sensor_type;
3059 uint8_t threshold_id;
3065 uint8_t sensor_type;
3066 uint8_t threshold_id;
3135 uint8_t fan_idx;
3153 uint8_t index;
3165 uint8_t index;
3166 uint8_t reserved[3];
3175 uint8_t algorithm;
3176 uint8_t num_params;
3177 uint8_t reserved[2];
3182 uint8_t index;
3183 uint8_t algorithm;
3184 uint8_t num_params;
3185 uint8_t reserved;
3194 uint8_t index;
3226 uint8_t reserved;
3230 uint8_t info_type;
3231 uint8_t event_type;
3277 uint8_t col;
3278 uint8_t row;
3279 uint8_t pressed;
3320 uint8_t flags; /* some flags (enum mkbp_config_flags) */
3321 uint8_t valid_flags; /* which flags are valid */
3336 uint8_t fifo_max_depth;
3367 uint8_t flags; /* some flags (enum ec_collect_flags) */
3371 uint8_t cmd; /* Command to send (enum ec_keyscan_seq_cmd) */
3374 uint8_t active; /* still active */
3375 uint8_t num_items; /* number of items */
3377 uint8_t cur_item;
3385 uint8_t scan[0]; /* keyscan data */
3388 uint8_t start_item; /* First item to return */
3389 uint8_t num_items; /* Number of items to return */
3397 uint8_t num_items; /* Number of items */
3468 uint8_t key_matrix[13];
3476 uint8_t reserved[3];
3493 uint8_t key_matrix[16];
3501 uint8_t reserved[3];
3516 uint8_t cec_message[16];
3521 uint8_t key_matrix[18];
3529 uint8_t reserved[3];
3544 uint8_t cec_message[16];
3549 uint8_t event_type;
3555 uint8_t event_type;
3561 uint8_t event_type;
3630 uint8_t id;
3635 uint8_t sensor_type;
3684 uint8_t action;
3690 uint8_t mask_type;
3763 uint8_t enabled;
3772 uint8_t enabled;
3778 uint8_t now_flags;
3781 uint8_t now_mask;
3788 uint8_t suspend_flags;
3791 uint8_t suspend_mask;
3797 uint8_t now_flags;
3800 uint8_t suspend_flags;
3811 uint8_t val;
3823 uint8_t val;
3828 uint8_t subcmd;
3834 uint8_t index;
3842 uint8_t val;
3845 uint8_t val;
3873 uint8_t read_size; /* Either 8 or 16. */
3874 uint8_t port;
3875 uint8_t offset;
3888 uint8_t write_size; /* Either 8 or 16. */
3889 uint8_t port;
3890 uint8_t offset;
3930 uint8_t cmd; /* enum ec_charge_control_cmd. */
3931 uint8_t flags; /* enum ec_charge_control_flag (v3+) */
3953 uint8_t flags; /* enum ec_charge_control_flag (v3+) */
3954 uint8_t reserved;
3982 uint8_t subcmd; /* enum ec_console_read_subcmd */
3999 uint8_t flags;
4011 uint8_t mux;
4028 uint8_t index;
4029 uint8_t state;
4038 uint8_t index;
4042 uint8_t state;
4084 uint8_t port; /* I2C port number */
4085 uint8_t num_msgs; /* Number of messages */
4091 uint8_t i2c_status; /* Status flags (EC_I2C_STATUS_...) */
4092 uint8_t num_msgs; /* Number of messages processed */
4093 uint8_t data[]; /* Data read by messages concatenated here */
4141 uint8_t status; /* enum ec_hang_detect_status */
4197 uint8_t cmd; /* enum charge_state_command */
4310 uint8_t sleep_event;
4324 uint8_t sleep_event;
4327 uint8_t reserved;
4394 uint8_t param;
4415 uint8_t reg;
4423 uint8_t reg;
4428 uint8_t data[32];
4432 uint8_t reg;
4455 uint8_t mode;
4501 uint8_t data[SB_FW_UPDATE_CMD_WRITE_BLOCK_SIZE];
4510 uint8_t data[SB_FW_UPDATE_CMD_INFO_SIZE];
4515 uint8_t data[SB_FW_UPDATE_CMD_STATUS_SIZE];
4548 uint8_t subcmd;
4549 uint8_t port; /* I2C port number */
4553 uint8_t status; /* Status flags (0: unlocked, 1: locked) */
4586 uint8_t msg[MAX_CEC_MSG_LEN];
4596 uint8_t port;
4597 uint8_t msg_len;
4598 uint8_t msg[MAX_CEC_MSG_LEN];
4609 uint8_t port;
4618 uint8_t msg_len;
4619 uint8_t msg[MAX_CEC_MSG_LEN];
4635 uint8_t cmd : 4; /* enum cec_command */
4636 uint8_t port : 4;
4637 uint8_t val;
4649 uint8_t cmd : 4; /* enum cec_command */
4650 uint8_t port : 4;
4661 uint8_t val;
4672 uint8_t port_count;
4723 uint8_t shm_id;
4724 uint8_t reserved[3];
4730 uint8_t shm_id;
4731 uint8_t reserved[3];
4735 uint8_t cmd; /* enum ec_codec_subcmd */
4736 uint8_t reserved[3];
4753 uint8_t type;
4754 uint8_t reserved[3];
4782 uint8_t channel; /* enum ec_codec_dmic_channel */
4783 uint8_t gain;
4784 uint8_t reserved[2];
4788 uint8_t channel; /* enum ec_codec_dmic_channel */
4789 uint8_t reserved[3];
4793 uint8_t cmd; /* enum ec_codec_dmic_subcmd */
4794 uint8_t reserved[3];
4805 uint8_t max_gain;
4809 uint8_t gain;
4842 uint8_t depth;
4843 uint8_t reserved[3];
4847 uint8_t left;
4848 uint8_t right;
4849 uint8_t reserved[2];
4853 uint8_t daifmt;
4854 uint8_t reserved[3];
4862 uint8_t cmd; /* enum ec_codec_i2s_rx_subcmd */
4863 uint8_t reserved[3];
4899 uint8_t hash[32];
4902 uint8_t buf[128];
4907 uint8_t hash[32];
4912 uint8_t cmd; /* enum ec_codec_wov_subcmd */
4913 uint8_t reserved[3];
4924 uint8_t hash[32];
4928 uint8_t buf[128];
4965 uint8_t cmd; /* enum ec_reboot_cmd */
4966 uint8_t flags; /* See EC_REBOOT_FLAG_* */
5039 uint8_t status; /* EC status */
5041 uint8_t charge_state; /* charging state (from enum pd_charge_state) */
5109 uint8_t port;
5110 uint8_t role;
5111 uint8_t mux;
5112 uint8_t swap;
5128 uint8_t enabled;
5129 uint8_t role;
5130 uint8_t polarity;
5131 uint8_t state;
5135 uint8_t enabled;
5136 uint8_t role;
5137 uint8_t polarity;
5159 uint8_t enabled;
5160 uint8_t role;
5161 uint8_t polarity;
5163 uint8_t cc_state; /* enum pd_cc_states representing cc state */
5164 uint8_t dp_mode; /* Current DP pin mode (MODE_DP_PIN_[A-E]) */
5165 uint8_t reserved; /* Reserved for future use */
5166 uint8_t control_flags; /* USB_PD_CTRL_*flags */
5167 uint8_t cable_speed; /* TBT_SS_* cable speed */
5168 uint8_t cable_gen; /* TBT_GEN3_* cable rounded support */
5177 uint8_t num_ports;
5184 uint8_t port;
5215 uint8_t role;
5216 uint8_t type;
5217 uint8_t dualrole;
5218 uint8_t reserved1;
5231 uint8_t port_count;
5246 uint8_t cmd;
5247 uint8_t port;
5258 uint8_t dev_rw_hash[PD_RW_HASH_SIZE];
5259 uint8_t reserved; /*
5271 uint8_t port;
5279 uint8_t ptype; /* product type (hub,periph,cable,ama) */
5305 uint8_t type; /* event type : see PD_EVENT_xx below */
5306 uint8_t size_port; /* [7:5] port number [4:0] payload size in bytes */
5308 uint8_t payload[]; /* optional additional data payload: 0..16 bytes */
5372 uint8_t major;
5373 uint8_t minor;
5378 uint8_t family[2];
5379 uint8_t chipid[2];
5392 uint8_t port; /* port */
5413 uint8_t opos; /* Object Position */
5414 uint8_t port; /* port */
5421 uint8_t type; /* event type : see PD_EVENT_xx above */
5422 uint8_t port; /* port#, or 0 for events unrelated to a given port */
5438 uint8_t chip; /* chip id */
5439 uint8_t subcmd;
5446 uint8_t port; /* USB-C port number */
5461 uint8_t flags; /* USB_PD_MUX_*-encoded USB mux state */
5467 uint8_t port; /* USB-C port number */
5468 uint8_t renew; /* Force renewal */
5476 uint8_t fw_version_string[8];
5486 uint8_t fw_version_string[8];
5490 uint8_t min_req_fw_version_string[8];
5518 uint8_t region; /* enum ec_flash_region */
5571 uint8_t data[]; /* For string and raw data */
5646 uint8_t action;
5655 uint8_t adc_channel;
5685 uint8_t port_count;
5694 uint8_t port;
5699 uint8_t state; /* enum pchg_state state */
5700 uint8_t battery_percentage;
5701 uint8_t unused0;
5702 uint8_t unused1;
5777 uint8_t port;
5779 uint8_t cmd;
5781 uint8_t reserved0;
5782 uint8_t reserved1;
5792 uint8_t data[];
5837 uint8_t enable;
5852 uint8_t enabled;
5906 uint8_t port;
5907 uint8_t partner_type; /* enum typec_partner_type */
5917 uint8_t identity_count; /* Number of identity VDOs partner sent */
5918 uint8_t svid_count; /* Number of SVIDs partner sent */
5944 uint8_t mux_index; /* Index of the mux to set in the chain */
5945 uint8_t mux_flags; /* USB_PD_MUX_*-encoded USB mux state to set */
5954 uint8_t vdm_data_objects;
5956 uint8_t partner_type;
5960 uint8_t port;
5961 uint8_t command; /* enum typec_control_command */
5971 uint8_t mode_to_enter; /* enum typec_mode */
5972 uint8_t tbt_ufp_reply; /* enum typec_tbt_ufp_reply */
5976 uint8_t placeholder[128];
6062 uint8_t port;
6066 uint8_t pd_enabled; /* PD communication enabled - bool */
6067 uint8_t dev_connected; /* Device connected - bool */
6068 uint8_t sop_connected; /* Device is SOP PD capable - bool */
6069 uint8_t source_cap_count; /* Number of Source Cap PDOs */
6071 uint8_t power_role; /* enum pd_power_role */
6072 uint8_t data_role; /* enum pd_data_role */
6073 uint8_t vconn_role; /* enum pd_vconn_role */
6074 uint8_t sink_cap_count; /* Number of Sink Cap PDOs */
6076 uint8_t polarity; /* enum tcpc_cc_polarity */
6077 uint8_t cc_state; /* enum pd_cc_states */
6078 uint8_t dp_pin; /* DP pin mode (MODE_DP_IN_[A-E]) */
6079 uint8_t mux_state; /* USB_PD_MUX* - encoded mux state */
6110 uint8_t port;
6115 uint8_t vdm_data_objects;
6117 uint8_t partner_type;
6123 uint8_t vdm_attention_objects;
6125 uint8_t vdm_attention_left;
6146 uint8_t data[];
6154 uint8_t size;
6178 uint8_t data[]; /* Data to send */
6332 uint8_t nonce[FP_CONTEXT_NONCE_BYTES];
6333 uint8_t salt[FP_CONTEXT_SALT_BYTES];
6334 uint8_t tag[FP_CONTEXT_TAG_BYTES];
6356 uint8_t data[];
6379 uint8_t timestamps_invalid;
6392 uint8_t seed[FP_CONTEXT_TPM_BYTES];
6449 uint8_t index;
6484 uint8_t index;
6525 uint8_t allow_charging;
6532 uint8_t port; /* USB-C port number */