Lines Matching +full:sub +full:- +full:mailbox
1 /* SPDX-License-Identifier: GPL-2.0 */
14 /* Message flags for using the mailbox() interface */
25 * struct wilco_ec_device - Wilco Embedded Controller handle.
27 * @mailbox_lock: Mutex to ensure one mailbox command at a time.
28 * @io_command: I/O port for mailbox command. Provided by ACPI.
29 * @io_data: I/O port for mailbox data. Provided by ACPI.
30 * @io_packet: I/O port for mailbox packet data. Provided by ACPI.
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.
57 * @mailbox_id: Mailbox identifier, specifies the command set.
58 * @mailbox_version: Mailbox interface version %EC_MAILBOX_VERSION
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.
102 * struct wilco_ec_message - Request and response message.
103 * @type: Mailbox message type.
121 * wilco_ec_mailbox() - Send request to the EC and receive the response.
130 * wilco_keyboard_leds_init() - Set up the keyboard backlight LEDs.
154 * struct ec_property_set_msg - Message to get or set a property.
166 * wilco_ec_get_property() - Retrieve a property from the EC.
179 * wilco_ec_set_property() - Store a property on the EC.
192 * wilco_ec_get_byte_property() - Retrieve a byte-size property from the EC.
203 * wilco_ec_get_byte_property() - Store a byte-size property on the EC.
214 * wilco_ec_add_sysfs() - Create sysfs entries