Home
last modified time | relevance | path

Searched refs:nvs (Results 1 – 18 of 18) sorted by relevance

/external/syslinux/gpxe/src/drivers/nvs/
Dnvs.c42 int nvs_read ( struct nvs_device *nvs, unsigned int address, in nvs_read() argument
50 assert ( ( len & ( ( 1 << nvs->word_len_log2 ) - 1 ) ) == 0 ); in nvs_read()
55 frag_len = ( ( nvs->block_size - in nvs_read()
56 ( address & ( nvs->block_size - 1 ) ) ) in nvs_read()
57 << nvs->word_len_log2 ); in nvs_read()
64 if ( ( rc = nvs->read ( nvs, address, data, frag_len ) ) != 0 ) in nvs_read()
69 address += ( frag_len >> nvs->word_len_log2 ); in nvs_read()
85 static int nvs_verify ( struct nvs_device *nvs, unsigned int address, in nvs_verify() argument
91 if ( ( rc = nvs_read ( nvs, address, read_data, len ) ) != 0 ) in nvs_verify()
97 nvs, address, len ); in nvs_verify()
[all …]
Dthreewire.c42 int threewire_read ( struct nvs_device *nvs, unsigned int address, in threewire_read() argument
44 struct spi_device *device = nvs_to_spi ( nvs ); in threewire_read()
72 int threewire_write ( struct nvs_device *nvs, unsigned int address, in threewire_write() argument
74 struct spi_device *device = nvs_to_spi ( nvs ); in threewire_write()
115 struct nvs_device *nvs = &device->nvs; in threewire_detect_address_len() local
121 if ( ( rc = threewire_read ( nvs, 0, NULL, in threewire_detect_address_len()
122 ( 1 << nvs->word_len_log2 ) ) ) != 0 ) { in threewire_detect_address_len()
Dspi.c84 int spi_read ( struct nvs_device *nvs, unsigned int address, in spi_read() argument
86 struct spi_device *device = nvs_to_spi ( nvs ); in spi_read()
111 int spi_write ( struct nvs_device *nvs, unsigned int address, in spi_write() argument
113 struct spi_device *device = nvs_to_spi ( nvs ); in spi_write()
/external/syslinux/gpxe/src/include/gpxe/
Dspi.h88 struct nvs_device nvs; member
116 nvs_to_spi ( struct nvs_device *nvs ) { in nvs_to_spi() argument
117 return container_of ( nvs, struct spi_device, nvs ); in nvs_to_spi()
201 extern int spi_read ( struct nvs_device *nvs, unsigned int address,
203 extern int spi_write ( struct nvs_device *nvs, unsigned int address,
213 device->nvs.word_len_log2 = 0; in init_spi()
215 device->nvs.read = spi_read; in init_spi()
216 device->nvs.write = spi_write; in init_spi()
223 device->nvs.size = ( 128 * 1024 ); in init_at25f1024()
224 device->nvs.block_size = 256; in init_at25f1024()
[all …]
Dthreewire.h44 extern int threewire_read ( struct nvs_device *nvs, unsigned int address,
46 extern int threewire_write ( struct nvs_device *nvs, unsigned int address,
57 device->nvs.word_len_log2 = ( ( organisation == 8 ) ? 0 : 1 ); in init_at93cx6()
58 device->nvs.block_size = 1; in init_at93cx6()
60 device->nvs.read = threewire_read; in init_at93cx6()
61 device->nvs.write = threewire_write; in init_at93cx6()
72 device->nvs.size = ( 1024 / organisation ); in init_at93c46()
85 device->nvs.size = ( 2048 / organisation ); in init_at93c56()
98 device->nvs.size = ( 4096 / organisation ); in init_at93c66()
Dnvs.h47 int ( * read ) ( struct nvs_device *nvs, unsigned int address,
59 int ( * write ) ( struct nvs_device *nvs, unsigned int address,
63 extern int nvs_read ( struct nvs_device *nvs, unsigned int address,
65 extern int nvs_write ( struct nvs_device *nvs, unsigned int address,
Dnvo.h36 struct nvs_device *nvs; member
50 extern void nvo_init ( struct nvo_block *nvo, struct nvs_device *nvs,
/external/syslinux/gpxe/src/core/
Dnvo.c65 if ( ( rc = nvs_read ( nvo->nvs, frag->address, data, in nvo_load()
95 if ( ( rc = nvs_write ( nvo->nvs, frag->address, data, in nvo_save()
203 void nvo_init ( struct nvo_block *nvo, struct nvs_device *nvs, in nvo_init() argument
205 nvo->nvs = nvs; in nvo_init()
/external/syslinux/gpxe/src/drivers/net/
D3c90x.c141 a3c90x_internal_ReadEeprom(struct nvs_device *nvs, unsigned int address, void *data, size_t len) in a3c90x_internal_ReadEeprom() argument
145 container_of(nvs, struct INF_3C90X, nvs); in a3c90x_internal_ReadEeprom()
179 a3c90x_internal_WriteEeprom(struct nvs_device *nvs __unused, in a3c90x_internal_WriteEeprom()
192 nvs_read(&inf_3c90x->nvs, 0, inf_3c90x->eeprom, eeprom_size); in a3c90x_internal_ReadEepromContents()
919 inf_3c90x->nvs.word_len_log2 = 1; /* word */ in a3c90x_probe()
920 inf_3c90x->nvs.size = (inf_3c90x->isBrev ? 0x20 : 0x17); in a3c90x_probe()
921 inf_3c90x->nvs.block_size = 1; in a3c90x_probe()
922 inf_3c90x->nvs.read = a3c90x_internal_ReadEeprom; in a3c90x_probe()
923 inf_3c90x->nvs.write = a3c90x_internal_WriteEeprom; in a3c90x_probe()
Drtl8139.c296 nvo_init ( &rtl->nvo, &rtl->eeprom.nvs, rtl_nvo_fragments, in rtl_init_eeprom()
528 nvs_read ( &rtl->eeprom.nvs, EE_MAC, netdev->hw_addr, ETH_ALEN ); in rtl_probe()
538 if ( rtl->nvo.nvs ) { in rtl_probe()
564 if ( rtl->nvo.nvs ) in rtl_remove()
Dnatsemi.c160 np->nvo.nvs = &np->eeprom.nvs; in natsemi_init_eeprom()
198 nvs_read ( &np->eeprom.nvs, EE_MAC-1, prev_bytes, 1 ); in natsemi_probe()
199 nvs_read ( &np->eeprom.nvs, EE_MAC, ll_addr_encoded, ETH_ALEN ); in natsemi_probe()
D3c90x.h299 struct nvs_device nvs; member
Detherfabric.c3219 if ( spi->nvs.block_size > FALCON_SPI_MAX_LEN ) in falcon_init_spi_device()
3220 spi->nvs.block_size = FALCON_SPI_MAX_LEN; in falcon_init_spi_device()
3281 nvo_init ( &efab->nvo, &efab->spi_eeprom.nvs, falcon_nvo_fragments, in falcon_probe_spi()
3290 struct nvs_device *nvs = &efab->spi->nvs; in falcon_probe_nvram() local
3295 rc = nvs_read ( nvs, FALCON_MAC_ADDRESS_OFFSET, in falcon_probe_nvram()
3301 rc = nvs_read ( nvs, SF_NV_CONFIG_BASE + SF_NV_CONFIG_EXTRA, in falcon_probe_nvram()
4126 if ( efab->nvo.nvs ) { in efab_remove()
4128 efab->nvo.nvs = NULL; in efab_remove()
4192 if ( efab->nvo.nvs ) { in efab_probe()
Deepro100.c206 nvs_read ( &priv->eeprom.nvs, EEPROM_ADDR_MAC_0, netdev->hw_addr, in ifec_pci_probe()
209 nvs_read ( &priv->eeprom.nvs, EEPROM_ADDR_MDIO_REGISTER, in ifec_pci_probe()
/external/syslinux/gpxe/src/drivers/net/rtl818x/
Drtl818x.c745 nvs_read(&priv->eeprom.nvs, 0x06, &eeprom_val, 2); in rtl818x_probe()
772 nvs_read(&priv->eeprom.nvs, 0x17, &eeprom_val, 2); in rtl818x_probe()
775 nvs_read(&priv->eeprom.nvs, 0xD, &priv->anaparam, 4); in rtl818x_probe()
776 nvs_read(&priv->eeprom.nvs, 0x19, &priv->rfparam, 2); in rtl818x_probe()
782 nvs_read(&priv->eeprom.nvs, 0x7, hwinfo->hwaddr, 6); in rtl818x_probe()
787 nvs_read(&priv->eeprom.nvs, 0x10 + (i >> 1), &txpwr, 2); in rtl818x_probe()
796 nvs_read(&priv->eeprom.nvs, 0x20 + (i >> 1), &txpwr, 2); in rtl818x_probe()
/external/syslinux/gpxe/src/
DMakefile66 SRCDIRS += drivers/nvs
/external/webrtc/talk/media/testdata/
Dvoice.rtpdump10 …tjhbgm����lm��tk`nt�jilw�����zvw���������kiq������N��9p�4�j��pj�������~�|}nvs����yw���������|s���…
/external/lisa/ipynb/tutorial/
D00_LisaInANutshell.ipynb2269 …9t1qJxXYdaMl9qxWypJfOllsyXxrW36cevB6p//TTgg0P7/9t+XvNxwHVVdTdAkr8Hvg94IfCc\nvs/lwDRdYXsWcGVV7QZmkt…