Home
last modified time | relevance | path

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

/external/u-boot/common/
Diomux.c31 struct stdio_dev **cons_set; in iomux_doenv() local
72 cons_set = (struct stdio_dev **)calloc(i, sizeof(struct stdio_dev *)); in iomux_doenv()
73 if (cons_set == NULL) { in iomux_doenv()
90 free(cons_set); in iomux_doenv()
109 if (dev == cons_set[k]) { in iomux_doenv()
122 cons_set[cs_idx++] = dev; in iomux_doenv()
128 free(cons_set); in iomux_doenv()
136 free(cons_set); in iomux_doenv()
139 memcpy(console_devices[console], cons_set, cs_idx * in iomux_doenv()
144 free(cons_set); in iomux_doenv()