/drivers/watchdog/ |
D | octeon-wdt-main.c | 233 static int core2cpu(int coreid) in core2cpu() argument 236 return cpu_number_map(coreid); in core2cpu() 330 unsigned int coreid = cvmx_get_core_num(); in octeon_wdt_nmi_stage3() local 341 __delay(100000000ull * coreid); in octeon_wdt_nmi_stage3() 344 octeon_wdt_write_hex(coreid, 1); in octeon_wdt_nmi_stage3() 368 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU_INTX_SUM0(coreid * 2)), 16); in octeon_wdt_nmi_stage3() 370 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU_INTX_EN0(coreid * 2)), 16); in octeon_wdt_nmi_stage3() 450 int coreid; in octeon_wdt_ping() local 453 coreid = cpu2core(cpu); in octeon_wdt_ping() 454 cvmx_write_csr(CVMX_CIU_PP_POKEX(coreid), 1); in octeon_wdt_ping() [all …]
|
/drivers/usb/host/ |
D | ssb-hcd.c | 58 if (dev->id.coreid == SSB_DEV_USB20_HOST) { in ssb_hcd_usb20wa() 87 if (dev->id.coreid == SSB_DEV_USB11_HOSTDEV) in ssb_hcd_init_chip() 156 u16 coreid = dev->id.coreid; in ssb_hcd_probe() local 182 len = (coreid == SSB_DEV_USB20_HOST) ? 0x800 : ssb_admatch_size(tmp); in ssb_hcd_probe() 189 if (coreid == SSB_DEV_USB20_HOST) { in ssb_hcd_probe()
|
/drivers/ssb/ |
D | scan.c | 26 const char *ssb_core_name(u16 coreid) in ssb_core_name() argument 28 switch (coreid) { in ssb_core_name() 350 dev->id.coreid = (idhi & SSB_IDHIGH_CC) >> SSB_IDHIGH_CC_SHIFT; in ssb_bus_scan() 361 i, ssb_core_name(dev->id.coreid), in ssb_bus_scan() 362 dev->id.coreid, dev->id.revision, dev->id.vendor); in ssb_bus_scan() 364 switch (dev->id.coreid) { in ssb_bus_scan() 406 if (dev->id.coreid == SSB_DEV_PCI) { in ssb_bus_scan()
|
D | main.c | 334 if ((tabid->coreid != devid->coreid) && in ssb_match_devid() 335 tabid->coreid != SSB_ANY_ID) in ssb_match_devid() 350 id->vendor || id->coreid || id->revision; in ssb_bus_match() 368 ssb_dev->id.vendor, ssb_dev->id.coreid, in ssb_device_uevent() 381 ssb_config_attr(coreid, id.coreid, "0x%04x\n") 389 ssb_core_name(dev_to_ssb_dev(dev)->id.coreid)); in name_show() 489 switch (sdev->id.coreid) { in ssb_devices_register() 988 if (ent->id.coreid != dev->id.coreid) in ssb_set_devtypedata() 1292 if (dev->id.coreid == SSB_DEV_80211) { in ssb_dma_translation_special_bit()
|
D | driver_pcicore.c | 529 if (pc->dev->id.coreid == SSB_DEV_PCIE) { in ssb_pcicore_init_clientmode() 685 might_sleep_if(pdev->id.coreid != SSB_DEV_PCI); in ssb_pcicore_dev_irqvecs_enable() 688 if ((pdev->id.revision >= 6) || (pdev->id.coreid == SSB_DEV_PCIE)) { in ssb_pcicore_dev_irqvecs_enable() 715 if (pdev->id.coreid == SSB_DEV_PCI) { in ssb_pcicore_dev_irqvecs_enable() 718 WARN_ON(pdev->id.coreid != SSB_DEV_PCIE); in ssb_pcicore_dev_irqvecs_enable()
|
D | driver_mipscore.c | 171 dev->id.coreid, oldirq+2, irq+2); in set_irq() 178 dev->id.coreid, in print_irq() 314 switch (dev->id.coreid) { in ssb_mipscore_init()
|
D | embedded.c | 183 if (dev->id.coreid != SSB_DEV_ETHERNET_GBIT) in gige_pci_init_callback() 225 if (dev->id.coreid != SSB_DEV_ETHERNET_GBIT) in gige_map_irq_callback()
|
D | ssb_private.h | 171 extern const char *ssb_core_name(u16 coreid);
|
D | sdio.c | 214 ssb_core_name(dev->id.coreid), coreidx); in ssb_sdio_switch_core()
|
D | pcmcia.c | 157 ssb_core_name(dev->id.coreid), in ssb_pcmcia_switch_core()
|
D | pci.c | 71 ssb_core_name(dev->id.coreid), in ssb_pci_switch_core()
|
/drivers/staging/octeon/ |
D | ethernet-rx.c | 234 const int coreid = cvmx_get_core_num(); in cvm_oct_napi_poll() local 251 old_group_mask = cvmx_read_csr(CVMX_POW_PP_GRP_MSKX(coreid)); in cvm_oct_napi_poll() 252 cvmx_write_csr(CVMX_POW_PP_GRP_MSKX(coreid), in cvm_oct_napi_poll() 469 cvmx_write_csr(CVMX_POW_PP_GRP_MSKX(coreid), old_group_mask); in cvm_oct_napi_poll()
|
/drivers/bcma/ |
D | driver_mips.c | 194 u16 coreid, u8 unit) in bcma_core_mips_set_irq_name() argument 198 core = bcma_find_core_unit(bus, coreid, unit); in bcma_core_mips_set_irq_name() 202 coreid, unit); in bcma_core_mips_set_irq_name()
|
D | scan.c | 261 static struct bcma_device *bcma_find_core_reverse(struct bcma_bus *bus, u16 coreid) in bcma_find_core_reverse() argument 266 if (core->id.id == coreid) in bcma_find_core_reverse()
|
D | main.c | 82 struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid, in bcma_find_core_unit() argument 88 if (core->id.id == coreid && core->core_unit == unit) in bcma_find_core_unit()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | chip.h | 81 struct brcmf_core *brcmf_chip_get_core(struct brcmf_chip *chip, u16 coreid);
|
D | chip.c | 418 u16 coreid, u32 base, in brcmf_chip_add_core() argument 427 core->pub.id = coreid; in brcmf_chip_add_core() 862 struct brcmf_core *brcmf_chip_get_core(struct brcmf_chip *pub, u16 coreid) in brcmf_chip_get_core() argument 869 if (core->pub.id == coreid) in brcmf_chip_get_core()
|
D | pcie.c | 241 u32 coreid; member 418 brcmf_pcie_select_core(struct brcmf_pciedev_info *devinfo, u16 coreid) in brcmf_pcie_select_core() argument 424 core = brcmf_chip_get_core(devinfo->ci, coreid); in brcmf_pcie_select_core() 438 brcmf_err("Unsupported core selected %x\n", coreid); in brcmf_pcie_select_core() 1691 bus->chip = devinfo->coreid; in brcmf_pcie_probe()
|
/drivers/net/wireless/b43/ |
D | bus.c | 229 dev->core_id = sdev->id.coreid; in b43_bus_dev_ssb_init()
|
/drivers/net/wireless/b43legacy/ |
D | main.c | 1797 wiphy->hw_version = dev->dev->id.coreid; in b43legacy_upload_microcode()
|