/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | adf_cfg.c | 241 struct adf_cfg_key_val *key_val; in adf_cfg_add_key_value_param() local 249 key_val = kzalloc(sizeof(*key_val), GFP_KERNEL); in adf_cfg_add_key_value_param() 250 if (!key_val) in adf_cfg_add_key_value_param() 253 INIT_LIST_HEAD(&key_val->list); in adf_cfg_add_key_value_param() 254 strscpy(key_val->key, key, sizeof(key_val->key)); in adf_cfg_add_key_value_param() 257 snprintf(key_val->val, ADF_CFG_MAX_VAL_LEN_IN_BYTES, in adf_cfg_add_key_value_param() 260 strscpy(key_val->val, (char *)val, sizeof(key_val->val)); in adf_cfg_add_key_value_param() 262 snprintf(key_val->val, ADF_CFG_MAX_VAL_LEN_IN_BYTES, in adf_cfg_add_key_value_param() 266 kfree(key_val); in adf_cfg_add_key_value_param() 269 key_val->type = type; in adf_cfg_add_key_value_param() [all …]
|
D | adf_ctl_drv.c | 112 const struct adf_user_cfg_key_val *key_val) in adf_add_key_value_data() argument 114 if (key_val->type == ADF_HEX) { in adf_add_key_value_data() 115 long *ptr = (long *)key_val->val; in adf_add_key_value_data() 119 key_val->key, (void *)val, in adf_add_key_value_data() 120 key_val->type)) { in adf_add_key_value_data() 127 key_val->key, key_val->val, in adf_add_key_value_data() 128 key_val->type)) { in adf_add_key_value_data() 140 struct adf_user_cfg_key_val key_val; in adf_copy_key_value_data() local 164 if (copy_from_user(&key_val, (void __user *)params_head, in adf_copy_key_value_data() 165 sizeof(key_val))) { in adf_copy_key_value_data() [all …]
|
/linux-6.1.9/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 | adp5588-keys.c | 488 static void adp5588_gpio_irq_handle(struct adp5588_kpad *kpad, int key_val, in adp5588_gpio_irq_handle() argument 491 unsigned int irq, gpio = key_val - GPI_PIN_BASE, irq_type; in adp5588_gpio_irq_handle() 499 dev_err(&client->dev, "Could not get hwirq for key(%u)\n", key_val); in adp5588_gpio_irq_handle() 530 int key_val = key & KEY_EV_MASK; in adp5588_report_events() local 533 if (key_val >= GPI_PIN_BASE && key_val <= GPI_PIN_END) { in adp5588_report_events() 535 adp5588_gpio_irq_handle(kpad, key_val, key_press); in adp5588_report_events() 537 int row = (key_val - 1) / ADP5588_COLS_MAX; in adp5588_report_events() 538 int col = (key_val - 1) % ADP5588_COLS_MAX; in adp5588_report_events() 543 key_val, row, col, kpad->keycode[code]); in adp5588_report_events()
|
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 | 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-6.1.9/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-6.1.9/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()
|