Lines Matching refs:p_dev
83 struct pcmcia_device *p_dev; member
88 static void aha152x_detach(struct pcmcia_device *p_dev);
100 info->p_dev = link; in aha152x_probe()
123 static int aha152x_config_check(struct pcmcia_device *p_dev, void *priv_data) in aha152x_config_check() argument
125 p_dev->io_lines = 10; in aha152x_config_check()
128 if ((p_dev->resource[0]->end < 0x20) && in aha152x_config_check()
129 (p_dev->resource[1]->end >= 0x20)) in aha152x_config_check()
130 p_dev->resource[0]->start = p_dev->resource[1]->start; in aha152x_config_check()
132 if (p_dev->resource[0]->start >= 0xffff) in aha152x_config_check()
135 p_dev->resource[1]->start = p_dev->resource[1]->end = 0; in aha152x_config_check()
136 p_dev->resource[0]->end = 0x20; in aha152x_config_check()
137 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in aha152x_config_check()
138 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; in aha152x_config_check()
140 return pcmcia_request_io(p_dev); in aha152x_config_check()