Home
last modified time | relevance | path

Searched refs:p_gpio_config (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/media/common/siano/
H A Dsms-cards.c160 struct smscore_config_gpio *p_gpio_config) { in sms_gpio_assign_11xx_default_led_config() argument
161 p_gpio_config->direction = SMS_GPIO_DIRECTION_OUTPUT; in sms_gpio_assign_11xx_default_led_config()
162 p_gpio_config->inputcharacteristics = in sms_gpio_assign_11xx_default_led_config()
164 p_gpio_config->outputdriving = SMS_GPIO_OUTPUTDRIVING_4mA; in sms_gpio_assign_11xx_default_led_config()
165 p_gpio_config->outputslewrate = SMS_GPIO_OUTPUT_SLEW_RATE_0_45_V_NS; in sms_gpio_assign_11xx_default_led_config()
166 p_gpio_config->pullupdown = SMS_GPIO_PULLUPDOWN_NONE; in sms_gpio_assign_11xx_default_led_config()
H A Dsmscoreapi.c1939 struct smscore_config_gpio *p_gpio_config) { in smscore_gpio_configure() argument
1958 if (!p_gpio_config) in smscore_gpio_configure()
1986 electric_char = (p_gpio_config->pullupdown) in smscore_gpio_configure()
1987 | (p_gpio_config->inputcharacteristics << 2) in smscore_gpio_configure()
1988 | (p_gpio_config->outputslewrate << 3) in smscore_gpio_configure()
1989 | (p_gpio_config->outputdriving << 4); in smscore_gpio_configure()
1991 p_msg->msg_data[4] = p_gpio_config->direction; in smscore_gpio_configure()
1995 p_msg->msg_data[1] = p_gpio_config->pullupdown; in smscore_gpio_configure()
1996 p_msg->msg_data[2] = p_gpio_config->outputslewrate; in smscore_gpio_configure()
1997 p_msg->msg_data[3] = p_gpio_config->outputdriving; in smscore_gpio_configure()
[all …]
H A Dsmscoreapi.h1154 struct smscore_config_gpio *p_gpio_config);