Searched refs:msic (Results 1 – 3 of 3) sorted by relevance
300 int intel_msic_irq_read(struct intel_msic *msic, unsigned short reg, u8 *val) in intel_msic_irq_read() argument305 *val = readb(msic->irq_base + (reg - INTEL_MSIC_IRQLVL1)); in intel_msic_irq_read()310 static int intel_msic_init_devices(struct intel_msic *msic) in intel_msic_init_devices() argument312 struct platform_device *pdev = msic->pdev; in intel_msic_init_devices()366 static void intel_msic_remove_devices(struct intel_msic *msic) in intel_msic_remove_devices() argument368 struct platform_device *pdev = msic->pdev; in intel_msic_remove_devices()376 struct intel_msic *msic; in intel_msic_probe() local404 msic = devm_kzalloc(&pdev->dev, sizeof(*msic), GFP_KERNEL); in intel_msic_probe()405 if (!msic) in intel_msic_probe()408 msic->vendor = MSIC_VENDOR(id0); in intel_msic_probe()[all …]
240 struct intel_msic *msic = pdev_to_intel_msic(mg->pdev); in msic_gpio_irq_handler() local247 intel_msic_irq_read(msic, INTEL_MSIC_GPIO0LVIRQ + i, &pin); in msic_gpio_irq_handler()
68 obj-$(CONFIG_GPIO_MSIC) += gpio-msic.o