Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/input/keyboard/
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-6.12.1/drivers/net/team/
Dteam_mode_activebackup.c73 ctx->data.u32_val = active_port->dev->ifindex; in ab_active_port_get()
75 ctx->data.u32_val = 0; in ab_active_port_get()
83 if (port->dev->ifindex == ctx->data.u32_val) { in ab_active_port_set()
Dteam_mode_loadbalance.c374 ctx->data.u32_val = port ? port->dev->ifindex : 0; in lb_tx_hash_to_port_mapping_get()
385 if (ctx->data.u32_val == port->dev->ifindex && in lb_tx_hash_to_port_mapping_set()
526 ctx->data.u32_val = lb_priv->ex->stats.refresh_interval; in lb_stats_refresh_interval_get()
535 interval = ctx->data.u32_val; in lb_stats_refresh_interval_set()
Dteam_core.c1394 ctx->data.u32_val = team->notify_peers.count; in team_notify_peers_count_get()
1400 team->notify_peers.count = ctx->data.u32_val; in team_notify_peers_count_set()
1407 ctx->data.u32_val = team->notify_peers.interval; in team_notify_peers_interval_get()
1413 team->notify_peers.interval = ctx->data.u32_val; in team_notify_peers_interval_set()
1420 ctx->data.u32_val = team->mcast_rejoin.count; in team_mcast_rejoin_count_get()
1426 team->mcast_rejoin.count = ctx->data.u32_val; in team_mcast_rejoin_count_set()
1433 ctx->data.u32_val = team->mcast_rejoin.interval; in team_mcast_rejoin_interval_get()
1439 team->mcast_rejoin.interval = ctx->data.u32_val; in team_mcast_rejoin_interval_set()
1529 ctx->data.u32_val = port->queue_id; in team_queue_id_option_get()
1536 u16 new_queue_id = ctx->data.u32_val; in team_queue_id_option_set()
[all …]
/linux-6.12.1/include/linux/
Dif_team.h147 u32 u32_val; member
/linux-6.12.1/kernel/bpf/
Dverifier.c6371 s32 init_s32_max, init_s32_min, s32_max, s32_min, u32_val; in coerce_subreg_to_size_sx() local
6376 u32_val = reg->var_off.value; in coerce_subreg_to_size_sx()
6378 reg->var_off = tnum_const((s8)u32_val); in coerce_subreg_to_size_sx()
6380 reg->var_off = tnum_const((s16)u32_val); in coerce_subreg_to_size_sx()
6382 u32_val = reg->var_off.value; in coerce_subreg_to_size_sx()
6383 reg->s32_min_value = reg->s32_max_value = u32_val; in coerce_subreg_to_size_sx()
6384 reg->u32_min_value = reg->u32_max_value = u32_val; in coerce_subreg_to_size_sx()