Searched refs:hw_gpio (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/gpio/ |
A D | hw_ddc.c | 71 struct hw_gpio *hw_gpio = NULL; in set_config() local 77 hw_gpio = &ddc->base; in set_config() 79 if (hw_gpio == NULL) { in set_config() 95 if (hw_gpio->base.en != GPIO_DDC_LINE_VIP_PAD) { in set_config() 97 if (hw_gpio->base.en == GPIO_DDC_LINE_DDC_VGA) { in set_config() 173 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) && in set_config() 174 (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA)) { in set_config() 183 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) && in set_config() 184 (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA)) { in set_config() 193 if ((hw_gpio->base.en >= GPIO_DDC_LINE_DDC1) && in set_config() [all …]
|
A 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()
|
A 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);
|
A 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)
|
A 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)
|
A 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)
|
A D | Makefile | 27 hw_gpio.o hw_hpd.o hw_ddc.o hw_generic.o hw_translate.o
|
A D | gpio_service.c | 541 struct hw_gpio *hw_data; in dal_ddc_open() 542 struct hw_gpio *hw_clock; in dal_ddc_open()
|
/linux-6.3-rc2/arch/powerpc/platforms/embedded6xx/ |
A D | wii.c | 48 static void __iomem *hw_gpio; variable 90 hw_gpio = wii_ioremap_hw_regs("hw_gpio", HW_GPIO_COMPATIBLE); in wii_setup_arch() 91 if (hw_gpio) { in wii_setup_arch() 93 clrbits32(hw_gpio + HW_GPIO_OUT(0), in wii_setup_arch() 113 if (hw_gpio) { in wii_power_off() 118 clrbits32(hw_gpio + HW_GPIO_OWNER, HW_GPIO_SHUTDOWN); in wii_power_off() 121 setbits32(hw_gpio + HW_GPIO_DIR(1), HW_GPIO_SHUTDOWN); in wii_power_off() 124 setbits32(hw_gpio + HW_GPIO_OUT(1), HW_GPIO_SHUTDOWN); in wii_power_off()
|
/linux-6.3-rc2/drivers/pinctrl/bcm/ |
A D | pinctrl-bcm6358.c | 270 unsigned int hw_gpio = bcm6358_pins[pin].number; in bcm6358_pinctrl_set_mux() local 272 range = pinctrl_find_gpio_range_from_pin(pctldev, hw_gpio); in bcm6358_pinctrl_set_mux() 277 gc->direction_output(gc, hw_gpio, 0); in bcm6358_pinctrl_set_mux() 279 gc->direction_input(gc, hw_gpio); in bcm6358_pinctrl_set_mux()
|
A D | pinctrl-bcm6368.c | 411 int hw_gpio = bcm6368_pins[pin].number; in bcm6368_pinctrl_set_mux() local 413 range = pinctrl_find_gpio_range_from_pin(pctldev, hw_gpio); in bcm6368_pinctrl_set_mux() 418 gc->direction_output(gc, hw_gpio, 0); in bcm6368_pinctrl_set_mux() 420 gc->direction_input(gc, hw_gpio); in bcm6368_pinctrl_set_mux()
|
Completed in 17 milliseconds