Home
last modified time | relevance | path

Searched refs:gctrl (Results 1 – 4 of 4) sorted by relevance

/drivers/pinctrl/
Dpinctrl-equilibrium.c27 struct eqbr_gpio_ctrl *gctrl = gpiochip_get_data(gc); in eqbr_gpio_disable_irq() local
31 raw_spin_lock_irqsave(&gctrl->lock, flags); in eqbr_gpio_disable_irq()
32 writel(BIT(offset), gctrl->membase + GPIO_IRNENCLR); in eqbr_gpio_disable_irq()
33 raw_spin_unlock_irqrestore(&gctrl->lock, flags); in eqbr_gpio_disable_irq()
39 struct eqbr_gpio_ctrl *gctrl = gpiochip_get_data(gc); in eqbr_gpio_enable_irq() local
44 raw_spin_lock_irqsave(&gctrl->lock, flags); in eqbr_gpio_enable_irq()
45 writel(BIT(offset), gctrl->membase + GPIO_IRNRNSET); in eqbr_gpio_enable_irq()
46 raw_spin_unlock_irqrestore(&gctrl->lock, flags); in eqbr_gpio_enable_irq()
52 struct eqbr_gpio_ctrl *gctrl = gpiochip_get_data(gc); in eqbr_gpio_ack_irq() local
56 raw_spin_lock_irqsave(&gctrl->lock, flags); in eqbr_gpio_ack_irq()
[all …]
/drivers/media/usb/stk1160/
Dstk1160-core.c101 static const u8 gctrl[] = { in stk1160_select_input() local
110 if (dev->ctl_input < ARRAY_SIZE(gctrl)) { in stk1160_select_input()
113 stk1160_write_reg(dev, STK1160_GCTRL, gctrl[dev->ctl_input]); in stk1160_select_input()
/drivers/mfd/
Dlpc_ich.c93 int gctrl; /* GPIO control */ member
826 pci_write_config_byte(dev, priv->gctrl, priv->gctrl_save); in lpc_ich_restore_config_space()
863 pci_read_config_byte(dev, priv->gctrl, &reg_save); in lpc_ich_enable_gpio_space()
864 pci_write_config_byte(dev, priv->gctrl, reg_save | 0x10); in lpc_ich_enable_gpio_space()
1231 priv->gctrl = GPIOCTRL_ICH0; in lpc_ich_probe()
1234 priv->gctrl = GPIOCTRL_ICH6; in lpc_ich_probe()
/drivers/scsi/
Dinitio.c485 u8 gctrl; in initio_read_eeprom() local
489 gctrl = inb(base + TUL_GCTRL); in initio_read_eeprom()
490 outb(gctrl | TUL_GCTRL_EEPROM_BIT, base + TUL_GCTRL); in initio_read_eeprom()
496 gctrl = inb(base + TUL_GCTRL); in initio_read_eeprom()
497 outb(gctrl & ~TUL_GCTRL_EEPROM_BIT, base + TUL_GCTRL); in initio_read_eeprom()