Beispiel #1
0
static int au1x00_drv_pcmcia_suspend(struct device *dev, pm_message_t state, u32 level)
{
	int ret = 0;
	if (level == SUSPEND_SAVE_STATE)
		ret = pcmcia_socket_dev_suspend(dev, state);
	return ret;
}
Beispiel #2
0
static int tcic_drv_suspend(struct device *dev, u32 state, u32 level)
{
	int ret = 0;
	if (level == SUSPEND_SAVE_STATE)
		ret = pcmcia_socket_dev_suspend(dev, state);
	return ret;
}
Beispiel #3
0
static int at91_cf_suspend(struct platform_device *pdev, pm_message_t mesg)
{
    struct at91_cf_socket    *cf = platform_get_drvdata(pdev);
    struct at91_cf_data    *board = cf->board;

    pcmcia_socket_dev_suspend(&pdev->dev, mesg);
    if (device_may_wakeup(&pdev->dev)) {
        enable_irq_wake(board->det_pin);
        if (board->irq_pin)
            enable_irq_wake(board->irq_pin);
    }
    return 0;
}
static int pcmcia_suspend(struct sa1111_dev *dev, pm_message_t state)
{
	return pcmcia_socket_dev_suspend(&dev->dev, state);
}
Beispiel #5
0
static int pxa2xx_drv_pcmcia_suspend(struct platform_device *dev, pm_message_t state)
{
	return pcmcia_socket_dev_suspend(&dev->dev, state);
}
static int pcmcia_suspend(struct sa1111_dev *dev, u32 state)
{
	return pcmcia_socket_dev_suspend(&dev->dev, state);
}