Home
last modified time | relevance | path

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

/linux/drivers/input/keyboard/
H A Dcap11xx.c201 u32 u32_val; in cap11xx_init_keys() local
208 if (!of_property_read_u32(node, "microchip,sensor-gain", &u32_val)) { in cap11xx_init_keys()
212 } else if (is_power_of_2(u32_val) && u32_val <= 8) { in cap11xx_init_keys()
213 priv->analog_gain = (u8)ilog2(u32_val); in cap11xx_init_keys()
222 dev_err(dev, "Invalid sensor-gain value %u\n", u32_val); in cap11xx_init_keys()
241 if (!of_property_read_u32(node, "microchip,sensitivity-delta-sense", &u32_val)) { in cap11xx_init_keys()
242 if (!is_power_of_2(u32_val) || u32_val > 128) { in cap11xx_init_keys()
243 dev_err(dev, "Invalid sensitivity-delta-sense value %u\n", u32_val); in cap11xx_init_keys()
247 priv->sensitivity_delta_sense = (u8)ilog2(u32_val); in cap11xx_init_keys()
248 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_mode_loadbalance.c371 ctx->data.u32_val = port ? port->dev->ifindex : 0; in lb_tx_hash_to_port_mapping_get()
382 if (ctx->data.u32_val == port->dev->ifindex && in lb_tx_hash_to_port_mapping_set()
523 ctx->data.u32_val = lb_priv->ex->stats.refresh_interval; in lb_stats_refresh_interval_get()
532 interval = ctx->data.u32_val; in lb_stats_refresh_interval_set()
H A Dteam_core.c1359 ctx->data.u32_val = team->notify_peers.count; in team_notify_peers_count_get()
1365 team->notify_peers.count = ctx->data.u32_val; in team_notify_peers_count_set()
1372 ctx->data.u32_val = team->notify_peers.interval; in team_notify_peers_interval_get()
1378 team->notify_peers.interval = ctx->data.u32_val; in team_notify_peers_interval_set()
1385 ctx->data.u32_val = team->mcast_rejoin.count; in team_mcast_rejoin_count_get()
1391 team->mcast_rejoin.count = ctx->data.u32_val; in team_mcast_rejoin_count_set()
1398 ctx->data.u32_val = team->mcast_rejoin.interval; in team_mcast_rejoin_interval_get()
1404 team->mcast_rejoin.interval = ctx->data.u32_val; in team_mcast_rejoin_interval_set()
1494 ctx->data.u32_val = port->queue_id; in team_queue_id_option_get()
1501 u16 new_queue_id = ctx->data.u32_val; in team_queue_id_option_set()
[all …]
/linux/include/linux/
H A Dif_team.h147 u32 u32_val; member
/linux/kernel/bpf/
H A Dverifier.c6976 s32 init_s32_max, init_s32_min, s32_max, s32_min, u32_val; in coerce_subreg_to_size_sx() local
6981 u32_val = reg->var_off.value; in coerce_subreg_to_size_sx()
6983 reg->var_off = tnum_const((s8)u32_val); in coerce_subreg_to_size_sx()
6985 reg->var_off = tnum_const((s16)u32_val); in coerce_subreg_to_size_sx()
6987 u32_val = reg->var_off.value; in coerce_subreg_to_size_sx()
6988 reg->s32_min_value = reg->s32_max_value = u32_val; in coerce_subreg_to_size_sx()
6989 reg->u32_min_value = reg->u32_max_value = u32_val; in coerce_subreg_to_size_sx()