Home
last modified time | relevance | path

Searched refs:u32_val (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/input/keyboard/
H A Dcap11xx.c175 u32 u32_val; in cap11xx_init_keys() local
182 if (!of_property_read_u32(node, "microchip,sensor-gain", &u32_val)) { in cap11xx_init_keys()
186 } else if (is_power_of_2(u32_val) && u32_val <= 8) { in cap11xx_init_keys()
187 priv->analog_gain = (u8)ilog2(u32_val); in cap11xx_init_keys()
196 dev_err(dev, "Invalid sensor-gain value %u\n", u32_val); in cap11xx_init_keys()
215 if (!of_property_read_u32(node, "microchip,sensitivity-delta-sense", &u32_val)) { in cap11xx_init_keys()
216 if (!is_power_of_2(u32_val) || u32_val > 128) { in cap11xx_init_keys()
217 dev_err(dev, "Invalid sensitivity-delta-sense value %u\n", u32_val); in cap11xx_init_keys()
221 priv->sensitivity_delta_sense = (u8)ilog2(u32_val); in cap11xx_init_keys()
222 u32_val = ~(FIELD_PREP(CAP11XX_REG_SENSITIVITY_CONTROL_DELTA_SENSE_MASK, in cap11xx_init_keys()
[all …]
/linux/drivers/net/team/
H A Dteam_mode_activebackup.c72 ctx->data.u32_val = active_port->dev->ifindex; in ab_active_port_get()
74 ctx->data.u32_val = 0; in ab_active_port_get()
82 if (port->dev->ifindex == ctx->data.u32_val) { in ab_active_port_set()
H A Dteam_core.c1492 ctx->data.u32_val = team->notify_peers.count; in team_notify_peers_count_get()
1498 team->notify_peers.count = ctx->data.u32_val; in team_notify_peers_count_set()
1505 ctx->data.u32_val = team->notify_peers.interval; in team_notify_peers_interval_get()
1511 team->notify_peers.interval = ctx->data.u32_val; in team_notify_peers_interval_set()
1518 ctx->data.u32_val = team->mcast_rejoin.count; in team_mcast_rejoin_count_get()
1524 team->mcast_rejoin.count = ctx->data.u32_val; in team_mcast_rejoin_count_set()
1531 ctx->data.u32_val = team->mcast_rejoin.interval; in team_mcast_rejoin_interval_get()
1537 team->mcast_rejoin.interval = ctx->data.u32_val; in team_mcast_rejoin_interval_set()
1667 ctx->data.u32_val = port->queue_id; in team_queue_id_option_get()
1674 u16 new_queue_id = ctx->data.u32_val; in team_queue_id_option_set()
[all …]
/linux/kernel/bpf/
H A Dverifier.c5714 s32 init_s32_max, init_s32_min, s32_max, s32_min, u32_val; in coerce_subreg_to_size_sx() local
5719 u32_val = reg->var_off.value; in coerce_subreg_to_size_sx()
5721 reg->var_off = tnum_const((s8)u32_val); in coerce_subreg_to_size_sx()
5723 reg->var_off = tnum_const((s16)u32_val); in coerce_subreg_to_size_sx()
5725 u32_val = reg->var_off.value; in coerce_subreg_to_size_sx()
5726 reg_set_srange32(reg, u32_val, u32_val); in coerce_subreg_to_size_sx()