Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/mic/cosm/
Dcosm_sysfs.c315 char *bootmode; in bootmode_show() local
320 bootmode = cdev->bootmode; in bootmode_show()
322 if (bootmode) in bootmode_show()
323 return scnprintf(buf, PAGE_SIZE, "%s\n", bootmode); in bootmode_show()
340 kfree(cdev->bootmode); in bootmode_store()
342 cdev->bootmode = kmalloc(count + 1, GFP_KERNEL); in bootmode_store()
343 if (!cdev->bootmode) { in bootmode_store()
348 strncpy(cdev->bootmode, buf, count); in bootmode_store()
350 if (cdev->bootmode[count - 1] == '\n') in bootmode_store()
351 cdev->bootmode[count - 1] = '\0'; in bootmode_store()
[all …]
Dcosm_main.c69 if (!cdev->bootmode) { in cosm_start()
117 if (!strcmp(cdev->bootmode, "linux")) in cosm_start()
297 kfree(cdev->bootmode); in cosm_driver_remove()
/Linux-v5.4/samples/mic/mpssd/
Dmicctrl68 echo "linux" > $f/bootmode
/Linux-v5.4/arch/arm/mach-omap2/
Dcontrol.c214 void omap3_ctrl_write_boot_mode(u8 bootmode) in omap3_ctrl_write_boot_mode() argument
218 l = ('B' << 24) | ('M' << 16) | bootmode; in omap3_ctrl_write_boot_mode()
264 void omap_ctrl_write_dsp_boot_mode(u8 bootmode) in omap_ctrl_write_dsp_boot_mode() argument
275 omap_ctrl_writel(bootmode, offset); in omap_ctrl_write_dsp_boot_mode()
Dcontrol.h522 extern void omap3_ctrl_write_boot_mode(u8 bootmode);
524 extern void omap_ctrl_write_dsp_boot_mode(u8 bootmode);
/Linux-v5.4/drivers/misc/mic/bus/
Dcosm_bus.h57 char *bootmode; member
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-mic58 of firmware, ramdisk, cmdline and bootmode
115 What: /sys/class/mic/mic(x)/bootmode
120 When read, this sysfs entry provides the current bootmode for
/Linux-v5.4/drivers/misc/mic/host/
Dmic_x100.c458 if (!strcmp(mdev->cosm_dev->bootmode, "flash")) { in mic_x100_load_firmware()