Home
last modified time | relevance | path

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

12

/linux-3.4.99/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-3.4.99/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-3.4.99/arch/arm/mach-s5p64x0/include/mach/
Duncompress.h50 unsigned int chipid; in get_uart_base() local
52 chipid = *(const volatile unsigned int __force *) 0xE0100118; in get_uart_base()
56 if ((chipid & 0xff000) == 0x50000) in get_uart_base()
/linux-3.4.99/arch/arm/mach-mxs/include/mach/
Duncompress.h60 u16 chipid = (*(volatile unsigned long *) MXS_DIGCTL_CHIPID) >> 16; in __arch_decomp_setup() local
62 switch (chipid) { in __arch_decomp_setup()
/linux-3.4.99/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()
521 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_set_multicast()
530 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-3.4.99/arch/arm/mach-u300/
Dcore.c1681 u16 chipid; member
1690 .chipid = 0xb800,
1694 .chipid = 0xc000,
1698 .chipid = 0xc800,
1702 .chipid = 0xd800,
1706 .chipid = 0xe000,
1710 .chipid = 0xe800,
1714 .chipid = 0xf000,
1718 .chipid = 0xf100,
1722 .chipid = 0x0000, /* List terminator */
[all …]
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmfmac/
Dsdio_chip.c362 CORE_CC_REG(ci->c_inf[0].base, chipid), 4); in brcmf_sdio_chip_recognition()
548 static char *brcmf_sdio_chip_name(uint chipid, char *buf, uint len) in brcmf_sdio_chip_name() argument
552 fmt = ((chipid > 0xa000) || (chipid < 0x4000)) ? "%d" : "%x"; in brcmf_sdio_chip_name()
553 snprintf(buf, len, fmt, chipid); in brcmf_sdio_chip_name()
Dusb.c875 u32 chipid, chiprev; in brcmf_usb_dlneeded() local
887 chipid = le32_to_cpu(id.chip); in brcmf_usb_dlneeded()
890 if ((chipid & 0x4300) == 0x4300) in brcmf_usb_dlneeded()
891 brcmf_dbg(INFO, "chip %x rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded()
893 brcmf_dbg(INFO, "chip %d rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded()
894 if (chipid == BRCMF_POSTBOOT_ID) { in brcmf_usb_dlneeded()
900 devinfo->bus_pub.devid = chipid; in brcmf_usb_dlneeded()
1111 static bool brcmf_usb_chip_support(int chipid, int chiprev) in brcmf_usb_chip_support() argument
1113 switch(chipid) { in brcmf_usb_chip_support()
Ddhd_sdio.c3642 static bool brcmf_sdbrcm_chipmatch(u16 chipid) in brcmf_sdbrcm_chipmatch() argument
3644 if (chipid == BCM4329_CHIP_ID) in brcmf_sdbrcm_chipmatch()
3646 if (chipid == BCM4330_CHIP_ID) in brcmf_sdbrcm_chipmatch()
/linux-3.4.99/drivers/ssb/
Dscan.c133 static u8 chipid_to_nrcores(u16 chipid) in chipid_to_nrcores() argument
135 switch (chipid) { in chipid_to_nrcores()
/linux-3.4.99/drivers/bcma/
Ddriver_pci_host.c161 u16 chipid = pc->core->bus->chipinfo.id; in bcma_extpci_write_config() local
218 if (chipid == 0x4716 || chipid == 0x4748) in bcma_extpci_write_config()
/linux-3.4.99/drivers/media/radio/
Dradio-tea5764.c119 u16 chipid; /* CHIPID1 & CHIPID2 */ member
507 PDEBUG("chipid = %04X, manid = %04X", r->chipid, r->manid); in tea5764_i2c_probe()
508 if (r->chipid != TEA5764_CHIPID || in tea5764_i2c_probe()
/linux-3.4.99/drivers/hwmon/
Df75375s.c897 u16 vendid, chipid; in f75375_detect() local
902 chipid = f75375_read16(client, F75375_CHIP_ID); in f75375_detect()
906 if (chipid == 0x0306) in f75375_detect()
908 else if (chipid == 0x0204) in f75375_detect()
910 else if (chipid == 0x0410) in f75375_detect()
Dlm78.c554 static int lm78_alias_detect(struct i2c_client *client, u8 chipid) in lm78_alias_detect() argument
565 if ((lm78_read_value(isa, LM78_REG_CHIPID) & 0xfe) != (chipid & 0xfe)) in lm78_alias_detect()
590 static int lm78_alias_detect(struct i2c_client *client, u8 chipid) in lm78_alias_detect() argument
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) in w83781d_alias_detect() argument
1650 if (w83781d_read_value(isa, W83781D_REG_WCHIPID) != chipid) in w83781d_alias_detect()
2040 w83781d_alias_detect(struct i2c_client *client, u8 chipid) in w83781d_alias_detect() argument
/linux-3.4.99/drivers/media/video/
Dmt9t112.c1033 int chipid; in mt9t112_camera_probe() local
1038 mt9t112_reg_read(chipid, client, 0x0000); in mt9t112_camera_probe()
1040 switch (chipid) { in mt9t112_camera_probe()
1050 dev_err(&client->dev, "Product ID error %04x\n", chipid); in mt9t112_camera_probe()
1054 dev_info(&client->dev, "%s chip ID %04x\n", devname, chipid); in mt9t112_camera_probe()
/linux-3.4.99/drivers/usb/misc/sisusbvga/
Dsisusb.h139 unsigned short chipid, chipvendor; member
/linux-3.4.99/drivers/net/wireless/brcm80211/include/
Dchipcommon.h25 u32 chipid; /* 0x0 */ member
/linux-3.4.99/drivers/staging/slicoss/
Dslic.h410 uint chipid; member
/linux-3.4.99/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.c2522 u16 chipid; in isp1362_hc_start() local
2528 chipid = isp1362_read_reg16(isp1362_hcd, HCCHIPID); in isp1362_hc_start()
2531 if ((chipid & HCCHIPID_MASK) != HCCHIPID_MAGIC) { in isp1362_hc_start()
2532 pr_err("%s: Invalid chip ID %04x\n", __func__, chipid); in isp1362_hc_start()
/linux-3.4.99/Documentation/video4linux/
Dv4l2-framework.txt485 "module_foo", "chipid", 0x36, NULL);
498 Note that the chipid you pass to v4l2_i2c_new_subdev() is usually
501 The use of chipid is something that needs to be looked at more closely at a
516 "module_foo", "chipid", 0, NULL, 0, I2C_ADDRS(0x10));
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmsmac/
Daiutils.c587 w = bcma_read32(cc, CHIPCREGOFFS(chipid)); in ai_doattach()
/linux-3.4.99/drivers/net/ethernet/marvell/
Dsky2.c4863 static const char *sky2_name(u8 chipid, char *buf, int sz) in sky2_name() argument
4880 if (chipid >= CHIP_ID_YUKON_XL && chipid <= CHIP_ID_YUKON_OP_2) in sky2_name()
4881 strncpy(buf, name[chipid - CHIP_ID_YUKON_XL], sz); in sky2_name()
4883 snprintf(buf, sz, "(chip %#x)", chipid); in sky2_name()

12