Home
last modified time | relevance | path

Searched refs:chipid (Results 1 – 25 of 58) sorted by relevance

123

/drivers/soc/aspeed/
A Daspeed-socinfo.c85 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()
/drivers/soc/tegra/fuse/
A Dtegra-apbmisc.c33 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()
/drivers/net/wireless/microchip/wilc1000/
A Dwlan.c632 if (is_wilc1000(wilc->chipid)) in chip_allow_sleep()
762 if (is_wilc1000(wilc->chipid)) in chip_wakeup()
1324 u32 chipid; in wilc_wlan_start() local
1344 if (is_wilc3000(wilc->chipid)) in wilc_wlan_start()
1593 u32 chipid = 0; in wilc_get_chipid() local
1596 if (wilc->chipid == 0) { in wilc_get_chipid()
1598 if (!is_wilc3000(chipid)) { in wilc_get_chipid()
1603 if (!is_wilc1000(chipid)) { in wilc_get_chipid()
1604 wilc->chipid = 0; in wilc_get_chipid()
1618 wilc->chipid = chipid; in wilc_get_chipid()
[all …]
/drivers/soc/renesas/
A Drenesas-soc.c451 void __iomem *chipid = NULL; in renesas_soc_init() local
469 chipid = of_iomap(np, 0); in renesas_soc_init()
474 chipid = ioremap(family->reg, 4); in renesas_soc_init()
479 if (chipid) in renesas_soc_init()
480 iounmap(chipid); in renesas_soc_init()
487 if (chipid) { in renesas_soc_init()
488 product = readl(chipid + id->offset); in renesas_soc_init()
489 iounmap(chipid); in renesas_soc_init()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dfirmware.h27 u32 chipid; member
44 #define BRCMF_FW_ENTRY(chipid, mask, name) \ argument
45 { chipid, mask, BRCM_ ## name ## _FIRMWARE_BASENAME }
A Dusb.c801 u32 chipid, chiprev; in brcmf_usb_dlneeded() local
812 chipid = le32_to_cpu(id.chip); in brcmf_usb_dlneeded()
815 if ((chipid & 0x4300) == 0x4300) in brcmf_usb_dlneeded()
816 brcmf_dbg(USB, "chip %x rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded()
818 brcmf_dbg(USB, "chip %d rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded()
819 if (chipid == BRCMF_POSTBOOT_ID) { in brcmf_usb_dlneeded()
824 devinfo->bus_pub.devid = chipid; in brcmf_usb_dlneeded()
/drivers/net/ethernet/apple/
A Dmacmace.c65 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()
A Dmace.c65 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()
/drivers/gpu/drm/bridge/
A Dlontium-lt9211.c113 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()
125 chipid[2] != REG_CHIPID2_VALUE) { in lt9211_read_chipid()
127 chipid[0], chipid[1], chipid[2]); in lt9211_read_chipid()
/drivers/usb/typec/mux/
A Dit5205.c178 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()
/drivers/net/wireless/quantenna/qtnfmac/pcie/
A Dpcie.c281 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()
/drivers/gpu/drm/msm/adreno/
A Dadreno_device.c136 static int find_chipid(struct device_node *node, uint32_t *chipid) in find_chipid() argument
156 *chipid = (core << 24) | in find_chipid()
164 if (sscanf(compat, "qcom,adreno-%08x", chipid) == 1) in find_chipid()
169 ret = of_property_read_u32(node, "qcom,chipid", chipid); in find_chipid()
/drivers/mfd/
A Dtps65218.c286 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()
/drivers/leds/
A Dleds-aw2013.c336 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()
A Dleds-aw200xx.c352 u32 chipid; in aw200xx_chip_check() local
355 ret = regmap_read(chip->regmap, AW200XX_REG_IDR, &chipid); in aw200xx_chip_check()
359 if (chipid != AW200XX_IDR_CHIPID) in aw200xx_chip_check()
361 "Chip reported wrong ID: %x\n", chipid); in aw200xx_chip_check()
/drivers/net/wireless/mediatek/mt76/mt7921/
A Dpci.c279 u16 cmd, chipid; in mt7921_pci_probe() local
358 chipid = mt7921_l1_rr(dev, MT_HW_CHIPID); in mt7921_pci_probe()
359 if (chipid == 0x7961 && (mt7921_l1_rr(dev, MT_HW_BOUND) & BIT(7))) in mt7921_pci_probe()
360 chipid = 0x7920; in mt7921_pci_probe()
361 mdev->rev = (chipid << 16) | in mt7921_pci_probe()
/drivers/regulator/
A Dlp872x.c103 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()
/drivers/gpu/drm/bridge/analogix/
A Danalogix-anx6345.c62 u16 chipid; member
641 anx6345->chipid = (u8)idl | ((u8)idh << 8); in anx6345_get_chip_id()
648 if (anx6345->chipid == anx6345_chipid_list[i]) { in anx6345_get_chip_id()
650 anx6345->chipid, version); in anx6345_get_chip_id()
656 anx6345->chipid, version); in anx6345_get_chip_id()
/drivers/leds/flash/
A Dleds-sy7802.c378 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()
/drivers/bluetooth/
A Dbtmtksdio.c43 u16 chipid; member
49 .chipid = 0x7663,
55 .chipid = 0x7668,
61 .chipid = 0x7921,
579 bdev->data->chipid == 0x7921) { in btmtksdio_txrx_work()
1093 switch (bdev->data->chipid) { in btmtksdio_setup()
1263 if (!bdev->reset || bdev->data->chipid != 0x7921) in btmtksdio_reset()
1317 if (may_wakeup && bdev->data->chipid == 0x7921) { in btmtksdio_sdio_wakeup()
/drivers/usb/isp1760/
A Disp1760-udc.c1501 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()
/drivers/iio/light/
A Dstk3310.c485 int chipid; in stk3310_init() local
490 ret = regmap_read(data->regmap, STK3310_REG_ID, &chipid); in stk3310_init()
494 ret = stk3310_check_chip_id(chipid); in stk3310_init()
496 dev_info(&client->dev, "new unknown chip id: 0x%x\n", chipid); in stk3310_init()
/drivers/soc/samsung/
A DMakefile5 exynos_chipid-y += exynos-chipid.o exynos-asv.o
/drivers/media/radio/
A Dradio-tea5764.c109 u16 chipid; /* CHIPID1 & CHIPID2 */ member
451 PDEBUG("chipid = %04X, manid = %04X", r->chipid, r->manid); in tea5764_i2c_probe()
452 if (r->chipid != TEA5764_CHIPID || in tea5764_i2c_probe()
/drivers/net/dsa/
A Dvitesse-vsc73xx.h55 u16 chipid; member

Completed in 120 milliseconds

123