Searched refs:output_val (Results 1 – 3 of 3) sorted by relevance
32 u32 output_val[XILINX_GPIO_MAX_BANK]; member70 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()
718 int output_val) in gp2ap020a00f_adjust_lux_mode() argument724 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() argument820 *output_val *= 16; in gp2ap020a00f_output_to_lux()871 unsigned int output_val, op_reg_val; in gp2ap020a00f_thresh_event_handler() local903 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 …]
201 +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))