Lines Matching refs:devlength
228 unsigned long devlength; in parse_cmdline() local
239 devlength = simple_strtoul(szlength, &buffer, 0); in parse_cmdline()
240 devlength = handle_unit(devlength, buffer); in parse_cmdline()
241 if (devlength < devstart) in parse_cmdline()
244 devlength -= devstart; in parse_cmdline()
246 devlength = simple_strtoul(szlength + 1, &buffer, 0); in parse_cmdline()
247 devlength = handle_unit(devlength, buffer); in parse_cmdline()
250 devname, devstart, devlength); in parse_cmdline()
251 if (devlength % SLRAM_BLK_SZ != 0) in parse_cmdline()
254 if ((devstart = register_device(devname, devstart, devlength))){ in parse_cmdline()
283 char *devlength; in init_slram() local
290 devname = devstart = devlength = NULL; in init_slram()
302 if ((!map) || (!(devlength = strsep(&map, ",")))) { in init_slram()
306 T("slram: devlength = %s\n", devlength); in init_slram()
307 if (parse_cmdline(devname, devstart, devlength) != 0) { in init_slram()