Lines Matching refs:p_dev
71 struct pcmcia_device *p_dev;
89 static void bt3c_detach(struct pcmcia_device *p_dev);
189 register unsigned int iobase = info->p_dev->resource[0]->start;
193 if (!pcmcia_dev_present(info->p_dev))
227 iobase = info->p_dev->resource[0]->start;
348 iobase = info->p_dev->resource[0]->start;
476 iobase = info->p_dev->resource[0]->start;
578 SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
587 err = request_firmware(&firmware, "BT3CPCC.bin", &info->p_dev->dev);
645 info->p_dev = link;
663 static int bt3c_check_config(struct pcmcia_device *p_dev, void *priv_data)
668 p_dev->io_lines = 16;
670 if ((p_dev->resource[0]->end != 8) || (p_dev->resource[0]->start == 0))
673 p_dev->resource[0]->end = 8;
674 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH;
675 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_8;
677 return pcmcia_request_io(p_dev);
680 static int bt3c_check_config_notpicky(struct pcmcia_device *p_dev,
686 if (p_dev->io_lines > 3)
689 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH;
690 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_8;
691 p_dev->resource[0]->end = 8;
694 p_dev->resource[0]->start = base[j];
695 p_dev->io_lines = base[j] ? 16 : 3;
696 if (!pcmcia_request_io(p_dev))