Displaying 6 results from an estimated 6 matches for "nvkm_i2c_aux_func".
Did you mean:
nvkm_i2c_aux_find
2019 Apr 09
2
[PATCH v2] drm/nouveau/i2c: Disable i2c bus access after ->fini()
...x);
+ aux->enabled = true;
+ mutex_unlock(&aux->mutex);
+}
+
+void
+nvkm_i2c_aux_fini(struct nvkm_i2c_aux *aux)
+{
+ AUX_TRACE(aux, "fini");
+ mutex_lock(&aux->mutex);
+ aux->enabled = false;
+ mutex_unlock(&aux->mutex);
+}
+
int
nvkm_i2c_aux_ctor(const struct nvkm_i2c_aux_func *func,
struct nvkm_i2c_pad *pad, int id,
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h
index 7d56c4ba693c..08f6b2ee64ab 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h
@@...
2019 Apr 11
1
[PATCH v2] drm/nouveau/i2c: Disable i2c bus access after ->fini()
...x *aux)
> > +{
> > + AUX_TRACE(aux, "fini");
> > + mutex_lock(&aux->mutex);
> > + aux->enabled = false;
> > + mutex_unlock(&aux->mutex);
> > +}
> > +
> > int
> > nvkm_i2c_aux_ctor(const struct nvkm_i2c_aux_func *func,
> > struct nvkm_i2c_pad *pad, int id,
> > diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h
> > b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h
> > index 7d56c4ba693c..08f6b2ee64ab 100644
> > --- a/drivers/gpu/drm/nouveau/nvkm/subdev/i...
2019 Apr 10
0
[PATCH v2] drm/nouveau/i2c: Disable i2c bus access after ->fini()
...id
> +nvkm_i2c_aux_fini(struct nvkm_i2c_aux *aux)
> +{
> + AUX_TRACE(aux, "fini");
> + mutex_lock(&aux->mutex);
> + aux->enabled = false;
> + mutex_unlock(&aux->mutex);
> +}
> +
> int
> nvkm_i2c_aux_ctor(const struct nvkm_i2c_aux_func *func,
> struct nvkm_i2c_pad *pad, int id,
> diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h
> index 7d56c4ba693c..08f6b2ee64ab 100644
> --- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h
> +++ b/drivers/gp...
2024 Jun 02
0
[PATCH] drm/nouveau/i2c: rename aux.c and aux.h to nvkm_i2c_aux.c and nvkm_i2c_aux.h
...ouveau/nvkm/subdev/i2c/auxgf119.c
> @@ -19,7 +19,7 @@
> * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> * OTHER DEALINGS IN THE SOFTWARE.
> */
> -#include "aux.h"
> +#include "nvkm_i2c_aux.h"
>
> static const struct nvkm_i2c_aux_func
> gf119_i2c_aux = {
> diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c
> index 8bd1d442e465..f40c5709d217 100644
> --- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c
> +++ b/drivers/gpu/drm/nouveau/nvkm/subde...
2024 Jun 02
0
[PATCH] drm/nouveau/i2c: rename aux.c and aux.h to nvkm_i2c_aux.c and nvkm_i2c_aux.h
...@@
>>> ?? * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
>>> USE OR
>>> ?? * OTHER DEALINGS IN THE SOFTWARE.
>>> ?? */
>>> -#include "aux.h"
>>> +#include "nvkm_i2c_aux.h"
>>> ? static const struct nvkm_i2c_aux_func
>>> ? gf119_i2c_aux = {
>>> diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c
>>> b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c
>>> index 8bd1d442e465..f40c5709d217 100644
>>> --- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c...
2024 Jun 03
0
[PATCH] drm/nouveau/i2c: rename aux.c and aux.h to nvkm_i2c_aux.c and nvkm_i2c_aux.h
...* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE US=
> E OR
> >> * OTHER DEALINGS IN THE SOFTWARE.
> >> */
> >> -#include "aux.h"
> >> +#include "nvkm_i2c_aux.h"
> >> =3D20
> >> static const struct nvkm_i2c_aux_func
> >> gf119_i2c_aux =3D3D {
> >> diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c b/driv=
> ers=3D
> >> /gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c
> >> index 8bd1d442e465..f40c5709d217 100644
> >> --- a/drivers/gpu/drm/nouveau/nvkm/su...