Lines Matching defs:p_dev
47 #define reader_to_dev(x) (&x->p_dev->dev)
107 struct pcmcia_device *p_dev;
424 unsigned int iobase = dev->p_dev->resource[0]->start;
457 unsigned int iobase = dev->p_dev->resource[0]->start;
666 unsigned int iobase = dev->p_dev->resource[0]->start;
885 dev_warn(&dev->p_dev->dev, MODULE_NAME ": ");
927 unsigned int iobase = dev->p_dev->resource[0]->start;
936 if (!pcmcia_dev_present(dev->p_dev) || /* device removed */
1050 unsigned int iobase = dev->p_dev->resource[0]->start;
1075 if (!pcmcia_dev_present(dev->p_dev) || /* device removed */
1403 unsigned int iobase = dev->p_dev->resource[0]->start;
1745 static int cm4000_config_check(struct pcmcia_device *p_dev,
1754 p_dev->resource[0]->start = cfg->io.win[0].base;
1755 p_dev->resource[0]->end = cfg->io.win[0].len;
1756 p_dev->resource[0]->flags |= pcmcia_io_cfg_data_width(cfg->io.flags);
1757 p_dev->io_lines = cfg->io.flags & CISTPL_IO_LINES_MASK;
1759 return pcmcia_request_io(p_dev);
1830 dev->p_dev = link;