Lines Matching defs:p_dev
80 struct pcmcia_device *p_dev;
85 static void aha152x_detach(struct pcmcia_device *p_dev);
97 info->p_dev = link;
120 static int aha152x_config_check(struct pcmcia_device *p_dev, void *priv_data)
122 p_dev->io_lines = 10;
125 if ((p_dev->resource[0]->end < 0x20) &&
126 (p_dev->resource[1]->end >= 0x20))
127 p_dev->resource[0]->start = p_dev->resource[1]->start;
129 if (p_dev->resource[0]->start >= 0xffff)
132 p_dev->resource[1]->start = p_dev->resource[1]->end = 0;
133 p_dev->resource[0]->end = 0x20;
134 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH;
135 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO;
137 return pcmcia_request_io(p_dev);