Home
last modified time | relevance | path

Searched refs:core_index (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/drivers/ssb/
H A Dhost_soc.c20 offset += dev->core_index * SSB_CORE_SIZE; in ssb_host_soc_read8()
28 offset += dev->core_index * SSB_CORE_SIZE; in ssb_host_soc_read16()
36 offset += dev->core_index * SSB_CORE_SIZE; in ssb_host_soc_read32()
47 offset += dev->core_index * SSB_CORE_SIZE; in ssb_host_soc_block_read()
93 offset += dev->core_index * SSB_CORE_SIZE; in ssb_host_soc_write8()
101 offset += dev->core_index * SSB_CORE_SIZE; in ssb_host_soc_write16()
109 offset += dev->core_index * SSB_CORE_SIZE; in ssb_host_soc_write32()
120 offset += dev->core_index * SSB_CORE_SIZE; in ssb_host_soc_block_write()
H A Ddriver_pcicore.c423 return !mips_busprobe32(tmp, (bus->mmio + (pc->dev->core_index * SSB_CORE_SIZE))); in pcicore_is_in_hostmode()
434 if (((tmp & 0xF000) >> 12) != pc->dev->core_index) { in ssb_pcicore_fix_sprom_core_index()
436 tmp |= (pc->dev->core_index << 12); in ssb_pcicore_fix_sprom_core_index()
709 coremask = (1 << dev->core_index); in ssb_pcicore_dev_irqvecs_enable()
H A Dpcmcia.c156 ssb_core_name(dev->id.coreid), dev->core_index); in ssb_pcmcia_switch_core()
159 err = ssb_pcmcia_switch_coreidx(bus, dev->core_index); in ssb_pcmcia_switch_core()
H A Dscan.c355 dev->core_index = i; in ssb_bus_scan()
/openbmc/linux/arch/arm/mach-mv78xx0/
H A Dcommon.c76 static void get_pclk_l2clk(int hclk, int core_index, int *pclk, int *l2clk) in get_pclk_l2clk() argument
84 if (core_index == 0) { in get_pclk_l2clk()
407 int core_index; in mv78xx0_init() local
412 core_index = mv78xx0_core_index(); in mv78xx0_init()
414 get_pclk_l2clk(hclk, core_index, &pclk, &l2clk); in mv78xx0_init()
417 printk("core #%d, ", core_index); in mv78xx0_init()
/openbmc/linux/drivers/bcma/
H A Ddriver_pci.c154 u16 val16, core_index; in bcma_core_pci_fixcfg() local
158 core_index = (u16)core->core_index; in bcma_core_pci_fixcfg()
162 != core_index) { in bcma_core_pci_fixcfg()
163 val16 = (core_index << BCMA_CORE_PCI_SPROM_PI_SHIFT) | in bcma_core_pci_fixcfg()
H A Dscan.c252 if (core->core_index == index) in bcma_find_core_by_index()
504 core->core_index = core_num++; in bcma_bus_scan()
511 core->core_index, bcma_device_name(&core->id), in bcma_bus_scan()
H A Ddriver_mips.c54 return dev->core_index; in bcma_core_mips_irqflag()
56 return dev->core_index; in bcma_core_mips_irqflag()
H A Dhost_pci.c375 coremask = BIT(core->core_index) << 8; in bcma_host_pci_irq_ctl()
/openbmc/linux/drivers/hwmon/peci/
H A Dcputemp.c250 static int get_core_temp(struct peci_cputemp *priv, int core_index, long *val) in get_core_temp() argument
257 mutex_lock(&priv->temp.core[core_index].state.lock); in get_core_temp()
258 if (!peci_sensor_need_update(&priv->temp.core[core_index].state)) in get_core_temp()
261 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_MODULE_TEMP, core_index, &pcs); in get_core_temp()
276 priv->temp.core[core_index].value = in get_core_temp()
279 peci_sensor_mark_updated(&priv->temp.core[core_index].state); in get_core_temp()
282 *val = priv->temp.core[core_index].value; in get_core_temp()
284 mutex_unlock(&priv->temp.core[core_index].state.lock); in get_core_temp()
/openbmc/linux/drivers/remoteproc/
H A Dimx_rproc.c117 u32 core_index; member
474 if (!((BIT(priv->core_index)) & (att->flags & ATT_CORE_MASK))) in imx_rproc_da_to_sys()
999 priv->core_index = 1; in imx_rproc_detect_mode()
1001 priv->core_index = 0; in imx_rproc_detect_mode()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dnet_driver.h330 int core_index; member
1236 return channel->rx_queue.core_index >= 0; in ef4_channel_has_rx_queue()
H A Drx.c467 skb_record_rx_queue(skb, channel->rx_queue.core_index); in ef4_rx_packet_gro()
632 skb_record_rx_queue(skb, channel->rx_queue.core_index); in ef4_rx_deliver()
/openbmc/qemu/hw/ppc/
H A Dpnv_core.c322 env->core_index = core_hwid >> 1; in pnv_core_cpu_realize()
324 env->core_index = core_hwid; in pnv_core_cpu_realize()
H A Dspapr_cpu_core.c320 env->core_index = cc->core_id; in spapr_create_vcpu()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Drx.c223 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_deliver()
H A Dnet_driver.h391 int core_index; member
1569 return channel->rx_queue.core_index >= 0; in efx_channel_has_rx_queue()
H A Drx_common.c263 rx_queue->core_index, 0); in efx_siena_init_rx_queue()
555 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_siena_rx_packet_gro()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Drx.c223 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_deliver()
H A Dnet_driver.h378 int core_index; member
1616 return channel->rx_queue.core_index >= 0; in efx_channel_has_rx_queue()
H A Drx_common.c261 rx_queue->core_index, 0); in efx_init_rx_queue()
554 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_packet_gro()
H A Dtc_counters.c283 rx_queue->core_index = 0; in efx_tc_probe_channel()
H A Defx_channels.c946 channel->rx_queue.core_index = channel->channel; in efx_set_channels()
948 channel->rx_queue.core_index = -1; in efx_set_channels()
/openbmc/linux/include/linux/bcma/
H A Dbcma.h277 u8 core_index; member
/openbmc/linux/include/linux/ssb/
H A Dssb.h278 u8 core_index; member

12