Lines Matching defs:p_dev
1535 info->p_dev = link;
1585 static int nsp_cs_config_check(struct pcmcia_device *p_dev,
1598 p_dev->conf.Attributes |= CONF_ENABLE_SPKR;
1599 p_dev->conf.Status = CCSR_AUDIO_ENA;
1613 p_dev->conf.Vpp =
1616 p_dev->conf.Vpp =
1621 p_dev->conf.Attributes |= CONF_ENABLE_IRQ;
1624 p_dev->resource[0]->end = p_dev->resource[1]->end = 0;
1627 p_dev->io_lines = io->flags & CISTPL_IO_LINES_MASK;
1628 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH;
1629 p_dev->resource[0]->flags |=
1631 p_dev->resource[0]->start = io->win[0].base;
1632 p_dev->resource[0]->end = io->win[0].len;
1634 p_dev->resource[1]->flags =
1635 p_dev->resource[0]->flags;
1636 p_dev->resource[1]->start = io->win[1].base;
1637 p_dev->resource[1]->end = io->win[1].len;
1640 if (pcmcia_request_io(p_dev) != 0)
1654 if (pcmcia_request_window(p_dev, &cfg_mem->req, &p_dev->win) != 0)
1656 if (pcmcia_map_mem_page(p_dev, p_dev->win,
1669 pcmcia_disable_device(p_dev);