Home
last modified time | relevance | path

Searched full:chipid (Results 1 – 25 of 151) sorted by relevance

1234567

/Linux-v5.10/Documentation/devicetree/bindings/soc/ti/
Dk3-socinfo.yaml7 title: Texas Instruments K3 Multicore SoC platforms chipid module
14 Texas Instruments (ARM64) K3 Multicore SoC platforms chipid module is
20 pattern: "^chipid@[0-9a-f]+$"
24 - const: ti,am654-chipid
37 chipid@43000014 {
38 compatible = "ti,am654-chipid";
/Linux-v5.10/Documentation/devicetree/bindings/arm/samsung/
Dexynos-chipid.yaml4 $id: http://devicetree.org/schemas/arm/samsung/exynos-chipid.yaml#
7 title: Samsung Exynos SoC series Chipid driver
15 - const: samsung,exynos4210-chipid
24 is missing in the CHIPID registers or in the OTP memory.
36 chipid@10000000 {
37 compatible = "samsung,exynos4210-chipid";
/Linux-v5.10/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.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfirmware.h15 * struct brcmf_firmware_mapping - Used to map chipid/revmask to firmware
19 * @chipid: ID of chip.
25 u32 chipid; member
35 #define BRCMF_FW_ENTRY(chipid, mask, name) \ argument
36 { chipid, mask, BRCM_ ## name ## _FIRMWARE_BASENAME }
/Linux-v5.10/arch/arm/mach-u300/
Dcore.c222 u16 chipid; member
231 .chipid = 0xb800,
235 .chipid = 0xc000,
239 .chipid = 0xc800,
243 .chipid = 0xd800,
247 .chipid = 0xe000,
251 .chipid = 0xe800,
255 .chipid = 0xf000,
259 .chipid = 0xf100,
263 .chipid = 0x0000, /* List terminator */
[all …]
/Linux-v5.10/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.10/drivers/soc/renesas/
Drenesas-soc.c314 void __iomem *chipid = NULL; in renesas_soc_init() local
328 chipid = of_iomap(np, 0); in renesas_soc_init()
331 if (chipid) { in renesas_soc_init()
332 product = readl(chipid); in renesas_soc_init()
333 iounmap(chipid); in renesas_soc_init()
354 chipid = of_iomap(np, 0); in renesas_soc_init()
357 chipid = ioremap(family->reg, 4); in renesas_soc_init()
359 if (chipid) { in renesas_soc_init()
360 product = readl(chipid); in renesas_soc_init()
361 iounmap(chipid); in renesas_soc_init()
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dvas.c57 uint32_t chipid, hwirq; in init_vas_instance() local
67 rc = of_property_read_u32(dn, "ibm,chip-id", &chipid); in init_vas_instance()
106 hwirq = xive_native_alloc_irq_on_chip(chipid); in init_vas_instance()
109 vinst->vas_id, chipid); in init_vas_instance()
197 int chip_to_vas_id(int chipid) in chip_to_vas_id() argument
202 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.10/drivers/soc/tegra/fuse/
Dtegra-apbmisc.c26 static u32 chipid; variable
30 WARN(!chipid, "Tegra APB MISC not yet available\n"); in tegra_read_chipid()
32 return chipid; in tegra_read_chipid()
77 WARN(!chipid, "Tegra ABP MISC not yet available\n"); in tegra_read_straps()
196 chipid = readl_relaxed(apbmisc_base + 4); in tegra_init_apbmisc()
/Linux-v5.10/drivers/gpu/drm/msm/adreno/
Dadreno_device.c345 u32 chipid; in find_chipid() local
365 /* and if that fails, fall back to legacy "qcom,chipid" property: */ in find_chipid()
366 ret = of_property_read_u32(node, "qcom,chipid", &chipid); in find_chipid()
368 DRM_DEV_ERROR(dev, "could not parse qcom,chipid: %d\n", ret); in find_chipid()
372 rev->core = (chipid >> 24) & 0xff; in find_chipid()
373 rev->major = (chipid >> 16) & 0xff; in find_chipid()
374 rev->minor = (chipid >> 8) & 0xff; in find_chipid()
375 rev->patchid = (chipid & 0xff); in find_chipid()
377 dev_warn(dev, "Using legacy qcom,chipid binding!\n"); in find_chipid()
/Linux-v5.10/drivers/mtd/nand/raw/
Ddiskonchip.c64 u_char ChipID; member
85 #define DoC_is_MillenniumPlus(doc) ((doc)->ChipID == DOC_ChipID_DocMilPlus16 || (doc)->ChipID == DO…
86 #define DoC_is_Millennium(doc) ((doc)->ChipID == DOC_ChipID_DocMil)
87 #define DoC_is_2000(doc) ((doc)->ChipID == DOC_ChipID_Doc2k)
373 if (doc->ChipID == DOC_ChipID_Doc2k && try_dword && !nr) { in doc200x_ident_chip()
1237 ReadDOC(doc->virtadr, ChipID); in doc2001_init()
1238 ReadDOC(doc->virtadr, ChipID); in doc2001_init()
1239 ReadDOC(doc->virtadr, ChipID); in doc2001_init()
1240 if (ReadDOC(doc->virtadr, ChipID) != DOC_ChipID_DocMil) { in doc2001_init()
1303 unsigned char ChipID; in doc_probe() local
[all …]
/Linux-v5.10/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.10/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.10/drivers/mfd/
Dtps65218.c296 unsigned int chipid; in tps65218_probe() local
321 ret = regmap_read(tps->regmap, TPS65218_REG_CHIPID, &chipid); in tps65218_probe()
323 dev_err(tps->dev, "Failed to read chipid: %d\n", ret); in tps65218_probe()
327 tps->rev = chipid & TPS65218_CHIPID_REV_MASK; in tps65218_probe()
/Linux-v5.10/drivers/net/wireless/microchip/wilc1000/
Dwlan.c866 u32 chipid; in wilc_wlan_start() local
892 ret = wilc->hif_func->hif_read_reg(wilc, WILC_CHIPID, &chipid); in wilc_wlan_start()
1122 u32 chipid; in init_chip() local
1130 chipid = wilc_get_chipid(wilc, true); in init_chip()
1132 if ((chipid & 0xfff) != 0xa0) { in init_chip()
1165 static u32 chipid; in wilc_get_chipid() local
1169 if (chipid == 0 || update) { in wilc_get_chipid()
1174 chipid = 0; in wilc_get_chipid()
1175 return chipid; in wilc_get_chipid()
1187 chipid = tempchipid; in wilc_get_chipid()
[all …]
/Linux-v5.10/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.10/arch/arm/boot/dts/
Dexynos5.dtsi38 chipid: chipid@10000000 { label
39 compatible = "samsung,exynos4210-chipid";
/Linux-v5.10/include/linux/platform_data/
Dbrcmfmac.h136 * or PCIE this is the chipid as identified by chip.c In
137 * case of USB this is the chipid as identified by the
140 * @bus_type: The type of bus. Some chipid/rev exist for different bus
/Linux-v5.10/arch/arm/mach-mxs/
Dmach-mxs.c54 static u32 chipid; variable
289 chipid = readl(digctl_base + HW_DIGCTL_CHIPID); in mxs_get_soc_id()
290 socid = chipid & HW_DIGCTL_CHIPID_MASK; in mxs_get_soc_id()
307 u32 rev = chipid & HW_DIGCTL_REV_MASK; in mxs_get_cpu_rev()
/Linux-v5.10/arch/arm64/boot/dts/ti/
Dk3-am65-wakeup.dtsi37 chipid@43000014 {
38 compatible = "ti,am654-chipid";
/Linux-v5.10/drivers/soc/samsung/
Dexynos-chipid.c16 #include <linux/soc/samsung/exynos-chipid.h>
60 "samsung,exynos4210-chipid"); in exynos_chipid_early_init()
/Linux-v5.10/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.10/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()

1234567