Lines Matching refs:port
61 static void comc_setup(int speed, int port);
71 .c_desc = "serial port",
85 int speed, port;
114 port = comc_parseint(env);
115 if (port > 0)
116 comc_port = port;
195 int port;
197 if (value == NULL || (port = comc_parseint(value)) <= 0) {
198 printf("Invalid port\n");
202 if (comc_port != port)
203 comc_setup(comc_curspeed, port);
265 uint32_t port;
268 (locator & 0xff0000) >> 16, BIOSPCI_32BITS, &port) == -1) {
274 * biospci_read_config() sets port == 0xffffffff if the pcidev
278 if (port == 0xffffffff) {
282 if (!PCI_BAR_IO(port)) {
286 port &= PCIM_BAR_IO_BASE;
288 sprintf(intbuf, "%d", port);
293 comc_setup(comc_curspeed, port);
321 comc_setup(int speed, int port)
329 comc_port = port;