• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/

Lines Matching refs:port_array

265 	struct slgt_info *port_array[SLGT_MAX_PORTS];
2344 if (info->port_array[i] == NULL)
2347 isr_serial(info->port_array[i]);
2349 isr_rdma(info->port_array[i]);
2351 isr_tdma(info->port_array[i]);
2365 if (info->port_array[i] != NULL)
2366 isr_gpio(info->port_array[i], changed, state);
2372 struct slgt_info *port = info->port_array[i];
3468 struct slgt_info *port_array[SLGT_MAX_PORTS];
3479 port_array[i] = alloc_dev(adapter_num, i, pdev);
3480 if (port_array[i] == NULL) {
3482 kfree(port_array[i]);
3487 /* give copy of port_array to all ports and add to device list */
3489 memcpy(port_array[i]->port_array, port_array, sizeof(port_array));
3490 add_device(port_array[i]);
3491 port_array[i]->port_count = port_count;
3492 spin_lock_init(&port_array[i]->lock);
3496 if (!claim_resources(port_array[0])) {
3498 alloc_dma_bufs(port_array[0]);
3502 port_array[i]->lock = port_array[0]->lock;
3503 port_array[i]->irq_level = port_array[0]->irq_level;
3504 port_array[i]->reg_addr = port_array[0]->reg_addr;
3505 alloc_dma_bufs(port_array[i]);
3508 if (request_irq(port_array[0]->irq_level,
3510 port_array[0]->irq_flags,
3511 port_array[0]->device_name,
3512 port_array[0]) < 0) {
3514 port_array[0]->device_name,
3515 port_array[0]->irq_level));
3517 port_array[0]->irq_requested = 1;
3518 adapter_test(port_array[0]);
3520 port_array[i]->init_error = port_array[0]->init_error;
3521 port_array[i]->gpio_present = port_array[0]->gpio_present;
3527 tty_register_device(serial_driver, port_array[i]->line, &(port_array[i]->pdev->dev));
3963 if (info->port_array[i])
3964 reset_port(info->port_array[i]);