Home
last modified time | relevance | path

Searched refs:core_idx (Results 1 – 6 of 6) sorted by relevance

/external/arm-trusted-firmware/plat/brcm/board/stingray/src/
Dpaxb.c257 int pcie_core_needs_enable(unsigned int core_idx) in pcie_core_needs_enable() argument
260 return paxb->core_needs_enable(core_idx); in pcie_core_needs_enable()
265 static void pcie_set_default_tx_coeff(uint32_t core_idx, uint32_t link_width) in pcie_set_default_tx_coeff() argument
272 data = paxb_rc_cfg_read(core_idx, addr); in pcie_set_default_tx_coeff()
279 paxb_rc_cfg_write(core_idx, addr, data); in pcie_set_default_tx_coeff()
288 uint32_t core_idx; in paxb_rc_link_init() local
290 for (core_idx = 0; core_idx < paxb->num_cores; core_idx++) { in paxb_rc_link_init()
291 if (!pcie_core_needs_enable(core_idx)) in paxb_rc_link_init()
294 link_width = paxb->get_link_width(core_idx); in paxb_rc_link_init()
302 val = paxb_rc_cfg_read(core_idx, CFG_RC_LINK_CAP); in paxb_rc_link_init()
[all …]
Dsr_paxb_phy.c212 static int paxb_sr_core_needs_enable(unsigned int core_idx) in paxb_sr_core_needs_enable() argument
214 return !!((pipemux_table[pipemux_idx] >> core_idx) & 0x1); in paxb_sr_core_needs_enable()
284 static int paxb_pmi_write(unsigned int core_idx, uint32_t pmi, uint32_t val) in paxb_pmi_write() argument
289 paxb_rc_cfg_write(core_idx, CFG_RC_PMI_ADDR, pmi); in paxb_pmi_write()
293 paxb_rc_cfg_write(core_idx, CFG_RC_PMI_WDATA, val); in paxb_pmi_write()
296 status = paxb_rc_cfg_read(core_idx, CFG_RC_PMI_WDATA); in paxb_pmi_write()
309 static int paxb_pmi_read(unsigned int core_idx, uint32_t pmi, uint32_t *val) in paxb_pmi_read() argument
314 paxb_rc_cfg_write(core_idx, CFG_RC_PMI_ADDR, pmi); in paxb_pmi_read()
316 paxb_rc_cfg_write(core_idx, CFG_RC_PMI_WDATA, CFG_RC_RCMD_MASK); in paxb_pmi_read()
319 status = paxb_rc_cfg_read(core_idx, CFG_RC_PMI_RDATA); in paxb_pmi_read()
[all …]
/external/arm-trusted-firmware/plat/brcm/board/stingray/include/
Dpaxb.h49 int (*core_needs_enable)(unsigned int core_idx);
50 unsigned int (*get_link_width)(unsigned int core_idx);
63 void paxb_rc_cfg_write(unsigned int core_idx, unsigned int where,
65 unsigned int paxb_rc_cfg_read(unsigned int core_idx, unsigned int where);
66 int pcie_core_needs_enable(unsigned int core_idx);
/external/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
DOperatingSystemPython.cpp217 for (uint32_t core_idx = 0; core_idx < num_cores; ++core_idx) { in UpdateThreadList() local
218 if (!core_used_map[core_idx]) { in UpdateThreadList()
220 core_thread_list.GetThreadAtIndex(core_idx, false), insert_idx); in UpdateThreadList()
/external/arm-trusted-firmware/services/std_svc/spmd/
Dspmd_main.c49 int core_idx = plat_core_pos_by_mpidr(mpidr); in spmd_get_context_by_mpidr() local
51 if (core_idx < 0) { in spmd_get_context_by_mpidr()
52 ERROR("Invalid mpidr: %llx, returned ID: %d\n", mpidr, core_idx); in spmd_get_context_by_mpidr()
56 return &spm_core_context[core_idx]; in spmd_get_context_by_mpidr()
/external/tensorflow/tensorflow/python/tpu/
Dtpu.py1028 for core_idx, inputs_per_core in enumerate(inputs):
1031 if core_idx == 0:
1057 for core_idx, inputs_per_core in enumerate(inputs):
1062 input_shape_tensor = input_shape_tensors[idx][core_idx]
1070 if core_idx == 0:
1077 real_shapes[core_idx].append(
1118 padded_inputs[core_idx].append(padded_input)
1120 padded_inputs[core_idx].append(input_tensor)