srom 67 drivers/memory/samsung/exynos-srom.c static int exynos_srom_configure_bank(struct exynos_srom *srom, srom 90 drivers/memory/samsung/exynos-srom.c bw = readl_relaxed(srom->reg_base + EXYNOS_SROM_BW); srom 92 drivers/memory/samsung/exynos-srom.c writel_relaxed(bw, srom->reg_base + EXYNOS_SROM_BW); srom 100 drivers/memory/samsung/exynos-srom.c srom->reg_base + EXYNOS_SROM_BC0 + bank); srom 108 drivers/memory/samsung/exynos-srom.c struct exynos_srom *srom; srom 118 drivers/memory/samsung/exynos-srom.c srom = devm_kzalloc(&pdev->dev, srom 120 drivers/memory/samsung/exynos-srom.c if (!srom) srom 123 drivers/memory/samsung/exynos-srom.c srom->dev = dev; srom 124 drivers/memory/samsung/exynos-srom.c srom->reg_base = of_iomap(np, 0); srom 125 drivers/memory/samsung/exynos-srom.c if (!srom->reg_base) { srom 130 drivers/memory/samsung/exynos-srom.c platform_set_drvdata(pdev, srom); srom 132 drivers/memory/samsung/exynos-srom.c srom->reg_offset = exynos_srom_alloc_reg_dump(exynos_srom_offsets, srom 134 drivers/memory/samsung/exynos-srom.c if (!srom->reg_offset) { srom 135 drivers/memory/samsung/exynos-srom.c iounmap(srom->reg_base); srom 140 drivers/memory/samsung/exynos-srom.c if (exynos_srom_configure_bank(srom, child)) { srom 177 drivers/memory/samsung/exynos-srom.c struct exynos_srom *srom = dev_get_drvdata(dev); srom 179 drivers/memory/samsung/exynos-srom.c exynos_srom_save(srom->reg_base, srom->reg_offset, srom 186 drivers/memory/samsung/exynos-srom.c struct exynos_srom *srom = dev_get_drvdata(dev); srom 188 drivers/memory/samsung/exynos-srom.c exynos_srom_restore(srom->reg_base, srom->reg_offset, srom 838 drivers/net/ethernet/dec/tulip/de4x5.c struct de4x5_srom srom; /* A copy of the SROM */ srom 2164 drivers/net/ethernet/dec/tulip/de4x5.c j += (u_char) *((u_char *)&lp->srom + SROM_HWADD + i); srom 2171 drivers/net/ethernet/dec/tulip/de4x5.c last.addr[i] = (u_char)*((u_char *)&lp->srom + SROM_HWADD + i); srom 3914 drivers/net/ethernet/dec/tulip/de4x5.c int tmp = *((char *)&lp->srom + 19) * 3; srom 3915 drivers/net/ethernet/dec/tulip/de4x5.c strncpy(name, (char *)&lp->srom + 26 + tmp, 8); srom 3964 drivers/net/ethernet/dec/tulip/de4x5.c __le16 *p = (__le16 *)((char *)&lp->srom + SROM_HWADD); srom 3975 drivers/net/ethernet/dec/tulip/de4x5.c p = (__le16 *)&lp->srom; srom 3980 drivers/net/ethernet/dec/tulip/de4x5.c de4x5_dbg_srom(&lp->srom); srom 4050 drivers/net/ethernet/dec/tulip/de4x5.c dev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++; srom 4051 drivers/net/ethernet/dec/tulip/de4x5.c dev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++; srom 4053 drivers/net/ethernet/dec/tulip/de4x5.c dev->dev_addr[i] = *((u_char *)&lp->srom + i); i++; srom 4054 drivers/net/ethernet/dec/tulip/de4x5.c dev->dev_addr[i] = *((u_char *)&lp->srom + i); i++; srom 4118 drivers/net/ethernet/dec/tulip/de4x5.c if (!memcmp(&lp->srom, &enet_det[i], 3) && srom 4119 drivers/net/ethernet/dec/tulip/de4x5.c !memcmp((char *)&lp->srom+0x10, &enet_det[i], 3)) { srom 4139 drivers/net/ethernet/dec/tulip/de4x5.c memset((char *)&lp->srom, 0, sizeof(struct de4x5_srom)); srom 4140 drivers/net/ethernet/dec/tulip/de4x5.c memcpy(lp->srom.ieee_addr, (char *)dev->dev_addr, ETH_ALEN); srom 4141 drivers/net/ethernet/dec/tulip/de4x5.c memcpy(lp->srom.info, (char *)&srom_repair_info[SMC-1], 100); srom 4189 drivers/net/ethernet/dec/tulip/de4x5.c if ((*(u_short *)lp->srom.sub_vendor_id == 0x00c0) && srom 4190 drivers/net/ethernet/dec/tulip/de4x5.c (*(u_short *)lp->srom.sub_system_id == 0x95e0)) { srom 4315 drivers/net/ethernet/dec/tulip/de4x5.c count = *((u_char *)&lp->srom + 19); srom 4316 drivers/net/ethernet/dec/tulip/de4x5.c p = (u_char *)&lp->srom + 26; srom 4346 drivers/net/ethernet/dec/tulip/de4x5.c u_char *p = (u_char *)&lp->srom + lp->infoleaf_offset; srom 4425 drivers/net/ethernet/dec/tulip/de4x5.c u_char *p = (u_char *)&lp->srom + lp->infoleaf_offset; srom 4463 drivers/net/ethernet/dec/tulip/de4x5.c u_char *p = (u_char *)&lp->srom + lp->infoleaf_offset; srom 4498 drivers/net/ethernet/dec/tulip/de4x5.c u_char *p = (u_char *)&lp->srom + lp->infoleaf_offset; srom 266 drivers/net/ethernet/dec/tulip/dmfe.c unsigned char srom[128]; srom 481 drivers/net/ethernet/dec/tulip/dmfe.c ((__le16 *) db->srom)[i] = srom 487 drivers/net/ethernet/dec/tulip/dmfe.c dev->dev_addr[i] = db->srom[20 + i]; srom 1910 drivers/net/ethernet/dec/tulip/dmfe.c char * srom = db->srom; srom 1919 drivers/net/ethernet/dec/tulip/dmfe.c if ( ( (int) srom[18] & 0xff) == SROM_V41_CODE) { srom 1922 drivers/net/ethernet/dec/tulip/dmfe.c db->NIC_capability = le16_to_cpup((__le16 *) (srom + 34)); srom 1934 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_mode = (le32_to_cpup((__le32 *) (srom + 34)) & srom 1935 drivers/net/ethernet/dec/tulip/dmfe.c le32_to_cpup((__le32 *) (srom + 36))); srom 1946 drivers/net/ethernet/dec/tulip/dmfe.c if ( (SF_mode & 0x1) || (srom[43] & 0x80) ) srom 1950 drivers/net/ethernet/dec/tulip/dmfe.c if ( (SF_mode & 0x2) || (srom[40] & 0x1) ) srom 1954 drivers/net/ethernet/dec/tulip/dmfe.c if ( (SF_mode & 0x4) || (srom[40] & 0xe) ) srom 181 drivers/net/ethernet/dec/tulip/uli526x.c unsigned char srom[128]; srom 373 drivers/net/ethernet/dec/tulip/uli526x.c ((__le16 *) db->srom)[i] = cpu_to_le16(read_srom_word(db, i)); srom 376 drivers/net/ethernet/dec/tulip/uli526x.c if(((u16 *) db->srom)[0] == 0xffff || ((u16 *) db->srom)[0] == 0) /* SROM absent, so read MAC address from ID Table */ srom 396 drivers/net/ethernet/dec/tulip/uli526x.c dev->dev_addr[i] = db->srom[20 + i];