Searched refs:bootmode (Results 1 – 6 of 6) sorted by relevance
326 char *bootmode; in bootmode_show() local331 bootmode = mdev->bootmode; in bootmode_show()333 if (bootmode) in bootmode_show()334 return scnprintf(buf, PAGE_SIZE, "%s\n", bootmode); in bootmode_show()351 kfree(mdev->bootmode); in bootmode_store()353 mdev->bootmode = kmalloc(count + 1, GFP_KERNEL); in bootmode_store()354 if (!mdev->bootmode) { in bootmode_store()359 strncpy(mdev->bootmode, buf, count); in bootmode_store()361 if (mdev->bootmode[count - 1] == '\n') in bootmode_store()362 mdev->bootmode[count - 1] = '\0'; in bootmode_store()[all …]
114 char *bootmode; member
474 if (!strcmp(mdev->bootmode, "elf")) in mic_x100_load_firmware()
277 kfree(mdev->bootmode); in mic_device_uninit()
282 if (ft1000dev->bootmode == 1) { in get_request_type()305 if (ft1000dev->bootmode == 1) { in get_request_type_usb()333 if (ft1000dev->bootmode == 1) { in get_request_value()489 if (ft1000dev->bootmode == 0) { in write_blk()678 ft1000dev->bootmode = 1; in scram_dnldr()735 ft1000dev->bootmode = 0; in scram_dnldr()
83 unsigned char bootmode; member