Searched refs:u32_val (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/input/keyboard/ |
| H A D | cap11xx.c | 201 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 D | team_mode_activebackup.c | 72 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 D | team_core.c | 1471 ctx->data.u32_val = team->notify_peers.count; in team_notify_peers_count_get() 1477 team->notify_peers.count = ctx->data.u32_val; in team_notify_peers_count_set() 1484 ctx->data.u32_val = team->notify_peers.interval; in team_notify_peers_interval_get() 1490 team->notify_peers.interval = ctx->data.u32_val; in team_notify_peers_interval_set() 1497 ctx->data.u32_val = team->mcast_rejoin.count; in team_mcast_rejoin_count_get() 1503 team->mcast_rejoin.count = ctx->data.u32_val; in team_mcast_rejoin_count_set() 1510 ctx->data.u32_val = team->mcast_rejoin.interval; in team_mcast_rejoin_interval_get() 1516 team->mcast_rejoin.interval = ctx->data.u32_val; in team_mcast_rejoin_interval_set() 1646 ctx->data.u32_val = port->queue_id; in team_queue_id_option_get() 1653 u16 new_queue_id = ctx->data.u32_val; in team_queue_id_option_set() [all …]
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 5751 s32 init_s32_max, init_s32_min, s32_max, s32_min, u32_val; in coerce_subreg_to_size_sx() local 5756 u32_val = reg->var_off.value; in coerce_subreg_to_size_sx() 5758 reg->var_off = tnum_const((s8)u32_val); in coerce_subreg_to_size_sx() 5760 reg->var_off = tnum_const((s16)u32_val); in coerce_subreg_to_size_sx() 5762 u32_val = reg->var_off.value; in coerce_subreg_to_size_sx() 5763 reg->s32_min_value = reg->s32_max_value = u32_val; in coerce_subreg_to_size_sx() 5764 reg->u32_min_value = reg->u32_max_value = u32_val; in coerce_subreg_to_size_sx()
|