Home
last modified time | relevance | path

Searched refs:gpio_set (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/media/usb/gspca/
Dsq930x.c584 static void gpio_set(struct sd *sd, u16 val, u16 mask) in gpio_set() function
607 gpio_set(sd, *gpio++, 0x000f); in gpio_init()
608 gpio_set(sd, *gpio++, 0x000f); in gpio_init()
609 gpio_set(sd, *gpio++, 0x000f); in gpio_init()
610 gpio_set(sd, *gpio++, 0x000f); in gpio_init()
611 gpio_set(sd, *gpio, 0x000f); in gpio_init()
622 gpio_set(sd, SQ930_GPIO_POWER, 0xff00); in bridge_init()
711 gpio_set(sd, SQ930_GPIO_EXTRA1, 0x00ff); in global_init()
713 gpio_set(sd, 0, 0x00ff); in global_init()
728 gpio_set(sd, SQ930_GPIO_EXTRA2, SQ930_GPIO_EXTRA2); in global_init()
[all …]
/linux-6.6.21/drivers/usb/serial/
Dxr_serial.c124 u16 gpio_set; member
164 .gpio_set = 0x1d,
186 .gpio_set = 0x0e,
209 .gpio_set = 0xc0e,
229 .gpio_set = 0x4e,
468 u16 gpio_set = 0; in xr_tiocmset_port() local
478 gpio_set |= XR_GPIO_RTS; in xr_tiocmset_port()
480 gpio_set |= XR_GPIO_DTR; in xr_tiocmset_port()
486 if (gpio_set) in xr_tiocmset_port()
487 ret = xr_set_reg_uart(port, type->gpio_set, gpio_set); in xr_tiocmset_port()
[all …]
/linux-6.6.21/drivers/char/
Dnsc_gpio.c57 amp->gpio_set(m, 0); in nsc_gpio_write()
60 amp->gpio_set(m, 1); in nsc_gpio_write()
Dscx200_gpio.c44 .gpio_set = scx200_gpio_set,
Dpc8736x_gpio.c216 .gpio_set = pc8736x_gpio_set,
/linux-6.6.21/include/linux/
Dnsc_gpio.h28 void (*gpio_set) (unsigned iminor, int state); member
/linux-6.6.21/drivers/leds/
Dleds-net48xx.c28 scx200_gpio_ops.gpio_set(NET48XX_ERROR_LED_GPIO, value ? 1 : 0); in net48xx_error_led_set()
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-mcp23s08.c381 defval_changed, gpio_set; in mcp23s08_irq() local
443 gpio_set = BIT(i) & gpio; in mcp23s08_irq()
451 (BIT(i) & mcp->irq_rise) && gpio_set) || in mcp23s08_irq()
453 (BIT(i) & mcp->irq_fall) && !gpio_set) || in mcp23s08_irq()
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dhw.c2748 u32 gpio_set, gpio_shift = gpio; in ath9k_hw_gpio_cfg_wmac() local
2751 gpio_set = out ? in ath9k_hw_gpio_cfg_wmac()
2753 REG_RMW(ah, AR7010_GPIO_OE, gpio_set << gpio_shift, in ath9k_hw_gpio_cfg_wmac()
2756 gpio_set = out ? 1 : 0; in ath9k_hw_gpio_cfg_wmac()
2757 REG_RMW(ah, AR_GPIO_OE_OUT(ah), gpio_set << gpio_shift, in ath9k_hw_gpio_cfg_wmac()
2758 gpio_set << gpio_shift); in ath9k_hw_gpio_cfg_wmac()
2761 gpio_set = out ? in ath9k_hw_gpio_cfg_wmac()
2763 REG_RMW(ah, AR_GPIO_OE_OUT(ah), gpio_set << gpio_shift, in ath9k_hw_gpio_cfg_wmac()