Home
last modified time | relevance | path

Searched refs:nvkm_i2c_bus (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbus.h7 void (*init)(struct nvkm_i2c_bus *);
8 void (*drive_scl)(struct nvkm_i2c_bus *, int state);
9 void (*drive_sda)(struct nvkm_i2c_bus *, int state);
10 int (*sense_scl)(struct nvkm_i2c_bus *);
11 int (*sense_sda)(struct nvkm_i2c_bus *);
12 int (*xfer)(struct nvkm_i2c_bus *, struct i2c_msg *, int num);
16 int id, struct nvkm_i2c_bus *);
18 int id, struct nvkm_i2c_bus **);
19 void nvkm_i2c_bus_del(struct nvkm_i2c_bus **);
20 void nvkm_i2c_bus_init(struct nvkm_i2c_bus *);
[all …]
Dbit.c32 nvkm_i2c_drive_scl(struct nvkm_i2c_bus *bus, int state) in nvkm_i2c_drive_scl()
38 nvkm_i2c_drive_sda(struct nvkm_i2c_bus *bus, int state) in nvkm_i2c_drive_sda()
44 nvkm_i2c_sense_scl(struct nvkm_i2c_bus *bus) in nvkm_i2c_sense_scl()
50 nvkm_i2c_sense_sda(struct nvkm_i2c_bus *bus) in nvkm_i2c_sense_sda()
56 nvkm_i2c_delay(struct nvkm_i2c_bus *bus, u32 nsec) in nvkm_i2c_delay()
62 nvkm_i2c_raise_scl(struct nvkm_i2c_bus *bus) in nvkm_i2c_raise_scl()
75 i2c_start(struct nvkm_i2c_bus *bus) in i2c_start()
95 i2c_stop(struct nvkm_i2c_bus *bus) in i2c_stop()
108 i2c_bitw(struct nvkm_i2c_bus *bus, int sda) in i2c_bitw()
123 i2c_bitr(struct nvkm_i2c_bus *bus) in i2c_bitr()
[all …]
Dbus.c35 struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c); in nvkm_i2c_bus_pre_xfer()
42 struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c); in nvkm_i2c_bus_post_xfer()
49 struct nvkm_i2c_bus *bus = data; in nvkm_i2c_bus_setscl()
56 struct nvkm_i2c_bus *bus = data; in nvkm_i2c_bus_setsda()
63 struct nvkm_i2c_bus *bus = data; in nvkm_i2c_bus_getscl()
70 struct nvkm_i2c_bus *bus = data; in nvkm_i2c_bus_getsda()
80 struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c); in nvkm_i2c_bus_xfer()
108 nvkm_i2c_bus_init(struct nvkm_i2c_bus *bus) in nvkm_i2c_bus_init()
120 nvkm_i2c_bus_fini(struct nvkm_i2c_bus *bus) in nvkm_i2c_bus_fini()
129 nvkm_i2c_bus_release(struct nvkm_i2c_bus *bus) in nvkm_i2c_bus_release()
[all …]
Dbusgf119.c28 struct nvkm_i2c_bus base;
33 gf119_i2c_bus_drive_scl(struct nvkm_i2c_bus *base, int state) in gf119_i2c_bus_drive_scl()
41 gf119_i2c_bus_drive_sda(struct nvkm_i2c_bus *base, int state) in gf119_i2c_bus_drive_sda()
49 gf119_i2c_bus_sense_scl(struct nvkm_i2c_bus *base) in gf119_i2c_bus_sense_scl()
57 gf119_i2c_bus_sense_sda(struct nvkm_i2c_bus *base) in gf119_i2c_bus_sense_sda()
65 gf119_i2c_bus_init(struct nvkm_i2c_bus *base) in gf119_i2c_bus_init()
84 struct nvkm_i2c_bus **pbus) in gf119_i2c_bus_new()
Dbusnv50.c30 struct nvkm_i2c_bus base;
36 nv50_i2c_bus_drive_scl(struct nvkm_i2c_bus *base, int state) in nv50_i2c_bus_drive_scl()
46 nv50_i2c_bus_drive_sda(struct nvkm_i2c_bus *base, int state) in nv50_i2c_bus_drive_sda()
56 nv50_i2c_bus_sense_scl(struct nvkm_i2c_bus *base) in nv50_i2c_bus_sense_scl()
64 nv50_i2c_bus_sense_sda(struct nvkm_i2c_bus *base) in nv50_i2c_bus_sense_sda()
72 nv50_i2c_bus_init(struct nvkm_i2c_bus *base) in nv50_i2c_bus_init()
91 struct nvkm_i2c_bus **pbus) in nv50_i2c_bus_new()
Dbusnv4e.c28 struct nvkm_i2c_bus base;
33 nv4e_i2c_bus_drive_scl(struct nvkm_i2c_bus *base, int state) in nv4e_i2c_bus_drive_scl()
41 nv4e_i2c_bus_drive_sda(struct nvkm_i2c_bus *base, int state) in nv4e_i2c_bus_drive_sda()
49 nv4e_i2c_bus_sense_scl(struct nvkm_i2c_bus *base) in nv4e_i2c_bus_sense_scl()
57 nv4e_i2c_bus_sense_sda(struct nvkm_i2c_bus *base) in nv4e_i2c_bus_sense_sda()
75 struct nvkm_i2c_bus **pbus) in nv4e_i2c_bus_new()
Dbusnv04.c30 struct nvkm_i2c_bus base;
36 nv04_i2c_bus_drive_scl(struct nvkm_i2c_bus *base, int state) in nv04_i2c_bus_drive_scl()
47 nv04_i2c_bus_drive_sda(struct nvkm_i2c_bus *base, int state) in nv04_i2c_bus_drive_sda()
58 nv04_i2c_bus_sense_scl(struct nvkm_i2c_bus *base) in nv04_i2c_bus_sense_scl()
66 nv04_i2c_bus_sense_sda(struct nvkm_i2c_bus *base) in nv04_i2c_bus_sense_sda()
84 struct nvkm_i2c_bus **pbus) in nv04_i2c_bus_new()
Dbase.c47 struct nvkm_i2c_bus *
51 struct nvkm_i2c_bus *bus; in nvkm_i2c_bus_find()
142 struct nvkm_i2c_bus *bus; in nvkm_i2c_fini()
170 struct nvkm_i2c_bus *bus; in nvkm_i2c_preinit()
189 struct nvkm_i2c_bus *bus; in nvkm_i2c_init()
222 struct nvkm_i2c_bus *bus = in nvkm_i2c_dtor()
248 int (*pad_new)(struct nvkm_i2c_bus *, int id, u8 addr,
281 struct nvkm_i2c_bus *bus = NULL; in nvkm_i2c_new_()
347 struct nvkm_i2c_bus *bus; in nvkm_i2c_new_()
400 struct nvkm_i2c_bus *bus = NULL; in nvkm_i2c_new_()
Dpad.h25 struct nvkm_i2c_bus **);
27 struct nvkm_i2c_bus **);
59 int anx9805_pad_new(struct nvkm_i2c_bus *, int, u8, struct nvkm_i2c_pad **);
Danx9805.c32 struct nvkm_i2c_bus *bus;
37 struct nvkm_i2c_bus base;
43 anx9805_bus_xfer(struct nvkm_i2c_bus *base, struct i2c_msg *msgs, int num) in anx9805_bus_xfer()
104 struct nvkm_i2c_bus **pbus) in anx9805_bus_new()
265 anx9805_pad_new(struct nvkm_i2c_bus *bus, int id, u8 addr, in anx9805_pad_new()
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Di2c.h15 struct nvkm_i2c_bus { struct
30 int nvkm_i2c_bus_acquire(struct nvkm_i2c_bus *); argument
31 void nvkm_i2c_bus_release(struct nvkm_i2c_bus *);
32 int nvkm_i2c_bus_probe(struct nvkm_i2c_bus *, const char *,
34 bool (*)(struct nvkm_i2c_bus *,
76 struct nvkm_i2c_bus *nvkm_i2c_bus_find(struct nvkm_i2c *, int);
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dic.c30 probe_monitoring_device(struct nvkm_i2c_bus *bus, in probe_monitoring_device()
88 struct nvkm_i2c_bus *bus; in nvkm_therm_ic_ctor()
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Dtvnv04.c57 struct nvkm_i2c_bus *bus = nvkm_i2c_bus_find(i2c, i2c_index); in nv04_tv_identify()
209 struct nvkm_i2c_bus *bus = nvkm_i2c_bus_find(i2c, entry->i2c_index); in nv04_tv_create()
Ddisp.c297 struct nvkm_i2c_bus *bus = in nv04_display_create()
Ddfp.c630 struct nvkm_i2c_bus *bus = nvkm_i2c_bus_find(i2c, NVKM_I2C_BUS_PRI); in nv04_tmds_slave_init()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dbase.c32 mxm_shadow_rom_fetch(struct nvkm_i2c_bus *bus, u8 addr, in mxm_shadow_rom_fetch()
49 struct nvkm_i2c_bus *bus = NULL; in mxm_shadow_rom()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Doutp.h17 struct nvkm_i2c_bus *i2c;
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
Dbase.c156 struct nvkm_i2c_bus *i2c_bus; in nvkm_iccsense_create_sensor()
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c561 struct nvkm_i2c_bus *bus; in nv50_dac_create()
1785 struct nvkm_i2c_bus *bus = in nv50_sor_create()
1896 struct nvkm_i2c_bus *bus = NULL; in nv50_pior_create()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dinit.c266 struct nvkm_i2c_bus *bus; in init_i2c()