Home
last modified time | relevance | path

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

/drivers/misc/mic/host/
Dmic_sysfs.c326 char *bootmode; in bootmode_show() local
331 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 …]
Dmic_device.h114 char *bootmode; member
Dmic_x100.c474 if (!strcmp(mdev->bootmode, "elf")) in mic_x100_load_firmware()
Dmic_main.c277 kfree(mdev->bootmode); in mic_device_uninit()
/drivers/staging/ft1000/ft1000-usb/
Dft1000_download.c282 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()
Dft1000_usb.h83 unsigned char bootmode; member