Lines Matching defs:val
560 u32 val;
568 val = nla_get_u32(tb[QCA_WLAN_VENDOR_ATTR_TEST]);
569 wiphy_dbg(wiphy, "%s: test=%u\n", __func__, val);
585 nla_put_u32(skb, QCA_WLAN_VENDOR_ATTR_TEST, val + 1);
599 nla_put_u32(skb, QCA_WLAN_VENDOR_ATTR_TEST, val + 2);
1070 static int hwsim_fops_ps_read(void *dat, u64 *val)
1073 *val = data->ps;
1077 static int hwsim_fops_ps_write(void *dat, u64 val)
1082 if (val != PS_DISABLED && val != PS_ENABLED && val != PS_AUTO_POLL &&
1083 val != PS_MANUAL_POLL)
1086 if (val == PS_MANUAL_POLL) {
1097 data->ps = val;
1100 if (old_ps == PS_DISABLED && val != PS_DISABLED) {
1104 } else if (old_ps != PS_DISABLED && val == PS_DISABLED) {
1117 static int hwsim_write_simulate_radar(void *dat, u64 val)
1129 static int hwsim_fops_group_read(void *dat, u64 *val)
1132 *val = data->group;
1136 static int hwsim_fops_group_write(void *dat, u64 val)
1139 data->group = val;
1147 static int hwsim_fops_rx_rssi_read(void *dat, u64 *val)
1150 *val = data->rx_rssi;
1154 static int hwsim_fops_rx_rssi_write(void *dat, u64 val)
1157 int rssi = (int)val;