Home
last modified time | relevance | path

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

/linux-4.4.14/arch/arm/mach-u300/
Dcore.c223 u16 chipid; member
232 .chipid = 0xb800,
236 .chipid = 0xc000,
240 .chipid = 0xc800,
244 .chipid = 0xd800,
248 .chipid = 0xe000,
252 .chipid = 0xe800,
256 .chipid = 0xf000,
260 .chipid = 0xf100,
264 .chipid = 0x0000, /* List terminator */
[all …]
/linux-4.4.14/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-4.4.14/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-4.4.14/Documentation/devicetree/bindings/arm/samsung/
Dexynos-chipid.txt4 - compatible : Should at least contain "samsung,exynos4210-chipid".
9 chipid@10000000 {
10 compatible = "samsung,exynos4210-chipid";
/linux-4.4.14/Documentation/devicetree/bindings/display/msm/
Dgpu.txt13 - qcom,chipid: gpu chip-id. Note this may become optional for future
14 devices if we can reliably read the chipid from hw
41 qcom,chipid = <0x03020100>;
/linux-4.4.14/drivers/net/ethernet/apple/
Dmacmace.c69 int chipid; member
223 mp->chipid = mp->mace->chipid_hi << 8 | mp->mace->chipid_lo; in mace_probe()
302 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_reset()
313 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_reset()
331 if (mp->chipid == BROKEN_ADDRCHG_REV) in __mace_set_address()
340 if (mp->chipid != BROKEN_ADDRCHG_REV) in __mace_set_address()
518 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_set_multicast()
527 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_set_multicast()
Dmace.c65 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()
621 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_set_multicast()
630 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_set_multicast()
/linux-4.4.14/arch/arm/mach-mxs/
Dmach-mxs.c60 static u32 chipid; variable
369 chipid = readl(digctl_base + HW_DIGCTL_CHIPID); in mxs_get_soc_id()
370 socid = chipid & HW_DIGCTL_CHIPID_MASK; in mxs_get_soc_id()
387 u32 rev = chipid & HW_DIGCTL_REV_MASK; in mxs_get_cpu_rev()
/linux-4.4.14/sound/soc/codecs/
Dsti-sas.c92 const int chipid; /* IC version */ member
158 switch (data->dev_data->chipid) { in sti_sas_init_sas_registers()
451 .chipid = CHIPID_STIH416,
461 .chipid = CHIPID_STIH407,
588 if (drvdata->dev_data->chipid == CHIPID_STIH416) in sti_sas_driver_probe()
/linux-4.4.14/arch/arm/boot/dts/
Dexynos5.dtsi28 chipid@10000000 {
29 compatible = "samsung,exynos4210-chipid";
Dexynos5260.dtsi174 chipid: chipid@10000000 { label
175 compatible = "samsung,exynos4210-chipid";
Dexynos5410.dtsi95 chipid@10000000 {
96 compatible = "samsung,exynos4210-chipid";
Dexynos3250.dtsi137 chipid@10000000 {
138 compatible = "samsung,exynos4210-chipid";
Ds5pv210.dtsi96 chipid@e0000000 {
97 compatible = "samsung,s5pv210-chipid";
Dexynos4415.dtsi110 chipid@10000000 {
111 compatible = "samsung,exynos4210-chipid";
Dexynos4.dtsi74 chipid@10000000 {
75 compatible = "samsung,exynos4210-chipid";
/linux-4.4.14/drivers/iio/light/
Dstk3310.c449 int chipid; in stk3310_init() local
454 ret = regmap_read(data->regmap, STK3310_REG_ID, &chipid); in stk3310_init()
458 if (chipid != STK3310_CHIP_ID_VAL && in stk3310_init()
459 chipid != STK3311_CHIP_ID_VAL) { in stk3310_init()
460 dev_err(&client->dev, "invalid chip id: 0x%x\n", chipid); in stk3310_init()
/linux-4.4.14/drivers/regulator/
Dlp872x.c107 enum lp872x_id chipid; member
188 enum lp872x_id chip = lp->chipid; in lp872x_get_timestep_usec()
745 return lp872x_update_bits(lp, LP872X_GENERAL_CFG, mask[lp->chipid], in lp872x_init_dvs()
746 default_dvs_mode[lp->chipid]); in lp872x_init_dvs()
790 desc = (lp->chipid == LP8720) ? &lp8720_regulator_desc[i] : in lp872x_regulator_register()
937 lp->chipid = id->driver_data; in lp872x_probe()
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_wlan.c1481 u32 chipid; in wilc_wlan_start() local
1548 ret = p->hif_func.hif_read_reg(0x1000, &chipid); in wilc_wlan_start()
1861 u32 chipid; in init_chip() local
1866 chipid = wilc_get_chipid(true); in init_chip()
1870 if ((chipid & 0xfff) != 0xa0) { in init_chip()
1906 static u32 chipid; in wilc_get_chipid() local
1912 if (chipid == 0 || update != 0) { in wilc_get_chipid()
1916 chipid = 0; in wilc_get_chipid()
1934 chipid = tempchipid; in wilc_get_chipid()
1937 return chipid; in wilc_get_chipid()
Dwilc_sdio.c561 u32 chipid; in sdio_init() local
664 if (!sdio_read_reg(0x1000, &chipid)) { in sdio_init()
668 g_sdio.dPrint(N_ERR, "[wilc sdio]: chipid (%08x)\n", chipid); in sdio_init()
669 if ((chipid & 0xfff) > 0x2a0) in sdio_init()
Dwilc_spi.c955 u32 chipid; in spi_init() local
961 if (!spi_read_reg(0x1000, &chipid)) { in spi_init()
1018 if (!spi_read_reg(0x1000, &chipid)) { in spi_init()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c758 u32 chipid, chiprev; in brcmf_usb_dlneeded() local
769 chipid = le32_to_cpu(id.chip); in brcmf_usb_dlneeded()
772 if ((chipid & 0x4300) == 0x4300) in brcmf_usb_dlneeded()
773 brcmf_dbg(USB, "chip %x rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded()
775 brcmf_dbg(USB, "chip %d rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded()
776 if (chipid == BRCMF_POSTBOOT_ID) { in brcmf_usb_dlneeded()
781 devinfo->bus_pub.devid = chipid; in brcmf_usb_dlneeded()
986 static bool brcmf_usb_chip_support(int chipid, int chiprev) in brcmf_usb_chip_support() argument
988 switch(chipid) { in brcmf_usb_chip_support()
Dchip.c467 static char *brcmf_chip_name(uint chipid, char *buf, uint len) in brcmf_chip_name() argument
471 fmt = ((chipid > 0xa000) || (chipid < 0x4000)) ? "%d" : "%x"; in brcmf_chip_name()
472 snprintf(buf, len, fmt, chipid); in brcmf_chip_name()
909 regdata = ci->ops->read32(ci->ctx, CORE_CC_REG(SI_ENUM_BASE, chipid)); in brcmf_chip_recognition()
Dsdio.c659 u32 chipid; member
697 if (brcmf_fwname_data[i].chipid == ci->chip && in brcmf_sdio_get_fwnames()
3863 addr == CORE_CC_REG(SI_ENUM_BASE, chipid)) { in brcmf_sdio_buscore_read32()
/linux-4.4.14/drivers/media/radio/
Dradio-tea5764.c122 u16 chipid; /* CHIPID1 & CHIPID2 */ member
467 PDEBUG("chipid = %04X, manid = %04X", r->chipid, r->manid); in tea5764_i2c_probe()
468 if (r->chipid != TEA5764_CHIPID || in tea5764_i2c_probe()
/linux-4.4.14/Documentation/zh_CN/video4linux/
Dv4l2-framework.txt487 "module_foo", "chipid", 0x36, NULL);
501 注意:传递给 v4l2_i2c_new_subdev()的 chipid 通常与模块名一致。
503 i2c 驱动自动探测。chipid 的使用是在今后需要深入了解的事情。这个与
516 "module_foo", "chipid", 0, NULL, 0, I2C_ADDRS(0x10));
/linux-4.4.14/drivers/ssb/
Dscan.c134 static u8 chipid_to_nrcores(u16 chipid) in chipid_to_nrcores() argument
136 switch (chipid) { in chipid_to_nrcores()
/linux-4.4.14/drivers/bcma/
Ddriver_pci_host.c155 u16 chipid = pc->core->bus->chipinfo.id; in bcma_extpci_write_config() local
217 if (chipid == BCMA_CHIP_ID_BCM4716 || in bcma_extpci_write_config()
218 chipid == BCMA_CHIP_ID_BCM4748) in bcma_extpci_write_config()
/linux-4.4.14/drivers/hwmon/
Df75375s.c896 u16 vendid, chipid; in f75375_detect() local
901 chipid = f75375_read16(client, F75375_CHIP_ID); in f75375_detect()
905 if (chipid == 0x0306) in f75375_detect()
907 else if (chipid == 0x0204) in f75375_detect()
909 else if (chipid == 0x0410) in f75375_detect()
Dlm78.c539 static int lm78_alias_detect(struct i2c_client *client, u8 chipid) in lm78_alias_detect() argument
550 if ((lm78_read_value(isa, LM78_REG_CHIPID) & 0xfe) != (chipid & 0xfe)) in lm78_alias_detect()
575 static int lm78_alias_detect(struct i2c_client *client, u8 chipid) in lm78_alias_detect() argument
Dw83781d.c251 static int w83781d_alias_detect(struct i2c_client *client, u8 chipid);
1632 static int w83781d_alias_detect(struct i2c_client *client, u8 chipid) in w83781d_alias_detect() argument
1644 if (w83781d_read_value(isa, W83781D_REG_WCHIPID) != chipid) in w83781d_alias_detect()
2026 w83781d_alias_detect(struct i2c_client *client, u8 chipid) in w83781d_alias_detect() argument
/linux-4.4.14/drivers/media/i2c/soc_camera/
Dmt9t112.c1053 int chipid; in mt9t112_camera_probe() local
1063 mt9t112_reg_read(chipid, client, 0x0000); in mt9t112_camera_probe()
1065 switch (chipid) { in mt9t112_camera_probe()
1075 dev_err(&client->dev, "Product ID error %04x\n", chipid); in mt9t112_camera_probe()
1080 dev_info(&client->dev, "%s chip ID %04x\n", devname, chipid); in mt9t112_camera_probe()
/linux-4.4.14/drivers/usb/isp1760/
Disp1760-udc.c1410 u32 chipid; in isp1760_udc_init() local
1419 chipid = isp1760_udc_read(udc, DC_CHIPID); in isp1760_udc_init()
1425 scratch, chipid); in isp1760_udc_init()
1429 if (chipid != 0x00011582 && chipid != 0x00158210) { in isp1760_udc_init()
1430 dev_err(udc->isp->dev, "udc: invalid chip ID 0x%08x\n", chipid); in isp1760_udc_init()
Disp1760-hcd.c1298 u32 chipid; in isp1760_run() local
1342 chipid = reg_read32(hcd->regs, HC_CHIP_ID_REG); in isp1760_run()
1344 chipid & 0xffff, chipid >> 16); in isp1760_run()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c1571 unsigned int chipid; in t4vf_prep_adapter() local
1596 chipid = REV_G(t4_read_reg(adapter, PL_VF_REV_A)); in t4vf_prep_adapter()
1597 adapter->params.chip |= CHELSIO_CHIP_CODE(CHELSIO_T5, chipid); in t4vf_prep_adapter()
1604 chipid = REV_G(t4_read_reg(adapter, PL_VF_REV_A)); in t4vf_prep_adapter()
1605 adapter->params.chip |= CHELSIO_CHIP_CODE(CHELSIO_T6, chipid); in t4vf_prep_adapter()
/linux-4.4.14/drivers/usb/misc/sisusbvga/
Dsisusb.h139 unsigned short chipid, chipvendor; member
/linux-4.4.14/arch/powerpc/kernel/
Dsmp.c587 static void traverse_siblings_chip_id(int cpu, bool add, int chipid) in traverse_siblings_chip_id() argument
601 of_read_number(prop, 1) == chipid) { in traverse_siblings_chip_id()
/linux-4.4.14/drivers/net/wireless/brcm80211/include/
Dchipcommon.h25 u32 chipid; /* 0x0 */ member
/linux-4.4.14/arch/arm64/boot/dts/exynos/
Dexynos7.dtsi76 chipid@10000000 {
77 compatible = "samsung,exynos4210-chipid";
/linux-4.4.14/drivers/misc/cxl/
Dpci.c347 u64 chipid; in init_implementation_adapter_regs() local
356 chipid = be32_to_cpup(prop); in init_implementation_adapter_regs()
360 psl_dsnctl = 0x02E8900002000000ULL | (chipid << (63-5)); in init_implementation_adapter_regs()
/linux-4.4.14/drivers/staging/slicoss/
Dslic.h397 uint chipid; member
Dslicoss.c2911 adapter->chipid = chip_idx; in slic_init_adapter()
/linux-4.4.14/drivers/usb/host/
Disp1362-hcd.c2493 u16 chipid; in isp1362_hc_start() local
2499 chipid = isp1362_read_reg16(isp1362_hcd, HCCHIPID); in isp1362_hc_start()
2502 if ((chipid & HCCHIPID_MASK) != HCCHIPID_MAGIC) { in isp1362_hc_start()
2503 pr_err("%s: Invalid chip ID %04x\n", __func__, chipid); in isp1362_hc_start()
/linux-4.4.14/Documentation/video4linux/
Dv4l2-framework.txt554 "module_foo", "chipid", 0x36, NULL);
567 Note that the chipid you pass to v4l2_i2c_new_subdev() is usually
570 The use of chipid is something that needs to be looked at more closely at a
585 "module_foo", "chipid", 0, NULL, 0, I2C_ADDRS(0x10));
/linux-4.4.14/drivers/net/ethernet/marvell/
Dsky2.c4902 static const char *sky2_name(u8 chipid, char *buf, int sz) in sky2_name() argument
4919 if (chipid >= CHIP_ID_YUKON_XL && chipid <= CHIP_ID_YUKON_OP_2) in sky2_name()
4920 strncpy(buf, name[chipid - CHIP_ID_YUKON_XL], sz); in sky2_name()
4922 snprintf(buf, sz, "(chip %#x)", chipid); in sky2_name()