pci

package
v0.18.0-rc.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPU

type GPU struct {
	PciDevice *pci.Device
}

func Find

func Find(id uint64) *GPU

func ReadGPUs

func ReadGPUs() []*GPU

func (*GPU) ConnectedOutputs

func (g *GPU) ConnectedOutputs() (uint, error)

func (*GPU) DisplayName

func (g *GPU) DisplayName() string

func (*GPU) Identifier

func (g *GPU) Identifier() uint64

func (*GPU) Outputs

func (g *GPU) Outputs() (int, error)

func (*GPU) XorgPCIString

func (g *GPU) XorgPCIString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL