Searched refs:fdtp (Results 1 - 7 of 7) sorted by relevance
/freebsd-10.3-release/sys/boot/fdt/ |
H A D | fdt_loader_cmd.c | 67 static struct fdt_header *fdtp = NULL; variable in typeref:struct:fdt_header 199 fdt_version(fdtp), FDT_LAST_SUPPORTED_VERSION); 210 if (fdtp) 211 free(fdtp); 214 fdtp = malloc(fdtp_size); 216 if (fdtp == NULL) { 222 COPYOUT(va, fdtp, fdtp_size); 242 free(fdtp); 243 if ((fdtp = malloc(fdtp_size)) == NULL) { 249 bcopy(header, fdtp, fdtp_siz [all...] |
/freebsd-10.3-release/sys/dev/ofw/ |
H A D | ofw_fdt.c | 96 static void *fdtp = NULL; variable 107 fdtp = data; 114 * We use the offset from fdtp to the node as the 'phandle' in OF interface. 126 return ((phandle_t)offset + fdt_off_dt_struct(fdtp)); 133 int dtoff = fdt_off_dt_struct(fdtp); 148 offset = fdt_path_offset(fdtp, "/"); 157 for (depth = 1, offset = fdt_next_node(fdtp, offset, &depth); 159 offset = fdt_next_node(fdtp, offset, &depth)) { 179 for (depth = 0, offset = fdt_next_node(fdtp, offset, &depth); 181 offset = fdt_next_node(fdtp, offse [all...] |
/freebsd-10.3-release/usr.sbin/fdread/ |
H A D | fdutil.c | 408 struct fd_type *fdtp; local 415 fdtp = fd_types_360k; 420 fdtp = fd_types_720k; 425 fdtp = fd_types_12m; 430 fdtp = fd_types_144m; 435 fdtp = fd_types_288m; 443 for (i = 0; i < n; i++, fdtp++) { 444 fdtp->size = fdtp->sectrac * fdtp [all...] |
/freebsd-10.3-release/usr.sbin/fdcontrol/ |
H A D | fdcontrol.c | 73 struct fd_type ft, newft, *fdtp; local 139 fdtp = get_fmt(format, type); 140 if (fdtp == 0) 144 ft = *fdtp;
|
/freebsd-10.3-release/usr.sbin/fdformat/ |
H A D | fdformat.c | 142 struct fd_type fdt, newft, *fdtp; local 254 fdtp = get_fmt(format, type); 255 if (fdtp == 0) 259 fdt = *fdtp;
|
/freebsd-10.3-release/sys/dev/fdc/ |
H A D | fdc.c | 1313 struct fd_type *fdtp; local 1320 fdtp = fd_native_types[fd->type]; 1321 fdsettype(fd, fdtp); 1347 for (; fdtp->heads; fdtp++) { 1348 fdsettype(fd, fdtp); 1354 if (id.cyl != 0 || id.head != 0 || id.secshift != fdtp->secsize) 1359 if (id.cyl != 2 || id.head != fdtp->heads - 1 || 1360 id.secshift != fdtp->secsize) 1367 if (fdtp [all...] |
/freebsd-10.3-release/sys/pc98/cbus/ |
H A D | fdc.c | 1629 struct fd_type *fdtp; local 1648 fdtp = fd_searchlist_12m; 1653 fdtp = fd_searchlist_144m; 1659 fdtp = fd_searchlist_288m; 1687 for (i = 0; i < n; i++, fdtp++) { 1688 fd->ft = fdtp; 1695 id.secshift != fdtp->secsize) 1700 if (id.cyl != 2 || id.head != fdtp->heads - 1 || 1701 id.secshift != fdtp->secsize)
|
Completed in 131 milliseconds