Searched refs:chipid (Results 1 - 22 of 22) sorted by relevance

/drivers/net/ethernet/apple/
H A Dmacmace.c69 int chipid; member in struct:mace_data
223 mp->chipid = mp->mace->chipid_hi << 8 | mp->mace->chipid_lo;
302 if (mp->chipid == BROKEN_ADDRCHG_REV)
313 if (mp->chipid != BROKEN_ADDRCHG_REV)
331 if (mp->chipid == BROKEN_ADDRCHG_REV)
340 if (mp->chipid != BROKEN_ADDRCHG_REV)
518 if (mp->chipid == BROKEN_ADDRCHG_REV)
527 if (mp->chipid != BROKEN_ADDRCHG_REV)
H A Dmace.c65 int chipid; member in struct:mace_data
172 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) |
250 mp->chipid >> 8, mp->chipid & 0xff);
352 if (mp->chipid == BROKEN_ADDRCHG_REV)
363 if (mp->chipid != BROKEN_ADDRCHG_REV)
380 if (mp->chipid == BROKEN_ADDRCHG_REV)
389 if (mp->chipid != BROKEN_ADDRCHG_REV)
621 if (mp->chipid == BROKEN_ADDRCHG_REV)
630 if (mp->chipid !
[all...]
/drivers/net/wireless/brcm80211/brcmfmac/
H A Dusb.c688 u32 chipid, chiprev; local
699 chipid = le32_to_cpu(id.chip);
702 if ((chipid & 0x4300) == 0x4300)
703 brcmf_dbg(USB, "chip %x rev 0x%x\n", chipid, chiprev);
705 brcmf_dbg(USB, "chip %d rev 0x%x\n", chipid, chiprev);
706 if (chipid == BRCMF_POSTBOOT_ID) {
711 devinfo->bus_pub.devid = chipid;
916 static bool brcmf_usb_chip_support(int chipid, int chiprev) argument
918 switch(chipid) {
H A Dchip.c408 static char *brcmf_chip_name(uint chipid, char *buf, uint len) argument
412 fmt = ((chipid > 0xa000) || (chipid < 0x4000)) ? "%d" : "%x";
413 snprintf(buf, len, fmt, chipid);
682 regdata = ci->ops->read32(ci->ctx, CORE_CC_REG(SI_ENUM_BASE, chipid));
H A Ddhd_sdio.c642 u32 chipid; member in struct:brcmf_firmware_names
676 if (brcmf_fwname_data[i].chipid == ci->chip &&
682 brcmf_err("Unknown chipid %d [%d]\n", ci->chip, ci->chiprev);
3773 addr == CORE_CC_REG(SI_ENUM_BASE, chipid)) {
/drivers/media/radio/
H A Dradio-tea5764.c122 u16 chipid; /* CHIPID1 & CHIPID2 */ member in struct:tea5764_regs
467 PDEBUG("chipid = %04X, manid = %04X", r->chipid, r->manid);
468 if (r->chipid != TEA5764_CHIPID ||
/drivers/ssb/
H A Dscan.c134 static u8 chipid_to_nrcores(u16 chipid) argument
136 switch (chipid) {
/drivers/regulator/
H A Dlp872x.c107 enum lp872x_id chipid; member in struct:lp872x
189 enum lp872x_id chip = lp->chipid;
746 return lp872x_update_bits(lp, LP872X_GENERAL_CFG, mask[lp->chipid],
747 default_dvs_mode[lp->chipid]);
791 desc = (lp->chipid == LP8720) ? &lp8720_regulator_desc[i] :
939 lp->chipid = id->driver_data;
/drivers/hwmon/
H A Df75375s.c896 u16 vendid, chipid; local
901 chipid = f75375_read16(client, F75375_CHIP_ID);
905 if (chipid == 0x0306)
907 else if (chipid == 0x0204)
909 else if (chipid == 0x0410)
H A Dlm78.c539 static int lm78_alias_detect(struct i2c_client *client, u8 chipid) argument
550 if ((lm78_read_value(isa, LM78_REG_CHIPID) & 0xfe) != (chipid & 0xfe))
575 static int lm78_alias_detect(struct i2c_client *client, u8 chipid) argument
H A 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) argument
1644 if (w83781d_read_value(isa, W83781D_REG_WCHIPID) != chipid)
2027 w83781d_alias_detect(struct i2c_client *client, u8 chipid) argument
/drivers/media/i2c/soc_camera/
H A Dmt9t112.c1036 int chipid; local
1046 mt9t112_reg_read(chipid, client, 0x0000);
1048 switch (chipid) {
1058 dev_err(&client->dev, "Product ID error %04x\n", chipid);
1063 dev_info(&client->dev, "%s chip ID %04x\n", devname, chipid);
/drivers/bcma/
H A Ddriver_pci_host.c154 u16 chipid = pc->core->bus->chipinfo.id; local
216 if (chipid == BCMA_CHIP_ID_BCM4716 ||
217 chipid == BCMA_CHIP_ID_BCM4748)
/drivers/net/wireless/brcm80211/include/
H A Dchipcommon.h25 u32 chipid; /* 0x0 */ member in struct:chipcregs
225 /* chipid */
/drivers/usb/misc/sisusbvga/
H A Dsisusb.h139 unsigned short chipid, chipvendor; member in struct:sisusb_usb_data
/drivers/misc/cxl/
H A Dpci.c317 u64 chipid; local
326 chipid = be32_to_cpup(prop);
330 psl_dsnctl = 0x02E8900002000000ULL | (chipid << (63-5));
/drivers/staging/slicoss/
H A Dslic.h402 uint chipid; member in struct:adapter
H A Dslicoss.c2909 adapter->chipid = chip_idx;
/drivers/usb/host/
H A Disp1760-hcd.c1322 u32 chipid; local
1368 chipid = reg_read32(hcd->regs, HC_CHIP_ID_REG);
1370 chipid & 0xffff, chipid >> 16);
H A Disp1362-hcd.c2489 u16 chipid; local
2495 chipid = isp1362_read_reg16(isp1362_hcd, HCCHIPID);
2498 if ((chipid & HCCHIPID_MASK) != HCCHIPID_MAGIC) {
2499 pr_err("%s: Invalid chip ID %04x\n", __func__, chipid);
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c2098 unsigned int chipid; local
2132 chipid = G_REV(t4_read_reg(adapter, A_PL_VF_REV));
2133 adapter->params.chip |= CHELSIO_CHIP_CODE(CHELSIO_T5, chipid);
/drivers/net/ethernet/marvell/
H A Dsky2.c4892 static const char *sky2_name(u8 chipid, char *buf, int sz) argument
4909 if (chipid >= CHIP_ID_YUKON_XL && chipid <= CHIP_ID_YUKON_OP_2)
4910 strncpy(buf, name[chipid - CHIP_ID_YUKON_XL], sz);
4912 snprintf(buf, sz, "(chip %#x)", chipid);

Completed in 2233 milliseconds