/Linux-v6.6/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 …]
|
/Linux-v6.6/drivers/usb/dwc3/ |
D | dwc3-octeon.c | 211 union cvmx_gpio_bit_cfgx gpio_bit; in dwc3_octeon_config_gpio() local 216 gpio_bit.u64 = cvmx_read_csr(CVMX_GPIO_BIT_CFGX(gpio)); in dwc3_octeon_config_gpio() 217 gpio_bit.s.tx_oe = 1; in dwc3_octeon_config_gpio() 218 gpio_bit.s.output_sel = (index == 0 ? 0x14 : 0x15); in dwc3_octeon_config_gpio() 219 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(gpio), gpio_bit.u64); in dwc3_octeon_config_gpio() 221 gpio_bit.u64 = cvmx_read_csr(CVMX_GPIO_BIT_CFGX(gpio)); in dwc3_octeon_config_gpio() 222 gpio_bit.s.tx_oe = 1; in dwc3_octeon_config_gpio() 223 gpio_bit.s.output_sel = (index == 0 ? 0x14 : 0x19); in dwc3_octeon_config_gpio() 224 cvmx_write_csr(CVMX_GPIO_BIT_CFGX(gpio), gpio_bit.u64); in dwc3_octeon_config_gpio() 226 gpio_bit.u64 = cvmx_read_csr(CVMX_GPIO_XBIT_CFGX(gpio)); in dwc3_octeon_config_gpio() [all …]
|
/Linux-v6.6/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 …]
|
/Linux-v6.6/drivers/gpio/ |
D | gpio-twl4030.c | 431 unsigned i, gpio_bit; in gpio_twl4030_pulls() local 436 for (gpio_bit = 1, i = 0; i < 5; i++) { in gpio_twl4030_pulls() 440 for (bit_mask = 0, j = 0; j < 8; j += 2, gpio_bit <<= 1) { in gpio_twl4030_pulls() 441 if (ups & gpio_bit) in gpio_twl4030_pulls() 443 else if (downs & gpio_bit) in gpio_twl4030_pulls()
|
D | gpio-omap.c | 235 u32 gpio_bit = BIT(offset); in omap_clear_gpio_debounce() local 240 if (!(bank->dbck_enable_mask & gpio_bit)) in omap_clear_gpio_debounce() 243 bank->dbck_enable_mask &= ~gpio_bit; in omap_clear_gpio_debounce() 244 bank->context.debounce_en &= ~gpio_bit; in omap_clear_gpio_debounce() 277 u32 gpio_bit = BIT(gpio); in omap_set_gpio_trigger() local 279 omap_gpio_rmw(base + bank->regs->leveldetect0, gpio_bit, in omap_set_gpio_trigger() 281 omap_gpio_rmw(base + bank->regs->leveldetect1, gpio_bit, in omap_set_gpio_trigger() 289 omap_gpio_rmw(base + bank->regs->risingdetect, gpio_bit, in omap_set_gpio_trigger() 291 omap_gpio_rmw(base + bank->regs->fallingdetect, gpio_bit, in omap_set_gpio_trigger() 315 bank->enabled_non_wakeup_gpios |= gpio_bit; in omap_set_gpio_trigger() [all …]
|
/Linux-v6.6/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 1470 int cx231xx_send_gpio_cmd(struct cx231xx *dev, u32 gpio_bit, u8 *gpio_val, in cx231xx_send_gpio_cmd() argument 1477 ven_req.wValue = (u16) (gpio_bit >> 16 & 0xffff); in cx231xx_send_gpio_cmd() 1493 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 | 836 int cx231xx_send_gpio_cmd(struct cx231xx *dev, u32 gpio_bit, u8 *gpio_val,
|