Searched refs:hw_gpio (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/gpio/ |
D | hw_ddc.c | 74 struct hw_gpio *hw_gpio = NULL; in set_config() local 80 hw_gpio = &ddc->base; in set_config() 82 if (hw_gpio == NULL) { in set_config() 98 if (hw_gpio->base.en != GPIO_DDC_LINE_VIP_PAD) { in set_config() 174 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) && in set_config() 175 (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA)) { in set_config() 184 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) && in set_config() 185 (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA)) { in set_config() 194 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) && in set_config() 195 (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA)) { in set_config()
|
D | hw_gpio.c | 43 struct hw_gpio *gpio) in store_registers() 52 struct hw_gpio *gpio) in restore_registers() 64 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_open() 77 const struct hw_gpio *gpio = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_get_value() 99 struct hw_gpio *gpio = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_set_value() 125 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_change_mode() 133 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_close() 142 struct hw_gpio *gpio, in dal_hw_gpio_config_mode() 180 struct hw_gpio *pin, in dal_hw_gpio_construct() 200 struct hw_gpio *pin) in dal_hw_gpio_destruct()
|
D | hw_gpio.h | 32 container_of((ptr), struct hw_gpio, base) 71 struct hw_gpio; 93 struct hw_gpio { struct 110 container_of((hw_gpio_pin), struct hw_gpio, base) argument 113 struct hw_gpio *pin, 127 struct hw_gpio *pin, 131 struct hw_gpio *pin);
|
D | hw_ddc.h | 32 struct hw_gpio base; 38 #define HW_DDC_FROM_BASE(hw_gpio) \ argument 39 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_ddc, base)
|
D | hw_generic.h | 33 struct hw_gpio base; 39 #define HW_GENERIC_FROM_BASE(hw_gpio) \ argument 40 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_generic, base)
|
D | hw_hpd.h | 32 struct hw_gpio base; 38 #define HW_HPD_FROM_BASE(hw_gpio) \ argument 39 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_hpd, base)
|
D | Makefile | 27 hw_gpio.o hw_hpd.o hw_ddc.o hw_generic.o hw_translate.o
|
D | gpio_service.c | 543 struct hw_gpio *hw_data; in dal_ddc_open() 544 struct hw_gpio *hw_clock; in dal_ddc_open()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/embedded6xx/ |
D | wii.c | 50 static void __iomem *hw_gpio; variable 105 hw_gpio = wii_ioremap_hw_regs("hw_gpio", HW_GPIO_COMPATIBLE); in wii_setup_arch() 106 if (hw_gpio) { in wii_setup_arch() 108 clrbits32(hw_gpio + HW_GPIO_OUT(0), in wii_setup_arch() 128 if (hw_gpio) { in wii_power_off() 133 clrbits32(hw_gpio + HW_GPIO_OWNER, HW_GPIO_SHUTDOWN); in wii_power_off() 136 setbits32(hw_gpio + HW_GPIO_DIR(1), HW_GPIO_SHUTDOWN); in wii_power_off() 139 setbits32(hw_gpio + HW_GPIO_OUT(1), HW_GPIO_SHUTDOWN); in wii_power_off()
|