Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/gpio/
H A Damdgpu_hw_gpio.c48 struct hw_gpio *gpio) in store_registers()
57 struct hw_gpio *gpio) in restore_registers()
69 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_open()
82 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base); in dal_hw_gpio_get_value()
104 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base); in dal_hw_gpio_set_value()
130 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_change_mode()
138 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_close()
147 struct hw_gpio *gpio, in dal_hw_gpio_config_mode()
185 struct hw_gpio *pin, in dal_hw_gpio_construct()
205 struct hw_gpio *pin) in dal_hw_gpio_destruct()
H A Damdgpu_hw_ddc.c79 struct hw_gpio *hw_gpio = NULL; in set_config() local
85 hw_gpio = &ddc->base; in set_config()
87 if (hw_gpio == NULL) { in set_config()
103 if (hw_gpio->base.en != GPIO_DDC_LINE_VIP_PAD) { in set_config()
179 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) && in set_config()
180 (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA)) { in set_config()
189 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) && in set_config()
190 (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA)) { in set_config()
199 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) && in set_config()
200 (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA)) { in set_config()
H A Dhw_gpio.h34 container_of((ptr), struct hw_gpio, base)
73 struct hw_gpio;
95 struct hw_gpio { struct
112 container_of((hw_gpio_pin), struct hw_gpio, base) argument
115 struct hw_gpio *pin,
129 struct hw_gpio *pin,
133 struct hw_gpio *pin);
H A Dhw_generic.h35 struct hw_gpio base;
41 #define HW_GENERIC_FROM_BASE(hw_gpio) \ argument
42 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_generic, base)
H A Dhw_ddc.h34 struct hw_gpio base;
40 #define HW_DDC_FROM_BASE(hw_gpio) \ argument
41 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_ddc, base)
H A Dhw_hpd.h34 struct hw_gpio base;
40 #define HW_HPD_FROM_BASE(hw_gpio) \ argument
41 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_hpd, base)
H A Damdgpu_hw_hpd.c76 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base); in get_value()
H A DMakefile27 hw_gpio.o hw_hpd.o hw_ddc.o hw_generic.o hw_translate.o
H A Damdgpu_gpio_service.c548 struct hw_gpio *hw_data; in dal_ddc_open()
549 struct hw_gpio *hw_clock; in dal_ddc_open()