Home
last modified time | relevance | path

Searched refs:coreid (Results 1 – 20 of 20) sorted by relevance

/drivers/watchdog/
Docteon-wdt-main.c227 static int core2cpu(int coreid) in core2cpu() argument
230 return cpu_number_map(coreid); in core2cpu()
324 unsigned int coreid = cvmx_get_core_num(); in octeon_wdt_nmi_stage3() local
335 __delay(100000000ull * coreid); in octeon_wdt_nmi_stage3()
338 octeon_wdt_write_hex(coreid, 1); in octeon_wdt_nmi_stage3()
362 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU_INTX_SUM0(coreid * 2)), 16); in octeon_wdt_nmi_stage3()
364 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU_INTX_EN0(coreid * 2)), 16); in octeon_wdt_nmi_stage3()
444 int coreid; in octeon_wdt_ping() local
447 coreid = cpu2core(cpu); in octeon_wdt_ping()
448 cvmx_write_csr(CVMX_CIU_PP_POKEX(coreid), 1); in octeon_wdt_ping()
[all …]
/drivers/net/wireless/brcm80211/brcmfmac/
Dsdio_chip.c94 brcmf_sdio_chip_getinfidx(struct chip_info *ci, u16 coreid) in brcmf_sdio_chip_getinfidx() argument
99 if (coreid == ci->c_inf[idx].id) in brcmf_sdio_chip_getinfidx()
107 struct chip_info *ci, u16 coreid) in brcmf_sdio_sb_corerev() argument
112 idx = brcmf_sdio_chip_getinfidx(ci, coreid); in brcmf_sdio_sb_corerev()
122 struct chip_info *ci, u16 coreid) in brcmf_sdio_ai_corerev() argument
126 idx = brcmf_sdio_chip_getinfidx(ci, coreid); in brcmf_sdio_ai_corerev()
133 struct chip_info *ci, u16 coreid) in brcmf_sdio_sb_iscoreup() argument
138 idx = brcmf_sdio_chip_getinfidx(ci, coreid); in brcmf_sdio_sb_iscoreup()
150 struct chip_info *ci, u16 coreid) in brcmf_sdio_ai_iscoreup() argument
156 idx = brcmf_sdio_chip_getinfidx(ci, coreid); in brcmf_sdio_ai_iscoreup()
[all …]
Dsdio_chip.h80 u16 coreid);
82 u16 coreid);
84 struct chip_info *ci, u16 coreid, u32 core_bits);
86 struct chip_info *ci, u16 coreid, u32 core_bits);
224 extern u8 brcmf_sdio_chip_getinfidx(struct chip_info *ci, u16 coreid);
/drivers/usb/host/
Dssb-hcd.c58 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
183 len = (coreid == SSB_DEV_USB20_HOST) ? 0x800 : ssb_admatch_size(tmp); in ssb_hcd_probe()
190 if (coreid == SSB_DEV_USB20_HOST) { in ssb_hcd_probe()
/drivers/ssb/
Dscan.c26 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()
Dmain.c334 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()
380 ssb_config_attr(coreid, id.coreid, "0x%04x\n")
388 ssb_core_name(dev_to_ssb_dev(dev)->id.coreid)); in name_show()
394 __ATTR_RO(coreid),
486 switch (sdev->id.coreid) { in ssb_devices_register()
975 if (ent->id.coreid != dev->id.coreid) in ssb_set_devtypedata()
1279 if (dev->id.coreid == SSB_DEV_80211) { in ssb_dma_translation_special_bit()
Ddriver_pcicore.c529 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()
Ddriver_mipscore.c171 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()
Dembedded.c183 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()
Dssb_private.h171 extern const char *ssb_core_name(u16 coreid);
Dsdio.c214 ssb_core_name(dev->id.coreid), coreidx); in ssb_sdio_switch_core()
Dpcmcia.c157 ssb_core_name(dev->id.coreid), in ssb_pcmcia_switch_core()
Dpci.c71 ssb_core_name(dev->id.coreid), in ssb_pci_switch_core()
/drivers/staging/octeon/
Dethernet-rx.c237 const int coreid = cvmx_get_core_num(); in cvm_oct_napi_poll() local
254 old_group_mask = cvmx_read_csr(CVMX_POW_PP_GRP_MSKX(coreid)); in cvm_oct_napi_poll()
255 cvmx_write_csr(CVMX_POW_PP_GRP_MSKX(coreid), in cvm_oct_napi_poll()
475 cvmx_write_csr(CVMX_POW_PP_GRP_MSKX(coreid), old_group_mask); in cvm_oct_napi_poll()
/drivers/bcma/
Dmain.c72 struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid) in bcma_find_core() argument
77 if (core->id.id == coreid) in bcma_find_core()
84 struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid, in bcma_find_core_unit() argument
90 if (core->id.id == coreid && core->core_unit == unit) in bcma_find_core_unit()
Ddriver_mips.c186 u16 coreid, u8 unit) in bcma_core_mips_set_irq_name() argument
190 core = bcma_find_core_unit(bus, coreid, unit); in bcma_core_mips_set_irq_name()
194 coreid, unit); in bcma_core_mips_set_irq_name()
Dbcma_private.h34 struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid,
Dscan.c249 static struct bcma_device *bcma_find_core_reverse(struct bcma_bus *bus, u16 coreid) in bcma_find_core_reverse() argument
254 if (core->id.id == coreid) in bcma_find_core_reverse()
/drivers/net/wireless/b43/
Dbus.c219 dev->core_id = sdev->id.coreid; in b43_bus_dev_ssb_init()
/drivers/net/wireless/b43legacy/
Dmain.c1797 wiphy->hw_version = dev->dev->id.coreid; in b43legacy_upload_microcode()