Home
last modified time | relevance | path

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

/linux-6.15/drivers/pinctrl/
H A Dpinctrl-equilibrium.c182 gc = &gctrl->chip; in gpiochip_setup()
183 gc->label = gctrl->name; in gpiochip_setup()
188 gctrl->name); in gpiochip_setup()
220 if (!gctrl->name) in gpiolib_reg()
233 if (!gctrl->virq) { in gpiolib_reg()
235 gctrl->name); in gpiolib_reg()
240 ret = bgpio_init(&gctrl->chip, dev, gctrl->bank->nr_pins / 8, in gpiolib_reg()
255 ret = devm_gpiochip_add_data(dev, &gctrl->chip, gctrl); in gpiolib_reg()
426 if (!gctrl) { in eqbr_pinconf_get()
495 if (!gctrl) { in eqbr_pinconf_set()
[all …]
/linux-6.15/drivers/media/usb/stk1160/
H A 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-6.15/drivers/mfd/
H A Dlpc_ich.c361 int gctrl; /* GPIO control */ member
974 pci_write_config_byte(dev, priv->gctrl, priv->gctrl_save); in lpc_ich_restore_config_space()
1011 pci_read_config_byte(dev, priv->gctrl, &reg_save); in lpc_ich_enable_gpio_space()
1012 pci_write_config_byte(dev, priv->gctrl, reg_save | 0x10); in lpc_ich_enable_gpio_space()
1396 priv->gctrl = GPIOCTRL_ICH0; in lpc_ich_probe()
1399 priv->gctrl = GPIOCTRL_ICH6; in lpc_ich_probe()
/linux-6.15/drivers/scsi/
H A Dinitio.c484 u8 gctrl; in initio_read_eeprom() local
488 gctrl = inb(base + TUL_GCTRL); in initio_read_eeprom()
489 outb(gctrl | TUL_GCTRL_EEPROM_BIT, base + TUL_GCTRL); in initio_read_eeprom()
495 gctrl = inb(base + TUL_GCTRL); in initio_read_eeprom()
496 outb(gctrl & ~TUL_GCTRL_EEPROM_BIT, base + TUL_GCTRL); in initio_read_eeprom()