Lines Matching defs:p_dev
87 static void sedlbauer_detach(struct pcmcia_device *p_dev) __devexit;
90 struct pcmcia_device *p_dev;
118 local->p_dev = link;
168 static int sedlbauer_config_check(struct pcmcia_device *p_dev,
179 p_dev->conf.Attributes |= CONF_ENABLE_SPKR;
180 p_dev->conf.Status = CCSR_AUDIO_ENA;
194 p_dev->conf.Vpp = cfg->vpp1.param[CISTPL_POWER_VNOM]/10000;
196 p_dev->conf.Vpp = dflt->vpp1.param[CISTPL_POWER_VNOM]/10000;
198 p_dev->conf.Attributes |= CONF_ENABLE_IRQ;
201 p_dev->resource[0]->end = p_dev->resource[1]->end = 0;
204 p_dev->resource[0]->start = io->win[0].base;
205 p_dev->resource[0]->end = io->win[0].len;
206 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH;
207 p_dev->resource[0]->flags |=
210 p_dev->resource[1]->flags = p_dev->resource[0]->flags;
211 p_dev->resource[1]->start = io->win[1].base;
212 p_dev->resource[1]->end = io->win[1].len;
215 p_dev->io_lines = 3;
216 if (pcmcia_request_io(p_dev) != 0)