Home
last modified time | relevance | path

Searched refs:valid_port (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/host/
Dohci-s3c2410.c28 #define valid_port(idx) ((idx) == 1 || (idx) == 2) macro
193 if (valid_port(wIndex)) { in ohci_s3c2410_hub_control()
204 if (valid_port(wIndex)) { in ohci_s3c2410_hub_control()
214 if (valid_port(wIndex)) { in ohci_s3c2410_hub_control()
261 if (valid_port(wIndex)) { in ohci_s3c2410_hub_control()
/drivers/net/wan/
Dsdla.c62 static unsigned int valid_port[] = { 0x250, 0x270, 0x280, 0x300, 0x350, 0x360, 0x380, 0x390}; variable
1346 for(i=0; i < ARRAY_SIZE(valid_port); i++) in sdla_set_config()
1347 if (valid_port[i] == map->base_addr) in sdla_set_config()
1350 if (i == ARRAY_SIZE(valid_port)) in sdla_set_config()