Lines Matching +full:client +full:- +full:id
1 /* SPDX-License-Identifier: GPL-2.0-only */
21 * typedef ljca_event_cb_t - event callback function signature
35 * struct ljca_client - represent a ljca client device
37 * @type: ljca client type
38 * @id: ljca client id within same client type
39 * @link: ljca client on the same ljca adapter
41 * @adapter: ljca adapter the ljca client sit on
43 * @event_cb: ljca client driver register this callback to get
49 u8 id; member
61 * struct ljca_gpio_info - ljca gpio client device info
63 * @num: ljca gpio client device pin number
64 * @valid_pin_map: ljca gpio client device valid pin mapping
72 * struct ljca_i2c_info - ljca i2c client device info
74 * @id: ljca i2c client device identification number
75 * @capacity: ljca i2c client device capacity
76 * @intr_pin: ljca i2c client device interrupt pin number if exists
79 u8 id; member
85 * struct ljca_spi_info - ljca spi client device info
87 * @id: ljca spi client device identification number
88 * @capacity: ljca spi client device capacity
91 u8 id; member
96 * ljca_register_event_cb - register a callback function to receive events
98 * @client: ljca client device
104 int ljca_register_event_cb(struct ljca_client *client, ljca_event_cb_t event_cb, void *context);
107 * ljca_unregister_event_cb - unregister the callback function for an event
109 * @client: ljca client device
111 void ljca_unregister_event_cb(struct ljca_client *client);
114 * ljca_transfer - issue a LJCA command and wait for a response
116 * @client: ljca client device
128 int ljca_transfer(struct ljca_client *client, u8 cmd, const u8 *obuf,
132 * ljca_transfer_noack - issue a LJCA command without a response
134 * @client: ljca client device
142 int ljca_transfer_noack(struct ljca_client *client, u8 cmd, const u8 *obuf,