Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pinctrl/
Dpinctrl-equilibrium.c28 struct eqbr_gpio_ctrl *gctrl = gpiochip_get_data(gc); in eqbr_gpio_disable_irq() local
32 raw_spin_lock_irqsave(&gctrl->lock, flags); in eqbr_gpio_disable_irq()
33 writel(BIT(offset), gctrl->membase + GPIO_IRNENCLR); in eqbr_gpio_disable_irq()
34 raw_spin_unlock_irqrestore(&gctrl->lock, flags); in eqbr_gpio_disable_irq()
41 struct eqbr_gpio_ctrl *gctrl = gpiochip_get_data(gc); in eqbr_gpio_enable_irq() local
47 raw_spin_lock_irqsave(&gctrl->lock, flags); in eqbr_gpio_enable_irq()
48 writel(BIT(offset), gctrl->membase + GPIO_IRNRNSET); in eqbr_gpio_enable_irq()
49 raw_spin_unlock_irqrestore(&gctrl->lock, flags); in eqbr_gpio_enable_irq()
55 struct eqbr_gpio_ctrl *gctrl = gpiochip_get_data(gc); in eqbr_gpio_ack_irq() local
59 raw_spin_lock_irqsave(&gctrl->lock, flags); in eqbr_gpio_ack_irq()
[all …]
/Linux-v6.6/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()
/Linux-v6.6/drivers/mfd/
Dlpc_ich.c94 int gctrl; /* GPIO control */ member
895 pci_write_config_byte(dev, priv->gctrl, priv->gctrl_save); in lpc_ich_restore_config_space()
932 pci_read_config_byte(dev, priv->gctrl, &reg_save); in lpc_ich_enable_gpio_space()
933 pci_write_config_byte(dev, priv->gctrl, reg_save | 0x10); in lpc_ich_enable_gpio_space()
1315 priv->gctrl = GPIOCTRL_ICH0; in lpc_ich_probe()
1318 priv->gctrl = GPIOCTRL_ICH6; in lpc_ich_probe()
/Linux-v6.6/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()