Home
last modified time | relevance | path

Searched refs:set_in (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/gpio/
Dgpio-raspberrypi-exp.c77 struct gpio_set_config set_in; in rpi_exp_gpio_dir_in() local
82 set_in.gpio = off + RPI_EXP_GPIO_BASE; /* GPIO to update */ in rpi_exp_gpio_dir_in()
83 set_in.direction = RPI_EXP_GPIO_DIR_IN; in rpi_exp_gpio_dir_in()
84 set_in.term_en = 0; /* termination disabled */ in rpi_exp_gpio_dir_in()
85 set_in.term_pull_up = 0; /* n/a as termination disabled */ in rpi_exp_gpio_dir_in()
86 set_in.state = 0; /* n/a as configured as an input */ in rpi_exp_gpio_dir_in()
91 set_in.polarity = ret; /* Retain existing setting */ in rpi_exp_gpio_dir_in()
94 &set_in, sizeof(set_in)); in rpi_exp_gpio_dir_in()
95 if (ret || set_in.gpio != 0) { in rpi_exp_gpio_dir_in()
97 off, ret, set_in.gpio); in rpi_exp_gpio_dir_in()
/linux-6.6.21/drivers/mailbox/
Dmtk-adsp-mailbox.c25 u32 set_in; member
87 writel(*msg, priv->va_mboxreg + priv->cfg->set_in); in mtk_adsp_mbox_send_data()
96 return readl(priv->va_mboxreg + priv->cfg->set_in) == 0; in mtk_adsp_mbox_last_tx_done()
154 .set_in = 0x00,
161 .set_in = 0x00,
/linux-6.6.21/drivers/hwmon/
Dit87.c1003 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in() function
1030 static SENSOR_DEVICE_ATTR_2(in0_min, S_IRUGO | S_IWUSR, show_in, set_in,
1032 static SENSOR_DEVICE_ATTR_2(in0_max, S_IRUGO | S_IWUSR, show_in, set_in,
1036 static SENSOR_DEVICE_ATTR_2(in1_min, S_IRUGO | S_IWUSR, show_in, set_in,
1038 static SENSOR_DEVICE_ATTR_2(in1_max, S_IRUGO | S_IWUSR, show_in, set_in,
1042 static SENSOR_DEVICE_ATTR_2(in2_min, S_IRUGO | S_IWUSR, show_in, set_in,
1044 static SENSOR_DEVICE_ATTR_2(in2_max, S_IRUGO | S_IWUSR, show_in, set_in,
1048 static SENSOR_DEVICE_ATTR_2(in3_min, S_IRUGO | S_IWUSR, show_in, set_in,
1050 static SENSOR_DEVICE_ATTR_2(in3_max, S_IRUGO | S_IWUSR, show_in, set_in,
1054 static SENSOR_DEVICE_ATTR_2(in4_min, S_IRUGO | S_IWUSR, show_in, set_in,
[all …]
Dvt1211.c365 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in() function
909 show_in, set_in, SHOW_SET_IN_MIN, ix), \
911 show_in, set_in, SHOW_SET_IN_MAX, ix), \
Ddme1737.c830 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in() function
1515 show_in, set_in, SYS_IN_MIN, ix); \
1517 show_in, set_in, SYS_IN_MAX, ix); \
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c869 u32 set_in[MLX5_ST_SZ_DW(set_issi_in)] = {}; in mlx5_core_set_issi() local
871 MLX5_SET(set_issi_in, set_in, opcode, MLX5_CMD_OP_SET_ISSI); in mlx5_core_set_issi()
872 MLX5_SET(set_issi_in, set_in, current_issi, 1); in mlx5_core_set_issi()
873 err = mlx5_cmd_exec_in(dev, set_issi, set_in); in mlx5_core_set_issi()