Home
last modified time | relevance | path

Searched refs:activity (Results 1 - 25 of 59) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/staging/unisys/visorinput/
H A Dvisorinput.c21 /* These defines identify mouse and keyboard activity which is specified by the
77 struct visor_inputactivity activity; member
617 scancode = r.activity.arg1; in visorinput_channel_interrupt()
619 switch (r.activity.action) { in visorinput_channel_interrupt()
636 r.activity.arg2); in visorinput_channel_interrupt()
639 xmotion = r.activity.arg1; in visorinput_channel_interrupt()
640 ymotion = r.activity.arg2; in visorinput_channel_interrupt()
646 button = calc_button(r.activity.arg1); in visorinput_channel_interrupt()
653 button = calc_button(r.activity.arg1); in visorinput_channel_interrupt()
660 button = calc_button(r.activity in visorinput_channel_interrupt()
[all...]
/kernel/linux/linux-5.10/drivers/iio/accel/
H A Dmma9553.c76 * The internal activity level must be stable for ACTTHD samples before
77 * ACTIVITY is updated. The ACTIVITY variable contains the current activity
94 /* Status register - activity field */
190 u8 activity; member
204 static enum iio_modifier mma9553_activity_to_mod(enum activity_level activity) in mma9553_activity_to_mod() argument
206 switch (activity) { in mma9553_activity_to_mod()
313 u8 *activity, u16 *stepcnt) in mma9553_read_activity_stepcnt()
327 *activity = mma9553_get_bits(buf[0], MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_activity_stepcnt()
346 * If both step detector and activity are enabled, use the MRGFL bit. in mma9553_conf_gpio()
361 /* Save initial values for activity an in mma9553_conf_gpio()
312 mma9553_read_activity_stepcnt(struct mma9553_data *data, u8 *activity, u16 *stepcnt) mma9553_read_activity_stepcnt() argument
469 u8 activity; mma9553_read_raw() local
1009 u8 activity; mma9553_event_handler() local
[all...]
/kernel/linux/linux-6.6/drivers/iio/accel/
H A Dmma9553.c76 * The internal activity level must be stable for ACTTHD samples before
77 * ACTIVITY is updated. The ACTIVITY variable contains the current activity
94 /* Status register - activity field */
190 u8 activity; member
204 static enum iio_modifier mma9553_activity_to_mod(enum activity_level activity) in mma9553_activity_to_mod() argument
206 switch (activity) { in mma9553_activity_to_mod()
313 u8 *activity, u16 *stepcnt) in mma9553_read_activity_stepcnt()
327 *activity = mma9553_get_bits(buf[0], MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_activity_stepcnt()
346 * If both step detector and activity are enabled, use the MRGFL bit. in mma9553_conf_gpio()
361 /* Save initial values for activity an in mma9553_conf_gpio()
312 mma9553_read_activity_stepcnt(struct mma9553_data *data, u8 *activity, u16 *stepcnt) mma9553_read_activity_stepcnt() argument
469 u8 activity; mma9553_read_raw() local
1009 u8 activity; mma9553_event_handler() local
[all...]
H A Dbma400_core.c847 static enum iio_modifier bma400_act_to_mod(enum bma400_activity activity) in bma400_act_to_mod() argument
849 switch (activity) { in bma400_act_to_mod()
940 unsigned int activity; in bma400_read_raw() local
955 &activity); in bma400_read_raw()
960 * so we will always have 100% for current activity and in bma400_read_raw()
963 if (chan->channel2 == bma400_act_to_mod(activity)) in bma400_read_raw()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum1_acl_tcam.c208 bool *activity) in mlxsw_sp1_acl_tcam_region_entry_activity_get()
218 *activity = mlxsw_reg_ptce2_a_get(ptce2_pl); in mlxsw_sp1_acl_tcam_region_entry_activity_get()
225 bool *activity) in mlxsw_sp1_acl_tcam_entry_activity_get()
234 offset, activity); in mlxsw_sp1_acl_tcam_entry_activity_get()
205 mlxsw_sp1_acl_tcam_region_entry_activity_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_region *_region, unsigned int offset, bool *activity) mlxsw_sp1_acl_tcam_region_entry_activity_get() argument
223 mlxsw_sp1_acl_tcam_entry_activity_get(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, bool *activity) mlxsw_sp1_acl_tcam_entry_activity_get() argument
H A Dspectrum_acl_flex_actions.c65 bool *activity) in mlxsw_sp1_act_kvdl_set_activity_get()
71 bool *activity) in mlxsw_sp2_act_kvdl_set_activity_get()
81 mlxsw_reg_pefa_unpack(pefa_pl, activity); in mlxsw_sp2_act_kvdl_set_activity_get()
64 mlxsw_sp1_act_kvdl_set_activity_get(void *priv, u32 kvdl_index, bool *activity) mlxsw_sp1_act_kvdl_set_activity_get() argument
70 mlxsw_sp2_act_kvdl_set_activity_get(void *priv, u32 kvdl_index, bool *activity) mlxsw_sp2_act_kvdl_set_activity_get() argument
H A Dcore_acl_flex_actions.h19 bool *activity);
46 int mlxsw_afa_block_activity_get(struct mlxsw_afa_block *block, bool *activity);
H A Dspectrum2_acl_tcam.c244 bool *activity) in mlxsw_sp2_acl_tcam_entry_activity_get()
248 return mlxsw_afa_block_activity_get(entry->act_block, activity); in mlxsw_sp2_acl_tcam_entry_activity_get()
242 mlxsw_sp2_acl_tcam_entry_activity_get(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, bool *activity) mlxsw_sp2_acl_tcam_entry_activity_get() argument
H A Dspectrum_acl_tcam.c1113 bool *activity) in mlxsw_sp_acl_tcam_entry_activity_get()
1118 entry->priv, activity); in mlxsw_sp_acl_tcam_entry_activity_get()
1188 bool *activity) in mlxsw_sp_acl_tcam_ventry_activity_get()
1191 ventry->entry, activity); in mlxsw_sp_acl_tcam_ventry_activity_get()
1696 void *rule_priv, bool *activity) in mlxsw_sp_acl_tcam_flower_rule_activity_get()
1701 activity); in mlxsw_sp_acl_tcam_flower_rule_activity_get()
1834 void *rule_priv, bool *activity) in mlxsw_sp_acl_tcam_mr_rule_activity_get()
1839 activity); in mlxsw_sp_acl_tcam_mr_rule_activity_get()
1111 mlxsw_sp_acl_tcam_entry_activity_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_entry *entry, bool *activity) mlxsw_sp_acl_tcam_entry_activity_get() argument
1186 mlxsw_sp_acl_tcam_ventry_activity_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_ventry *ventry, bool *activity) mlxsw_sp_acl_tcam_ventry_activity_get() argument
1695 mlxsw_sp_acl_tcam_flower_rule_activity_get(struct mlxsw_sp *mlxsw_sp, void *rule_priv, bool *activity) mlxsw_sp_acl_tcam_flower_rule_activity_get() argument
1833 mlxsw_sp_acl_tcam_mr_rule_activity_get(struct mlxsw_sp *mlxsw_sp, void *rule_priv, bool *activity) mlxsw_sp_acl_tcam_mr_rule_activity_get() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum1_acl_tcam.c208 bool *activity) in mlxsw_sp1_acl_tcam_region_entry_activity_get()
218 *activity = mlxsw_reg_ptce2_a_get(ptce2_pl); in mlxsw_sp1_acl_tcam_region_entry_activity_get()
225 bool *activity) in mlxsw_sp1_acl_tcam_entry_activity_get()
234 offset, activity); in mlxsw_sp1_acl_tcam_entry_activity_get()
205 mlxsw_sp1_acl_tcam_region_entry_activity_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_region *_region, unsigned int offset, bool *activity) mlxsw_sp1_acl_tcam_region_entry_activity_get() argument
223 mlxsw_sp1_acl_tcam_entry_activity_get(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, bool *activity) mlxsw_sp1_acl_tcam_entry_activity_get() argument
H A Dcore_acl_flex_actions.h19 bool *activity);
52 int mlxsw_afa_block_activity_get(struct mlxsw_afa_block *block, bool *activity);
H A Dspectrum_acl_flex_actions.c65 bool *activity) in mlxsw_sp1_act_kvdl_set_activity_get()
71 bool *activity) in mlxsw_sp2_act_kvdl_set_activity_get()
81 mlxsw_reg_pefa_unpack(pefa_pl, activity); in mlxsw_sp2_act_kvdl_set_activity_get()
64 mlxsw_sp1_act_kvdl_set_activity_get(void *priv, u32 kvdl_index, bool *activity) mlxsw_sp1_act_kvdl_set_activity_get() argument
70 mlxsw_sp2_act_kvdl_set_activity_get(void *priv, u32 kvdl_index, bool *activity) mlxsw_sp2_act_kvdl_set_activity_get() argument
H A Dspectrum2_acl_tcam.c254 bool *activity) in mlxsw_sp2_acl_tcam_entry_activity_get()
258 return mlxsw_afa_block_activity_get(entry->act_block, activity); in mlxsw_sp2_acl_tcam_entry_activity_get()
252 mlxsw_sp2_acl_tcam_entry_activity_get(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, bool *activity) mlxsw_sp2_acl_tcam_entry_activity_get() argument
H A Dspectrum_acl_tcam.c1079 bool *activity) in mlxsw_sp_acl_tcam_entry_activity_get()
1084 entry->priv, activity); in mlxsw_sp_acl_tcam_entry_activity_get()
1154 bool *activity) in mlxsw_sp_acl_tcam_ventry_activity_get()
1157 ventry->entry, activity); in mlxsw_sp_acl_tcam_ventry_activity_get()
1744 void *rule_priv, bool *activity) in mlxsw_sp_acl_tcam_flower_rule_activity_get()
1749 activity); in mlxsw_sp_acl_tcam_flower_rule_activity_get()
1882 void *rule_priv, bool *activity) in mlxsw_sp_acl_tcam_mr_rule_activity_get()
1884 *activity = false; in mlxsw_sp_acl_tcam_mr_rule_activity_get()
1077 mlxsw_sp_acl_tcam_entry_activity_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_entry *entry, bool *activity) mlxsw_sp_acl_tcam_entry_activity_get() argument
1152 mlxsw_sp_acl_tcam_ventry_activity_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_ventry *ventry, bool *activity) mlxsw_sp_acl_tcam_ventry_activity_get() argument
1743 mlxsw_sp_acl_tcam_flower_rule_activity_get(struct mlxsw_sp *mlxsw_sp, void *rule_priv, bool *activity) mlxsw_sp_acl_tcam_flower_rule_activity_get() argument
1881 mlxsw_sp_acl_tcam_mr_rule_activity_get(struct mlxsw_sp *mlxsw_sp, void *rule_priv, bool *activity) mlxsw_sp_acl_tcam_mr_rule_activity_get() argument
/kernel/linux/linux-5.10/net/ipv6/
H A Dcalipso.c80 u32 activity; member
190 * 1. The cache entry's activity counter is incremented
191 * 2. The previous (higher ranking) entry's activity counter is decremented
192 * 3. If the difference between the two activity counters is geater than
218 entry->activity += 1; in calipso_cache_check()
228 if (prev_entry->activity > 0) in calipso_cache_check()
229 prev_entry->activity -= 1; in calipso_cache_check()
230 if (entry->activity > prev_entry->activity && in calipso_cache_check()
231 entry->activity in calipso_cache_check()
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Dcalipso.c80 u32 activity; member
190 * 1. The cache entry's activity counter is incremented
191 * 2. The previous (higher ranking) entry's activity counter is decremented
192 * 3. If the difference between the two activity counters is geater than
218 entry->activity += 1; in calipso_cache_check()
228 if (prev_entry->activity > 0) in calipso_cache_check()
229 prev_entry->activity -= 1; in calipso_cache_check()
230 if (entry->activity > prev_entry->activity && in calipso_cache_check()
231 entry->activity in calipso_cache_check()
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dcipso_ipv4.c69 u32 activity; member
225 * 1. The cache entry's activity counter is incremented
226 * 2. The previous (higher ranking) entry's activity counter is decremented
227 * 3. If the difference between the two activity counters is geater than
253 entry->activity += 1; in cipso_v4_cache_check()
263 if (prev_entry->activity > 0) in cipso_v4_cache_check()
264 prev_entry->activity -= 1; in cipso_v4_cache_check()
265 if (entry->activity > prev_entry->activity && in cipso_v4_cache_check()
266 entry->activity in cipso_v4_cache_check()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dcipso_ipv4.c69 u32 activity; member
224 * 1. The cache entry's activity counter is incremented
225 * 2. The previous (higher ranking) entry's activity counter is decremented
226 * 3. If the difference between the two activity counters is geater than
252 entry->activity += 1; in cipso_v4_cache_check()
262 if (prev_entry->activity > 0) in cipso_v4_cache_check()
263 prev_entry->activity -= 1; in cipso_v4_cache_check()
264 if (entry->activity > prev_entry->activity && in cipso_v4_cache_check()
265 entry->activity in cipso_v4_cache_check()
[all...]
/kernel/linux/linux-6.6/drivers/net/netdevsim/
H A Dfib.c1371 unsigned long *activity; in nsim_nexthop_bucket_activity_write() local
1397 activity = bitmap_zalloc(nexthop->occ, GFP_KERNEL); in nsim_nexthop_bucket_activity_write()
1398 if (!activity) { in nsim_nexthop_bucket_activity_write()
1403 bitmap_set(activity, bucket_index, 1); in nsim_nexthop_bucket_activity_write()
1404 nexthop_res_grp_activity_update(net, nhid, nexthop->occ, activity); in nsim_nexthop_bucket_activity_write()
1405 bitmap_free(activity); in nsim_nexthop_bucket_activity_write()
/kernel/linux/linux-5.10/include/uapi/misc/
H A Dxilinx_sdfec.h195 * @activity: Describes if the SD-FEC instance is Active
199 __s8 activity; member
/kernel/linux/linux-6.6/include/uapi/misc/
H A Dxilinx_sdfec.h195 * @activity: Describes if the SD-FEC instance is Active
199 __s8 activity; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/misc/
H A Dxilinx_sdfec.h89 __s8 activity; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/misc/
H A Dxilinx_sdfec.h89 __s8 activity; member
/kernel/linux/linux-5.10/drivers/s390/virtio/
H A Dvirtio_ccw.c1068 __u32 activity) in virtio_ccw_check_activity()
1070 if (vcdev->curr_io & activity) { in virtio_ccw_check_activity()
1071 switch (activity) { in virtio_ccw_check_activity()
1085 vcdev->curr_io &= ~activity; in virtio_ccw_check_activity()
1091 "Suspicious activity '%08x'\n", activity); in virtio_ccw_check_activity()
1102 __u32 activity = intparm & VIRTIO_CCW_INTPARM_MASK; in virtio_ccw_int_handler() local
1111 virtio_ccw_check_activity(vcdev, activity); in virtio_ccw_int_handler()
1130 virtio_ccw_check_activity(vcdev, activity); in virtio_ccw_int_handler()
1067 virtio_ccw_check_activity(struct virtio_ccw_device *vcdev, __u32 activity) virtio_ccw_check_activity() argument
/kernel/linux/linux-6.6/drivers/s390/virtio/
H A Dvirtio_ccw.c1098 __u32 activity) in virtio_ccw_check_activity()
1100 if (vcdev->curr_io & activity) { in virtio_ccw_check_activity()
1101 switch (activity) { in virtio_ccw_check_activity()
1115 vcdev->curr_io &= ~activity; in virtio_ccw_check_activity()
1121 "Suspicious activity '%08x'\n", activity); in virtio_ccw_check_activity()
1132 __u32 activity = intparm & VIRTIO_CCW_INTPARM_MASK; in virtio_ccw_int_handler() local
1141 virtio_ccw_check_activity(vcdev, activity); in virtio_ccw_int_handler()
1160 virtio_ccw_check_activity(vcdev, activity); in virtio_ccw_int_handler()
1097 virtio_ccw_check_activity(struct virtio_ccw_device *vcdev, __u32 activity) virtio_ccw_check_activity() argument

Completed in 27 milliseconds

123