Lines Matching defs:p_dev
27 static void ixj_detach(struct pcmcia_device *p_dev);
31 static int ixj_probe(struct pcmcia_device *p_dev)
33 dev_dbg(&p_dev->dev, "ixj_attach()\n");
35 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_8;
36 p_dev->resource[1]->flags |= IO_DATA_PATH_WIDTH_8;
37 p_dev->conf.IntType = INT_MEMORY_AND_IO;
38 p_dev->priv = kzalloc(sizeof(struct ixj_info_t), GFP_KERNEL);
39 if (!p_dev->priv) {
43 return ixj_config(p_dev);
114 static int ixj_config_check(struct pcmcia_device *p_dev,
122 p_dev->resource[0]->start = io->win[0].base;
123 p_dev->resource[0]->end = io->win[0].len;
124 p_dev->io_lines = 3;
126 p_dev->resource[1]->start = io->win[1].base;
127 p_dev->resource[1]->end = io->win[1].len;
129 if (!pcmcia_request_io(p_dev))