Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dxilinx_gpio.c32 u32 output_val[XILINX_GPIO_MAX_BANK]; member
70 val = priv->output_val[bank]; in xilinx_gpio_set_value()
82 priv->output_val[bank] = val; in xilinx_gpio_set_value()
103 val = priv->output_val[bank]; in xilinx_gpio_get_value()
257 priv->output_val[0] = platdata->dout_default[0]; in xilinx_gpio_probe()
260 priv->output_val[1] = platdata->dout_default[1]; in xilinx_gpio_probe()
/openbmc/linux/drivers/iio/light/
H A Dgp2ap020a00f.c718 int output_val) in gp2ap020a00f_adjust_lux_mode() argument
724 if (output_val > 16000) { in gp2ap020a00f_adjust_lux_mode()
729 if (output_val < 1000) { in gp2ap020a00f_adjust_lux_mode()
817 int *output_val) in gp2ap020a00f_output_to_lux() argument
820 *output_val *= 16; in gp2ap020a00f_output_to_lux()
871 unsigned int output_val, op_reg_val; in gp2ap020a00f_thresh_event_handler() local
903 output_val = le16_to_cpup((__le16 *)d0_reg_buf); in gp2ap020a00f_thresh_event_handler()
905 if (gp2ap020a00f_adjust_lux_mode(priv, output_val)) in gp2ap020a00f_thresh_event_handler()
908 gp2ap020a00f_output_to_lux(priv, &output_val); in gp2ap020a00f_thresh_event_handler()
917 if (output_val > priv->thresh_val[thresh_val_id]) in gp2ap020a00f_thresh_event_handler()
[all …]
/openbmc/openbmc/meta-raspberrypi/recipes-devtools/python/rpi-gpio/
H A D0001-Remove-nested-functions.patch201 +static inline int output_val(unsigned int *gpio, int channel, int value) {
250 + if (!output_val(&gpio, channel, value))
259 + if (!output_val(&gpio, channel, value))