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

/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/gpio/
H A Dhw_ddc.h34 struct hw_gpio base;
40 #define HW_DDC_FROM_BASE(hw_gpio) \
41 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_ddc, base)
H A Dhw_generic.h32 #include "hw_gpio.h"
35 struct hw_gpio base;
41 #define HW_GENERIC_FROM_BASE(hw_gpio) \
42 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_generic, base)
H A Dhw_hpd.h34 struct hw_gpio base;
40 #define HW_HPD_FROM_BASE(hw_gpio) \
41 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_hpd, base)
H A Dhw_gpio.h1 /* $NetBSD: hw_gpio.h,v 1.2 2021/12/18 23:45:04 riastradh Exp $ */
34 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)
115 struct hw_gpio *pin,
129 struct hw_gpio *pin,
133 struct hw_gpio *pin);
H A Damdgpu_hw_gpio.c33 #include "hw_gpio.h"
48 struct hw_gpio *gpio)
57 struct hw_gpio *gpio)
69 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr);
82 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base);
104 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base);
130 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr);
138 struct hw_gpio *pi
[all...]
H A Damdgpu_hw_ddc.c38 #include "hw_gpio.h"
79 struct hw_gpio *hw_gpio = NULL; local
85 hw_gpio = &ddc->base;
87 if (hw_gpio == NULL) {
103 if (hw_gpio->base.en != GPIO_DDC_LINE_VIP_PAD) {
179 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) &&
180 (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA)) {
189 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) &&
190 (hw_gpio
[all...]
H A Damdgpu_hw_hpd.c37 #include "hw_gpio.h"
76 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base);
H A DMakefile27 hw_gpio.o hw_hpd.o hw_ddc.o hw_generic.o hw_translate.o
H A Damdgpu_gpio_service.c53 #include "hw_gpio.h"
548 struct hw_gpio *hw_data;
549 struct hw_gpio *hw_clock;

Completed in 91 milliseconds