/openbmc/linux/drivers/ssb/ |
H A D | host_soc.c | 20 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 D | driver_pcicore.c | 423 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 D | pcmcia.c | 156 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 D | scan.c | 355 dev->core_index = i; in ssb_bus_scan()
|
/openbmc/linux/arch/arm/mach-mv78xx0/ |
H A D | common.c | 76 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 D | driver_pci.c | 154 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 D | scan.c | 252 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 D | driver_mips.c | 54 return dev->core_index; in bcma_core_mips_irqflag() 56 return dev->core_index; in bcma_core_mips_irqflag()
|
H A D | host_pci.c | 375 coremask = BIT(core->core_index) << 8; in bcma_host_pci_irq_ctl()
|
/openbmc/linux/drivers/hwmon/peci/ |
H A D | cputemp.c | 250 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 D | imx_rproc.c | 117 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 D | net_driver.h | 330 int core_index; member 1236 return channel->rx_queue.core_index >= 0; in ef4_channel_has_rx_queue()
|
H A D | rx.c | 467 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 D | pnv_core.c | 322 env->core_index = core_hwid >> 1; in pnv_core_cpu_realize() 324 env->core_index = core_hwid; in pnv_core_cpu_realize()
|
H A D | spapr_cpu_core.c | 320 env->core_index = cc->core_id; in spapr_create_vcpu()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | rx.c | 223 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_deliver()
|
H A D | net_driver.h | 391 int core_index; member 1569 return channel->rx_queue.core_index >= 0; in efx_channel_has_rx_queue()
|
H A D | rx_common.c | 263 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 D | rx.c | 223 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_deliver()
|
H A D | net_driver.h | 378 int core_index; member 1616 return channel->rx_queue.core_index >= 0; in efx_channel_has_rx_queue()
|
H A D | rx_common.c | 261 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 D | tc_counters.c | 283 rx_queue->core_index = 0; in efx_tc_probe_channel()
|
H A D | efx_channels.c | 946 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 D | bcma.h | 277 u8 core_index; member
|
/openbmc/linux/include/linux/ssb/ |
H A D | ssb.h | 278 u8 core_index; member
|