Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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()
H A 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()
H A 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()
H A 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()
H A 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 **);
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A 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/drivers/gpu/drm/nouveau/dispnv04/
H A 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()
H A Ddisp.c292 struct nvkm_i2c_bus *bus = in nv04_display_create()
H A Ddfp.c630 struct nvkm_i2c_bus *bus = nvkm_i2c_bus_find(i2c, NVKM_I2C_BUS_PRI); in nv04_tmds_slave_init()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A 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/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Doutp.h17 struct nvkm_i2c_bus *i2c;
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
H A Dbase.c156 struct nvkm_i2c_bus *i2c_bus; in nvkm_iccsense_create_sensor()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c561 struct nvkm_i2c_bus *bus; in nv50_dac_create()
1938 struct nvkm_i2c_bus *bus = in nv50_sor_create()
2051 struct nvkm_i2c_bus *bus = NULL; in nv50_pior_create()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dinit.c266 struct nvkm_i2c_bus *bus; in init_i2c()