| /linux/drivers/soc/aspeed/ |
| H A D | aspeed-socinfo.c | 89 u32 chipid[2]; in aspeed_socinfo_init() local 110 chipid[0] = readl(reg); in aspeed_socinfo_init() 111 chipid[1] = readl(reg + 4); in aspeed_socinfo_init() 140 chipid[1], chipid[0]); in aspeed_socinfo_init()
|
| /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 209 if (!of_property_read_u32(node, "ibm,chip-id", &chipid)) in opal_sensor_groups_init() 210 sprintf(sgs[i].name, "%pOFn%d", node, chipid); in opal_sensor_groups_init()
|
| /linux/drivers/soc/tegra/fuse/ |
| H A D | tegra-apbmisc.c | 33 static u32 chipid; variable 37 WARN(!chipid, "Tegra APB MISC not yet available\n"); in tegra_read_chipid() 39 return chipid; in tegra_read_chipid() 86 WARN(!chipid, "Tegra ABP MISC not yet available\n"); in tegra_read_straps() 174 chipid = readl_relaxed(apbmisc_base + 4); in tegra_init_apbmisc_resources()
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | wlan.c | 632 if (is_wilc1000(wilc->chipid)) in chip_allow_sleep() 762 if (is_wilc1000(wilc->chipid)) in chip_wakeup() 800 wilc->hif_func->hif_write_reg(wilc, is_wilc1000(wilc->chipid) ? in host_wakeup_notify() 814 wilc->hif_func->hif_write_reg(wilc, is_wilc1000(wilc->chipid) ? in host_sleep_notify() 951 if (is_wilc1000(wilc->chipid)) { in wilc_wlan_handle_txq() 1324 u32 chipid; in wilc_wlan_start() local 1344 if (is_wilc3000(wilc->chipid)) in wilc_wlan_start() 1353 ret = wilc->hif_func->hif_read_reg(wilc, WILC_CHIPID, &chipid); in wilc_wlan_start() 1593 u32 chipid = 0; in wilc_get_chipid() local 1596 if (wilc->chipid == 0) { in wilc_get_chipid() [all …]
|
| /linux/drivers/soc/renesas/ |
| H A D | renesas-soc.c | 464 void __iomem *chipid = NULL; in renesas_soc_init() local 482 chipid = of_iomap(np, 0); in renesas_soc_init() 487 chipid = ioremap(family->reg, 4); in renesas_soc_init() 492 if (chipid) in renesas_soc_init() 493 iounmap(chipid); in renesas_soc_init() 500 if (chipid) { in renesas_soc_init() 501 product = readl(chipid + id->offset); in renesas_soc_init() 502 iounmap(chipid); in renesas_soc_init()
|
| /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 }
|
| /linux/drivers/usb/typec/mux/ |
| H A D | it5205.c | 178 u32 val, chipid = 0; in it5205_probe() local 210 chipid |= val << (i * 8); in it5205_probe() 213 if (chipid != IT5205FN_CHIP_ID) in it5205_probe() 215 "Unknown ChipID 0x%x\n", chipid); in it5205_probe()
|
| /linux/Documentation/devicetree/bindings/arm/ |
| H A D | atmel-sysregs.txt | 4 - compatible: Should be "atmel,sama5d2-chipid" or "microchip,sama7g5-chipid" 5 "microchip,sama7d65-chipid"
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | lontium-lt9211.c | 113 u8 chipid[3]; in lt9211_read_chipid() local 117 ret = regmap_bulk_read(ctx->regmap, REG_CHIPID0, chipid, 3); in lt9211_read_chipid() 124 if (chipid[0] != REG_CHIPID0_VALUE || chipid[1] != REG_CHIPID1_VALUE) { in lt9211_read_chipid() 126 chipid[0], chipid[1], chipid[2]); in lt9211_read_chipid()
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am65-wakeup.dtsi | 46 chipid: chipid@14 { label 47 compatible = "ti,am654-chipid";
|
| H A D | k3-am62l-wakeup.dtsi | 124 chipid: chipid@14 { label 125 compatible = "ti,am654-chipid";
|
| /linux/include/trace/events/ |
| H A D | pwm.h | 19 __field(unsigned int, chipid) \ 25 __entry->chipid = pwm->chip->id; \ 30 TP_printk("pwmchip%u.%u: " fmt, __entry->chipid, __entry->hwpwm, args)
|
| /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()
|
| /linux/drivers/gpu/drm/msm/adreno/ |
| H A D | adreno_device.c | 142 static int find_chipid(struct device_node *node, uint32_t *chipid) in find_chipid() argument 162 *chipid = (core << 24) | in find_chipid() 170 if (sscanf(compat, "qcom,adreno-%08x", chipid) == 1) in find_chipid() 175 ret = of_property_read_u32(node, "qcom,chipid", chipid); in find_chipid()
|
| /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()
|
| /linux/drivers/net/ethernet/apple/ |
| 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() 351 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_reset() 362 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_reset() 380 if (mp->chipid == BROKEN_ADDRCHG_REV) in __mace_set_address() 392 if (mp->chipid != BROKEN_ADDRCHG_REV) in __mace_set_address() 622 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_set_multicast() 631 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_set_multicast()
|
| /linux/drivers/leds/ |
| H A D | leds-aw2013.c | 336 unsigned int chipid; in aw2013_probe() local 379 ret = regmap_read(chip->regmap, AW2013_RSTR, &chipid); in aw2013_probe() 386 if (chipid != AW2013_RSTR_CHIP_ID) { in aw2013_probe() 388 chipid); in aw2013_probe()
|
| /linux/drivers/regulator/ |
| H A D | lp872x.c | 103 enum lp872x_id chipid; member 183 enum lp872x_id chip = lp->chipid; in lp872x_get_timestep_usec() 701 return lp872x_update_bits(lp, LP872X_GENERAL_CFG, mask[lp->chipid], in lp872x_init_dvs() 702 default_dvs_mode[lp->chipid]); in lp872x_init_dvs() 721 if (lp->chipid == LP8720) in lp872x_hw_enable() 770 desc = (lp->chipid == LP8720) ? &lp8720_regulator_desc[i] : in lp872x_regulator_register() 916 lp->chipid = id->driver_data; in lp872x_probe()
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos5.dtsi | 38 chipid: chipid@10000000 { label 39 compatible = "samsung,exynos4210-chipid";
|
| /linux/drivers/leds/flash/ |
| H A D | leds-sy7802.c | 378 u32 chipid; in sy7802_chip_check() local 381 ret = regmap_read(chip->regmap, SY7802_REG_DEV_ID, &chipid); in sy7802_chip_check() 385 if (chipid != SY7802_CHIP_ID) in sy7802_chip_check() 386 return dev_err_probe(dev, -ENODEV, "Unsupported chip detected: %x\n", chipid); in sy7802_chip_check()
|
| /linux/drivers/usb/isp1760/ |
| H A D | isp1760-udc.c | 1501 u32 chipid; in isp1760_udc_init() local 1510 chipid = isp1760_udc_read(udc, DC_CHIP_ID_HIGH) << 16; in isp1760_udc_init() 1511 chipid |= isp1760_udc_read(udc, DC_CHIP_ID_LOW); in isp1760_udc_init() 1517 scratch, chipid); in isp1760_udc_init() 1521 if (chipid != 0x00011582 && chipid != 0x00158210 && in isp1760_udc_init() 1522 chipid != 0x00176320) { in isp1760_udc_init() 1523 dev_err(udc->isp->dev, "udc: invalid chip ID 0x%08x\n", chipid); in isp1760_udc_init()
|
| /linux/drivers/soc/samsung/ |
| H A D | Makefile | 5 exynos_chipid-y += exynos-chipid.o exynos-asv.o
|
| /linux/drivers/net/dsa/ |
| H A D | vitesse-vsc73xx.h | 55 u16 chipid; member
|
| /linux/arch/arm64/boot/dts/exynos/ |
| H A D | exynos990.dtsi | 178 chipid@10000000 { 179 compatible = "samsung,exynos990-chipid", 180 "samsung,exynos850-chipid";
|