coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ec_response_motion_sense Struct Reference

#include <ec_commands.h>

Collaboration diagram for ec_response_motion_sense:
Collaboration graph

Data Fields

union {
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   dump
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   info
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   info_3
 
   struct __ec_align4 {
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      uint32_t   flags
 
   }   info_4
 
   struct ec_response_motion_sensor_data   data
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   ec_rate
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   sensor_odr
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   sensor_range
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   kb_wake_angle
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   fifo_int_enable
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   spoof
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   sensor_offset
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   perform_calib
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   sensor_scale
 
   struct ec_response_motion_sense_fifo_info fifo_info   fifo_flush
 
   struct ec_response_motion_sense_fifo_data   fifo_read
 
   struct ec_response_online_calibration_data   online_calib_read
 
   struct __ec_todo_packed {
      uint16_t   reserved
 
      uint32_t   enabled
 
      uint32_t   disabled
 
   }   list_activities
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   lid_angle
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   tablet_mode_threshold
 
   struct __ec_todo_unpacked {
      uint8_t   module_flags
 
      uint8_t   sensor_count
 
      struct ec_response_motion_sensor_data   sensor [0]
 
      uint8_t   type
 
      uint8_t   location
 
      uint8_t   chip
 
      uint32_t   min_frequency
 
      uint32_t   max_frequency
 
      uint32_t   fifo_max_event_count
 
      int32_t   ret
 
      int16_t   temp
 
      int16_t   offset [3]
 
      uint16_t   scale [3]
 
      uint16_t   value
 
      uint16_t   lid_angle
 
      uint16_t   hys_degree
 
      uint8_t   state
 
   }   get_activity
 
}; 
 

Detailed Description

Definition at line 3058 of file ec_commands.h.

Field Documentation

◆ 

union { ... }

◆ chip

uint8_t ec_response_motion_sense::chip

Definition at line 3084 of file ec_commands.h.

◆ data

struct ec_response_motion_sensor_data ec_response_motion_sense::data

Definition at line 3048 of file ec_commands.h.

◆ disabled

uint32_t ec_response_motion_sense::disabled

Definition at line 3175 of file ec_commands.h.

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::dump

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::ec_rate

◆ enabled

uint32_t ec_response_motion_sense::enabled

Definition at line 3174 of file ec_commands.h.

◆ fifo_flush

struct ec_response_motion_sense_fifo_info fifo_info ec_response_motion_sense::fifo_flush

Definition at line 3048 of file ec_commands.h.

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::fifo_int_enable

◆ fifo_max_event_count

uint32_t ec_response_motion_sense::fifo_max_event_count

Definition at line 3105 of file ec_commands.h.

◆ fifo_read

struct ec_response_motion_sense_fifo_data ec_response_motion_sense::fifo_read

Definition at line 3048 of file ec_commands.h.

◆ flags

uint32_t ec_response_motion_sense::flags

Definition at line 3132 of file ec_commands.h.

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::get_activity

◆ hys_degree

uint16_t ec_response_motion_sense::hys_degree

Definition at line 3198 of file ec_commands.h.

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::info

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::info_3

◆ 

struct { ... } ::__ec_align4 ec_response_motion_sense::info_4

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::kb_wake_angle

◆  [1/2]

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::lid_angle

◆ lid_angle [2/2]

uint16_t ec_response_motion_sense::lid_angle

Definition at line 3195 of file ec_commands.h.

◆ 

struct { ... } ::__ec_todo_packed ec_response_motion_sense::list_activities

◆ location

uint8_t ec_response_motion_sense::location

Definition at line 3081 of file ec_commands.h.

◆ max_frequency

uint32_t ec_response_motion_sense::max_frequency

Definition at line 3102 of file ec_commands.h.

◆ min_frequency

uint32_t ec_response_motion_sense::min_frequency

Definition at line 3099 of file ec_commands.h.

◆ module_flags

uint8_t ec_response_motion_sense::module_flags

Definition at line 3063 of file ec_commands.h.

◆ offset

int16_t ec_response_motion_sense::offset[3]

Definition at line 3157 of file ec_commands.h.

◆ online_calib_read

struct ec_response_online_calibration_data ec_response_motion_sense::online_calib_read

Definition at line 3048 of file ec_commands.h.

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::perform_calib

◆ reserved

uint16_t ec_response_motion_sense::reserved

Definition at line 3173 of file ec_commands.h.

◆ ret

int32_t ec_response_motion_sense::ret

Definition at line 3147 of file ec_commands.h.

◆ scale

uint16_t ec_response_motion_sense::scale[3]

Definition at line 3163 of file ec_commands.h.

◆ sensor

struct ec_response_motion_sensor_data ec_response_motion_sense::sensor[0]

Definition at line 3066 of file ec_commands.h.

◆ sensor_count

uint8_t ec_response_motion_sense::sensor_count

Definition at line 3066 of file ec_commands.h.

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::sensor_odr

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::sensor_offset

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::sensor_range

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::sensor_scale

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::spoof

◆ state

uint8_t ec_response_motion_sense::state

Definition at line 3203 of file ec_commands.h.

◆ 

struct { ... } ::__ec_todo_unpacked ec_response_motion_sense::tablet_mode_threshold

◆ temp

int16_t ec_response_motion_sense::temp

Definition at line 3156 of file ec_commands.h.

◆ type

uint8_t ec_response_motion_sense::type

Definition at line 3078 of file ec_commands.h.

◆ value

uint16_t ec_response_motion_sense::value

Definition at line 3186 of file ec_commands.h.


The documentation for this struct was generated from the following file: