iPXE
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
b
d
i
p
s
t
u
v
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
include
ipxe
nvsvpd.h
Go to the documentation of this file.
1
#ifndef _IPXE_NVSVPD_H
2
#define _IPXE_NVSVPD_H
3
4
/**
5
* @file
6
*
7
* Non-Volatile Storage using Vital Product Data
8
*
9
*/
10
11
FILE_LICENCE
( GPL2_OR_LATER_OR_UBDL );
12
13
#include <
ipxe/nvs.h
>
14
#include <
ipxe/pcivpd.h
>
15
16
struct
nvo_block
;
17
struct
refcnt
;
18
19
/** An NVS VPD device */
20
struct
nvs_vpd_device
{
21
/** NVS device */
22
struct
nvs_device
nvs
;
23
/** PCI VPD device */
24
struct
pci_vpd
vpd
;
25
};
26
27
extern
int
nvs_vpd_init
(
struct
nvs_vpd_device
*nvsvpd,
28
struct
pci_device
*
pci
);
29
extern
void
nvs_vpd_nvo_init
(
struct
nvs_vpd_device
*nvsvpd,
30
unsigned
int
field,
struct
nvo_block
*nvo,
31
struct
refcnt
*
refcnt
);
32
33
#endif
/* IPXE_NVSVPD_H */
nvs_vpd_device
An NVS VPD device.
Definition:
nvsvpd.h:20
nvs_device
A non-volatile storage device.
Definition:
nvs.h:15
nvs.h
Non-volatile storage.
refcnt
A reference counter.
Definition:
refcnt.h:26
nvs_vpd_nvo_init
void nvs_vpd_nvo_init(struct nvs_vpd_device *nvsvpd, unsigned int field, struct nvo_block *nvo, struct refcnt *refcnt)
Initialise non-volatile option storage within NVS VPD device.
Definition:
nvsvpd.c:220
pcivpd.h
PCI Vital Product Data.
nvs_vpd_device::nvs
struct nvs_device nvs
NVS device.
Definition:
nvsvpd.h:22
nvs_vpd_device::vpd
struct pci_vpd vpd
PCI VPD device.
Definition:
nvsvpd.h:24
nvo_block
A block of non-volatile stored options.
Definition:
nvo.h:22
pci_device
A PCI device.
Definition:
pci.h:206
nvs_vpd_init
int nvs_vpd_init(struct nvs_vpd_device *nvsvpd, struct pci_device *pci)
Initialise NVS VPD device.
Definition:
nvsvpd.c:178
pci_vpd::pci
struct pci_device * pci
PCI device.
Definition:
pcivpd.h:132
FILE_LICENCE
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
pci_vpd
PCI VPD.
Definition:
pcivpd.h:130
Generated by
1.8.15