Home
last modified time | relevance | path

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

12

/linux/drivers/bcma/
H A Ddriver_chipcommon_pmu.c86 switch (bus->chipinfo.id) { in bcma_pmu2_pll_init0()
125 switch (bus->chipinfo.id) { in bcma_pmu2_pll_init0()
153 switch (bus->chipinfo.id) { in bcma_pmu_pll_init()
167 switch (bus->chipinfo.id) { in bcma_pmu_resources_init()
193 bus->chipinfo.id); in bcma_pmu_resources_init()
218 if (bus->chipinfo.pkg == 9 || bus->chipinfo.pkg == 11) in bcma_chipco_bcm4331_ext_pa_lines_ctl()
220 else if (bus->chipinfo.rev > 0) in bcma_chipco_bcm4331_ext_pa_lines_ctl()
234 switch (bus->chipinfo.id) { in bcma_pmu_workarounds()
255 if (bus->chipinfo.rev == 0) { in bcma_pmu_workarounds()
270 bus->chipinfo.id); in bcma_pmu_workarounds()
[all …]
H A Ddriver_mips.c36 return dev->bus->chipinfo.id == BCMA_CHIP_ID_BCM47162 && in bcma_core_mips_bcm47162a0_quirk()
37 dev->bus->chipinfo.rev == 0 && dev->id.id == BCMA_CORE_MIPS_74K; in bcma_core_mips_bcm47162a0_quirk()
43 return (dev->bus->chipinfo.id == BCMA_CHIP_ID_BCM5357 || in bcma_core_mips_bcm5357b0_quirk()
44 dev->bus->chipinfo.id == BCMA_CHIP_ID_BCM4749) && in bcma_core_mips_bcm5357b0_quirk()
45 dev->bus->chipinfo.pkg == 11 && in bcma_core_mips_bcm5357b0_quirk()
274 if (bus->chipinfo.id != BCMA_CHIP_ID_BCM4716 && in bcma_fix_i2s_irqflag()
275 bus->chipinfo.id != BCMA_CHIP_ID_BCM4748) in bcma_fix_i2s_irqflag()
308 switch (bus->chipinfo.id) { in bcma_core_mips_init()
348 bus->chipinfo.id); in bcma_core_mips_init()
H A Ddriver_chipcommon.c42 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM53573) { in bcma_core_cc_has_pmu_watchdog()
43 WARN(bus->chipinfo.rev <= 1, "No watchdog available\n"); in bcma_core_cc_has_pmu_watchdog()
62 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) in bcma_chipco_watchdog_get_max_timer()
100 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) in bcma_chipco_watchdog_ticks_per_ms()
119 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM53573 && in bcma_chipco_watchdog_register()
120 bus->chipinfo.rev <= 1) { in bcma_chipco_watchdog_register()
161 bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) { in bcma_core_chipcommon_flash_detect()
206 if (cc->core->bus->chipinfo.id == BCMA_CHIP_ID_BCM43142) { in bcma_core_chipcommon_init()
250 if (bus->chipinfo.id != BCMA_CHIP_ID_BCM4707 && in bcma_chipco_watchdog_timer_set()
251 bus->chipinfo.id != BCMA_CHIP_ID_BCM47094 && in bcma_chipco_watchdog_timer_set()
[all …]
H A Dscan.c440 struct bcma_chipinfo *chipinfo = &(bus->chipinfo); in bcma_detect_chip() local
446 chipinfo->id = (tmp & BCMA_CC_ID_ID) >> BCMA_CC_ID_ID_SHIFT; in bcma_detect_chip()
447 chipinfo->rev = (tmp & BCMA_CC_ID_REV) >> BCMA_CC_ID_REV_SHIFT; in bcma_detect_chip()
448 chipinfo->pkg = (tmp & BCMA_CC_ID_PKG) >> BCMA_CC_ID_PKG_SHIFT; in bcma_detect_chip()
451 (chipinfo->id > 0x9999) ? "%d" : "0x%04X", chipinfo->id); in bcma_detect_chip()
453 chip_id, chipinfo->rev, chipinfo->pkg); in bcma_detect_chip()
H A Ddriver_pci_host.c34 chipid_top = (bus->chipinfo.id & 0xFF00); in bcma_core_pci_is_in_hostmode()
155 u16 chipid = pc->core->bus->chipinfo.id; in bcma_extpci_write_config()
445 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4716 || in bcma_core_pci_hostmode_init()
446 bus->chipinfo.id == BCMA_CHIP_ID_BCM4748) { in bcma_core_pci_hostmode_init()
452 } else if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) { in bcma_core_pci_hostmode_init()
497 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4706 || in bcma_core_pci_hostmode_init()
498 bus->chipinfo.id == BCMA_CHIP_ID_BCM4716) { in bcma_core_pci_hostmode_init()
H A Dsprom.c497 switch (bus->chipinfo.id) { in bcma_sprom_ext_available()
523 switch (bus->chipinfo.id) { in bcma_sprom_onchip_available()
615 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4331 || in bcma_sprom_get()
616 bus->chipinfo.id == BCMA_CHIP_ID_BCM43431) in bcma_sprom_get()
635 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4331 || in bcma_sprom_get()
636 bus->chipinfo.id == BCMA_CHIP_ID_BCM43431) in bcma_sprom_get()
H A Ddriver_pcie2.c162 struct bcma_chipinfo *ci = &bus->chipinfo; in bcma_core_pcie2_init()
169 switch (bus->chipinfo.id) { in bcma_core_pcie2_init()
H A Ddriver_chipcommon_nflash.c33 if (bus->chipinfo.id != BCMA_CHIP_ID_BCM4706 && in bcma_nflash_init()
H A Ddriver_gpio.c195 switch (bus->chipinfo.id) { in bcma_gpio_init()
H A Dmain.c82 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) in bcma_cc_core_id()
/linux/drivers/net/wireless/broadcom/b43/
H A Dbus.c99 bcm47xx_bus.bcma.bus.chipinfo.id == BCMA_CHIP_ID_BCM4716) in b43_bus_dev_bcma_init()
111 dev->chip_id = core->bus->chipinfo.id; in b43_bus_dev_bcma_init()
112 dev->chip_rev = core->bus->chipinfo.rev; in b43_bus_dev_bcma_init()
113 dev->chip_pkg = core->bus->chipinfo.pkg; in b43_bus_dev_bcma_init()
/linux/arch/mips/bcm47xx/
H A Dsetup.c164 bcm47xx_set_system_type(bcm47xx_bus.bcma.bus.chipinfo.id); in plat_mem_setup()
250 if (bcm47xx_bus.bcma.bus.chipinfo.id == BCMA_CHIP_ID_BCM4706) in bcm47xx_cpu_fixes()
H A Dtime.c56 chip_id = bcm47xx_bus.bcma.bus.chipinfo.id; in plat_time_init()
H A Dprom.c147 if (bcm47xx_bus.bcma.bus.chipinfo.id == BCMA_CHIP_ID_BCM4706) in bcm47xx_prom_highmem_init()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Daiutils.c481 sih->chip = pbus->chipinfo.id; in ai_doattach()
482 sih->chiprev = pbus->chipinfo.rev; in ai_doattach()
483 sih->chippkg = pbus->chipinfo.pkg; in ai_doattach()
H A Dmain.c5605 struct bcma_chipinfo *chipinfo = &core->bus->chipinfo; in brcms_c_chipmatch_soc() local
5607 if (chipinfo->id == BCMA_CHIP_ID_BCM4716) in brcms_c_chipmatch_soc()
5610 pr_err("unknown chip id %04x\n", chipinfo->id); in brcms_c_chipmatch_soc()
/linux/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dmain.c38 if (b47n->cc->core->bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) { in bcm47xxnflash_probe()
/linux/drivers/clk/
H A Dclk-qoriq.c555 static const struct clockgen_chipinfo chipinfo[] = { variable
1511 for (i = 0; i < ARRAY_SIZE(chipinfo); i++) { in _clockgen_init()
1512 if (of_device_is_compatible(np, chipinfo[i].compat)) in _clockgen_init()
1515 !strcmp(chipinfo[i].compat, "fsl,ls1021a-clockgen")) in _clockgen_init()
1519 if (i == ARRAY_SIZE(chipinfo)) { in _clockgen_init()
1523 clockgen.info = chipinfo[i]; in _clockgen_init()
/linux/drivers/gpio/
H A Dgpiolib-cdev.c2315 struct gpiochip_info chipinfo; in chipinfo_get() local
2317 memset(&chipinfo, 0, sizeof(chipinfo)); in chipinfo_get()
2319 strscpy(chipinfo.name, dev_name(&gdev->dev), sizeof(chipinfo.name)); in chipinfo_get()
2320 strscpy(chipinfo.label, gdev->label, sizeof(chipinfo.label)); in chipinfo_get()
2321 chipinfo.lines = gdev->ngpio; in chipinfo_get()
2322 if (copy_to_user(ip, &chipinfo, sizeof(chipinfo))) in chipinfo_get()
/linux/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma.c20 switch (core->bus->chipinfo.id) { in bgmac_is_bcm4707_family()
126 struct bcma_chipinfo *ci = &core->bus->chipinfo; in bgmac_probe()
H A Dbgmac-bcma-mdio.c133 struct bcma_chipinfo *ci = &bgmac->bcma.core->bus->chipinfo; in bcma_mdio_phy_init()
/linux/drivers/mtd/nand/raw/brcmnand/
H A Dbcma_nand.c112 if (soc->cc->core->bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) { in brcmnand_bcma_nand_probe()
/linux/Documentation/userspace-api/gpio/
H A Dchardev.rst59 Get Chip Info <gpio-get-chipinfo-ioctl>
H A Dchardev_v1.rst56 Get Chip Info <gpio-get-chipinfo-ioctl>
/linux/include/linux/bcma/
H A Dbcma.h346 struct bcma_chipinfo chipinfo; member

12