Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/usb/serial/
Dxr_serial.c123 u16 gpio_set; member
163 .gpio_set = 0x1d,
185 .gpio_set = 0x0e,
208 .gpio_set = 0xc0e,
228 .gpio_set = 0x4e,
466 u16 gpio_set = 0; in xr_tiocmset_port() local
476 gpio_set |= XR_GPIO_RTS; in xr_tiocmset_port()
478 gpio_set |= XR_GPIO_DTR; in xr_tiocmset_port()
484 if (gpio_set) in xr_tiocmset_port()
485 ret = xr_set_reg_uart(port, type->gpio_set, gpio_set); in xr_tiocmset_port()
[all …]
/linux-6.1.9/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.1.9/include/linux/
Dnsc_gpio.h28 void (*gpio_set) (unsigned iminor, int state); member
/linux-6.1.9/drivers/leds/
Dleds-net48xx.c28 scx200_gpio_ops.gpio_set(NET48XX_ERROR_LED_GPIO, value ? 1 : 0); in net48xx_error_led_set()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-mcp23s08.c349 defval_changed, gpio_set; in mcp23s08_irq() local
411 gpio_set = BIT(i) & gpio; in mcp23s08_irq()
419 (BIT(i) & mcp->irq_rise) && gpio_set) || in mcp23s08_irq()
421 (BIT(i) & mcp->irq_fall) && !gpio_set) || in mcp23s08_irq()
/linux-6.1.9/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, 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, gpio_set << gpio_shift, in ath9k_hw_gpio_cfg_wmac()