Lines Matching +full:int +full:- +full:property

1 /* SPDX-License-Identifier: GPL-2.0 */
25 * struct wilco_ec_device - Wilco Embedded Controller handle.
34 * @debugfs_pdev: The child platform_device used by the debugfs sub-driver.
35 * @rtc_pdev: The child platform_device used by the RTC sub-driver.
36 * @charger_pdev: Child platform_device used by the charger config sub-driver.
37 * @telem_pdev: The child platform_device used by the telemetry sub-driver.
54 * struct wilco_ec_request - Mailbox request message format.
72 * struct wilco_ec_response - Mailbox response message format.
75 * @result: Result code from the EC. Non-zero indicates an error.
90 * enum wilco_ec_msg_type - Message type to select a set of command codes.
92 * @WILCO_EC_MSG_PROPERTY: Get/Set/Sync EC controlled NVRAM property.
102 * struct wilco_ec_message - Request and response message.
121 * wilco_ec_mailbox() - Send request to the EC and receive the response.
127 int wilco_ec_mailbox(struct wilco_ec_device *ec, struct wilco_ec_message *msg);
130 * wilco_keyboard_leds_init() - Set up the keyboard backlight LEDs.
140 int wilco_keyboard_leds_init(struct wilco_ec_device *ec);
143 * A Property is typically a data item that is stored to NVRAM
145 * with it, known as the Property ID (PID). Properties may have
154 * struct ec_property_set_msg - Message to get or set a property.
155 * @property_id: Which property to get or set.
157 * @data: Actual property data.
161 int length;
166 * wilco_ec_get_property() - Retrieve a property from the EC.
175 int wilco_ec_get_property(struct wilco_ec_device *ec,
179 * wilco_ec_set_property() - Store a property on the EC.
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.
194 * @property_id: Which property to retrieve.
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.
205 * @property_id: Which property to store.
210 int wilco_ec_set_byte_property(struct wilco_ec_device *ec, u32 property_id,
214 * wilco_ec_add_sysfs() - Create sysfs entries
222 int wilco_ec_add_sysfs(struct wilco_ec_device *ec);