/openbmc/linux/drivers/soc/aspeed/ |
H A D | aspeed-socinfo.c | 85 u32 chipid[2]; in aspeed_socinfo_init() local 106 chipid[0] = readl(reg); in aspeed_socinfo_init() 107 chipid[1] = readl(reg + 4); in aspeed_socinfo_init() 136 chipid[1], chipid[0]); in aspeed_socinfo_init()
|
/openbmc/linux/drivers/soc/tegra/fuse/ |
H A D | tegra-apbmisc.c | 31 static u32 chipid; variable 35 WARN(!chipid, "Tegra APB MISC not yet available\n"); in tegra_read_chipid() 37 return chipid; in tegra_read_chipid() 83 WARN(!chipid, "Tegra ABP MISC not yet available\n"); in tegra_read_straps() 226 chipid = readl_relaxed(apbmisc_base + 4); in tegra_init_apbmisc()
|
/openbmc/u-boot/arch/arm/mach-mediatek/mt7629/ |
H A D | init.c | 118 void __iomem *chipid; in print_cpuinfo() local 121 chipid = ioremap(VER_BASE, VER_SIZE); in print_cpuinfo() 122 hwcode = readl(chipid + APHW_CODE); in print_cpuinfo() 123 swver = readl(chipid + APSW_VER); in print_cpuinfo()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | vas.c | 55 uint32_t chipid, hwirq; in init_vas_instance() local 65 rc = of_property_read_u32(dn, "ibm,chip-id", &chipid); in init_vas_instance() 110 hwirq = xive_native_alloc_irq_on_chip(chipid); in init_vas_instance() 113 vinst->vas_id, chipid); in init_vas_instance() 202 int chip_to_vas_id(int chipid) in chip_to_vas_id() argument 207 if (cpu_to_chip_id(cpu) == chipid) in chip_to_vas_id()
|
H A D | opal-sensor-groups.c | 183 u32 sgid, len, nr_attrs, chipid; in opal_sensor_groups_init() local 212 if (!of_property_read_u32(node, "ibm,chip-id", &chipid)) in opal_sensor_groups_init() 213 sprintf(sgs[i].name, "%pOFn%d", node, chipid); in opal_sensor_groups_init()
|
/openbmc/u-boot/board/mscc/luton/ |
H A D | luton.c | 41 u32 chipid = (readl(BASE_DEVCPU_GCB + CHIP_ID) >> 12) & 0xFFFF; in do_board_detect() local 43 if (chipid == 0x7428 || chipid == 0x7424) in do_board_detect()
|
/openbmc/u-boot/arch/arm/mach-mediatek/mt7623/ |
H A D | init.c | 45 void __iomem *chipid; in print_cpuinfo() local 48 chipid = ioremap(VER_BASE, VER_SIZE); in print_cpuinfo() 49 swver = readl(chipid + APSW_VER); in print_cpuinfo()
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am62p-wakeup.dtsi | 16 chipid: chipid@14 { label 18 compatible = "ti,am654-chipid";
|
H A D | k3-am62-wakeup.dtsi | 16 chipid: chipid@14 { label 17 compatible = "ti,am654-chipid";
|
H A D | k3-am62a-wakeup.dtsi | 16 chipid: chipid@14 { label 17 compatible = "ti,am654-chipid";
|
H A D | k3-am65-wakeup.dtsi | 37 chipid@43000014 { 38 compatible = "ti,am654-chipid";
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | firmware.h | 27 u32 chipid; member 44 #define BRCMF_FW_ENTRY(chipid, mask, name) \ argument 45 { chipid, mask, BRCM_ ## name ## _FIRMWARE_BASENAME }
|
/openbmc/linux/drivers/soc/renesas/ |
H A D | renesas-soc.c | 445 void __iomem *chipid = NULL; in renesas_soc_init() local 463 chipid = of_iomap(np, 0); in renesas_soc_init() 468 chipid = ioremap(family->reg, 4); in renesas_soc_init() 473 if (chipid) in renesas_soc_init() 474 iounmap(chipid); in renesas_soc_init() 485 if (chipid) { in renesas_soc_init() 486 product = readl(chipid + id->offset); in renesas_soc_init() 487 iounmap(chipid); in renesas_soc_init()
|
/openbmc/linux/drivers/net/ethernet/apple/ |
H A D | macmace.c | 65 int chipid; member 219 mp->chipid = mp->mace->chipid_hi << 8 | mp->mace->chipid_lo; in mace_probe() 249 dev->dev_addr, mp->chipid); in mace_probe() 299 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_reset() 310 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_reset() 329 if (mp->chipid == BROKEN_ADDRCHG_REV) in __mace_set_address() 339 if (mp->chipid != BROKEN_ADDRCHG_REV) in __mace_set_address() 517 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_set_multicast() 526 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_set_multicast()
|
H A D | mace.c | 65 int chipid; member 173 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | in mace_probe() 251 mp->chipid >> 8, mp->chipid & 0xff); in mace_probe() 353 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_reset() 364 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_reset() 382 if (mp->chipid == BROKEN_ADDRCHG_REV) in __mace_set_address() 394 if (mp->chipid != BROKEN_ADDRCHG_REV) in __mace_set_address() 624 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_set_multicast() 633 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_set_multicast()
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | lontium-lt9211.c | 112 u8 chipid[3]; in lt9211_read_chipid() local 116 ret = regmap_bulk_read(ctx->regmap, REG_CHIPID0, chipid, 3); in lt9211_read_chipid() 123 if (chipid[0] != REG_CHIPID0_VALUE || chipid[1] != REG_CHIPID1_VALUE || in lt9211_read_chipid() 124 chipid[2] != REG_CHIPID2_VALUE) { in lt9211_read_chipid() 126 chipid[0], chipid[1], chipid[2]); in lt9211_read_chipid()
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan.c | 1151 u32 chipid; in wilc_wlan_start() local 1174 ret = wilc->hif_func->hif_read_reg(wilc, WILC_CHIPID, &chipid); in wilc_wlan_start() 1407 u32 chipid; in init_chip() local 1415 chipid = wilc_get_chipid(wilc, true); in init_chip() 1417 if ((chipid & 0xfff) != 0xa0) { in init_chip() 1450 u32 chipid = 0; in wilc_get_chipid() local 1453 if (wilc->chipid == 0 || update) { in wilc_get_chipid() 1454 wilc->hif_func->hif_read_reg(wilc, WILC_CHIPID, &chipid); in wilc_get_chipid() 1457 if (!is_wilc1000(chipid)) { in wilc_get_chipid() 1458 wilc->chipid = 0; in wilc_get_chipid() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | vsc7385.c | 46 u32 *chipid = (u32 *) (CONFIG_SYS_VSC7385_BASE + 0x1c060); in vsc7385_upload_firmware() local 93 printf("VSC7385: Chip ID is %08x\n", in_be32(chipid)); in vsc7385_upload_firmware()
|
/openbmc/u-boot/drivers/video/bridge/ |
H A D | anx6345.c | 270 u8 chipid, colordepth, lanes, data_rate, c; in anx6345_enable() local 288 ret = anx6345_read_r1(dev, ANX9804_DEV_IDH_REG, &chipid); in anx6345_enable() 292 switch (chipid) { in anx6345_enable() 297 debug("Error anx6345 chipid mismatch: %.2x\n", (int)chipid); in anx6345_enable() 374 if ((chipid == 0x63) && (c & 0x80) == 0) in anx6345_enable()
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | lan78xx.c | 211 if ((priv->chipid == ID_REV_CHIP_ID_7800) || in lan78xx_read_mac() 212 (priv->chipid == ID_REV_CHIP_ID_7850)) { in lan78xx_read_mac() 233 if ((priv->chipid == ID_REV_CHIP_ID_7800) || in lan78xx_read_mac() 234 (priv->chipid == ID_REV_CHIP_ID_7850)) { in lan78xx_read_mac() 293 priv->chipid = (val & ID_REV_CHIP_ID_MASK) >> 16; in lan78xx_basic_reset()
|
/openbmc/linux/arch/arm/mach-mxs/ |
H A D | mach-mxs.c | 56 static u32 chipid; variable 291 chipid = readl(digctl_base + HW_DIGCTL_CHIPID); in mxs_get_soc_id() 292 socid = chipid & HW_DIGCTL_CHIPID_MASK; in mxs_get_soc_id() 309 u32 rev = chipid & HW_DIGCTL_REV_MASK; in mxs_get_cpu_rev()
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
H A D | pcie.c | 281 unsigned int chipid; in qtnf_pcie_probe() local 317 chipid = qtnf_chip_id_get(sysctl_bar); in qtnf_pcie_probe() 319 pr_info("identified device: %s\n", qtnf_chipid_to_string(chipid)); in qtnf_pcie_probe() 321 switch (chipid) { in qtnf_pcie_probe() 331 pr_err("unsupported chip ID 0x%x\n", chipid); in qtnf_pcie_probe()
|
/openbmc/linux/drivers/iio/light/ |
H A D | stk3310.c | 467 int chipid; in stk3310_init() local 472 ret = regmap_read(data->regmap, STK3310_REG_ID, &chipid); in stk3310_init() 476 if (chipid != STK3310_CHIP_ID_VAL && in stk3310_init() 477 chipid != STK3311_CHIP_ID_VAL && in stk3310_init() 478 chipid != STK3311X_CHIP_ID_VAL && in stk3310_init() 479 chipid != STK3335_CHIP_ID_VAL) { in stk3310_init() 480 dev_err(&client->dev, "invalid chip id: 0x%x\n", chipid); in stk3310_init()
|
/openbmc/linux/drivers/mfd/ |
H A D | tps65218.c | 286 unsigned int chipid; in tps65218_probe() local 311 ret = regmap_read(tps->regmap, TPS65218_REG_CHIPID, &chipid); in tps65218_probe() 317 tps->rev = chipid & TPS65218_CHIPID_REV_MASK; in tps65218_probe()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-aw2013.c | 333 unsigned int chipid; in aw2013_probe() local 373 ret = regmap_read(chip->regmap, AW2013_RSTR, &chipid); in aw2013_probe() 380 if (chipid != AW2013_RSTR_CHIP_ID) { in aw2013_probe() 382 chipid); in aw2013_probe()
|