Home
last modified time | relevance | path

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

1234

/Linux-v5.15/arch/mips/txx9/generic/
Dspi_eeprom.c23 int __init spi_eeprom_register(int busid, int chipid, int size) in spi_eeprom_register() argument
29 .chip_select = chipid, in spi_eeprom_register()
48 int chipid; member
65 read_param->chipid != spi->chip_select) in early_seeprom_probe()
87 int __init spi_eeprom_read(int busid, int chipid, int address, in spi_eeprom_read() argument
93 .chipid = chipid, in spi_eeprom_read()
/Linux-v5.15/drivers/soc/renesas/
Drenesas-soc.c330 void __iomem *chipid = NULL; in renesas_soc_init() local
344 chipid = of_iomap(np, 0); in renesas_soc_init()
347 if (chipid) { in renesas_soc_init()
348 product = readl(chipid); in renesas_soc_init()
349 iounmap(chipid); in renesas_soc_init()
369 chipid = of_iomap(np, 0); in renesas_soc_init()
372 if (chipid) { in renesas_soc_init()
373 product = readl(chipid + 0x0a04); in renesas_soc_init()
374 iounmap(chipid); in renesas_soc_init()
389 chipid = of_iomap(np, 0); in renesas_soc_init()
[all …]
/Linux-v5.15/arch/mips/include/asm/txx9/
Dspi.h19 int spi_eeprom_register(int busid, int chipid, int size);
20 int spi_eeprom_read(int busid, int chipid,
23 static inline int spi_eeprom_register(int busid, int chipid, int size) in spi_eeprom_register() argument
27 static inline int spi_eeprom_read(int busid, int chipid, in spi_eeprom_read() argument
/Linux-v5.15/drivers/soc/aspeed/
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()
/Linux-v5.15/drivers/soc/tegra/fuse/
Dtegra-apbmisc.c27 static u32 chipid; variable
31 WARN(!chipid, "Tegra APB MISC not yet available\n"); in tegra_read_chipid()
33 return chipid; in tegra_read_chipid()
78 WARN(!chipid, "Tegra ABP MISC not yet available\n"); in tegra_read_straps()
198 chipid = readl_relaxed(apbmisc_base + 4); in tegra_init_apbmisc()
/Linux-v5.15/arch/powerpc/platforms/powernv/
Dvas.c55 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()
Dopal-sensor-groups.c183 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()
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfirmware.h25 u32 chipid; member
42 #define BRCMF_FW_ENTRY(chipid, mask, name) \ argument
43 { chipid, mask, BRCM_ ## name ## _FIRMWARE_BASENAME }
/Linux-v5.15/drivers/net/ethernet/apple/
Dmacmace.c65 int chipid; member
218 mp->chipid = mp->mace->chipid_hi << 8 | mp->mace->chipid_lo; in mace_probe()
247 dev->dev_addr, mp->chipid); in mace_probe()
297 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_reset()
308 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_reset()
326 if (mp->chipid == BROKEN_ADDRCHG_REV) in __mace_set_address()
335 if (mp->chipid != BROKEN_ADDRCHG_REV) in __mace_set_address()
513 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_set_multicast()
522 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_set_multicast()
Dmace.c66 int chipid; member
172 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | in mace_probe()
250 mp->chipid >> 8, mp->chipid & 0xff); in mace_probe()
352 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_reset()
363 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_reset()
380 if (mp->chipid == BROKEN_ADDRCHG_REV) in __mace_set_address()
389 if (mp->chipid != BROKEN_ADDRCHG_REV) in __mace_set_address()
619 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_set_multicast()
628 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_set_multicast()
/Linux-v5.15/drivers/gpu/drm/msm/adreno/
Dadreno_device.c442 u32 chipid; in find_chipid() local
463 ret = of_property_read_u32(node, "qcom,chipid", &chipid); in find_chipid()
469 rev->core = (chipid >> 24) & 0xff; in find_chipid()
470 rev->major = (chipid >> 16) & 0xff; in find_chipid()
471 rev->minor = (chipid >> 8) & 0xff; in find_chipid()
472 rev->patchid = (chipid & 0xff); in find_chipid()
/Linux-v5.15/drivers/iio/light/
Dstk3310.c446 int chipid; in stk3310_init() local
451 ret = regmap_read(data->regmap, STK3310_REG_ID, &chipid); in stk3310_init()
455 if (chipid != STK3310_CHIP_ID_VAL && in stk3310_init()
456 chipid != STK3311_CHIP_ID_VAL && in stk3310_init()
457 chipid != STK3311X_CHIP_ID_VAL && in stk3310_init()
458 chipid != STK3335_CHIP_ID_VAL) { in stk3310_init()
459 dev_err(&client->dev, "invalid chip id: 0x%x\n", chipid); in stk3310_init()
/Linux-v5.15/arch/arm/mach-mxs/
Dmach-mxs.c58 static u32 chipid; variable
293 chipid = readl(digctl_base + HW_DIGCTL_CHIPID); in mxs_get_soc_id()
294 socid = chipid & HW_DIGCTL_CHIPID_MASK; in mxs_get_soc_id()
311 u32 rev = chipid & HW_DIGCTL_REV_MASK; in mxs_get_cpu_rev()
/Linux-v5.15/drivers/net/wireless/quantenna/qtnfmac/pcie/
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()
/Linux-v5.15/drivers/leds/
Dleds-aw2013.c331 unsigned int chipid; in aw2013_probe() local
367 ret = regmap_read(chip->regmap, AW2013_RSTR, &chipid); in aw2013_probe()
374 if (chipid != AW2013_RSTR_CHIP_ID) { in aw2013_probe()
376 chipid); in aw2013_probe()
/Linux-v5.15/drivers/mfd/
Dtps65218.c296 unsigned int chipid; in tps65218_probe() local
321 ret = regmap_read(tps->regmap, TPS65218_REG_CHIPID, &chipid); in tps65218_probe()
327 tps->rev = chipid & TPS65218_CHIPID_REV_MASK; in tps65218_probe()
/Linux-v5.15/arch/arm64/boot/dts/ti/
Dk3-am65-wakeup.dtsi37 chipid@43000014 {
38 compatible = "ti,am654-chipid";
/Linux-v5.15/drivers/regulator/
Dlp872x.c104 enum lp872x_id chipid; member
184 enum lp872x_id chip = lp->chipid; in lp872x_get_timestep_usec()
703 return lp872x_update_bits(lp, LP872X_GENERAL_CFG, mask[lp->chipid], in lp872x_init_dvs()
704 default_dvs_mode[lp->chipid]); in lp872x_init_dvs()
726 if (lp->chipid == LP8720) in lp872x_hw_enable()
775 desc = (lp->chipid == LP8720) ? &lp8720_regulator_desc[i] : in lp872x_regulator_register()
924 lp->chipid = id->driver_data; in lp872x_probe()
/Linux-v5.15/arch/arm/boot/dts/
Dexynos5.dtsi38 chipid: chipid@10000000 { label
39 compatible = "samsung,exynos4210-chipid";
/Linux-v5.15/drivers/gpu/drm/bridge/analogix/
Danalogix-anx6345.c63 u16 chipid; member
675 anx6345->chipid = (u8)idl | ((u8)idh << 8); in anx6345_get_chip_id()
682 if (anx6345->chipid == anx6345_chipid_list[i]) { in anx6345_get_chip_id()
684 anx6345->chipid, version); in anx6345_get_chip_id()
690 anx6345->chipid, version); in anx6345_get_chip_id()
/Linux-v5.15/drivers/net/wireless/microchip/wilc1000/
Dwlan.c1120 u32 chipid; in wilc_wlan_start() local
1143 ret = wilc->hif_func->hif_read_reg(wilc, WILC_CHIPID, &chipid); in wilc_wlan_start()
1373 u32 chipid; in init_chip() local
1381 chipid = wilc_get_chipid(wilc, true); in init_chip()
1383 if ((chipid & 0xfff) != 0xa0) { in init_chip()
1416 static u32 chipid; in wilc_get_chipid() local
1420 if (chipid == 0 || update) { in wilc_get_chipid()
1425 chipid = 0; in wilc_get_chipid()
1426 return chipid; in wilc_get_chipid()
1438 chipid = tempchipid; in wilc_get_chipid()
[all …]
/Linux-v5.15/drivers/soc/samsung/
DMakefile5 obj-$(CONFIG_EXYNOS_CHIPID) += exynos-chipid.o exynos-asv.o
/Linux-v5.15/drivers/net/dsa/
Dvitesse-vsc73xx.h14 u16 chipid; member
Dvitesse-vsc73xx-core.c266 #define IS_7385(a) ((a)->chipid == VSC73XX_CHIPID_ID_7385)
267 #define IS_7388(a) ((a)->chipid == VSC73XX_CHIPID_ID_7388)
268 #define IS_7395(a) ((a)->chipid == VSC73XX_CHIPID_ID_7395)
269 #define IS_7398(a) ((a)->chipid == VSC73XX_CHIPID_ID_7398)
444 vsc->chipid = id; in vsc73xx_detect()
1121 vsc->chipid); in vsc73xx_gpio_probe()
/Linux-v5.15/drivers/usb/isp1760/
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()

1234