Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_sysfs.c327 char *bootmode; in bootmode_show() local
332 bootmode = cdev->bootmode; in bootmode_show()
334 if (bootmode) in bootmode_show()
335 return scnprintf(buf, PAGE_SIZE, "%s\n", bootmode); in bootmode_show()
352 kfree(cdev->bootmode); in bootmode_store()
354 cdev->bootmode = kmalloc(count + 1, GFP_KERNEL); in bootmode_store()
355 if (!cdev->bootmode) { in bootmode_store()
360 strncpy(cdev->bootmode, buf, count); in bootmode_store()
362 if (cdev->bootmode[count - 1] == '\n') in bootmode_store()
363 cdev->bootmode[count - 1] = '\0'; in bootmode_store()
[all …]
Dcosm_main.c81 if (!cdev->bootmode) { in cosm_start()
129 if (!strcmp(cdev->bootmode, "linux")) in cosm_start()
304 kfree(cdev->bootmode); in cosm_driver_remove()
/linux-4.4.14/Documentation/mic/mpssd/
Dmicctrl79 echo "linux" > $f/bootmode
/linux-4.4.14/arch/arm/mach-omap2/
Dcontrol.c228 void omap3_ctrl_write_boot_mode(u8 bootmode) in omap3_ctrl_write_boot_mode() argument
232 l = ('B' << 24) | ('M' << 16) | bootmode; in omap3_ctrl_write_boot_mode()
278 void omap_ctrl_write_dsp_boot_mode(u8 bootmode) in omap_ctrl_write_dsp_boot_mode() argument
289 omap_ctrl_writel(bootmode, offset); in omap_ctrl_write_dsp_boot_mode()
Dcontrol.h461 extern void omap3_ctrl_write_boot_mode(u8 bootmode);
463 extern void omap_ctrl_write_dsp_boot_mode(u8 bootmode);
/linux-4.4.14/drivers/misc/mic/bus/
Dcosm_bus.h66 char *bootmode; member
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-mic.txt58 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-4.4.14/drivers/misc/mic/host/
Dmic_x100.c471 if (!strcmp(mdev->cosm_dev->bootmode, "flash")) in mic_x100_load_firmware()