Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/rknpu/
H A Drknpu_job.c40 static int rknpu_core_mask(int core_index) in rknpu_core_mask() argument
44 switch (core_index) { in rknpu_core_mask()
61 static int rknn_get_task_number(struct rknpu_job *job, int core_index) in rknn_get_task_number() argument
66 task_num = job->args->subcore_task[core_index].task_number; in rknn_get_task_number()
68 task_num = job->args->subcore_task[core_index + 2].task_number; in rknn_get_task_number()
161 int core_index = rknpu_core_index(job->args->core_mask); in rknpu_job_wait() local
167 subcore_data = &rknpu_dev->subcore_datas[core_index]; in rknpu_job_wait()
176 } while (ret == 0 && job->in_queue[core_index]); in rknpu_job_wait()
178 if (job->in_queue[core_index]) { in rknpu_job_wait()
180 subcore_data->task_num -= rknn_get_task_number(job, core_index); in rknpu_job_wait()
[all …]
/OK3568_Linux_fs/kernel/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.c418 return !mips_busprobe32(tmp, (bus->mmio + (pc->dev->core_index * SSB_CORE_SIZE))); in pcicore_is_in_hostmode()
429 if (((tmp & 0xF000) >> 12) != pc->dev->core_index) { in ssb_pcicore_fix_sprom_core_index()
431 tmp |= (pc->dev->core_index << 12); in ssb_pcicore_fix_sprom_core_index()
703 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()
H A 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()
H A Dsdio.c205 u8 coreidx = dev->core_index; in ssb_sdio_switch_core()
H A Ddriver_chipcommon.c680 cc_mmio = cc->dev->bus->mmio + (cc->dev->core_index * SSB_CORE_SIZE); in ssb_chipco_serial_init()
H A Dmain.c362 ssb_config_attr(core_num, core_index, "%u\n")
/OK3568_Linux_fs/kernel/arch/arm/mach-mv78xx0/
H A Dcommon.c79 static void get_pclk_l2clk(int hclk, int core_index, int *pclk, int *l2clk) in get_pclk_l2clk() argument
87 if (core_index == 0) { in get_pclk_l2clk()
387 int core_index; in mv78xx0_init() local
392 core_index = mv78xx0_core_index(); in mv78xx0_init()
394 get_pclk_l2clk(hclk, core_index, &pclk, &l2clk); in mv78xx0_init()
397 printk("core #%d, ", core_index); in mv78xx0_init()
/OK3568_Linux_fs/kernel/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.c253 if (core->core_index == index) in bcma_find_core_by_index()
505 core->core_index = core_num++; in bcma_bus_scan()
512 core->core_index, bcma_device_name(&core->id), in bcma_bus_scan()
H A Ddriver_mips.c67 return dev->core_index; in bcma_core_mips_irqflag()
69 return dev->core_index; in bcma_core_mips_irqflag()
H A Dhost_pci.c379 coremask = BIT(core->core_index) << 8; in bcma_host_pci_irq_ctl()
H A Dmain.c242 dev_set_name(&core->dev, "bcma%d:%d", bus->num, core->core_index); in bcma_prepare_core()
/OK3568_Linux_fs/kernel/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()
H A Defx.c1608 channel->rx_queue.core_index = channel->channel; in ef4_set_channels()
1610 channel->rx_queue.core_index = -1; in ef4_set_channels()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dnet_driver.h392 int core_index; member
1562 return channel->rx_queue.core_index >= 0; in efx_channel_has_rx_queue()
H A Drx.c226 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_deliver()
H A Defx_channels.c881 channel->rx_queue.core_index = channel->channel; in efx_set_channels()
883 channel->rx_queue.core_index = -1; in efx_set_channels()
H A Drx_common.c276 rx_queue->core_index); in efx_init_rx_queue()
567 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_packet_gro()
/OK3568_Linux_fs/kernel/include/linux/bcma/
H A Dbcma.h277 u8 core_index; member
/OK3568_Linux_fs/kernel/include/linux/ssb/
H A Dssb.h278 u8 core_index; member
/OK3568_Linux_fs/kernel/drivers/firmware/broadcom/
H A Dbcm47xx_sprom.c677 core->core_index); in bcm47xx_get_sprom_bcma()

12