Lines Matching refs:p_dev

71 	struct pcmcia_device *p_dev;  member
89 static void bt3c_detach(struct pcmcia_device *p_dev);
189 unsigned int iobase = info->p_dev->resource[0]->start; in bt3c_write_wakeup()
193 if (!pcmcia_dev_present(info->p_dev)) in bt3c_write_wakeup()
226 iobase = info->p_dev->resource[0]->start; in bt3c_receive()
344 iobase = info->p_dev->resource[0]->start; in bt3c_interrupt()
454 iobase = info->p_dev->resource[0]->start; in bt3c_load_firmware()
559 SET_HCIDEV_DEV(hdev, &info->p_dev->dev); in bt3c_open()
567 err = request_firmware(&firmware, "BT3CPCC.bin", &info->p_dev->dev); in bt3c_open()
625 info->p_dev = link; in bt3c_probe()
640 static int bt3c_check_config(struct pcmcia_device *p_dev, void *priv_data) in bt3c_check_config() argument
645 p_dev->io_lines = 16; in bt3c_check_config()
647 if ((p_dev->resource[0]->end != 8) || (p_dev->resource[0]->start == 0)) in bt3c_check_config()
650 p_dev->resource[0]->end = 8; in bt3c_check_config()
651 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in bt3c_check_config()
652 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_8; in bt3c_check_config()
654 return pcmcia_request_io(p_dev); in bt3c_check_config()
657 static int bt3c_check_config_notpicky(struct pcmcia_device *p_dev, in bt3c_check_config_notpicky() argument
663 if (p_dev->io_lines > 3) in bt3c_check_config_notpicky()
666 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in bt3c_check_config_notpicky()
667 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_8; in bt3c_check_config_notpicky()
668 p_dev->resource[0]->end = 8; in bt3c_check_config_notpicky()
671 p_dev->resource[0]->start = base[j]; in bt3c_check_config_notpicky()
672 p_dev->io_lines = base[j] ? 16 : 3; in bt3c_check_config_notpicky()
673 if (!pcmcia_request_io(p_dev)) in bt3c_check_config_notpicky()