Home
last modified time | relevance | path

Searched full:srom (Results 1 – 25 of 158) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/drivers/memory/samsung/
H A Dexynos-srom.c6 // Exynos - SROM Controller support
17 #include "exynos-srom.h"
20 /* SROM side */
29 * struct exynos_srom_reg_dump: register dump of SROM Controller registers.
30 * @offset: srom register offset from the controller base address.
39 * struct exynos_srom: platform data for exynos srom controller driver.
41 * @reg_base: srom base address
67 static int exynos_srom_configure_bank(struct exynos_srom *srom, in exynos_srom_configure_bank() argument
78 if (of_property_read_bool(np, "samsung,srom-page-mode")) in exynos_srom_configure_bank()
80 if (of_property_read_u32_array(np, "samsung,srom-timing", timing, in exynos_srom_configure_bank()
[all …]
H A DKconfig24 bool "Exynos SROM controller driver" if COMPILE_TEST
27 This adds driver for Samsung Exynos SoC SROM controller. The driver
28 in basic operation mode only saves and restores SROM registers
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/memory-controllers/
H A Dexynos-srom.yaml4 $id: http://devicetree.org/schemas/memory-controllers/exynos-srom.yaml#
7 title: Samsung Exynos SoC SROM Controller driver
13 The SROM controller can be used to attach external peripherals. In this case
19 - const: samsung,exynos4210-srom
43 of the relevant SROM bank.
58 samsung,srom-page-mode:
64 samsung,srom-timing:
83 - samsung,srom-timing
95 compatible = "samsung,exynos4210-srom";
109 compatible = "samsung,exynos4210-srom";
[all …]
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/dec/
H A Dde4x5.rst17 Digital Semiconductor SROM Specification. The driver currently
20 - DC21040 (no SROM)
32 - SMC9332 (w/new SROM)
113 The SMC9332 card has a non-compliant SROM which needs fixing - I have
114 patched this driver to detect it because the SROM format used complies
122 I have added SROM decoding routines to make this driver work with any
123 card that supports the Digital Semiconductor SROM spec. This will help
128 (with the latest SROM complying with the SROM spec V3: their first was
154 Where SROM media detection is used and full duplex is specified in the
155 SROM, the feature is ignored unless lp->params.fdx is set at compile
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/s5p-common/
H A Dsromc.c15 * srom_bank - SROM
22 struct s5p_sromc *srom = in s5p_config_sromc() local
26 tmp = srom->bw; in s5p_config_sromc()
29 srom->bw = tmp; in s5p_config_sromc()
32 srom->bc[srom_bank] = srom_bc_conf; in s5p_config_sromc()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcmsrom.c2 * Routines to access SPROM and to parse SROM/CIS variables.
30 * When host may supply nvram vars in addition to the ones in OTP/SROM:
140 static void _initvars_srom_pci(uint8 sromrev, uint16 *srom, uint off, varbuf_t *b);
187 /* FIXME: Fake 4331 SROM to boot 4331 driver on QT w/o SPROM/OTP */
971 static bool srvars_inited = FALSE; /* Use OTP/SROM as global variables */
1096 /* First check for CIS format. if not CIS, try SROM format */ in BCMATTACHFN()
1120 /** support only 16-bit word read from srom */
1161 volatile uint16 *srom; local
1163 srom = (volatile uint16 *)srom_offset(sih, curmap);
1164 if (srom == NULL)
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmsrom.c2 * Routines to access SPROM and to parse SROM/CIS variables.
30 * When host may supply nvram vars in addition to the ones in OTP/SROM:
140 static void _initvars_srom_pci(uint8 sromrev, uint16 *srom, uint off, varbuf_t *b);
187 /* FIXME: Fake 4331 SROM to boot 4331 driver on QT w/o SPROM/OTP */
971 static bool srvars_inited = FALSE; /* Use OTP/SROM as global variables */
1096 /* First check for CIS format. if not CIS, try SROM format */ in BCMATTACHFN()
1120 /** support only 16-bit word read from srom */
1161 volatile uint16 *srom; local
1163 srom = (volatile uint16 *)srom_offset(sih, curmap);
1164 if (srom == NULL)
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmsrom_fmt.h2 * SROM format definition.
29 /* Maximum srom: 16 Kilobits == 2048 bytes */
48 /* SROM Rev 2: 1 Kilobit map for 11a/b/g devices.
49 * SROM Rev 3: Upward compatible modification for lpphy and PCIe
132 /* SROM Rev 4: Reallocate the software part of the srom to accomodate
134 * of useable srom i.e. the useable storage in chips with OTP that
236 /* SROM Rev 8: Make space for a 48word hardware header for PCIe rev >= 6.
237 * This is acombined srom for both MIMO and SISO boards, usable in
358 /* SROM REV 9 */
416 /* SROM REV 11 */
[all …]
H A Dbcmsrom.h2 * Misc useful routines to access NIC local SROM/OTP .
60 extern int _initvars_srom_pci_caldata(si_t *sih, uint16 *srom, uint32 sromrev);
71 extern int srom_get_caldata(si_t *sih, uint16 *srom);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmsrom_fmt.h2 * SROM format definition.
29 /* Maximum srom: 16 Kilobits == 2048 bytes */
48 /* SROM Rev 2: 1 Kilobit map for 11a/b/g devices.
49 * SROM Rev 3: Upward compatible modification for lpphy and PCIe
132 /* SROM Rev 4: Reallocate the software part of the srom to accomodate
134 * of useable srom i.e. the useable storage in chips with OTP that
236 /* SROM Rev 8: Make space for a 48word hardware header for PCIe rev >= 6.
237 * This is acombined srom for both MIMO and SISO boards, usable in
358 /* SROM REV 9 */
416 /* SROM REV 11 */
[all …]
H A Dbcmsrom.h2 * Misc useful routines to access NIC local SROM/OTP .
60 extern int _initvars_srom_pci_caldata(si_t *sih, uint16 *srom, uint32 sromrev);
71 extern int srom_get_caldata(si_t *sih, uint16 *srom);
H A Dsbsprom.h32 /* offset from BAR0 for srom space */
35 /* number of 2-byte words in srom */
157 /* Contents for the srom */
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dbcmsrom_fmt.h3 * SROM format definition.
36 /* Maximum srom: 12 Kilobits == 1536 bytes */
130 /* SROM Rev 4: Reallocate the software part of the srom to accomodate
132 * of useable srom i.e. the useable storage in chips with OTP that
236 /* SROM Rev 8: Make space for a 48word hardware header for PCIe rev >= 6.
237 * This is acombined srom for both MIMO and SISO boards, usable in
359 /* SROM REV 9 */
418 /* SROM REV 11 */
642 /* SROM REV 12 */
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dexynos5410-smdk5410.dts69 srom_ctl: srom-ctl {
76 srom_ebi: srom-ebi {
108 samsung,srom-page-mode;
109 samsung,srom-timing = <9 12 1 9 1 1>;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/dec/tulip/
H A Dde4x5.c41 Digital Semiconductor SROM Specification. The driver currently
44 DC21040 (no SROM)
56 SMC9332 (w/new SROM)
150 The SMC9332 card has a non-compliant SROM which needs fixing - I have
151 patched this driver to detect it because the SROM format used complies
159 I have added SROM decoding routines to make this driver work with any
160 card that supports the Digital Semiconductor SROM spec. This will help
165 (with the latest SROM complying with the SROM spec V3: their first was
191 Where SROM media detection is used and full duplex is specified in the
192 SROM, the feature is ignored unless lp->params.fdx is set at compile
[all …]
H A Ddmfe.c162 /* CR9 definition: SROM/MII */
263 /* NIC SROM data */
264 unsigned char srom[128]; member
472 /* read 64 word srom data */ in dmfe_init_one()
474 ((__le16 *) db->srom)[i] = in dmfe_init_one()
480 dev->dev_addr[i] = db->srom[20 + i]; in dmfe_init_one()
617 /* Parser SROM and media mode */ in dmfe_init_dm910x()
1899 * Parser SROM and media mode
1904 char * srom = db->srom; in dmfe_parse_srom() local
1912 /* Check SROM Version */ in dmfe_parse_srom()
[all …]
H A Duli526x.c90 /* CR9 definition: SROM/MII */
178 /* NIC SROM data */
179 unsigned char srom[128]; member
366 /* read 64 word srom data */ in uli526x_init_one()
368 ((__le16 *) db->srom)[i] = cpu_to_le16(read_srom_word(db, i)); in uli526x_init_one()
371 …if(((u16 *) db->srom)[0] == 0xffff || ((u16 *) db->srom)[0] == 0) /* SROM absent, so read MAC add… in uli526x_init_one()
388 else /*Exist SROM*/ in uli526x_init_one()
391 dev->dev_addr[i] = db->srom[20 + i]; in uli526x_init_one()
529 /* Parser SROM and media mode */ in uli526x_init()
H A Dde4x5.h522 ** SROM Media Definitions (ABG SROM Section)
532 ** SROM Definitions (Digital Semiconductor Format)
540 #define SROM_SFV 0x0012 /* SROM Format Version offset */
544 #define SROM_CRC 0x007e /* SROM CRC offset */
547 ** SROM Media Connection Definitions
571 ** SROM Media Definitions
588 ** SROM Compact Format Block Masks
595 ** SROM Extended Format Block Type 0 Masks
850 #define DEBUG_SROM 0x0010 /* Print SROM messages */
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dbcmsrom_fmt.h2 * SROM format definition.
37 /* Maximum srom: 16 Kilobits == 2048 bytes */
131 /* SROM Rev 4: Reallocate the software part of the srom to accomodate
133 * of useable srom i.e. the useable storage in chips with OTP that
235 /* SROM Rev 8: Make space for a 48word hardware header for PCIe rev >= 6.
236 * This is acombined srom for both MIMO and SISO boards, usable in
357 /* SROM REV 9 */
415 /* SROM REV 11 */
638 /* SROM REV 12 */
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dbcmsrom_fmt.h2 * SROM format definition.
37 /* Maximum srom: 16 Kilobits == 2048 bytes */
131 /* SROM Rev 4: Reallocate the software part of the srom to accomodate
133 * of useable srom i.e. the useable storage in chips with OTP that
235 /* SROM Rev 8: Make space for a 48word hardware header for PCIe rev >= 6.
236 * This is acombined srom for both MIMO and SISO boards, usable in
357 /* SROM REV 9 */
415 /* SROM REV 11 */
638 /* SROM REV 12 */
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcmsrom_fmt.h2 * SROM format definition.
37 /* Maximum srom: 16 Kilobits == 2048 bytes */
131 /* SROM Rev 4: Reallocate the software part of the srom to accomodate
133 * of useable srom i.e. the useable storage in chips with OTP that
235 /* SROM Rev 8: Make space for a 48word hardware header for PCIe rev >= 6.
236 * This is acombined srom for both MIMO and SISO boards, usable in
357 /* SROM REV 9 */
415 /* SROM REV 11 */
638 /* SROM REV 12 */
/OK3568_Linux_fs/u-boot/drivers/net/
H A Duli526x.c66 /* CR9 definition: SROM/MII */
139 /* NIC SROM data */
140 unsigned char srom[128]; member
308 /* read 64 word srom data */ in uli526x_init_one()
310 ((u16 *) db->srom)[i] = cpu_to_le16(read_srom_word(db->ioaddr, in uli526x_init_one()
314 if (((db->srom[0] == 0xff) && (db->srom[1] == 0xff)) || in uli526x_init_one()
315 ((db->srom[0] == 0x00) && (db->srom[1] == 0x00))) in uli526x_init_one()
316 /* SROM absent, so write MAC address to ID Table */ in uli526x_init_one()
318 else { /*Exist SROM*/ in uli526x_init_one()
320 dev->enetaddr[i] = db->srom[20 + i]; in uli526x_init_one()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dsr9800.h23 /* command : SROM Read Reg */
25 /* command : SROM Write Reg */
27 /* command : SROM Write Enable Reg */
29 /* command : SROM Write Disable Reg */
/OK3568_Linux_fs/kernel/drivers/staging/vt6655/
H A Dsrom.c6 * File: srom.c
35 #include "srom.h"
/OK3568_Linux_fs/kernel/drivers/mtd/devices/
H A Dpmc551.c12 * cPCI embedded systems. The device contains a single SROM
26 * Due to what I assume is more buggy SROM, the 64M PMC551 I
63 * * Located a bug in the SROM's initialization sequence that
73 * * Add I2C handling of the SROM so we can read the SROM's information
708 * onboard I2C SROM to discover the "real" memory size. in init_pmc551()

1234567