Lines Matching defs:p_dev
71 struct pcmcia_device *p_dev;
89 static void bt3c_detach(struct pcmcia_device *p_dev);
189 unsigned int iobase = info->p_dev->resource[0]->start;
193 if (!pcmcia_dev_present(info->p_dev))
226 iobase = info->p_dev->resource[0]->start;
345 iobase = info->p_dev->resource[0]->start;
455 iobase = info->p_dev->resource[0]->start;
563 SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
571 err = request_firmware(&firmware, "BT3CPCC.bin", &info->p_dev->dev);
629 info->p_dev = link;
644 static int bt3c_check_config(struct pcmcia_device *p_dev, void *priv_data)
649 p_dev->io_lines = 16;
651 if ((p_dev->resource[0]->end != 8) || (p_dev->resource[0]->start == 0))
654 p_dev->resource[0]->end = 8;
655 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH;
656 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_8;
658 return pcmcia_request_io(p_dev);
661 static int bt3c_check_config_notpicky(struct pcmcia_device *p_dev,
667 if (p_dev->io_lines > 3)
670 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH;
671 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_8;
672 p_dev->resource[0]->end = 8;
675 p_dev->resource[0]->start = base[j];
676 p_dev->io_lines = base[j] ? 16 : 3;
677 if (!pcmcia_request_io(p_dev))