Lines Matching +full:i3c +full:- +full:master
1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <linux/i3c/device.h>
14 /* I3C CCC (Common Command Codes) related definitions */
30 /* Broadcast-only commands */
36 /* Unicast-only commands */
56 * struct i3c_ccc_events - payload passed to ENEC/DISEC CCC
69 * struct i3c_ccc_mwl - payload passed to SETMWL/GETMWL CCC
81 * struct i3c_ccc_mrl - payload passed to SETMRL/GETMRL CCC
88 * The IBI length is only valid if the I3C slave is IBI capable
97 * struct i3c_ccc_dev_desc - I3C/I2C device descriptor used for DEFSLVS
99 * @dyn_addr: dynamic address assigned to the I3C slave or 0 if the entry is
102 * @lvr: LVR value (not applicable to entries describing I3C devices)
108 * descriptors (one entry per I3C/I2C dev controlled by the master).
121 * struct i3c_ccc_defslvs - payload passed to DEFSLVS CCC
124 * @master: descriptor describing the current master
126 * current master
130 * This is only meaningful if you have more than one master.
134 struct i3c_ccc_dev_desc master; member
139 * enum i3c_ccc_test_mode - enum listing all available test modes
150 * struct i3c_ccc_enttm - payload passed to ENTTM CCC
154 * Information passed to the ENTTM CCC to instruct an I3C device to enter a
162 * struct i3c_ccc_setda - payload passed to SETNEWDA and SETDASA CCCs
164 * @addr: dynamic address to assign to an I3C device
167 * dynamic address of an I3C device.
174 * struct i3c_ccc_getpid - payload passed to GETPID CCC
183 * struct i3c_ccc_getbcr - payload passed to GETBCR CCC
192 * struct i3c_ccc_getdcr - payload passed to GETDCR CCC
206 * struct i3c_ccc_getstatus - payload passed to GETSTATUS CCC
208 * @status: status of the I3C slave (see I3C_CCC_STATUS_xxx macros for more
216 * struct i3c_ccc_getaccmst - payload passed to GETACCMST CCC
218 * @newmaster: address of the master taking bus ownership
225 * struct i3c_ccc_bridged_slave_desc - bridged slave descriptor
236 * struct i3c_ccc_setbrgtgt - payload passed to SETBRGTGT CCC
247 * enum i3c_sdr_max_data_rate - max data rate values for private SDR transfers
258 * enum i3c_tsco - clock to data turn-around
272 * struct i3c_ccc_getmxds - payload passed to GETMXDS CCC
276 * @maxrdturn: maximum read turn-around expressed micro-seconds and
277 * little-endian formatted
288 * struct i3c_ccc_gethdrcap - payload passed to GETHDRCAP CCC
297 * enum i3c_ccc_setxtime_subcmd - SETXTIME sub-commands
313 * struct i3c_ccc_setxtime - payload passed to SETXTIME CCC
315 * @subcmd: one of the sub-commands ddefined in &enum i3c_ccc_setxtime_subcmd
316 * @data: sub-command payload. Amount of data is determined by
317 * &i3c_ccc_setxtime->subcmd
329 * struct i3c_ccc_getxtime - payload retrieved from GETXTIME CCC
344 * struct i3c_ccc_cmd_payload - CCC payload
347 * @data: payload data. This buffer must be DMA-able
355 * struct i3c_ccc_cmd_dest - CCC command destination
357 * @addr: can be an I3C device address or the broadcast address if this is a
367 * struct i3c_ccc_cmd - CCC command
375 * @err: I3C error code