Lines Matching refs:devlength
250 unsigned long devlength; in parse_cmdline() local
261 devlength = simple_strtoul(szlength, &buffer, 0); in parse_cmdline()
262 devlength = handle_unit(devlength, buffer) - devstart; in parse_cmdline()
264 devlength = simple_strtoul(szlength + 1, &buffer, 0); in parse_cmdline()
265 devlength = handle_unit(devlength, buffer); in parse_cmdline()
268 devname, devstart, devlength); in parse_cmdline()
269 if ((devstart < 0) || (devlength < 0)) { in parse_cmdline()
274 if ((devstart = register_device(devname, devstart, devlength))){ in parse_cmdline()
300 char *devlength; in init_slram() local
309 devname = devstart = devlength = NULL; in init_slram()
320 if ((!map) || (!(devlength = strsep(&map, ",")))) { in init_slram()
323 T("slram: devlength = %s\n", devlength); in init_slram()
324 if (parse_cmdline(devname, devstart, devlength) != 0) { in init_slram()