/kernel/linux/linux-5.10/drivers/leds/ |
D | leds-ss4200.c | 127 u32 gpio_bit; member 135 { .name = "hdd1:blue:sata", .gpio_bit = 0 }, 136 { .name = "hdd1:amber:sata", .gpio_bit = 1 }, 137 { .name = "hdd2:blue:sata", .gpio_bit = 2 }, 138 { .name = "hdd2:amber:sata", .gpio_bit = 3 }, 139 { .name = "hdd3:blue:sata", .gpio_bit = 4 }, 140 { .name = "hdd3:amber:sata", .gpio_bit = 5 }, 141 { .name = "hdd4:blue:sata", .gpio_bit = 6 }, 142 { .name = "hdd4:amber:sata", .gpio_bit = 7 }, 143 { .name = "power:blue:power", .gpio_bit = 27}, [all …]
|
/kernel/linux/linux-5.10/arch/mips/ar7/ |
D | platform.c | 35 int gpio_bit; member 44 ret = gpio_request(pdata->gpio_bit, "vlynq"); in vlynq_on() 50 ret = ar7_gpio_disable(pdata->gpio_bit); in vlynq_on() 54 ret = ar7_gpio_enable(pdata->gpio_bit); in vlynq_on() 58 ret = gpio_direction_output(pdata->gpio_bit, 0); in vlynq_on() 64 gpio_set_value(pdata->gpio_bit, 1); in vlynq_on() 71 ar7_gpio_disable(pdata->gpio_bit); in vlynq_on() 74 gpio_free(pdata->gpio_bit); in vlynq_on() 83 ar7_gpio_disable(pdata->gpio_bit); in vlynq_off() 84 gpio_free(pdata->gpio_bit); in vlynq_off() [all …]
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
D | octeon-usb.c | 232 union cvmx_gpio_bit_cfgx gpio_bit; in dwc3_octeon_config_power() local 254 gpio_bit.u64 = cvmx_read_csr(CVMX_GPIO_BIT_CFGX(gpio)); in dwc3_octeon_config_power() 255 gpio_bit.s.tx_oe = 1; in dwc3_octeon_config_power() 256 gpio_bit.s.output_sel = (index == 0 ? 0x14 : 0x15); in dwc3_octeon_config_power() 257 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(gpio), gpio_bit.u64); in dwc3_octeon_config_power() 259 gpio_bit.u64 = cvmx_read_csr(CVMX_GPIO_BIT_CFGX(gpio)); in dwc3_octeon_config_power() 260 gpio_bit.s.tx_oe = 1; in dwc3_octeon_config_power() 261 gpio_bit.s.output_sel = (index == 0 ? 0x14 : 0x19); in dwc3_octeon_config_power() 262 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(gpio), gpio_bit.u64); in dwc3_octeon_config_power() 264 gpio_bit.u64 = cvmx_read_csr(CVMX_GPIO_XBIT_CFGX(gpio)); in dwc3_octeon_config_power() [all …]
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-twl4030.c | 429 unsigned i, gpio_bit; in gpio_twl4030_pulls() local 434 for (gpio_bit = 1, i = 0; i < 5; i++) { in gpio_twl4030_pulls() 438 for (bit_mask = 0, j = 0; j < 8; j += 2, gpio_bit <<= 1) { in gpio_twl4030_pulls() 439 if (ups & gpio_bit) in gpio_twl4030_pulls() 441 else if (downs & gpio_bit) in gpio_twl4030_pulls()
|
D | gpio-omap.c | 234 u32 gpio_bit = BIT(offset); in omap_clear_gpio_debounce() local 239 if (!(bank->dbck_enable_mask & gpio_bit)) in omap_clear_gpio_debounce() 242 bank->dbck_enable_mask &= ~gpio_bit; in omap_clear_gpio_debounce() 243 bank->context.debounce_en &= ~gpio_bit; in omap_clear_gpio_debounce() 276 u32 gpio_bit = BIT(gpio); in omap_set_gpio_trigger() local 278 omap_gpio_rmw(base + bank->regs->leveldetect0, gpio_bit, in omap_set_gpio_trigger() 280 omap_gpio_rmw(base + bank->regs->leveldetect1, gpio_bit, in omap_set_gpio_trigger() 288 omap_gpio_rmw(base + bank->regs->risingdetect, gpio_bit, in omap_set_gpio_trigger() 290 omap_gpio_rmw(base + bank->regs->fallingdetect, gpio_bit, in omap_set_gpio_trigger() 314 bank->enabled_non_wakeup_gpios |= gpio_bit; in omap_set_gpio_trigger() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 1472 int cx231xx_send_gpio_cmd(struct cx231xx *dev, u32 gpio_bit, u8 *gpio_val, in cx231xx_send_gpio_cmd() argument 1479 ven_req.wValue = (u16) (gpio_bit >> 16 & 0xffff); in cx231xx_send_gpio_cmd() 1495 ven_req.wIndex = (u16) (gpio_bit & 0xffff); in cx231xx_send_gpio_cmd()
|
D | cx231xx-avcore.c | 2681 static int cx231xx_set_gpio_bit(struct cx231xx *dev, u32 gpio_bit, u32 gpio_val) in cx231xx_set_gpio_bit() argument 2686 status = cx231xx_send_gpio_cmd(dev, gpio_bit, (u8 *)&gpio_val, 4, 0, 0); in cx231xx_set_gpio_bit() 2691 static int cx231xx_get_gpio_bit(struct cx231xx *dev, u32 gpio_bit, u32 *gpio_val) in cx231xx_get_gpio_bit() argument 2696 status = cx231xx_send_gpio_cmd(dev, gpio_bit, (u8 *)&tmp, 4, 0, 1); in cx231xx_get_gpio_bit()
|
D | cx231xx.h | 838 int cx231xx_send_gpio_cmd(struct cx231xx *dev, u32 gpio_bit, u8 *gpio_val,
|