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

12

/drivers/net/ethernet/apple/
H A Dmacmace.c69 int chipid; member in struct:mace_data
222 mp->chipid = mp->mace->chipid_hi << 8 | mp->mace->chipid_lo;
301 if (mp->chipid == BROKEN_ADDRCHG_REV)
312 if (mp->chipid != BROKEN_ADDRCHG_REV)
330 if (mp->chipid == BROKEN_ADDRCHG_REV)
339 if (mp->chipid != BROKEN_ADDRCHG_REV)
521 if (mp->chipid == BROKEN_ADDRCHG_REV)
530 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 Dsdio_chip.c362 CORE_CC_REG(ci->c_inf[0].base, chipid), 4);
367 brcmf_dbg(INFO, "chipid=0x%x chiprev=%d\n", ci->chip, ci->chiprev);
398 brcmf_dbg(ERROR, "chipid 0x%x is not supported\n", ci->chip);
548 static char *brcmf_sdio_chip_name(uint chipid, char *buf, uint len) argument
552 fmt = ((chipid > 0xa000) || (chipid < 0x4000)) ? "%d" : "%x";
553 snprintf(buf, len, fmt, chipid);
H A Dusb.c875 u32 chipid, chiprev; local
887 chipid = le32_to_cpu(id.chip);
890 if ((chipid & 0x4300) == 0x4300)
891 brcmf_dbg(INFO, "chip %x rev 0x%x\n", chipid, chiprev);
893 brcmf_dbg(INFO, "chip %d rev 0x%x\n", chipid, chiprev);
894 if (chipid == BRCMF_POSTBOOT_ID) {
900 devinfo->bus_pub.devid = chipid;
1111 static bool brcmf_usb_chip_support(int chipid, int chiprev) argument
1113 switch(chipid) {
H A Ddhd_sdio.c3642 static bool brcmf_sdbrcm_chipmatch(u16 chipid) argument
3644 if (chipid == BCM4329_CHIP_ID)
3646 if (chipid == BCM4330_CHIP_ID)
/drivers/ssb/
H A Dscan.c133 static u8 chipid_to_nrcores(u16 chipid) argument
135 switch (chipid) {
/drivers/hwmon/
H A Df75375s.c897 u16 vendid, chipid; local
902 chipid = f75375_read16(client, F75375_CHIP_ID);
906 if (chipid == 0x0306)
908 else if (chipid == 0x0204)
910 else if (chipid == 0x0410)
H A Dlm78.c552 static int lm78_alias_detect(struct i2c_client *client, u8 chipid) argument
563 if ((lm78_read_value(isa, LM78_REG_CHIPID) & 0xfe) != (chipid & 0xfe))
588 static int lm78_alias_detect(struct i2c_client *client, u8 chipid) argument
H A Dw83781d.c252 static int w83781d_alias_detect(struct i2c_client *client, u8 chipid);
1638 static int w83781d_alias_detect(struct i2c_client *client, u8 chipid) argument
1650 if (w83781d_read_value(isa, W83781D_REG_WCHIPID) != chipid)
2040 w83781d_alias_detect(struct i2c_client *client, u8 chipid) argument
/drivers/media/video/
H A Dmt9t112.c1033 int chipid; local
1038 mt9t112_reg_read(chipid, client, 0x0000);
1040 switch (chipid) {
1050 dev_err(&client->dev, "Product ID error %04x\n", chipid);
1054 dev_info(&client->dev, "%s chip ID %04x\n", devname, chipid);
/drivers/bcma/
H A Ddriver_pci_host.c161 u16 chipid = pc->core->bus->chipinfo.id; local
218 if (chipid == 0x4716 || chipid == 0x4748)
/drivers/media/radio/
H A Dradio-tea5764.c119 u16 chipid; /* CHIPID1 & CHIPID2 */ member in struct:tea5764_regs
507 PDEBUG("chipid = %04X, manid = %04X", r->chipid, r->manid);
508 if (r->chipid != TEA5764_CHIPID ||
/drivers/net/wireless/brcm80211/include/
H A Dchipcommon.h25 u32 chipid; /* 0x0 */ member in struct:chipcregs
221 /* chipid */
/drivers/usb/misc/sisusbvga/
H A Dsisusb.h139 unsigned short chipid, chipvendor; member in struct:sisusb_usb_data
/drivers/net/wireless/bcmdhd/
H A Dbcmutils.c1713 bcm_chipname(uint chipid, char *buf, uint len) argument
1717 fmt = ((chipid > 0xa000) || (chipid < 0x4000)) ? "%d" : "%x";
1718 snprintf(buf, len, fmt, chipid);
H A Ddhd_sdio.c536 static bool dhdsdio_chipmatch(uint16 chipid);
6323 dhdsdio_chipmatch(uint16 chipid) argument
6325 if (chipid == BCM4325_CHIP_ID)
6327 if (chipid == BCM4329_CHIP_ID)
6329 if (chipid == BCM4315_CHIP_ID)
6331 if (chipid == BCM4319_CHIP_ID)
6333 if (chipid == BCM4336_CHIP_ID)
6335 if (chipid == BCM4330_CHIP_ID)
6337 if (chipid == BCM43237_CHIP_ID)
6339 if (chipid
[all...]
H A Dsbutils.c514 numcores = (R_REG(sii->osh, &cc->chipid) & CID_CC_MASK) >>
H A Dsiutils.c363 * We assume we can read chipid at offset 0 from the regs arg.
371 w = R_REG(osh, &cc->chipid);
/drivers/staging/slicoss/
H A Dslic.h410 uint chipid; member in struct:adapter
/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.c2522 u16 chipid; local
2528 chipid = isp1362_read_reg16(isp1362_hcd, HCCHIPID);
2531 if ((chipid & HCCHIPID_MASK) != HCCHIPID_MAGIC) {
2532 pr_err("%s: Invalid chip ID %04x\n", __func__, chipid);
/drivers/net/wireless/bcmdhd/include/
H A Dbcmutils.h720 extern char *bcm_chipname(uint chipid, char *buf, uint len);
H A Dsbchipc.h94 uint32 chipid; member in struct:__anon3344
/drivers/net/wireless/brcm80211/brcmsmac/
H A Daiutils.c582 * We assume we can read chipid at offset 0 from the regs arg.
587 w = bcma_read32(cc, CHIPCREGOFFS(chipid));
/drivers/net/ethernet/marvell/
H A Dsky2.c4861 static const char *sky2_name(u8 chipid, char *buf, int sz) argument
4878 if (chipid >= CHIP_ID_YUKON_XL && chipid <= CHIP_ID_YUKON_OP_2)
4879 strncpy(buf, name[chipid - CHIP_ID_YUKON_XL], sz);
4881 snprintf(buf, sz, "(chip %#x)", chipid);

Completed in 571 milliseconds

12