/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
A D | priv.h | 4 #define nvkm_pci(p) container_of((p), struct nvkm_pci, subdev) macro 8 struct nvkm_pci **); 11 void (*init)(struct nvkm_pci *); 12 u32 (*rd32)(struct nvkm_pci *, u16 addr); 15 void (*msi_rearm)(struct nvkm_pci *); 18 int (*init)(struct nvkm_pci *); 25 int (*version)(struct nvkm_pci *); 37 void g84_pci_init(struct nvkm_pci *pci); 45 int g84_pcie_init(struct nvkm_pci *); 54 int gf100_pcie_init(struct nvkm_pci *); [all …]
|
A D | agp.h | 7 void nvkm_agp_ctor(struct nvkm_pci *); 8 void nvkm_agp_dtor(struct nvkm_pci *); 9 void nvkm_agp_preinit(struct nvkm_pci *); 10 int nvkm_agp_init(struct nvkm_pci *); 11 void nvkm_agp_fini(struct nvkm_pci *); 14 static inline void nvkm_agp_ctor(struct nvkm_pci *pci) {} in nvkm_agp_ctor() 15 static inline void nvkm_agp_dtor(struct nvkm_pci *pci) {} in nvkm_agp_dtor() 16 static inline void nvkm_agp_preinit(struct nvkm_pci *pci) {} in nvkm_agp_preinit() 17 static inline int nvkm_agp_init(struct nvkm_pci *pci) { return -ENOSYS; } in nvkm_agp_init() 18 static inline void nvkm_agp_fini(struct nvkm_pci *pci) {} in nvkm_agp_fini()
|
A D | base.c | 33 struct nvkm_pci *pci = device->pci; in nvkm_pci_msi_rearm() 40 nvkm_pci_rd32(struct nvkm_pci *pci, u16 addr) in nvkm_pci_rd32() 46 nvkm_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) in nvkm_pci_wr08() 66 nvkm_pci_rom_shadow(struct nvkm_pci *pci, bool shadow) in nvkm_pci_rom_shadow() 79 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_fini() 90 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_preinit() 99 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_oneinit() 114 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_init() 140 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_dtor() 147 return nvkm_pci(subdev); in nvkm_pci_dtor() [all …]
|
A D | g84.c | 29 g84_pcie_version_supported(struct nvkm_pci *pci) in g84_pcie_version_supported() 36 g84_pcie_version(struct nvkm_pci *pci) in g84_pcie_version() 43 g84_pcie_set_version(struct nvkm_pci *pci, u8 ver) in g84_pcie_set_version() 50 g84_pcie_set_cap_speed(struct nvkm_pci *pci, bool full_speed) in g84_pcie_set_cap_speed() 57 g84_pcie_cur_speed(struct nvkm_pci *pci) in g84_pcie_cur_speed() 72 g84_pcie_max_speed(struct nvkm_pci *pci) in g84_pcie_max_speed() 81 g84_pcie_set_link_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in g84_pcie_set_link_speed() 95 g84_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in g84_pcie_set_link() 103 g84_pci_init(struct nvkm_pci *pci) in g84_pci_init() 126 g84_pcie_init(struct nvkm_pci *pci) in g84_pcie_init() [all …]
|
A D | gf100.c | 27 gf100_pci_msi_rearm(struct nvkm_pci *pci) in gf100_pci_msi_rearm() 33 gf100_pcie_set_version(struct nvkm_pci *pci, u8 ver) in gf100_pcie_set_version() 40 gf100_pcie_version(struct nvkm_pci *pci) in gf100_pcie_version() 47 gf100_pcie_set_cap_speed(struct nvkm_pci *pci, bool full_speed) in gf100_pcie_set_cap_speed() 54 gf100_pcie_cap_speed(struct nvkm_pci *pci) in gf100_pcie_cap_speed() 64 gf100_pcie_init(struct nvkm_pci *pci) in gf100_pcie_init() 72 gf100_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in gf100_pcie_set_link() 100 struct nvkm_pci **ppci) in gf100_pci_new()
|
A D | gk104.c | 27 gk104_pcie_version_supported(struct nvkm_pci *pci) in gk104_pcie_version_supported() 33 gk104_pcie_set_cap_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_cap_speed() 54 gk104_pcie_cap_speed(struct nvkm_pci *pci) in gk104_pcie_cap_speed() 78 gk104_pcie_set_lnkctl_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_lnkctl_speed() 96 gk104_pcie_lnkctl_speed(struct nvkm_pci *pci) in gk104_pcie_lnkctl_speed() 112 gk104_pcie_max_speed(struct nvkm_pci *pci) in gk104_pcie_max_speed() 127 gk104_pcie_set_link_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_link_speed() 150 gk104_pcie_init(struct nvkm_pci * pci) in gk104_pcie_init() 182 gk104_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in gk104_pcie_set_link() 226 struct nvkm_pci **ppci) in gk104_pci_new()
|
A D | nv40.c | 27 nv40_pci_rd32(struct nvkm_pci *pci, u16 addr) in nv40_pci_rd32() 34 nv40_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) in nv40_pci_wr08() 41 nv40_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) in nv40_pci_wr32() 48 nv40_pci_msi_rearm(struct nvkm_pci *pci) in nv40_pci_msi_rearm() 63 struct nvkm_pci **ppci) in nv40_pci_new()
|
A D | nv04.c | 27 nv04_pci_rd32(struct nvkm_pci *pci, u16 addr) in nv04_pci_rd32() 34 nv04_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) in nv04_pci_wr08() 41 nv04_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) in nv04_pci_wr32() 56 struct nvkm_pci **ppci) in nv04_pci_new()
|
A D | pcie.c | 51 nvkm_pcie_get_version(struct nvkm_pci *pci) in nvkm_pcie_get_version() 60 nvkm_pcie_get_max_version(struct nvkm_pci *pci) in nvkm_pcie_get_max_version() 69 nvkm_pcie_set_version(struct nvkm_pci *pci, int version) in nvkm_pcie_set_version() 80 nvkm_pcie_oneinit(struct nvkm_pci *pci) in nvkm_pcie_oneinit() 89 nvkm_pcie_init(struct nvkm_pci *pci) in nvkm_pcie_init() 115 nvkm_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in nvkm_pcie_set_link()
|
A D | agp.c | 44 nvkm_agp_fini(struct nvkm_pci *pci) in nvkm_agp_fini() 56 nvkm_agp_preinit(struct nvkm_pci *pci) in nvkm_agp_preinit() 85 nvkm_agp_init(struct nvkm_pci *pci) in nvkm_agp_init() 98 nvkm_agp_dtor(struct nvkm_pci *pci) in nvkm_agp_dtor() 104 nvkm_agp_ctor(struct nvkm_pci *pci) in nvkm_agp_ctor()
|
A D | gp100.c | 27 gp100_pci_msi_rearm(struct nvkm_pci *pci) in gp100_pci_msi_rearm() 42 struct nvkm_pci **ppci) in gp100_pci_new()
|
A D | nv46.c | 32 nv46_pci_msi_rearm(struct nvkm_pci *pci) in nv46_pci_msi_rearm() 49 struct nvkm_pci **ppci) in nv46_pci_new()
|
A D | g92.c | 27 g92_pcie_version_supported(struct nvkm_pci *pci) in g92_pcie_version_supported() 55 struct nvkm_pci **ppci) in g92_pci_new()
|
A D | nv4c.c | 35 struct nvkm_pci **ppci) in nv4c_pci_new()
|
A D | g94.c | 47 struct nvkm_pci **ppci) in g94_pci_new()
|
A D | gf106.c | 47 struct nvkm_pci **ppci) in gf106_pci_new()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
A D | pci.h | 12 struct nvkm_pci { struct 35 u32 nvkm_pci_rd32(struct nvkm_pci *, u16 addr); argument 36 void nvkm_pci_wr08(struct nvkm_pci *, u16 addr, u8 data); 37 void nvkm_pci_wr32(struct nvkm_pci *, u16 addr, u32 data); 38 u32 nvkm_pci_mask(struct nvkm_pci *, u16 addr, u32 mask, u32 value); 39 void nvkm_pci_rom_shadow(struct nvkm_pci *, bool shadow); 42 int nv04_pci_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pci **); 43 int nv40_pci_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pci **); 46 int g84_pci_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pci **); 47 int g92_pci_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pci **); [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/core/ |
A D | layout.h | 5 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_PCI , struct nvkm_pci , pci)
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/ |
A D | nouveau_ttm.c | 265 struct nvkm_pci *pci = device->pci; in nouveau_ttm_init()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
A D | base.c | 271 struct nvkm_pci *pci = subdev->device->pci; in nvkm_pstate_prog()
|