/linux-6.1.9/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 | 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 | base.c | 32 nvkm_pci_rd32(struct nvkm_pci *pci, u16 addr) in nvkm_pci_rd32() 38 nvkm_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) in nvkm_pci_wr08() 44 nvkm_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) in nvkm_pci_wr32() 50 nvkm_pci_mask(struct nvkm_pci *pci, u16 addr, u32 mask, u32 value) in nvkm_pci_mask() 58 nvkm_pci_rom_shadow(struct nvkm_pci *pci, bool shadow) in nvkm_pci_rom_shadow() 71 struct nvkm_pci *pci = arg; in nvkm_pci_intr() 89 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_fini() 100 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_preinit() 109 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_oneinit() 130 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_init() [all …]
|
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 | 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 | 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 | 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-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | pci.h | 12 struct nvkm_pci { struct 36 u32 nvkm_pci_rd32(struct nvkm_pci *, u16 addr); argument 37 void nvkm_pci_wr08(struct nvkm_pci *, u16 addr, u8 data); 38 void nvkm_pci_wr32(struct nvkm_pci *, u16 addr, u32 data); 39 u32 nvkm_pci_mask(struct nvkm_pci *, u16 addr, u32 mask, u32 value); 40 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-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | layout.h | 2 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_PCI , struct nvkm_pci , pci)
|
/linux-6.1.9/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 265 struct nvkm_pci *pci = device->pci; in nouveau_ttm_init()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | base.c | 271 struct nvkm_pci *pci = subdev->device->pci; in nvkm_pstate_prog()
|