Lines Matching full:ec
15 #define WILCO_EC_FLAG_NO_RESPONSE BIT(0) /* EC does not respond */
31 * @data_buffer: Buffer used for EC communication. The same buffer
33 * @data_size: Size of the data buffer used for EC communication.
75 * @result: Result code from the EC. Non-zero indicates an error.
91 * @WILCO_EC_MSG_LEGACY: Legacy EC messages for standard EC behavior.
92 * @WILCO_EC_MSG_PROPERTY: Get/Set/Sync EC controlled NVRAM property.
93 * @WILCO_EC_MSG_TELEMETRY: Request telemetry data from the EC.
105 * @request_size: Number of bytes to send to the EC.
107 * @response_size: Number of bytes to read from EC.
121 * wilco_ec_mailbox() - Send request to the EC and receive the response.
122 * @ec: Wilco EC device.
123 * @msg: Wilco EC message.
127 int wilco_ec_mailbox(struct wilco_ec_device *ec, struct wilco_ec_message *msg);
131 * @ec: EC device to query.
140 int wilco_keyboard_leds_init(struct wilco_ec_device *ec);
144 * by the EC. Each of these data items has an index associated
166 * wilco_ec_get_property() - Retrieve a property from the EC.
167 * @ec: Embedded Controller device.
175 int wilco_ec_get_property(struct wilco_ec_device *ec,
179 * wilco_ec_set_property() - Store a property on the EC.
180 * @ec: Embedded Controller device.
188 int wilco_ec_set_property(struct wilco_ec_device *ec,
192 * wilco_ec_get_byte_property() - Retrieve a byte-size property from the EC.
193 * @ec: Embedded Controller device.
199 int wilco_ec_get_byte_property(struct wilco_ec_device *ec, u32 property_id,
203 * wilco_ec_get_byte_property() - Store a byte-size property on the EC.
204 * @ec: Embedded Controller device.
210 int wilco_ec_set_byte_property(struct wilco_ec_device *ec, u32 property_id,
215 * @ec: Wilco EC device
222 int wilco_ec_add_sysfs(struct wilco_ec_device *ec);
223 void wilco_ec_remove_sysfs(struct wilco_ec_device *ec);