Home
last modified time | relevance | path

Searched refs:reg_name (Results 1 – 3 of 3) sorted by relevance

/u-boot/drivers/pci/
A Dpcie_layerscape_fixup_common.c34 char *reg_name, *old_str, *new_str; in lx2_board_fix_fdt() local
56 reg_name = (char *)reg_names; in lx2_board_fix_fdt()
57 remaining_str_len = names_len - (reg_name - reg_names); in lx2_board_fix_fdt()
64 if (memcmp(reg_name, old_str, old_str_len) == 0) { in lx2_board_fix_fdt()
68 memcpy(reg_name + new_str_len, in lx2_board_fix_fdt()
69 reg_name + old_str_len, in lx2_board_fix_fdt()
73 memcpy(reg_name, new_str, new_str_len); in lx2_board_fix_fdt()
79 reg_name = memchr(reg_name, '\0', remaining_str_len); in lx2_board_fix_fdt()
80 if (!reg_name) in lx2_board_fix_fdt()
82 reg_name += 1; in lx2_board_fix_fdt()
[all …]
/u-boot/board/freescale/lx2160a/
A Dlx2160a.c131 char *reg_names, *reg_name; in board_fix_fdt() local
155 reg_name = reg_names; in board_fix_fdt()
156 remaining_names_len = names_len - (reg_name - reg_names); in board_fix_fdt()
161 if (memcmp(reg_name, reg_names_map[i].old_str, in board_fix_fdt()
166 memcpy(reg_name + new_name_len, in board_fix_fdt()
167 reg_name + old_name_len, in board_fix_fdt()
170 memcpy(reg_name, reg_names_map[i].new_str, in board_fix_fdt()
177 reg_name = memchr(reg_name, '\0', remaining_names_len); in board_fix_fdt()
178 if (!reg_name) in board_fix_fdt()
181 reg_name += 1; in board_fix_fdt()
[all …]
/u-boot/drivers/power/pmic/
A Dpmic-uclass.c27 const char *reg_name; in pmic_bind_children() local
47 reg_name = ofnode_read_string(node, in pmic_bind_children()
49 if (!reg_name) in pmic_bind_children()
51 if (strncmp(info->prefix, reg_name, prefix_len)) in pmic_bind_children()

Completed in 4 milliseconds