/freebsd/sys/dev/uart/ |
H A D | uart_cpu_powerpc.c | 113 phandle_t input, opts, chosen; in uart_cpu_getdev() local 117 chosen = OF_finddevice("/chosen"); in uart_cpu_getdev() 121 if (chosen != -1 && error != 0) in uart_cpu_getdev() 122 error = ofw_get_uart_console(chosen, &input, in uart_cpu_getdev() 124 if (chosen != -1 && error != 0) in uart_cpu_getdev() 125 error = ofw_get_uart_console(chosen, &input, in uart_cpu_getdev() 127 if (chosen != -1 && error != 0) in uart_cpu_getdev() 128 error = ofw_get_console_phandle_path(chosen, &input, in uart_cpu_getdev() 130 if (chosen != -1 && error != 0) in uart_cpu_getdev() 131 error = ofw_get_uart_console(chosen, &input, in uart_cpu_getdev() [all …]
|
H A D | uart_bus_fdt.c | 116 phandle_chosen_propdev(phandle_t chosen, const char *name, phandle_t *node) in phandle_chosen_propdev() argument 121 if (OF_getprop(chosen, name, buf, sizeof(buf)) <= 0) in phandle_chosen_propdev() 182 phandle_t node, chosen; in uart_cpu_fdt_probe() local 203 * Retrieve a node from /chosen. in uart_cpu_fdt_probe() 206 if ((chosen = OF_finddevice("/chosen")) != -1) { in uart_cpu_fdt_probe() 208 if (phandle_chosen_propdev(chosen, *name, in uart_cpu_fdt_probe() 213 if (chosen == -1 || *name == NULL) in uart_cpu_fdt_probe()
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | secure.txt | 56 The secure-chosen node 59 Similar to the /chosen node which serves as a place for passing data 60 between firmware and the operating system, the /secure-chosen node may 62 below may appear in the /secure-chosen node. 65 its console output. The syntax is the same as for /chosen/stdout-path. 66 If the /secure-chosen node exists but the stdout-path property is not 68 /secure-chosen does not exist, the Secure OS should use the value of 69 /chosen/stdout-path instead (that is, use the same device as the
|
/freebsd/sys/powerpc/ofw/ |
H A D | ofw_initrd.c | 56 phandle_t chosen; in ofw_initrd_probe_and_attach() local 66 chosen = OF_finddevice("/chosen"); in ofw_initrd_probe_and_attach() 67 if (chosen <= 0) in ofw_initrd_probe_and_attach() 70 if (!OF_hasprop(chosen, "linux,initrd-start") || in ofw_initrd_probe_and_attach() 71 !OF_hasprop(chosen, "linux,initrd-end")) in ofw_initrd_probe_and_attach() 74 size = OF_getencprop(chosen, "linux,initrd-start", cell, sizeof(cell)); in ofw_initrd_probe_and_attach() 84 size = OF_getencprop(chosen, "linux,initrd-end", cell, sizeof(cell)); in ofw_initrd_probe_and_attach()
|
H A D | ofw_machdep.c | 353 phandle_t chosen; in excise_initrd_region() local 359 chosen = OF_finddevice("/chosen"); in excise_initrd_region() 361 size = OF_getencprop(chosen, "linux,initrd-start", cell, sizeof(cell)); in excise_initrd_region() 374 size = OF_getencprop(chosen, "linux,initrd-end", cell, sizeof(cell)); in excise_initrd_region() 431 phandle_t chosen; in excise_fdt_reserved() local 434 chosen = OF_finddevice("/chosen"); in excise_fdt_reserved() 435 fdtmapsize = OF_getprop(chosen, "fdtmemreserv", fdtmap, sizeof(fdtmap)); in excise_fdt_reserved() 545 phandle = OF_finddevice("/chosen"); in ofw_mem_regions() [all...] |
/freebsd/sys/contrib/device-tree/Bindings/ |
H A D | chosen.txt | 1 The chosen node 4 The chosen node does not represent a real device, but serves as a place 6 arguments. Data in the chosen node does not represent the hardware. 21 chosen { 35 with a stdout-path property under /chosen, as described in the Devicetree 39 chosen { 93 chosen { 115 chosen { 133 chosen {
|
/freebsd/sys/contrib/device-tree/Bindings/phy/ |
H A D | qcom,usb-snps-femto-v2.yaml | 69 provided input will be chosen as the override value for this param. 78 provided input will be chosen as the override value for this param. 86 provided input will be chosen as the override value for this param. 98 provided input will be chosen as the override value for this param. 110 provided input will be chosen as the override value for this param. 118 provided input will be chosen as the override value for this param. 127 provided input will be chosen as the override value for this param. 137 value closest to the provided input will be chosen as the override value 148 provided input will be chosen as the override value for this param.
|
/freebsd/usr.sbin/pkg/ |
H A D | dns_utils.c | 85 int *chosen; in compute_weight() local 95 chosen = malloc(sizeof(int) * (last - first + 1)); in compute_weight() 99 chosen[i] = arc4random_uniform(d[i]->weight * 100 / in compute_weight() 102 if (chosen[i] == chosen[j]) in compute_weight() 106 d[i]->finalweight = chosen[i]; in compute_weight() 112 free(chosen); in compute_weight()
|
/freebsd/sys/powerpc/pseries/ |
H A D | platform_chrp.c | 398 phandle_t cpu, dev, chosen, pbsp; in chrp_cpuref_init() local 427 /* Look for boot CPU in /chosen/cpu and /chosen/fdtbootcpu */ in chrp_cpuref_init() 429 chosen = OF_finddevice("/chosen"); in chrp_cpuref_init() 430 if (chosen == -1) in chrp_cpuref_init() 431 panic("Device /chosen not found on Open Firmware\n"); in chrp_cpuref_init() 435 /* /chosen/cpu */ in chrp_cpuref_init() 436 if (OF_getproplen(chosen, "cpu") == sizeof(ihandle_t)) { in chrp_cpuref_init() 437 OF_getprop(chosen, "cpu", &ibsp, sizeof(ibsp)); in chrp_cpuref_init() 443 /* /chosen/fdtbootcpu */ in chrp_cpuref_init() 445 if (OF_getproplen(chosen, "fdtbootcpu") == sizeof(cell_t)) in chrp_cpuref_init() [all …]
|
/freebsd/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 97 phandle_t chosen, node; in ofwfb_probe() 106 chosen = OF_finddevice("/chosen"); in ofwfb_probe() 107 if (chosen == -1) in ofwfb_probe() 111 if (OF_getencprop(chosen, "stdout", &stdout, sizeof(stdout)) == in ofwfb_probe() 115 if (OF_getprop(chosen, "stdout-path", buf, sizeof(buf)) > 0) in ofwfb_probe() 119 * The "/chosen/stdout" does not exist try in ofwfb_probe() 493 phandle_t chosen; in ofwfb_init() 507 chosen = OF_finddevice("/chosen"); in ofwfb_init() 95 phandle_t chosen, node; ofwfb_probe() local 481 phandle_t chosen; ofwfb_init() local [all...] |
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | fixed-regulator.yaml | 69 the compatible is chosen to regulator-fixed-clock. The clock binding 70 is mandatory if compatible is chosen to regulator-fixed-clock. 77 available if the compatible is chosen to regulator-fixed-domain. 84 available if the compatible is chosen to regulator-fixed-domain. The 85 power-domain binding is mandatory if compatible is chosen to
|
/freebsd/stand/kboot/kboot/arch/powerpc64/ |
H A D | fdt_arch.c | 74 * Patch up /chosen nodes so that the stored handles mean something, in fdt_arch_fixups() 77 offset = fdt_path_offset(fdtp, "/chosen"); in fdt_arch_fixups() 81 offset = fdt_path_offset(fdtp, "/chosen"); in fdt_arch_fixups() 85 offset = fdt_path_offset(fdtp, "/chosen"); in fdt_arch_fixups()
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_subr.c | 196 phandle_t chosen; in ofw_parse_bootargs() local 200 chosen = OF_finddevice("/chosen"); in ofw_parse_bootargs() 201 if (chosen == -1) in ofw_parse_bootargs() 202 return (chosen); in ofw_parse_bootargs() 204 if ((err = OF_getprop(chosen, "bootargs", buf, sizeof(buf))) != -1) { in ofw_parse_bootargs()
|
H A D | ofw_console.c | 164 int chosen; in ofw_cnprobe() local 166 if ((chosen = OF_finddevice("/chosen")) == -1) { in ofw_cnprobe() 171 if (OF_getencprop(chosen, "stdin", &stdin, sizeof(stdin)) == -1) { in ofw_cnprobe() 176 if (OF_getencprop(chosen, "stdout", &stdout, sizeof(stdout)) == -1) { in ofw_cnprobe()
|
/freebsd/sys/dev/vt/hw/simplefb/ |
H A D | simplefb.c | 125 phandle_t chosen, node; in vt_simplefb_node() 127 chosen = OF_finddevice("/chosen"); in vt_simplefb_node() 128 if (chosen == -1) in vt_simplefb_node() 131 for (node = OF_child(chosen); node != 0; node = OF_peer(node)) { in vt_simplefb_node() 123 phandle_t chosen, node; vt_simplefb_node() local
|
/freebsd/share/doc/psd/15.yacc/ |
H A D | ss3 | 52 The numbers may be chosen by Yacc, or chosen by the user. 99 As mentioned above, the token numbers may be chosen by Yacc or by the user. 100 In the default situation, the numbers are chosen by Yacc.
|
/freebsd/lib/libc/rpc/ |
H A D | rpc_svc_create.3 | 183 If they are 0, suitable defaults are chosen. 206 If they are 0, reasonable defaults are chosen. 252 is bound to a default address chosen by the transport. 269 In the case where the default address is chosen,
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_fbd.c | 224 phandle_t chosen; in bcm_fb_attach() local 232 chosen = OF_finddevice("/chosen"); in bcm_fb_attach() 233 if (chosen != -1 && in bcm_fb_attach() 234 OF_getprop(chosen, "bootargs", &bootargs, sizeof(bootargs)) > 0) { in bcm_fb_attach()
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | EVP_KDF-KRB5KDF.pod | 51 length for the chosen cipher or an error is returned. Moreover, the 53 Since the KRB5KDF output length depends on the chosen cipher, calling 56 The caller must allocate a buffer of the correct length for the chosen
|
/freebsd/sys/dev/vt/hw/fb/ |
H A D | vt_early_fb.c | 134 phandle_t chosen, node; in vt_efb_get_fbnode() 138 chosen = OF_finddevice("/chosen"); in vt_efb_get_fbnode() 139 OF_getprop(chosen, "stdout", &stdout, sizeof(stdout)); in vt_efb_get_fbnode() 142 /* The "/chosen/stdout" present. */ in vt_efb_get_fbnode() 133 phandle_t chosen, node; vt_efb_get_fbnode() local
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | input-reset.txt | 11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define 24 chosen {
|
/freebsd/share/man/man4/ |
H A D | gbde.4 |
|
/freebsd/sys/contrib/device-tree/src/arm64/broadcom/ |
H A D | bcm2712-rpi-5-b.dts | 15 chosen: chosen { label
|
/freebsd/sys/powerpc/powermac/ |
H A D | platform_powermac.c | 326 phandle_t bsp, chosen; in powermac_smp_get_bsp() local 329 chosen = OF_finddevice("/chosen"); in powermac_smp_get_bsp() 330 if (chosen == -1) in powermac_smp_get_bsp() 333 res = OF_getprop(chosen, "cpu", &inst, sizeof(inst)); in powermac_smp_get_bsp()
|
/freebsd/usr.sbin/bsdinstall/partedit/ |
H A D | part_wizard.c | 111 char *chosen; in boot_disk_select() local 183 chosen = (button == BSDDIALOG_OK) ? in boot_disk_select() 186 chosen = strdup(disks[0].name); in boot_disk_select() 188 chosen = NULL; in boot_disk_select() 194 return (chosen); in boot_disk_select()
|