Home
last modified time | relevance | path

Searched refs:gpio_info (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/mfd/
H A Dmax8997-irq.c208 u8 gpio_info[MAX8997_NUM_GPIO]; in max8997_irq_thread() local
214 MAX8997_NUM_GPIO, gpio_info); in max8997_irq_thread()
218 switch (gpio_info[i] & MAX8997_GPIO_INT_MASK) { in max8997_irq_thread()
220 if (max8997->gpio_status[i] != gpio_info[i]) in max8997_irq_thread()
224 if ((max8997->gpio_status[i] != gpio_info[i]) && in max8997_irq_thread()
225 (gpio_info[i] & MAX8997_GPIO_DATA_MASK)) in max8997_irq_thread()
229 if ((max8997->gpio_status[i] != gpio_info[i]) && in max8997_irq_thread()
230 !(gpio_info[i] & MAX8997_GPIO_DATA_MASK)) in max8997_irq_thread()
H A Dlpc_ich.c693 .gpio_info = &apl_gpio_info,
698 .gpio_info = &dnv_gpio_info,
1238 const struct lpc_ich_gpio_info *info = lpc_chipset_info[priv->chipset].gpio_info; in lpc_ich_init_pinctrl()
1415 if (lpc_chipset_info[priv->chipset].gpio_info) { in lpc_ich_probe()
/linux/drivers/gpio/
H A Dgpio-ljca.c61 struct ljca_gpio_info *gpio_info; member
231 WARN_ON_ONCE(ngpios != ljca_gpio->gpio_info->num); in ljca_gpio_init_valid_mask()
232 bitmap_copy(valid_mask, ljca_gpio->gpio_info->valid_pin_map, ngpios); in ljca_gpio_init_valid_mask()
415 ljca_gpio->gpio_info = dev_get_platdata(&auxdev->dev); in ljca_gpio_probe()
417 ljca_gpio->gpio_info->num, in ljca_gpio_probe()
436 ljca_gpio->gc.ngpio = ljca_gpio->gpio_info->num; in ljca_gpio_probe()
/linux/drivers/usb/misc/
H A Dusb-ljca.c569 struct ljca_gpio_info *gpio_info; in ljca_enumerate_gpio() local
589 gpio_info = kzalloc(sizeof *gpio_info, GFP_KERNEL); in ljca_enumerate_gpio()
590 if (!gpio_info) in ljca_enumerate_gpio()
592 gpio_info->num = gpio_num; in ljca_enumerate_gpio()
596 bitmap_from_arr32(gpio_info->valid_pin_map, valid_pin, gpio_num); in ljca_enumerate_gpio()
599 gpio_info, LJCA_GPIO_ACPI_ADR); in ljca_enumerate_gpio()
/linux/include/linux/mfd/
H A Dlpc_ich.h36 const struct lpc_ich_gpio_info *gpio_info; member
/linux/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser.c1889 info->gpio_info.clk_mask_register_index = in get_gpio_i2c_info()
1891 info->gpio_info.clk_en_register_index = in get_gpio_i2c_info()
1893 info->gpio_info.clk_y_register_index = in get_gpio_i2c_info()
1895 info->gpio_info.clk_a_register_index = in get_gpio_i2c_info()
1897 info->gpio_info.data_mask_register_index = in get_gpio_i2c_info()
1899 info->gpio_info.data_en_register_index = in get_gpio_i2c_info()
1901 info->gpio_info.data_y_register_index = in get_gpio_i2c_info()
1903 info->gpio_info.data_a_register_index = in get_gpio_i2c_info()
1906 info->gpio_info.clk_mask_shift = in get_gpio_i2c_info()
1908 info->gpio_info.clk_en_shift = in get_gpio_i2c_info()
[all …]
/linux/drivers/gpu/drm/amd/display/include/
H A Dgrph_object_ctrl_defs.h72 struct gpio_info { struct
90 } gpio_info; member
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_ddc.c138 i2c_info.gpio_info.clk_a_register_index, in ddc_service_construct()
139 1 << i2c_info.gpio_info.clk_a_shift, in ddc_service_construct()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atombios.c166 struct _ATOM_GPIO_PIN_LUT *gpio_info; in amdgpu_atombios_lookup_gpio() local
175 gpio_info = (struct _ATOM_GPIO_PIN_LUT *)(ctx->bios + data_offset); in amdgpu_atombios_lookup_gpio()
180 pin = gpio_info->asGPIO_Pin; in amdgpu_atombios_lookup_gpio()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c204 struct _ATOM_GPIO_PIN_LUT *gpio_info; in radeon_atombios_lookup_gpio() local
213 gpio_info = (struct _ATOM_GPIO_PIN_LUT *)(ctx->bios + data_offset); in radeon_atombios_lookup_gpio()
218 pin = gpio_info->asGPIO_Pin; in radeon_atombios_lookup_gpio()