Lines Matching refs:p_dev
1525 info->p_dev = link; in nsp_cs_probe()
1550 static int nsp_cs_config_check(struct pcmcia_device *p_dev, void *priv_data) in nsp_cs_config_check() argument
1554 if (p_dev->config_index == 0) in nsp_cs_config_check()
1558 if (pcmcia_request_io(p_dev) != 0) in nsp_cs_config_check()
1561 if (resource_size(p_dev->resource[2])) { in nsp_cs_config_check()
1562 p_dev->resource[2]->flags |= (WIN_DATA_WIDTH_16 | in nsp_cs_config_check()
1565 if (p_dev->resource[2]->end < 0x1000) in nsp_cs_config_check()
1566 p_dev->resource[2]->end = 0x1000; in nsp_cs_config_check()
1567 if (pcmcia_request_window(p_dev, p_dev->resource[2], 0) != 0) in nsp_cs_config_check()
1569 if (pcmcia_map_mem_page(p_dev, p_dev->resource[2], in nsp_cs_config_check()
1570 p_dev->card_addr) != 0) in nsp_cs_config_check()
1574 ioremap(p_dev->resource[2]->start, in nsp_cs_config_check()
1575 resource_size(p_dev->resource[2])); in nsp_cs_config_check()
1579 data->MmioLength = resource_size(p_dev->resource[2]); in nsp_cs_config_check()
1586 pcmcia_disable_device(p_dev); in nsp_cs_config_check()