Lines Matching refs:p_dev
43 static void avma1cs_detach(struct pcmcia_device *p_dev);
45 static int avma1cs_probe(struct pcmcia_device *p_dev) in avma1cs_probe() argument
47 dev_dbg(&p_dev->dev, "avma1cs_attach()\n"); in avma1cs_probe()
50 p_dev->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_SET_IO; in avma1cs_probe()
51 p_dev->config_index = 1; in avma1cs_probe()
52 p_dev->config_regs = PRESENT_OPTION; in avma1cs_probe()
54 return avma1cs_config(p_dev); in avma1cs_probe()
64 static int avma1cs_configcheck(struct pcmcia_device *p_dev, void *priv_data) in avma1cs_configcheck() argument
66 p_dev->resource[0]->end = 16; in avma1cs_configcheck()
67 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in avma1cs_configcheck()
68 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_8; in avma1cs_configcheck()
69 p_dev->io_lines = 5; in avma1cs_configcheck()
71 return pcmcia_request_io(p_dev); in avma1cs_configcheck()