Searched refs:hw_gpio (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
A 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() 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() 194 (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA)) { in set_config()
|
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_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_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_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 | 543 struct hw_gpio *hw_data; in dal_ddc_open() 544 struct hw_gpio *hw_clock; in dal_ddc_open()
|
/linux/arch/powerpc/platforms/embedded6xx/ |
A 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()
|
/linux/drivers/pinctrl/bcm/ |
A D | pinctrl-bcm6358.c | 274 unsigned int hw_gpio = bcm6358_pins[pin].number; in bcm6358_pinctrl_set_mux() local 276 range = pinctrl_find_gpio_range_from_pin(pctldev, hw_gpio); in bcm6358_pinctrl_set_mux() 281 gc->direction_output(gc, hw_gpio, 0); in bcm6358_pinctrl_set_mux() 283 gc->direction_input(gc, hw_gpio); in bcm6358_pinctrl_set_mux()
|
A D | pinctrl-bcm6368.c | 424 int hw_gpio = bcm6368_pins[pin].number; in bcm6368_pinctrl_set_mux() local 426 range = pinctrl_find_gpio_range_from_pin(pctldev, hw_gpio); in bcm6368_pinctrl_set_mux() 431 gc->direction_output(gc, hw_gpio, 0); in bcm6368_pinctrl_set_mux() 433 gc->direction_input(gc, hw_gpio); in bcm6368_pinctrl_set_mux()
|
Completed in 16 milliseconds