Searched refs:devlength (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/mtd/devices/ |
H A D | slram.c | 231 unsigned long devlength; parse_cmdline() local 242 devlength = simple_strtoul(szlength, &buffer, 0); parse_cmdline() 243 devlength = handle_unit(devlength, buffer); parse_cmdline() 244 if (devlength < devstart) parse_cmdline() 247 devlength -= devstart; parse_cmdline() 249 devlength = simple_strtoul(szlength + 1, &buffer, 0); parse_cmdline() 250 devlength = handle_unit(devlength, buffer); parse_cmdline() 252 T("slram: devname=%s, devstart=0x%lx, devlength=0x%lx\n", parse_cmdline() 253 devname, devstart, devlength); parse_cmdline() 254 if (devlength % SLRAM_BLK_SZ != 0) parse_cmdline() 257 if ((devstart = register_device(devname, devstart, devlength))){ parse_cmdline() 286 char *devlength; init_slram() local 293 devname = devstart = devlength = NULL; init_slram() 304 if ((!map) || (!(devlength = strsep(&map, ",")))) { init_slram() 307 T("slram: devlength = %s\n", devlength); init_slram() 308 if (parse_cmdline(devname, devstart, devlength) != 0) { init_slram()
|
Completed in 63 milliseconds