/Linux-v4.19/arch/powerpc/boot/ |
D | main.c | 105 static struct addr_range prep_initrd(struct addr_range vmlinux, void *chosen, in prep_initrd() argument 147 setprop_val(chosen, "linux,initrd-start", (u32)(initrd_addr)); in prep_initrd() 148 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size)); in prep_initrd() 160 static void prep_cmdline(void *chosen) in prep_cmdline() argument 167 n = getprop(chosen, "linux,cmdline-timeout", &v, sizeof(v)); in prep_cmdline() 172 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline() 183 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline() 196 void *chosen; in start() local 214 chosen = finddevice("/chosen"); in start() 215 if (!chosen) in start() [all …]
|
D | ps3.c | 53 static void prep_cmdline(void *chosen) in prep_cmdline() argument 56 getprop(chosen, "bootargs", cmdline, BOOT_COMMAND_LINE_SIZE-1); in prep_cmdline() 58 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline() 125 void *chosen; in platform_init() local 137 chosen = finddevice("/chosen"); in platform_init() 143 setprop_val(chosen, "linux,initrd-start", (u32)(_initrd_start)); in platform_init() 144 setprop_val(chosen, "linux,initrd-end", (u32)(_initrd_end)); in platform_init() 147 prep_cmdline(chosen); in platform_init()
|
D | planetcore.c | 111 void *node, *chosen; in planetcore_set_stdout_path() local 126 chosen = finddevice("/chosen"); in planetcore_set_stdout_path() 127 if (!chosen) in planetcore_set_stdout_path() 128 chosen = create_node(NULL, "chosen"); in planetcore_set_stdout_path() 129 if (!chosen) in planetcore_set_stdout_path() 132 setprop_str(chosen, "linux,stdout-path", path); in planetcore_set_stdout_path()
|
D | oflib.c | 119 phandle oprom, chosen; in check_of_version() local 132 chosen = of_finddevice("/chosen"); in check_of_version() 133 if (chosen == (phandle) -1) { in check_of_version() 134 chosen = of_finddevice("/chosen@0"); in check_of_version() 135 if (chosen == (phandle) -1) { in check_of_version() 140 if (of_getprop(chosen, "mmu", &chosen_mmu, sizeof(chosen_mmu)) <= 0) { in check_of_version()
|
/Linux-v4.19/Documentation/devicetree/bindings/ |
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 {
|
/Linux-v4.19/mm/ |
D | oom_kill.c | 349 if (points == oc->chosen_points && thread_group_leader(oc->chosen)) in oom_evaluate_task() 352 if (oc->chosen) in oom_evaluate_task() 353 put_task_struct(oc->chosen); in oom_evaluate_task() 355 oc->chosen = task; in oom_evaluate_task() 360 if (oc->chosen) in oom_evaluate_task() 361 put_task_struct(oc->chosen); in oom_evaluate_task() 362 oc->chosen = (void *)-1UL; in oom_evaluate_task() 927 struct task_struct *p = oc->chosen; in oom_kill_process() 1101 oc->chosen = current; in out_of_memory() 1108 if (!oc->chosen) { in out_of_memory() [all …]
|
/Linux-v4.19/arch/powerpc/mm/ |
D | init_64.c | 338 unsigned long root, chosen; in early_check_vec5() local 344 chosen = of_get_flat_dt_subnode_by_name(root, "chosen"); in early_check_vec5() 345 if (chosen == -FDT_ERR_NOTFOUND) { in early_check_vec5() 349 vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", &size); in early_check_vec5()
|
/Linux-v4.19/drivers/pwm/ |
D | core.c | 768 struct pwm_lookup *p, *chosen = NULL; in pwm_get() local 816 chosen = p; in pwm_get() 827 if (!chosen) in pwm_get() 830 chip = pwmchip_find_by_name(chosen->provider); in pwm_get() 838 if (!chip && chosen->module) { in pwm_get() 839 err = request_module(chosen->module); in pwm_get() 841 chip = pwmchip_find_by_name(chosen->provider); in pwm_get() 847 pwm = pwm_request_from_chip(chip, chosen->index, con_id ?: dev_id); in pwm_get() 851 pwm->args.period = chosen->period; in pwm_get() 852 pwm->args.polarity = chosen->polarity; in pwm_get()
|
/Linux-v4.19/Documentation/devicetree/bindings/input/ |
D | input-reset.txt | 11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define 24 chosen {
|
/Linux-v4.19/Documentation/devicetree/bindings/display/ |
D | simple-framebuffer.txt | 8 the chosen node (*). Simplefb nodes must be named "framebuffer@<address>". 24 then the chosen node's stdout-path property should point to it, or to the 66 chosen { 91 nodes found under chosen and then check for other compatible nodes.
|
/Linux-v4.19/drivers/net/phy/ |
D | dp83640.c | 148 struct dp83640_private *chosen; member 311 struct dp83640_private *dp83640 = clock->chosen; in periodic_output() 382 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjfine() 415 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjtime() 437 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_gettime() 462 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_settime() 479 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_enable() 622 struct phy_device *master = clock->chosen->phydev; in recalibrate() 1062 if (chosen_phy == -1 && !clock->chosen) in choose_this_phy() 1158 clock->chosen = dp83640; in dp83640_probe() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | prom_init.c | 120 phandle chosen; member 635 if ((long)prom.chosen > 0) in early_cmdline_parse() 636 l = prom_getprop(prom.chosen, "bootargs", p, COMMAND_LINE_SIZE-1); in early_cmdline_parse() 1130 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support() 1137 prom_getprop(prom.chosen, "ibm,arch-vec-5-platform-support", in prom_check_platform_support() 1559 if (prom_getprop(prom.chosen, "stdin", &val, sizeof(val)) > 0) { in prom_close_stdin() 2038 prom.chosen = call_prom("finddevice", 1, 1, ADDR("/chosen")); in prom_init_client_services() 2039 if (!PHANDLE_VALID(prom.chosen)) in prom_init_client_services() 2076 prom_getprop(prom.chosen, "mmu", &prom.mmumap, in prom_find_mmu() 2093 if (prom_getprop(prom.chosen, "stdout", &val, sizeof(val)) <= 0) in prom_init_stdout() [all …]
|
/Linux-v4.19/arch/sparc/kernel/ |
D | setup_64.c | 670 phandle chosen = prom_finddevice("/chosen"); in setup_arch() local 673 cl = prom_getintdefault (chosen, "client-ip", 0); in setup_arch() 674 sv = prom_getintdefault (chosen, "server-ip", 0); in setup_arch() 675 gw = prom_getintdefault (chosen, "gateway-ip", 0); in setup_arch()
|
/Linux-v4.19/arch/mips/boot/dts/ralink/ |
D | vocore2.dts | 14 chosen {
|
D | omega2p.dts | 14 chosen {
|
D | mt7620a_eval.dts | 15 chosen {
|
D | rt3883_eval.dts | 15 chosen {
|
/Linux-v4.19/arch/mips/boot/dts/brcm/ |
D | bcm3368-netgear-cvg834g.dts | 15 chosen {
|
D | bcm93384wvg.dts | 10 chosen {
|
D | bcm9ejtagprb.dts | 15 chosen {
|
D | bcm6362-neufbox6-sercomm.dts | 15 chosen {
|
D | bcm93384wvg_viper.dts | 10 chosen {
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | qcom-apq8084-mtp.dts | 14 chosen {
|
D | qcom-msm8974-samsung-klte.dts | 14 chosen {
|
/Linux-v4.19/arch/arm64/boot/dts/realtek/ |
D | rtd1295-probox2-ava.dts | 24 chosen {
|