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