Home
last modified time | relevance | path

Searched refs:cmdline (Results 1 – 10 of 10) sorted by relevance

/drivers/misc/mic/host/
Dmic_sysfs.c189 char *cmdline; in cmdline_show() local
194 cmdline = mdev->cmdline; in cmdline_show()
196 if (cmdline) in cmdline_show()
197 return scnprintf(buf, PAGE_SIZE, "%s\n", cmdline); in cmdline_show()
211 kfree(mdev->cmdline); in cmdline_store()
213 mdev->cmdline = kmalloc(count + 1, GFP_KERNEL); in cmdline_store()
214 if (!mdev->cmdline) { in cmdline_store()
219 strncpy(mdev->cmdline, buf, count); in cmdline_store()
221 if (mdev->cmdline[count - 1] == '\n') in cmdline_store()
222 mdev->cmdline[count - 1] = '\0'; in cmdline_store()
[all …]
Dmic_x100.c370 if (mdev->cmdline) in mic_x100_load_command_line()
371 snprintf(buf + len, CMDLINE_SIZE - len, " %s", mdev->cmdline); in mic_x100_load_command_line()
Dmic_device.h111 char *cmdline; member
Dmic_main.c274 kfree(mdev->cmdline); in mic_device_uninit()
/drivers/tty/serial/8250/
D8250_early.c162 int __init setup_early_serial8250_console(char *cmdline) in setup_early_serial8250_console() argument
166 if (cmdline && cmdline[4] == ',') in setup_early_serial8250_console()
169 return setup_earlycon(cmdline, match, early_serial8250_setup); in setup_early_serial8250_console()
/drivers/firmware/
Dpcdp.c87 efi_setup_pcdp_console(char *cmdline) in efi_setup_pcdp_console() argument
101 if (strstr(cmdline, "console=hcdp")) { in efi_setup_pcdp_console()
104 } else if (strstr(cmdline, "console=")) { in efi_setup_pcdp_console()
/drivers/of/
Dfdt.c922 char *cmdline = data; in early_init_dt_scan_chosen() local
926 if (depth != 1 || !cmdline || in early_init_dt_scan_chosen()
933 if (overwrite_incoming_cmdline || !cmdline[0]) in early_init_dt_scan_chosen()
934 strlcpy(cmdline, config_cmdline, COMMAND_LINE_SIZE); in early_init_dt_scan_chosen()
944 strlcat(cmdline, " ", COMMAND_LINE_SIZE); in early_init_dt_scan_chosen()
945 cmdline_len = strlen(cmdline); in early_init_dt_scan_chosen()
948 strncpy(cmdline + cmdline_len, p, copy_len); in early_init_dt_scan_chosen()
949 cmdline[cmdline_len + copy_len] = '\0'; in early_init_dt_scan_chosen()
951 strlcpy(cmdline, p, min((int)l, COMMAND_LINE_SIZE)); in early_init_dt_scan_chosen()
/drivers/mtd/
Dcmdlinepart.c85 static char *cmdline; variable
319 err = mtdpart_setup_real(cmdline); in parse_cmdline_partitions()
382 cmdline = s; in mtdpart_setup()
/drivers/firmware/efi/libstub/
Defi-stub-helper.c316 efi_status_t efi_parse_options(char *cmdline) in efi_parse_options() argument
324 str = strstr(cmdline, "efi="); in efi_parse_options()
/drivers/acpi/
Dosl.c140 unsigned int cmdline:1; member
151 osi_linux.cmdline ? " via cmdline" : in acpi_osi_handler()
1490 osi_linux.cmdline = 1; /* cmdline set the default and override DMI */ in acpi_cmdline_osi_linux()