/external/tensorflow/tensorflow/core/profiler/internal/advisor/ |
expensive_operation_checker.h | 56 const MultiGraphNodeProto* node = &root; local 58 for (int i = 0; i < 3 && node->children_size() > 0; ++i) { 59 node = &node->children(0); 63 i + 1, node->name().c_str(), 64 FormatTime(node->cpu_exec_micros()).c_str(), 65 FormatTime(node->accelerator_exec_micros()).c_str(), 66 FormatTime(node->exec_micros()).c_str(), 67 100.0 * node->exec_micros() / (root.total_exec_micros() + 1e-10))); 80 const MultiGraphNodeProto* node = &root local 104 const GraphNodeProto& node = root.children(i); local [all...] |
/external/u-boot/arch/arm/mach-rockchip/ |
rk3036-board.c | 71 int node; local 76 /* find the usb_otg node */ 77 node = fdt_node_offset_by_compatible(blob, -1, 80 while (node > 0) { 81 mode = fdt_getprop(blob, node, "dr_mode", NULL); 87 node = fdt_node_offset_by_compatible(blob, node, 94 rk3036_otg_data.regs_otg = fdtdec_get_addr(blob, node, "reg");
|
rk3128-board.c | 80 int node; local 85 /* find the usb_otg node */ 86 node = fdt_node_offset_by_compatible(blob, -1, 89 while (node > 0) { 90 mode = fdt_getprop(blob, node, "dr_mode", NULL); 96 node = fdt_node_offset_by_compatible(blob, node, 103 rk3128_otg_data.regs_otg = fdtdec_get_addr(blob, node, "reg");
|
rk3188-board-spl.c | 39 int node; local 47 node = fdt_path_offset(blob, bootdev); 48 if (node < 0) { 49 debug("node=%d\n", node); 52 ret = device_get_global_by_of_offset(node, &dev); 54 debug("device at node %s/%d not found: %d\n", bootdev, node,
|
spl-boot-order.c | 13 * spl_node_to_boot_device() - maps from a DT-node to a SPL boot device 14 * @node: of_offset of the node 20 * are enabled in any given DTS). This function maps from a DT-node back 24 * -ENOENT, if no device matching the node could be found 25 * -ENOSYS, if the device matching the node can not be mapped onto a 31 static int spl_node_to_boot_device(int node) 40 if (!uclass_get_device_by_of_offset(UCLASS_MMC, node, &parent)) { 72 if (!uclass_get_device_by_of_offset(UCLASS_SPI_FLASH, node, &parent)) 103 int node; local [all...] |
/external/u-boot/arch/arm/mach-socfpga/ |
pinmux_arria10.c | 37 static int do_pinctrl_pins(const void *blob, int node, const char *child_name) 42 child = fdt_first_subnode(blob, node); 66 int node; local 68 node = fdtdec_next_compatible(blob, 0, 70 if (node < 0) 73 if (do_pinctrl_pins(blob, node, "dedicated_cfg")) 76 if (do_pinctrl_pins(blob, node, "dedicated")) 84 int node; local 86 node = fdtdec_next_compatible(blob, 0, 88 if (node < 0 [all...] |
/external/u-boot/arch/microblaze/cpu/ |
timer.c | 49 int node = 0; local 54 node = fdt_node_offset_by_compatible(blob, node, 56 if (node != -1) { 57 fdt_addr_t base = fdtdec_get_addr(blob, node, "reg"); 64 ret = fdtdec_get_int_array(blob, node, "interrupts", 72 preload = fdtdec_get_int(blob, node, "clock-frequency", 0); 75 return node;
|
/external/u-boot/arch/x86/cpu/ |
cpu_x86.c | 57 int node, cpu; local 60 node = fdt_path_offset(gd->fdt_blob, "/cpus"); 61 if (node < 0) 64 for (cpu = fdt_first_subnode(gd->fdt_blob, node);
|
/external/u-boot/arch/x86/cpu/quark/ |
dram.c | 45 int node; local 48 node = fdtdec_next_compatible(blob, 0, COMPAT_INTEL_QRK_MRC); 49 if (node < 0) { 50 debug("%s: Cannot find MRC node\n", __func__); 73 mrc_flags = fdtdec_get_int(blob, node, "flags", 0); 79 mrc_params->dram_width = fdtdec_get_int(blob, node, "dram-width", 0); 80 mrc_params->ddr_speed = fdtdec_get_int(blob, node, "dram-speed", 0); 81 mrc_params->ddr_type = fdtdec_get_int(blob, node, "dram-type", 0); 83 mrc_params->rank_enables = fdtdec_get_int(blob, node, "rank-mask", 0); 84 mrc_params->channel_enables = fdtdec_get_int(blob, node, [all...] |
/external/u-boot/board/cavium/thunderx/ |
thunderx.c | 85 int node; local 91 for (node = 0; node < node_count; node++) { 92 dram_size = atf_dram_size(node); 93 printf("Node %d: %zd MBytes of DRAM\n", node, dram_size >> 20);
|
/external/u-boot/board/freescale/common/ |
cds_pci_ft.c | 14 int node; local 20 node = fdt_path_offset(blob, "/aliases"); 21 if (node >= 0) { 22 path = fdt_getprop(blob, node, "pci0", NULL); 24 node = fdt_path_offset(blob, path); 25 if (node >= 0) { 26 map = fdt_getprop_w(blob, node, "interrupt-map", &len);
|
sgmii_riser.c | 34 int node; local 39 node = fdt_path_offset(fdt, "/aliases"); 40 if (node < 0) 78 path = fdt_getprop(fdt, node, enet, NULL);
|
/external/u-boot/board/st/stih410-b2260/ |
board.c | 57 int node; local 60 /* find the snps,dwc3 node */ 61 node = fdt_node_offset_by_compatible(blob, -1, "snps,dwc3"); 63 dwc3_device_data.base = fdtdec_get_addr(blob, node, "reg");
|
/external/u-boot/board/xilinx/microblaze-generic/ |
microblaze-generic.c | 37 int node; local 42 node = fdt_node_offset_by_prop_value(blob, -1, "device_type", 44 if (node == -FDT_ERR_NOTFOUND) { 45 debug("DRAM: Can't get memory node\n"); 48 addr = fdtdec_get_addr_size(blob, node, "reg", &size);
|
/external/u-boot/common/ |
common_fit.c | 13 ulong fdt_getprop_u32(const void *fdt, int node, const char *prop) 18 cell = fdt_getprop(fdt, node, prop, &len); 28 * Returns the node offset or a negative error number. 33 int conf, node, len; local 40 debug("%s: Cannot find /configurations node: %d\n", __func__, 47 for (node = fdt_first_subnode(fdt, conf); 48 node >= 0; 49 node = fdt_next_subnode(fdt, node)) { 50 name = fdt_getprop(fdt, node, "description", &len) [all...] |
/external/u-boot/drivers/cpu/ |
cpu-uclass.c | 63 ofnode node; local 66 node = ofnode_path("/cpus"); 67 if (!ofnode_valid(node)) 70 ret = device_bind_driver_to_node(dm_root(), "cpu_bus", "cpus", node,
|
/external/u-boot/drivers/i2c/ |
cros_ec_tunnel.c | 36 int node = dev_of_offset(dev); local 38 i2c_bus->remote_bus = fdtdec_get_uint(blob, node, "google,remote-bus",
|
/external/u-boot/drivers/net/ |
cpsw-common.c | 23 int node = dev_of_offset(dev); local 30 syscon = fdtdec_lookup_phandle(fdt, node, "syscon"); 63 int node = dev_of_offset(dev); local 70 syscon = fdtdec_lookup_phandle(fdt, node, "syscon");
|
/external/u-boot/drivers/power/pmic/ |
s5m8767.c | 55 ofnode node; local 57 node = dev_read_subnode(dev, "regulators"); 58 if (!ofnode_valid(node)) { 66 children = pmic_bind_children(dev, node, pmic_children_info);
|
/external/u-boot/drivers/sound/ |
sound-i2s.c | 33 int node; local 37 node = fdt_path_offset(blob, "i2s"); 38 if (node <= 0) { 39 debug("EXYNOS_SOUND: No node for sound in device tree\n"); 49 base = fdtdec_get_addr(blob, node, "reg"); 57 node, "samsung,i2s-epll-clock-frequency", -1); 61 node, "samsung,i2s-sampling-rate", -1); 65 node, "samsung,i2s-bits-per-sample", -1); 69 node, "samsung,i2s-channels", -1); 73 node, "samsung,i2s-lr-clk-framesize", -1) 104 int node; local [all...] |
/external/u-boot/drivers/timer/ |
timer-uclass.c | 88 __maybe_unused ofnode node; local 103 node = ofnode_get_chosen_node("tick-timer"); 105 if (ofnode_valid(node) && 106 uclass_get_device_by_ofnode(UCLASS_TIMER, node, &dev)) { 111 if (!lists_bind_fdt(dm_root(), node, &dev)) {
|
/external/u-boot/drivers/video/ |
sandbox_sdl.c | 48 int node = dev_of_offset(dev); local 51 plat->xres = fdtdec_get_int(blob, node, "xres", LCD_MAX_WIDTH); 52 plat->yres = fdtdec_get_int(blob, node, "yres", LCD_MAX_HEIGHT);
|
/external/u-boot/fs/sandbox/ |
sandboxfs.c | 85 struct os_dirent_node *head, *node; local 92 for (node = head; node; node = node->next) { 93 printf("%s %10lu %s\n", os_dirent_get_typename(node->type), 94 node->size, node->name);
|
/external/u-boot/lib/efi_selftest/ |
efi_selftest_devicepath_util.c | 47 * Create a device path consisting of a single media device node followed by an 48 * end node. 50 * @length: length of the media device node 57 struct efi_device_path *node; local 61 node = dpu->create_device_node(DEVICE_PATH_TYPE_MEDIA_DEVICE, 63 if (!node) { 67 *dp = dpu->append_device_node(NULL, node); 72 ret = boottime->free_pool(node);
|
/external/v8/src/compiler/ |
graph-trimmer.h | 8 #include "src/compiler/node-marker.h" 18 // Trims dead nodes from the node graph. 32 Node* const node = *begin++; local 33 if (!node->IsDead()) MarkAsLive(node); 39 V8_INLINE bool IsLive(Node* const node) { return is_live_.Get(node); } 40 V8_INLINE void MarkAsLive(Node* const node) [all...] |