• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/serial/

Lines Matching defs:p_dev

84 	struct pcmcia_device	*p_dev;
335 info->p_dev = link;
412 static int pfc_config(struct pcmcia_device *p_dev)
415 struct serial_info *info = p_dev->priv;
417 if ((p_dev->resource[1]->end != 0) &&
418 (resource_size(p_dev->resource[1]) == 8)) {
419 port = p_dev->resource[1]->start;
422 (resource_size(p_dev->resource[0]) == 0x40)) {
423 port = p_dev->resource[0]->start + 0x28;
427 return setup_serial(p_dev, info, port, p_dev->irq);
429 dev_warn(&p_dev->dev, "no usable port range found, giving up\n");
433 static int simple_config_check(struct pcmcia_device *p_dev,
443 p_dev->conf.Vpp =
446 p_dev->io_lines = ((*try & 0x1) == 0) ?
451 p_dev->resource[0]->start = cf->io.win[0].base;
452 if (!pcmcia_request_io(p_dev))
458 static int simple_config_check_notpicky(struct pcmcia_device *p_dev,
469 p_dev->resource[0]->start = base[j];
470 p_dev->io_lines = base[j] ? 16 : 3;
471 if (!pcmcia_request_io(p_dev))
517 static int multi_config_check(struct pcmcia_device *p_dev,
528 p_dev->resource[0]->start = cf->io.win[0].base;
529 p_dev->io_lines = cf->io.flags & CISTPL_IO_LINES_MASK;
530 if (!pcmcia_request_io(p_dev)) {
531 *base2 = p_dev->resource[0]->start + 8;
538 static int multi_config_check_notpicky(struct pcmcia_device *p_dev,
547 p_dev->resource[0]->start = cf->io.win[0].base;
548 p_dev->resource[1]->start = cf->io.win[1].base;
549 p_dev->io_lines = cf->io.flags & CISTPL_IO_LINES_MASK;
550 if (!pcmcia_request_io(p_dev)) {
551 *base2 = p_dev->resource[1]->start;
623 static int serial_check_for_multi(struct pcmcia_device *p_dev,
629 struct serial_info *info = p_dev->priv;