Lines Matching refs:p_dev
84 struct pcmcia_device *p_dev; member
89 static void aha152x_detach(struct pcmcia_device *p_dev);
101 info->p_dev = link; in aha152x_probe()
124 static int aha152x_config_check(struct pcmcia_device *p_dev, void *priv_data) in aha152x_config_check() argument
126 p_dev->io_lines = 10; in aha152x_config_check()
129 if ((p_dev->resource[0]->end < 0x20) && in aha152x_config_check()
130 (p_dev->resource[1]->end >= 0x20)) in aha152x_config_check()
131 p_dev->resource[0]->start = p_dev->resource[1]->start; in aha152x_config_check()
133 if (p_dev->resource[0]->start >= 0xffff) in aha152x_config_check()
136 p_dev->resource[1]->start = p_dev->resource[1]->end = 0; in aha152x_config_check()
137 p_dev->resource[0]->end = 0x20; in aha152x_config_check()
138 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in aha152x_config_check()
139 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; in aha152x_config_check()
141 return pcmcia_request_io(p_dev); in aha152x_config_check()