Home
last modified time | relevance | path

Searched refs:psw_info (Results 1 – 3 of 3) sorted by relevance

/linux/arch/sh/drivers/
A Dpush-switch.c21 struct push_switch_platform_info *psw_info = dev->platform_data; in switch_show() local
22 return sprintf(buf, "%s\n", psw_info->name); in switch_show()
45 struct push_switch_platform_info *psw_info; in switch_drv_probe() local
59 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 …]
/linux/arch/sh/boards/mach-highlander/
A Dpsw.c20 struct push_switch_platform_info *psw_info = pdev->dev.platform_data; in psw_irq_handler() local
34 if (mask & (1 << psw_info->bit)) { in psw_irq_handler()
35 psw->state = !!(mask & (1 << psw_info->bit)); in psw_irq_handler()
/linux/arch/sh/boards/mach-landisk/
A Dpsw.c21 struct push_switch_platform_info *psw_info = pdev->dev.platform_data; in psw_irq_handler() local
34 if (sw_value & (1 << psw_info->bit)) { in psw_irq_handler()

Completed in 6 milliseconds