Lines Matching defs:val
471 u32 val;
479 val = nla_get_u32(tb[QCA_WLAN_VENDOR_ATTR_TEST]);
480 wiphy_dbg(wiphy, "%s: test=%u\n", __func__, val);
496 nla_put_u32(skb, QCA_WLAN_VENDOR_ATTR_TEST, val + 1);
510 nla_put_u32(skb, QCA_WLAN_VENDOR_ATTR_TEST, val + 2);
825 static int hwsim_fops_ps_read(void *dat, u64 *val)
828 *val = data->ps;
832 static int hwsim_fops_ps_write(void *dat, u64 val)
837 if (val != PS_DISABLED && val != PS_ENABLED && val != PS_AUTO_POLL &&
838 val != PS_MANUAL_POLL)
841 if (val == PS_MANUAL_POLL) {
852 data->ps = val;
855 if (old_ps == PS_DISABLED && val != PS_DISABLED) {
859 } else if (old_ps != PS_DISABLED && val == PS_DISABLED) {
872 static int hwsim_write_simulate_radar(void *dat, u64 val)
884 static int hwsim_fops_group_read(void *dat, u64 *val)
887 *val = data->group;
891 static int hwsim_fops_group_write(void *dat, u64 val)
894 data->group = val;