Home
last modified time | relevance | path

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

/Linux-v4.19/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()
309 kfree(cdev->bootmode); in cosm_driver_remove()
/Linux-v4.19/samples/mic/mpssd/
Dmicctrl79 echo "linux" > $f/bootmode
/Linux-v4.19/arch/arm/mach-omap2/
Dcontrol.c217 void omap3_ctrl_write_boot_mode(u8 bootmode) in omap3_ctrl_write_boot_mode() argument
221 l = ('B' << 24) | ('M' << 16) | bootmode; in omap3_ctrl_write_boot_mode()
267 void omap_ctrl_write_dsp_boot_mode(u8 bootmode) in omap_ctrl_write_dsp_boot_mode() argument
278 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-v4.19/drivers/misc/mic/bus/
Dcosm_bus.h68 char *bootmode; member
/Linux-v4.19/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-v4.19/drivers/misc/mic/host/
Dmic_x100.c470 if (!strcmp(mdev->cosm_dev->bootmode, "flash")) { in mic_x100_load_firmware()