Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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()
88 int __init spi_eeprom_read(int busid, int chipid, int address, in spi_eeprom_read() argument
94 .chipid = chipid, in spi_eeprom_read()
/linux-4.1.27/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.1.27/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.1.27/Documentation/devicetree/bindings/drm/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.1.27/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.1.27/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.1.27/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.dtsi121 chipid@10000000 {
122 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.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c757 u32 chipid, chiprev; in brcmf_usb_dlneeded() local
768 chipid = le32_to_cpu(id.chip); in brcmf_usb_dlneeded()
771 if ((chipid & 0x4300) == 0x4300) in brcmf_usb_dlneeded()
772 brcmf_dbg(USB, "chip %x rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded()
774 brcmf_dbg(USB, "chip %d rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded()
775 if (chipid == BRCMF_POSTBOOT_ID) { in brcmf_usb_dlneeded()
780 devinfo->bus_pub.devid = chipid; in brcmf_usb_dlneeded()
985 static bool brcmf_usb_chip_support(int chipid, int chiprev) in brcmf_usb_chip_support() argument
987 switch(chipid) { in brcmf_usb_chip_support()
Dchip.c463 static char *brcmf_chip_name(uint chipid, char *buf, uint len) in brcmf_chip_name() argument
467 fmt = ((chipid > 0xa000) || (chipid < 0x4000)) ? "%d" : "%x"; in brcmf_chip_name()
468 snprintf(buf, len, fmt, chipid); in brcmf_chip_name()
849 regdata = ci->ops->read32(ci->ctx, CORE_CC_REG(SI_ENUM_BASE, chipid)); in brcmf_chip_recognition()
Dsdio.c653 u32 chipid; member
690 if (brcmf_fwname_data[i].chipid == ci->chip && in brcmf_sdio_get_fwnames()
3816 addr == CORE_CC_REG(SI_ENUM_BASE, chipid)) { in brcmf_sdio_buscore_read32()
/linux-4.1.27/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()
931 lp->chipid = id->driver_data; in lp872x_probe()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/media/i2c/soc_camera/
Dmt9t112.c1036 int chipid; in mt9t112_camera_probe() local
1046 mt9t112_reg_read(chipid, client, 0x0000); in mt9t112_camera_probe()
1048 switch (chipid) { in mt9t112_camera_probe()
1058 dev_err(&client->dev, "Product ID error %04x\n", chipid); in mt9t112_camera_probe()
1063 dev_info(&client->dev, "%s chip ID %04x\n", devname, chipid); in mt9t112_camera_probe()
/linux-4.1.27/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.1.27/drivers/usb/isp1760/
Disp1760-udc.c1397 u32 chipid; in isp1760_udc_init() local
1406 chipid = isp1760_udc_read(udc, DC_CHIPID); in isp1760_udc_init()
1412 scratch, chipid); in isp1760_udc_init()
1416 if (chipid != 0x00011582 && chipid != 0x00158210) { in isp1760_udc_init()
1417 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.1.27/drivers/usb/misc/sisusbvga/
Dsisusb.h139 unsigned short chipid, chipvendor; member
/linux-4.1.27/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.1.27/drivers/net/wireless/brcm80211/include/
Dchipcommon.h25 u32 chipid; /* 0x0 */ member
/linux-4.1.27/arch/arm64/boot/dts/exynos/
Dexynos7.dtsi75 chipid@10000000 {
76 compatible = "samsung,exynos4210-chipid";
/linux-4.1.27/drivers/misc/cxl/
Dpci.c336 u64 chipid; in init_implementation_adapter_regs() local
345 chipid = be32_to_cpup(prop); in init_implementation_adapter_regs()
349 psl_dsnctl = 0x02E8900002000000ULL | (chipid << (63-5)); in init_implementation_adapter_regs()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c1574 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()
/linux-4.1.27/drivers/staging/slicoss/
Dslic.h402 uint chipid; member
Dslicoss.c2880 adapter->chipid = chip_idx; in slic_init_adapter()
/linux-4.1.27/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.1.27/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.1.27/drivers/net/ethernet/marvell/
Dsky2.c4890 static const char *sky2_name(u8 chipid, char *buf, int sz) in sky2_name() argument
4907 if (chipid >= CHIP_ID_YUKON_XL && chipid <= CHIP_ID_YUKON_OP_2) in sky2_name()
4908 strncpy(buf, name[chipid - CHIP_ID_YUKON_XL], sz); in sky2_name()
4910 snprintf(buf, sz, "(chip %#x)", chipid); in sky2_name()