/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | bus.h | 7 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 *); 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 *); 21 void nvkm_i2c_bus_fini(struct nvkm_i2c_bus *); [all …]
|
H A D | bit.c | 32 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 D | bus.c | 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() 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() 159 bool (*match)(struct nvkm_i2c_bus *, in nvkm_i2c_bus_probe() argument 194 nvkm_i2c_bus_del(struct nvkm_i2c_bus **pbus) in nvkm_i2c_bus_del() 196 struct nvkm_i2c_bus *bus = *pbus; in nvkm_i2c_bus_del() 210 struct nvkm_i2c_bus *bus) in nvkm_i2c_bus_ctor() [all …]
|
H A D | busgf119.c | 28 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 D | busnv50.c | 30 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 D | busnv4e.c | 28 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 D | busnv04.c | 30 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 D | base.c | 47 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_()
|
H A D | pad.h | 25 struct nvkm_i2c_bus **); 27 struct nvkm_i2c_bus **); 59 int anx9805_pad_new(struct nvkm_i2c_bus *, int, u8, struct nvkm_i2c_pad **);
|
H A D | anx9805.c | 32 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()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | i2c.h | 15 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);
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | ic.c | 30 probe_monitoring_device(struct nvkm_i2c_bus *bus, in probe_monitoring_device() 88 struct nvkm_i2c_bus *bus; in nvkm_therm_ic_ctor()
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | tvnv04.c | 57 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 D | disp.c | 297 struct nvkm_i2c_bus *bus = in nv04_display_create()
|
H A D | dfp.c | 630 struct nvkm_i2c_bus *bus = nvkm_i2c_bus_find(i2c, NVKM_I2C_BUS_PRI); in nv04_tmds_slave_init()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
H A D | base.c | 32 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()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | outp.h | 17 struct nvkm_i2c_bus *i2c;
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/ |
H A D | base.c | 156 struct nvkm_i2c_bus *i2c_bus; in nvkm_iccsense_create_sensor()
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | disp.c | 561 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()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | init.c | 266 struct nvkm_i2c_bus *bus; in init_i2c()
|