Searched refs:psw_info (Results 1 – 3 of 3) sorted by relevance
21 struct push_switch_platform_info *psw_info = dev->platform_data; in switch_show() local22 return sprintf(buf, "%s\n", psw_info->name); in switch_show()45 struct push_switch_platform_info *psw_info; in switch_drv_probe() local59 psw_info = pdev->dev.platform_data; in switch_drv_probe()60 BUG_ON(!psw_info); in switch_drv_probe()62 ret = request_irq(irq, psw_info->irq_handler, in switch_drv_probe()63 psw_info->irq_flags, in switch_drv_probe()64 psw_info->name ? psw_info->name : DRV_NAME, pdev); in switch_drv_probe()68 if (psw_info->name) { in switch_drv_probe()97 struct push_switch_platform_info *psw_info = pdev->dev.platform_data; in switch_drv_remove() local[all …]
20 struct push_switch_platform_info *psw_info = pdev->dev.platform_data; in psw_irq_handler() local34 if (mask & (1 << psw_info->bit)) { in psw_irq_handler()35 psw->state = !!(mask & (1 << psw_info->bit)); in psw_irq_handler()
21 struct push_switch_platform_info *psw_info = pdev->dev.platform_data; in psw_irq_handler() local34 if (sw_value & (1 << psw_info->bit)) { in psw_irq_handler()
Completed in 6 milliseconds