| /linux/drivers/soc/aspeed/ |
| H A D | aspeed-socinfo.c | 89 u32 chipid[2]; in aspeed_socinfo_init() local 110 chipid[0] = readl(reg); in aspeed_socinfo_init() 111 chipid[1] = readl(reg + 4); in aspeed_socinfo_init() 140 chipid[1], chipid[0]); in aspeed_socinfo_init()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | vas.c | 55 uint32_t chipid, hwirq; in init_vas_instance() local 65 rc = of_property_read_u32(dn, "ibm,chip-id", &chipid); in init_vas_instance() 110 hwirq = xive_native_alloc_irq_on_chip(chipid); in init_vas_instance() 113 vinst->vas_id, chipid); in init_vas_instance() 202 int chip_to_vas_id(int chipid) in chip_to_vas_id() argument 207 if (cpu_to_chip_id(cpu) == chipid) in chip_to_vas_id()
|
| H A D | opal-sensor-groups.c | 183 u32 sgid, len, nr_attrs, chipid; in opal_sensor_groups_init() local 209 if (!of_property_read_u32(node, "ibm,chip-id", &chipid)) in opal_sensor_groups_init() 210 sprintf(sgs[i].name, "%pOFn%d", node, chipid); in opal_sensor_groups_init()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | firmware.h | 27 u32 chipid; member 44 #define BRCMF_FW_ENTRY(chipid, mask, name) \ argument 45 { chipid, mask, BRCM_ ## name ## _FIRMWARE_BASENAME }
|
| H A D | chip.h | 89 char *brcmf_chip_name(u32 chipid, u32 chiprev, char *buf, uint len);
|
| H A D | usb.c | 801 u32 chipid, chiprev; in brcmf_usb_dlneeded() local 812 chipid = le32_to_cpu(id.chip); in brcmf_usb_dlneeded() 815 if ((chipid & 0x4300) == 0x4300) in brcmf_usb_dlneeded() 816 brcmf_dbg(USB, "chip %x rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded() 818 brcmf_dbg(USB, "chip %d rev 0x%x\n", chipid, chiprev); in brcmf_usb_dlneeded() 819 if (chipid == BRCMF_POSTBOOT_ID) { in brcmf_usb_dlneeded() 824 devinfo->bus_pub.devid = chipid; in brcmf_usb_dlneeded()
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | wlan.c | 632 if (is_wilc1000(wilc->chipid)) in chip_allow_sleep() 762 if (is_wilc1000(wilc->chipid)) in chip_wakeup() 800 wilc->hif_func->hif_write_reg(wilc, is_wilc1000(wilc->chipid) ? in host_wakeup_notify() 814 wilc->hif_func->hif_write_reg(wilc, is_wilc1000(wilc->chipid) ? in host_sleep_notify() 951 if (is_wilc1000(wilc->chipid)) { in wilc_wlan_handle_txq() 1324 u32 chipid; in wilc_wlan_start() local 1344 if (is_wilc3000(wilc->chipid)) in wilc_wlan_start() 1353 ret = wilc->hif_func->hif_read_reg(wilc, WILC_CHIPID, &chipid); in wilc_wlan_start() 1593 u32 chipid = 0; in wilc_get_chipid() local 1596 if (wilc->chipid == 0) { in wilc_get_chipid() [all …]
|
| /linux/drivers/soc/tegra/fuse/ |
| H A D | tegra-apbmisc.c | 38 static u32 chipid; variable 44 if (!chipid) in tegra_read_chipid() 45 chipid = readl_relaxed(apbmisc_base + 4); in tegra_read_chipid() 47 return chipid; in tegra_read_chipid()
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am65-wakeup.dtsi | 46 chipid: chipid@14 { label 47 compatible = "ti,am654-chipid";
|
| /linux/include/trace/events/ |
| H A D | pwm.h | 19 __field(unsigned int, chipid) \ 25 __entry->chipid = pwm->chip->id; \ 30 TP_printk("pwmchip%u.%u: " fmt, __entry->chipid, __entry->hwpwm, args)
|
| /linux/drivers/mfd/ |
| H A D | tps65218.c | 286 unsigned int chipid; in tps65218_probe() local 311 ret = regmap_read(tps->regmap, TPS65218_REG_CHIPID, &chipid); in tps65218_probe() 317 tps->rev = chipid & TPS65218_CHIPID_REV_MASK; in tps65218_probe()
|
| /linux/drivers/net/ethernet/apple/ |
| H A D | mace.c | 65 int chipid; member 173 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | in mace_probe() 251 mp->chipid >> 8, mp->chipid & 0xff); in mace_probe() 351 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_reset() 362 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_reset() 380 if (mp->chipid == BROKEN_ADDRCHG_REV) in __mace_set_address() 392 if (mp->chipid != BROKEN_ADDRCHG_REV) in __mace_set_address() 622 if (mp->chipid == BROKEN_ADDRCHG_REV) in mace_set_multicast() 631 if (mp->chipid != BROKEN_ADDRCHG_REV) in mace_set_multicast()
|
| /linux/drivers/leds/ |
| H A D | leds-aw2013.c | 336 unsigned int chipid; in aw2013_probe() local 379 ret = regmap_read(chip->regmap, AW2013_RSTR, &chipid); in aw2013_probe() 386 if (chipid != AW2013_RSTR_CHIP_ID) { in aw2013_probe() 388 chipid); in aw2013_probe()
|
| H A D | leds-aw200xx.c | 351 u32 chipid; in aw200xx_chip_check() local 354 ret = regmap_read(chip->regmap, AW200XX_REG_IDR, &chipid); in aw200xx_chip_check() 358 if (chipid != AW200XX_IDR_CHIPID) in aw200xx_chip_check() 360 "Chip reported wrong ID: %x\n", chipid); in aw200xx_chip_check()
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos5.dtsi | 38 chipid: chipid@10000000 { label 39 compatible = "samsung,exynos4210-chipid";
|
| H A D | exynos5260.dtsi | 330 chipid: chipid@10000000 { label 331 compatible = "samsung,exynos4210-chipid";
|
| /linux/drivers/bluetooth/ |
| H A D | btmtksdio.c | 43 u16 chipid; member 50 .chipid = 0x7663, 57 .chipid = 0x7668, 64 .chipid = 0x7921, 71 .chipid = 0x7902, 592 bdev->data->chipid == 0x7921) { in btmtksdio_txrx_work() 1105 switch (bdev->data->chipid) { in btmtksdio_setup() 1278 if (!bdev->reset || bdev->data->chipid != 0x7921) in btmtksdio_reset() 1344 if (may_wakeup && bdev->data->chipid == 0x7921) { in btmtksdio_sdio_wakeup()
|
| /linux/drivers/leds/flash/ |
| H A D | leds-sy7802.c | 378 u32 chipid; in sy7802_chip_check() local 381 ret = regmap_read(chip->regmap, SY7802_REG_DEV_ID, &chipid); in sy7802_chip_check() 385 if (chipid != SY7802_CHIP_ID) in sy7802_chip_check() 386 return dev_err_probe(dev, -ENODEV, "Unsupported chip detected: %x\n", chipid); in sy7802_chip_check()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
| H A D | pci.c | 311 u16 cmd, chipid; in mt7921_pci_probe() local 410 chipid = mt7921_l1_rr(dev, MT_HW_CHIPID); in mt7921_pci_probe() 411 if (chipid == 0x7961 && (mt7921_l1_rr(dev, MT_HW_BOUND) & BIT(7))) in mt7921_pci_probe() 412 chipid = 0x7920; in mt7921_pci_probe() 413 mdev->rev = (chipid << 16) | in mt7921_pci_probe()
|
| /linux/drivers/soc/samsung/ |
| H A D | Makefile | 5 exynos_chipid-y += exynos-chipid.o exynos-asv.o
|
| /linux/drivers/net/dsa/ |
| H A D | vitesse-vsc73xx.h | 55 u16 chipid; member
|
| /linux/drivers/iio/light/ |
| H A D | stk3310.c | 513 int chipid; in stk3310_init() local 518 ret = regmap_read(data->regmap, STK3310_REG_ID, &chipid); in stk3310_init() 522 ret = stk3310_check_chip_id(chipid); in stk3310_init() 524 dev_info(&client->dev, "new unknown chip id: 0x%x\n", chipid); in stk3310_init()
|
| /linux/drivers/usb/isp1760/ |
| H A D | isp1760-udc.c | 1501 u32 chipid; in isp1760_udc_init() local 1510 chipid = isp1760_udc_read(udc, DC_CHIP_ID_HIGH) << 16; in isp1760_udc_init() 1511 chipid |= isp1760_udc_read(udc, DC_CHIP_ID_LOW); in isp1760_udc_init() 1517 scratch, chipid); in isp1760_udc_init() 1521 if (chipid != 0x00011582 && chipid != 0x00158210 && in isp1760_udc_init() 1522 chipid != 0x00176320) { in isp1760_udc_init() 1523 dev_err(udc->isp->dev, "udc: invalid chip ID 0x%08x\n", chipid); in isp1760_udc_init()
|
| /linux/drivers/ssb/ |
| H A D | scan.c | 134 static u8 chipid_to_nrcores(u16 chipid) in chipid_to_nrcores() argument 136 switch (chipid) { in chipid_to_nrcores()
|
| /linux/drivers/bcma/ |
| H A D | driver_pci_host.c | 155 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()
|