Home
last modified time | relevance | path

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

12

/drivers/ssb/
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()
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()
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()
Dscan.c355 dev->core_index = i; in ssb_bus_scan()
Dpci.c71 ssb_core_name(dev->id.coreid), dev->core_index); in ssb_pci_switch_core()
75 err = ssb_pci_switch_coreidx(bus, dev->core_index); in ssb_pci_switch_core()
Dsdio.c205 u8 coreidx = dev->core_index; in ssb_sdio_switch_core()
Ddriver_chipcommon.c680 cc_mmio = cc->dev->bus->mmio + (cc->dev->core_index * SSB_CORE_SIZE); in ssb_chipco_serial_init()
Dmain.c363 ssb_config_attr(core_num, core_index, "%u\n")
/drivers/hwmon/peci/
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()
/drivers/bcma/
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()
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()
Ddriver_mips.c60 return dev->core_index; in bcma_core_mips_irqflag()
62 return dev->core_index; in bcma_core_mips_irqflag()
Dhost_pci.c375 coremask = BIT(core->core_index) << 8; in bcma_host_pci_irq_ctl()
Dmain.c242 dev_set_name(&core->dev, "bcma%d:%d", bus->num, core->core_index); in bcma_prepare_core()
/drivers/net/ethernet/sfc/falcon/
Dnet_driver.h330 int core_index; member
1236 return channel->rx_queue.core_index >= 0; in ef4_channel_has_rx_queue()
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()
/drivers/net/ethernet/sfc/siena/
Dnet_driver.h391 int core_index; member
1569 return channel->rx_queue.core_index >= 0; in efx_channel_has_rx_queue()
Drx.c223 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_deliver()
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()
Defx_channels.c978 channel->rx_queue.core_index = channel->channel; in efx_siena_set_channels()
980 channel->rx_queue.core_index = -1; in efx_siena_set_channels()
/drivers/net/ethernet/sfc/
Drx.c223 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_deliver()
Dnet_driver.h393 int core_index; member
1643 return channel->rx_queue.core_index >= 0; in efx_channel_has_rx_queue()
Drx_common.c260 rx_queue->core_index, 0); in efx_init_rx_queue()
551 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_packet_gro()
Defx_channels.c974 channel->rx_queue.core_index = channel->channel; in efx_set_channels()
976 channel->rx_queue.core_index = -1; in efx_set_channels()
/drivers/firmware/broadcom/
Dbcm47xx_sprom.c677 core->core_index); in bcm47xx_get_sprom_bcma()

12