Searched refs:gpio_pins (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpio-pch.c | 52 static int gpio_pins[] = { variable 146 pm &= BIT(gpio_pins[chip->ioh]) - 1; in pch_gpio_direction_output() 163 pm &= BIT(gpio_pins[chip->ioh]) - 1; in pch_gpio_direction_input() 224 gpio->ngpio = gpio_pins[chip->ioh]; in pch_gpio_setup() 316 reg_val &= BIT(gpio_pins[chip->ioh]) - 1; in pch_gpio_handler() 318 for_each_set_bit(i, ®_val, gpio_pins[chip->ioh]) in pch_gpio_handler() 385 gpio_pins[chip->ioh], NUMA_NO_NODE); in pch_gpio_probe() 394 iowrite32(BIT(gpio_pins[chip->ioh]) - 1, &chip->reg->imask); in pch_gpio_probe() 395 iowrite32(BIT(gpio_pins[chip->ioh]) - 1, &chip->reg->ien); in pch_gpio_probe() 402 return pch_gpio_alloc_generic_chip(chip, irq_base, gpio_pins[chi in pch_gpio_probe() [all...] |
/linux/drivers/iio/adc/ |
H A D | rohm-bd79124.c | 1027 unsigned int gpio_pins; in bd79124_probe() local 1099 gpio_pins = bd79124_get_gpio_pins(iio_dev->channels, in bd79124_probe() 1106 ret = regmap_write(data->map, BD79124_REG_PINCFG, gpio_pins); in bd79124_probe() 1111 if (!gpio_pins) in bd79124_probe() 1114 data->gpio_valid_mask = gpio_pins; in bd79124_probe()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | rv770_dpm.c | 1251 u32 gpio_pins, gpio_mask; in rv770_construct_vddc_table() local 1257 &gpio_pins, &gpio_mask); in rv770_construct_vddc_table() 1258 pi->vddc_table[i].low_smio = gpio_pins & gpio_mask; in rv770_construct_vddc_table() 1287 u32 gpio_pins, gpio_mask; in rv770_get_mvdd_pin_configuration() local 1291 &gpio_pins, &gpio_mask); in rv770_get_mvdd_pin_configuration() 1294 gpio_pins & gpio_mask; in rv770_get_mvdd_pin_configuration() 1298 &gpio_pins, &gpio_mask); in rv770_get_mvdd_pin_configuration() 1300 gpio_pins & gpio_mask; in rv770_get_mvdd_pin_configuration()
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-loongson2.c | 83 static const unsigned int gpio_pins[] = {0, 1, 2, 3, 4, 5, 6, 7, variable
|