Lines Matching defs:speed
77 unsigned short speed = 0;
81 if (speed < spds[i])
82 speed = spds[i];
83 if (speed == 0)
84 speed = dflt;
86 return speed;
329 * the map speed as requested, but override the address ranges
338 unsigned short speed = map->speed;
340 debug(skt, 2, "map %u speed %u start 0x%08llx stop 0x%08llx\n",
341 map->map, map->speed, (unsigned long long)map->start,
360 if (speed == 0)
361 speed = SOC_PCMCIA_IO_ACCESS;
363 speed = 0;
366 skt->spd_io[map->map] = speed;
383 * the map speed as requested, but override the address ranges
393 unsigned short speed = map->speed;
395 debug(skt, 2, "map %u speed %u card_start %08x\n",
396 map->map, map->speed, map->card_start);
411 if (speed == 0)
412 speed = 300;
414 speed = 0;
419 skt->spd_attr[map->map] = speed;
424 skt->spd_mem[map->map] = speed;