Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/embedded6xx/
H A Dwii.c48 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/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_gpio.h32 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);
H A Dhw_ddc.c71 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_DDC_VGA) { in set_config()
182 if (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA) { in set_config()
191 if (hw_gpio->base.en <= GPIO_DDC_LINE_DDC_VGA) { in set_config()
H A Dhw_ddc.h32 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)
H A Dhw_hpd.h32 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)
H A Dhw_generic.h33 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)
H A Dgpio_service.c563 struct hw_gpio *hw_data; in dal_ddc_open()
564 struct hw_gpio *hw_clock; in dal_ddc_open()
/linux/drivers/pinctrl/bcm/
H A Dpinctrl-bcm6368.c411 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()