Home
last modified time | relevance | path

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

/drivers/net/ethernet/apple/
Dmacmace.c69 int chipid; member
222 mp->chipid = mp->mace->chipid_hi << 8 | mp->mace->chipid_lo; in mace_probe()
301 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_reset()
312 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_reset()
330 if (mp->chipid == BROKEN_ADDRCHG_REV) in __mace_set_address()
339 if (mp->chipid != BROKEN_ADDRCHG_REV) in __mace_set_address()
517 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_set_multicast()
526 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()
/drivers/regulator/
Dlp872x.c104 enum lp872x_id chipid; member
186 enum lp872x_id chip = lp->chipid; in lp872x_get_timestep_usec()
743 return lp872x_update_bits(lp, LP872X_GENERAL_CFG, mask[lp->chipid], in lp872x_init_dvs()
744 default_dvs_mode[lp->chipid]); in lp872x_init_dvs()
788 desc = (lp->chipid == LP8720) ? &lp8720_regulator_desc[i] : in lp872x_regulator_register()
861 lp->chipid = id->driver_data; in lp872x_probe()
/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c752 u32 chipid, chiprev; in brcmf_usb_dlneeded() local
763 chipid = le32_to_cpu(id.chip); in brcmf_usb_dlneeded()
766 if ((chipid & 0x4300) == 0x4300) in brcmf_usb_dlneeded()
767 brcmf_dbg(USB, "chip %x rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded()
769 brcmf_dbg(USB, "chip %d rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded()
770 if (chipid == BRCMF_POSTBOOT_ID) { in brcmf_usb_dlneeded()
775 devinfo->bus_pub.devid = chipid; in brcmf_usb_dlneeded()
979 static bool brcmf_usb_chip_support(int chipid, int chiprev) in brcmf_usb_chip_support() argument
981 switch(chipid) { in brcmf_usb_chip_support()
Dsdio_chip.c443 CORE_CC_REG(ci->c_inf[0].base, chipid), in brcmf_sdio_chip_recognition()
700 static char *brcmf_sdio_chip_name(uint chipid, char *buf, uint len) in brcmf_sdio_chip_name() argument
704 fmt = ((chipid > 0xa000) || (chipid < 0x4000)) ? "%d" : "%x"; in brcmf_sdio_chip_name()
705 snprintf(buf, len, fmt, chipid); in brcmf_sdio_chip_name()
Ddhd_sdio.c3548 static bool brcmf_sdbrcm_chipmatch(u16 chipid) in brcmf_sdbrcm_chipmatch() argument
3550 if (chipid == BCM43143_CHIP_ID) in brcmf_sdbrcm_chipmatch()
3552 if (chipid == BCM43241_CHIP_ID) in brcmf_sdbrcm_chipmatch()
3554 if (chipid == BCM4329_CHIP_ID) in brcmf_sdbrcm_chipmatch()
3556 if (chipid == BCM4330_CHIP_ID) in brcmf_sdbrcm_chipmatch()
3558 if (chipid == BCM4334_CHIP_ID) in brcmf_sdbrcm_chipmatch()
3560 if (chipid == BCM4335_CHIP_ID) in brcmf_sdbrcm_chipmatch()
/drivers/media/radio/
Dradio-tea5764.c119 u16 chipid; /* CHIPID1 & CHIPID2 */ member
514 PDEBUG("chipid = %04X, manid = %04X", r->chipid, r->manid); in tea5764_i2c_probe()
515 if (r->chipid != TEA5764_CHIPID || in tea5764_i2c_probe()
/drivers/hwmon/
Df75375s.c895 u16 vendid, chipid; in f75375_detect() local
900 chipid = f75375_read16(client, F75375_CHIP_ID); in f75375_detect()
904 if (chipid == 0x0306) in f75375_detect()
906 else if (chipid == 0x0204) in f75375_detect()
908 else if (chipid == 0x0410) in f75375_detect()
Dlm78.c553 static int lm78_alias_detect(struct i2c_client *client, u8 chipid) in lm78_alias_detect() argument
564 if ((lm78_read_value(isa, LM78_REG_CHIPID) & 0xfe) != (chipid & 0xfe)) in lm78_alias_detect()
589 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()
2027 w83781d_alias_detect(struct i2c_client *client, u8 chipid) in w83781d_alias_detect() argument
/drivers/media/i2c/soc_camera/
Dmt9t112.c1049 int chipid; in mt9t112_camera_probe() local
1059 mt9t112_reg_read(chipid, client, 0x0000); in mt9t112_camera_probe()
1061 switch (chipid) { in mt9t112_camera_probe()
1073 dev_err(&client->dev, "Product ID error %04x\n", chipid); in mt9t112_camera_probe()
1078 dev_info(&client->dev, "%s chip ID %04x\n", devname, chipid); in mt9t112_camera_probe()
/drivers/ssb/
Dscan.c134 static u8 chipid_to_nrcores(u16 chipid) in chipid_to_nrcores() argument
136 switch (chipid) { in chipid_to_nrcores()
/drivers/bcma/
Ddriver_pci_host.c154 u16 chipid = pc->core->bus->chipinfo.id; in bcma_extpci_write_config() local
216 if (chipid == BCMA_CHIP_ID_BCM4716 || in bcma_extpci_write_config()
217 chipid == BCMA_CHIP_ID_BCM4748) in bcma_extpci_write_config()
/drivers/usb/misc/sisusbvga/
Dsisusb.h139 unsigned short chipid, chipvendor; member
/drivers/net/wireless/brcm80211/include/
Dchipcommon.h25 u32 chipid; /* 0x0 */ member
/drivers/clk/samsung/
Dclk-exynos5250.c99 hsi2c3, chipid, sysreg, pmu, cmu_top, cmu_core, cmu_mem, tzpc0, tzpc1, enumerator
379 GATE(chipid, "chipid", "aclk66", GATE_IP_PERIS, 0, 0, 0),
Dclk-exynos4.c166 spdif, ac97, modemif, chipid, sysreg, hdmi_cec, mct, wdt, rtc, keyif, enumerator
793 GATE(chipid, "chipid", "aclk100", E4210_GATE_IP_PERIR, 0, 0, 0),
822 GATE(chipid, "chipid", "aclk100", E4X12_GATE_IP_PERIR, 0, 0, 0),
/drivers/usb/host/
Disp1760-hcd.c1322 u32 chipid; in isp1760_run() local
1368 chipid = reg_read32(hcd->regs, HC_CHIP_ID_REG); in isp1760_run()
1370 chipid & 0xffff, chipid >> 16); in isp1760_run()
Disp1362-hcd.c2519 u16 chipid; in isp1362_hc_start() local
2525 chipid = isp1362_read_reg16(isp1362_hcd, HCCHIPID); in isp1362_hc_start()
2528 if ((chipid & HCCHIPID_MASK) != HCCHIPID_MAGIC) { in isp1362_hc_start()
2529 pr_err("%s: Invalid chip ID %04x\n", __func__, chipid); in isp1362_hc_start()
/drivers/staging/slicoss/
Dslic.h410 uint chipid; member
Dslicoss.c3475 adapter->chipid = chip_idx; in slic_init_adapter()
/drivers/net/ethernet/marvell/
Dsky2.c4876 static const char *sky2_name(u8 chipid, char *buf, int sz) in sky2_name() argument
4893 if (chipid >= CHIP_ID_YUKON_XL && chipid <= CHIP_ID_YUKON_OP_2) in sky2_name()
4894 strncpy(buf, name[chipid - CHIP_ID_YUKON_XL], sz); in sky2_name()
4896 snprintf(buf, sz, "(chip %#x)", chipid); in sky2_name()