Lines Matching +full:0 +full:x8014
14 #define PCH_EDGE_FALLING 0
19 #define PCH_IM_MASK GENMASK(2, 0)
146 return 0; in pch_gpio_direction_output()
162 return 0; in pch_gpio_direction_input()
235 im_pos = ch - 0; in pch_irq_type()
259 return 0; in pch_irq_type()
275 return 0; in pch_irq_type()
308 dev_vdbg(chip->dev, "irq=%d status=0x%lx\n", irq, reg_val); in pch_gpio_handler()
341 IRQ_NOREQUEST | IRQ_NOPROBE, 0); in pch_gpio_alloc_generic_chip()
372 if (pdev->device == 0x8803) in pch_gpio_probe()
374 else if (pdev->device == 0x8014) in pch_gpio_probe()
376 else if (pdev->device == 0x8043) in pch_gpio_probe()
390 irq_base = devm_irq_alloc_descs(&pdev->dev, -1, 0, in pch_gpio_probe()
392 if (irq_base < 0) { in pch_gpio_probe()
395 return 0; in pch_gpio_probe()
422 return 0; in pch_gpio_suspend()
431 iowrite32(0x01, &chip->reg->reset); in pch_gpio_resume()
432 iowrite32(0x00, &chip->reg->reset); in pch_gpio_resume()
436 return 0; in pch_gpio_resume()
442 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) },
443 { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8014) },
444 { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8043) },
445 { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8803) },
446 { 0, }