Home
last modified time | relevance | path

Searched refs:GPIO_RESULT_OK (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_gpio.c68 ptr->opened = (dal_hw_gpio_config_mode(pin, mode) == GPIO_RESULT_OK); in dal_hw_gpio_open()
79 enum gpio_result result = GPIO_RESULT_OK; in dal_hw_gpio_get_value()
108 return GPIO_RESULT_OK; in dal_hw_gpio_set_value()
115 return GPIO_RESULT_OK; in dal_hw_gpio_set_value()
153 return GPIO_RESULT_OK; in dal_hw_gpio_config_mode()
159 return GPIO_RESULT_OK; in dal_hw_gpio_config_mode()
165 return GPIO_RESULT_OK; in dal_hw_gpio_config_mode()
169 return GPIO_RESULT_OK; in dal_hw_gpio_config_mode()
173 return GPIO_RESULT_OK; in dal_hw_gpio_config_mode()
H A Dhw_ddc.c159 return GPIO_RESULT_OK; in set_config()
171 return GPIO_RESULT_OK; in set_config()
179 return GPIO_RESULT_OK; in set_config()
189 return GPIO_RESULT_OK; in set_config()
198 return GPIO_RESULT_OK; in set_config()
H A Dgpio_service.c281 return GPIO_RESULT_OK; in dal_gpio_service_lock()
295 return GPIO_RESULT_OK; in dal_gpio_service_unlock()
358 return GPIO_RESULT_OK; in dal_gpio_service_open()
555 if (result != GPIO_RESULT_OK) { in dal_ddc_open()
562 if (result != GPIO_RESULT_OK) { in dal_ddc_open()
588 if (result == GPIO_RESULT_OK) in dal_ddc_open()
617 if (result != GPIO_RESULT_OK) in dal_ddc_change_mode()
622 if (result == GPIO_RESULT_OK) in dal_ddc_change_mode()
H A Dhw_hpd.c80 return GPIO_RESULT_OK; in get_value()
101 return GPIO_RESULT_OK; in set_config()
H A Dhw_generic.c80 return GPIO_RESULT_OK; in set_config()
H A Dgpio_base.c162 GPIO_RESULT_OK : GPIO_RESULT_INVALID_DATA; in dal_gpio_get_pin_info()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_hpd.c79 if (dal_gpio_open(hpd, GPIO_MODE_INTERRUPT) == GPIO_RESULT_OK) { in link_enable_hpd_filter()
221 if (dal_gpio_open(hpd, GPIO_MODE_INTERRUPT) == GPIO_RESULT_OK) { in program_hpd_filter()
H A Dlink_dp_capability.c2269 GPIO_DDC_CONFIG_TYPE_MODE_I2C) != GPIO_RESULT_OK) { in dp_is_sink_present()
2285 ASSERT(gpio_result == GPIO_RESULT_OK); in dp_is_sink_present()
2292 present = (gpio_result == GPIO_RESULT_OK) && !clock_pin; in dp_is_sink_present()
/openbmc/linux/drivers/gpu/drm/amd/display/include/
H A Dgpio_types.h41 GPIO_RESULT_OK, enumerator
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_i2c_hw.c421 if (result == GPIO_RESULT_OK) in acquire_i2c_hw_engine()
431 if (result != GPIO_RESULT_OK) in acquire_i2c_hw_engine()
H A Ddce_i2c_sw.c363 if (result != GPIO_RESULT_OK) in dce_i2c_sw_engine_acquire_engine()
H A Ddce_aux.c410 if (result != GPIO_RESULT_OK) in acquire()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c2328 if (gpio_result == GPIO_RESULT_OK) in dc_set_generic_gpio_for_stereo()
2331 if (gpio_result == GPIO_RESULT_OK) { in dc_set_generic_gpio_for_stereo()