/linux-5.19.10/drivers/crypto/qat/qat_common/ |
D | adf_cfg.c | 222 struct adf_cfg_key_val *key_val; in adf_cfg_add_key_value_param() local 228 key_val = kzalloc(sizeof(*key_val), GFP_KERNEL); in adf_cfg_add_key_value_param() 229 if (!key_val) in adf_cfg_add_key_value_param() 232 INIT_LIST_HEAD(&key_val->list); in adf_cfg_add_key_value_param() 233 strlcpy(key_val->key, key, sizeof(key_val->key)); in adf_cfg_add_key_value_param() 236 snprintf(key_val->val, ADF_CFG_MAX_VAL_LEN_IN_BYTES, in adf_cfg_add_key_value_param() 239 strlcpy(key_val->val, (char *)val, sizeof(key_val->val)); in adf_cfg_add_key_value_param() 241 snprintf(key_val->val, ADF_CFG_MAX_VAL_LEN_IN_BYTES, in adf_cfg_add_key_value_param() 245 kfree(key_val); in adf_cfg_add_key_value_param() 248 key_val->type = type; in adf_cfg_add_key_value_param() [all …]
|
D | adf_ctl_drv.c | 109 const struct adf_user_cfg_key_val *key_val) in adf_add_key_value_data() argument 111 if (key_val->type == ADF_HEX) { in adf_add_key_value_data() 112 long *ptr = (long *)key_val->val; in adf_add_key_value_data() 116 key_val->key, (void *)val, in adf_add_key_value_data() 117 key_val->type)) { in adf_add_key_value_data() 124 key_val->key, key_val->val, in adf_add_key_value_data() 125 key_val->type)) { in adf_add_key_value_data() 137 struct adf_user_cfg_key_val key_val; in adf_copy_key_value_data() local 160 if (copy_from_user(&key_val, (void __user *)params_head, in adf_copy_key_value_data() 161 sizeof(key_val))) { in adf_copy_key_value_data() [all …]
|
/linux-5.19.10/drivers/input/keyboard/ |
D | mcs_touchkey.c | 50 unsigned int key_val; member 60 unsigned int key_val; in mcs_touchkey_interrupt() local 76 key_val = val & (0xff >> (8 - chip->pressbit)); in mcs_touchkey_interrupt() 77 if (!key_val) in mcs_touchkey_interrupt() 79 key_val -= chip->baseval; in mcs_touchkey_interrupt() 80 data->key_code = data->keycodes[key_val]; in mcs_touchkey_interrupt() 81 data->key_val = key_val; in mcs_touchkey_interrupt() 84 input_event(input, EV_MSC, MSC_SCAN, data->key_val); in mcs_touchkey_interrupt() 88 dev_dbg(&client->dev, "key %d %d %s\n", data->key_val, data->key_code, in mcs_touchkey_interrupt()
|
D | mpr121_touchkey.c | 148 unsigned int key_val, pressed; in mpr_touchkey_report() local 151 key_val = mpr121->keycodes[key_num]; in mpr_touchkey_report() 154 input_report_key(input, key_val, pressed); in mpr_touchkey_report() 156 dev_dbg(&client->dev, "key %d %d %s\n", key_num, key_val, in mpr_touchkey_report()
|
D | adp5588-keys.c | 273 int key_val = key & KEY_EV_MASK; in adp5588_report_events() local 275 if (key_val >= GPI_PIN_BASE && key_val <= GPI_PIN_END) { in adp5588_report_events() 277 if (key_val == kpad->gpimap[j].pin) { in adp5588_report_events() 286 kpad->keycode[key_val - 1], in adp5588_report_events()
|
D | adp5589-keys.c | 549 int key, int key_val) in adp5589_report_switches() argument 554 if (key_val == kpad->gpimap[i].pin) { in adp5589_report_switches() 569 int key_val = key & KEY_EV_MASK; in adp5589_report_events() local 571 if (key_val >= kpad->var->gpi_pin_base && in adp5589_report_events() 572 key_val <= kpad->var->gpi_pin_end) { in adp5589_report_events() 573 adp5589_report_switches(kpad, key, key_val); in adp5589_report_events() 576 kpad->keycode[key_val - 1], in adp5589_report_events()
|
/linux-5.19.10/net/sched/ |
D | cls_flower.c | 817 struct flow_dissector_key_mpls *key_val, in fl_set_key_mpls_lse() argument 851 dissector_set_mpls_lse(key_val, lse_index); in fl_set_key_mpls_lse() 854 lse_val = &key_val->ls[lse_index]; in fl_set_key_mpls_lse() 902 struct flow_dissector_key_mpls *key_val, in fl_set_key_mpls_opts() argument 923 err = fl_set_key_mpls_lse(nla_lse, key_val, key_mask, extack); in fl_set_key_mpls_opts() 937 struct flow_dissector_key_mpls *key_val, in fl_set_key_mpls() argument 956 key_val, key_mask, extack); in fl_set_key_mpls() 959 lse_val = &key_val->ls[0]; in fl_set_key_mpls() 965 dissector_set_mpls_lse(key_val, 0); in fl_set_key_mpls() 979 dissector_set_mpls_lse(key_val, 0); in fl_set_key_mpls() [all …]
|
/linux-5.19.10/drivers/staging/ks7010/ |
D | ks_wlan.h | 323 u8 key_val[IW_ENCODING_TOKEN_MAX]; member
|
D | ks_hostif.c | 1974 &priv->wpa.key[0].key_val[0], in hostif_sme_set_key() 1980 &priv->wpa.key[1].key_val[0], in hostif_sme_set_key() 1986 &priv->wpa.key[2].key_val[0], in hostif_sme_set_key() 1992 &priv->wpa.key[3].key_val[0], in hostif_sme_set_key()
|
D | ks_wlan_net.c | 1587 memcpy(&key->key_val[0], &enc->key[0], enc->key_len); in ks_wlan_set_encode_ext() 1598 memcpy(&key->key_val[0], &enc->key[0], enc->key_len - 16); in ks_wlan_set_encode_ext()
|