/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
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); 13 void (*wr08)(struct nvkm_pci *, u16 addr, u8 data); 14 void (*wr32)(struct nvkm_pci *, u16 addr, u32 data); 15 void (*msi_rearm)(struct nvkm_pci *); 18 int (*init)(struct nvkm_pci *); 19 int (*set_link)(struct nvkm_pci *, enum nvkm_pcie_speed, u8); 21 enum nvkm_pcie_speed (*max_speed)(struct nvkm_pci *); [all …]
|
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() 52 nvkm_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) in nvkm_pci_wr32() 58 nvkm_pci_mask(struct nvkm_pci *pci, u16 addr, u32 mask, u32 value) in nvkm_pci_mask() 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() [all …]
|
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()
|
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 …]
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
D | nv4c.c | 35 struct nvkm_pci **ppci) in nv4c_pci_new()
|
D | g94.c | 47 struct nvkm_pci **ppci) in g94_pci_new()
|
D | gf106.c | 47 struct nvkm_pci **ppci) in gf106_pci_new()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
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 **); 44 int nv46_pci_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pci **); 45 int nv4c_pci_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pci **); [all …]
|
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | layout.h | 5 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_PCI , struct nvkm_pci , pci)
|
/Linux-v6.6/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 265 struct nvkm_pci *pci = device->pci; in nouveau_ttm_init()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | base.c | 271 struct nvkm_pci *pci = subdev->device->pci; in nvkm_pstate_prog()
|