Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

From: Boris Brezillon
Date: Fri Feb 23 2018 - 17:46:09 EST


On Fri, 23 Feb 2018 16:56:14 +0000
Vitor Soares <Vitor.Soares@xxxxxxxxxxxx> wrote:


> > +
> > +/**
> > + * struct i3c_ccc_setda - payload passed to ENTTM CCC
> > + *
> > + * @mode: one of the &enum i3c_ccc_test_mode modes
> > + *
> > + * Information passed to the ENTTM CCC to instruct an I3C device to enter a
> > + * specific test mode.

Oops, copy&paste error. I'll fix the kernel-doc header.

> > + */
> > +struct i3c_ccc_setda {
> > + u8 addr;
> > +} __packed;
>
> Âwhat do you mean with struct? Maybe setdasa? if so, what is the addr?

It's the payload passed to SETDASA and SETNEWDA, hence the generic
_setda suffix. addr is the new dynamic address assigned to the
device.



--
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com