Home
last modified time | relevance | path

Searched refs:srom (Results 1 – 9 of 9) sorted by relevance

/drivers/memory/samsung/
Dexynos-srom.c71 static int exynos_srom_configure_bank(struct exynos_srom *srom, in exynos_srom_configure_bank() argument
94 bw = readl_relaxed(srom->reg_base + EXYNOS_SROM_BW); in exynos_srom_configure_bank()
96 writel_relaxed(bw, srom->reg_base + EXYNOS_SROM_BW); in exynos_srom_configure_bank()
104 srom->reg_base + EXYNOS_SROM_BC0 + bank); in exynos_srom_configure_bank()
112 struct exynos_srom *srom; in exynos_srom_probe() local
122 srom = devm_kzalloc(&pdev->dev, in exynos_srom_probe()
124 if (!srom) in exynos_srom_probe()
127 srom->dev = dev; in exynos_srom_probe()
128 srom->reg_base = of_iomap(np, 0); in exynos_srom_probe()
129 if (!srom->reg_base) { in exynos_srom_probe()
[all …]
DMakefile1 obj-$(CONFIG_EXYNOS_SROM) += exynos-srom.o
/drivers/char/
Dtile-srom.c149 struct srom_dev *srom = filp->private_data; in srom_release() local
153 mutex_lock(&srom->lock); in srom_release()
154 if (srom->hv_devhdl >= 0) in srom_release()
155 _srom_write(srom->hv_devhdl, &dummy, SROM_FLUSH_OFF, 1); in srom_release()
156 mutex_unlock(&srom->lock); in srom_release()
178 struct srom_dev *srom = filp->private_data; in srom_read() local
184 if (mutex_lock_interruptible(&srom->lock)) { in srom_read()
194 hv_retval = _srom_read(srom->hv_devhdl, kernbuf, in srom_read()
213 mutex_unlock(&srom->lock); in srom_read()
233 struct srom_dev *srom = filp->private_data; in srom_write() local
[all …]
DMakefile60 obj-$(CONFIG_TILE_SROM) += tile-srom.o
DKconfig590 in /dev/srom/. The Tilera hypervisor makes the flash
/drivers/net/ethernet/dec/tulip/
Ddmfe.c274 unsigned char srom[128]; member
490 ((__le16 *) db->srom)[i] = in dmfe_init_one()
496 dev->dev_addr[i] = db->srom[20 + i]; in dmfe_init_one()
1921 char * srom = db->srom; in dmfe_parse_srom() local
1930 if ( ( (int) srom[18] & 0xff) == SROM_V41_CODE) { in dmfe_parse_srom()
1933 db->NIC_capability = le16_to_cpup((__le16 *) (srom + 34)); in dmfe_parse_srom()
1945 dmfe_mode = (le32_to_cpup((__le32 *) (srom + 34)) & in dmfe_parse_srom()
1946 le32_to_cpup((__le32 *) (srom + 36))); in dmfe_parse_srom()
1957 if ( (SF_mode & 0x1) || (srom[43] & 0x80) ) in dmfe_parse_srom()
1961 if ( (SF_mode & 0x2) || (srom[40] & 0x1) ) in dmfe_parse_srom()
[all …]
Dde4x5.c838 struct de4x5_srom srom; /* A copy of the SROM */ member
2167 j += (u_char) *((u_char *)&lp->srom + SROM_HWADD + i); in srom_search()
2174 last.addr[i] = (u_char)*((u_char *)&lp->srom + SROM_HWADD + i); in srom_search()
3911 int tmp = *((char *)&lp->srom + 19) * 3; in PCI_signature()
3912 strncpy(name, (char *)&lp->srom + 26 + tmp, 8); in PCI_signature()
3961 __le16 *p = (__le16 *)((char *)&lp->srom + SROM_HWADD); in DevicePresent()
3972 p = (__le16 *)&lp->srom; in DevicePresent()
3977 de4x5_dbg_srom(&lp->srom); in DevicePresent()
4047 dev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++; in get_hw_addr()
4048 dev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++; in get_hw_addr()
[all …]
Duli526x.c189 unsigned char srom[128]; member
382 ((__le16 *) db->srom)[i] = cpu_to_le16(read_srom_word(db, i)); in uli526x_init_one()
385 …if(((u16 *) db->srom)[0] == 0xffff || ((u16 *) db->srom)[0] == 0) /* SROM absent, so read MAC add… in uli526x_init_one()
405 dev->dev_addr[i] = db->srom[20 + i]; in uli526x_init_one()
/drivers/staging/vt6655/
DMakefile13 srom.o \