/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
H A 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 in adf_cfg_add_key_value_param() [all...] |
H A D | adf_ctl_drv.c | 109 const struct adf_user_cfg_key_val *key_val) in adf_add_key_value_data() 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, (voi in adf_copy_key_value_data() 107 adf_add_key_value_data(struct adf_accel_dev *accel_dev, const char *section, const struct adf_user_cfg_key_val *key_val) adf_add_key_value_data() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_cfg.c | 255 struct adf_cfg_key_val *key_val; in adf_cfg_add_key_value_param() local 263 key_val = kzalloc(sizeof(*key_val), GFP_KERNEL); in adf_cfg_add_key_value_param() 264 if (!key_val) in adf_cfg_add_key_value_param() 267 INIT_LIST_HEAD(&key_val->list); in adf_cfg_add_key_value_param() 268 strscpy(key_val->key, key, sizeof(key_val->key)); in adf_cfg_add_key_value_param() 271 snprintf(key_val->val, ADF_CFG_MAX_VAL_LEN_IN_BYTES, in adf_cfg_add_key_value_param() 274 strscpy(key_val->val, (char *)val, sizeof(key_val in adf_cfg_add_key_value_param() [all...] |
H A D | adf_ctl_drv.c | 113 const struct adf_user_cfg_key_val *key_val) in adf_add_key_value_data() 115 if (key_val->type == ADF_HEX) { in adf_add_key_value_data() 116 long *ptr = (long *)key_val->val; in adf_add_key_value_data() 120 key_val->key, (void *)val, in adf_add_key_value_data() 121 key_val->type)) { in adf_add_key_value_data() 128 key_val->key, key_val->val, in adf_add_key_value_data() 129 key_val->type)) { in adf_add_key_value_data() 141 struct adf_user_cfg_key_val key_val; in adf_copy_key_value_data() local 165 if (copy_from_user(&key_val, (voi in adf_copy_key_value_data() 111 adf_add_key_value_data(struct adf_accel_dev *accel_dev, const char *section, const struct adf_user_cfg_key_val *key_val) adf_add_key_value_data() argument [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | mcs_touchkey.c | 50 unsigned int key_val; member 60 unsigned int key_val; in mcs_touchkey_interrupt() local 74 /* key_val is 0 when released, so we should use key_val of press. */ in mcs_touchkey_interrupt() 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() [all...] |
H A 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()
|
H A 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()
|
H A D | adp5589-keys.c | 585 int key, int key_val) in adp5589_report_switches() 590 if (key_val == kpad->gpimap[i].pin) { in adp5589_report_switches() 605 int key_val = key & KEY_EV_MASK; in adp5589_report_events() local 607 if (key_val >= kpad->var->gpi_pin_base && in adp5589_report_events() 608 key_val <= kpad->var->gpi_pin_end) { in adp5589_report_events() 609 adp5589_report_switches(kpad, key, key_val); in adp5589_report_events() 612 kpad->keycode[key_val - 1], in adp5589_report_events() 584 adp5589_report_switches(struct adp5589_kpad *kpad, int key, int key_val) adp5589_report_switches() argument
|
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | mcs_touchkey.c | 50 unsigned int key_val; member 60 unsigned int key_val; in mcs_touchkey_interrupt() local 74 /* key_val is 0 when released, so we should use key_val of press. */ in mcs_touchkey_interrupt() 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() [all...] |
H A 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, ro in adp5588_report_events() [all...] |
H A 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()
|
H A D | adp5589-keys.c | 549 int key, int key_val) in adp5589_report_switches() 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() 548 adp5589_report_switches(struct adp5589_kpad *kpad, int key, int key_val) adp5589_report_switches() argument
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | cls_flower.c | 868 struct flow_dissector_key_mpls *key_val, in fl_set_key_mpls_lse() 902 dissector_set_mpls_lse(key_val, lse_index); in fl_set_key_mpls_lse() 905 lse_val = &key_val->ls[lse_index]; in fl_set_key_mpls_lse() 953 struct flow_dissector_key_mpls *key_val, in fl_set_key_mpls_opts() 974 err = fl_set_key_mpls_lse(nla_lse, key_val, key_mask, extack); in fl_set_key_mpls_opts() 988 struct flow_dissector_key_mpls *key_val, in fl_set_key_mpls() 1007 key_val, key_mask, extack); in fl_set_key_mpls() 1010 lse_val = &key_val->ls[0]; in fl_set_key_mpls() 1016 dissector_set_mpls_lse(key_val, 0); in fl_set_key_mpls() 1030 dissector_set_mpls_lse(key_val, in fl_set_key_mpls() 867 fl_set_key_mpls_lse(const struct nlattr *nla_lse, struct flow_dissector_key_mpls *key_val, struct flow_dissector_key_mpls *key_mask, struct netlink_ext_ack *extack) fl_set_key_mpls_lse() argument 952 fl_set_key_mpls_opts(const struct nlattr *nla_mpls_opts, struct flow_dissector_key_mpls *key_val, struct flow_dissector_key_mpls *key_mask, struct netlink_ext_ack *extack) fl_set_key_mpls_opts() argument 987 fl_set_key_mpls(struct nlattr **tb, struct flow_dissector_key_mpls *key_val, struct flow_dissector_key_mpls *key_mask, struct netlink_ext_ack *extack) fl_set_key_mpls() argument 1064 fl_set_key_vlan(struct nlattr **tb, __be16 ethertype, int vlan_id_key, int vlan_prio_key, int vlan_next_eth_type_key, struct flow_dissector_key_vlan *key_val, struct flow_dissector_key_vlan *key_mask) fl_set_key_vlan() argument 1095 fl_set_key_pppoe(struct nlattr **tb, struct flow_dissector_key_pppoe *key_val, struct flow_dissector_key_pppoe *key_mask, struct fl_flow_key *key, struct fl_flow_key *mask) fl_set_key_pppoe() argument [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | cls_flower.c | 812 struct flow_dissector_key_mpls *key_val, in fl_set_key_mpls_lse() 846 dissector_set_mpls_lse(key_val, lse_index); in fl_set_key_mpls_lse() 849 lse_val = &key_val->ls[lse_index]; in fl_set_key_mpls_lse() 897 struct flow_dissector_key_mpls *key_val, in fl_set_key_mpls_opts() 918 err = fl_set_key_mpls_lse(nla_lse, key_val, key_mask, extack); in fl_set_key_mpls_opts() 932 struct flow_dissector_key_mpls *key_val, in fl_set_key_mpls() 951 key_val, key_mask, extack); in fl_set_key_mpls() 954 lse_val = &key_val->ls[0]; in fl_set_key_mpls() 960 dissector_set_mpls_lse(key_val, 0); in fl_set_key_mpls() 974 dissector_set_mpls_lse(key_val, in fl_set_key_mpls() 811 fl_set_key_mpls_lse(const struct nlattr *nla_lse, struct flow_dissector_key_mpls *key_val, struct flow_dissector_key_mpls *key_mask, struct netlink_ext_ack *extack) fl_set_key_mpls_lse() argument 896 fl_set_key_mpls_opts(const struct nlattr *nla_mpls_opts, struct flow_dissector_key_mpls *key_val, struct flow_dissector_key_mpls *key_mask, struct netlink_ext_ack *extack) fl_set_key_mpls_opts() argument 931 fl_set_key_mpls(struct nlattr **tb, struct flow_dissector_key_mpls *key_val, struct flow_dissector_key_mpls *key_mask, struct netlink_ext_ack *extack) fl_set_key_mpls() argument 1008 fl_set_key_vlan(struct nlattr **tb, __be16 ethertype, int vlan_id_key, int vlan_prio_key, int vlan_next_eth_type_key, struct flow_dissector_key_vlan *key_val, struct flow_dissector_key_vlan *key_mask) fl_set_key_vlan() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/ks7010/ |
H A D | ks_wlan.h | 323 u8 key_val[IW_ENCODING_TOKEN_MAX]; member
|
H A D | ks_hostif.c | 1982 &priv->wpa.key[0].key_val[0], in hostif_sme_set_key() 1988 &priv->wpa.key[1].key_val[0], in hostif_sme_set_key() 1994 &priv->wpa.key[2].key_val[0], in hostif_sme_set_key() 2000 &priv->wpa.key[3].key_val[0], in hostif_sme_set_key()
|
H A D | ks_wlan_net.c | 1589 memcpy(&key->key_val[0], &enc->key[0], key_len); in ks_wlan_set_encode_ext() 1600 memcpy(&key->key_val[0], &enc->key[0], enc->key_len - 16); in ks_wlan_set_encode_ext()
|
/kernel/linux/linux-6.6/drivers/staging/ks7010/ |
H A D | ks_wlan.h | 323 u8 key_val[IW_ENCODING_TOKEN_MAX]; member
|
H A D | ks_hostif.c | 1973 &priv->wpa.key[0].key_val[0], in hostif_sme_set_key() 1979 &priv->wpa.key[1].key_val[0], in hostif_sme_set_key() 1985 &priv->wpa.key[2].key_val[0], in hostif_sme_set_key() 1991 &priv->wpa.key[3].key_val[0], in hostif_sme_set_key()
|
H A D | ks_wlan_net.c | 1588 memcpy(&key->key_val[0], &enc->key[0], key_len); in ks_wlan_set_encode_ext() 1599 memcpy(&key->key_val[0], &enc->key[0], enc->key_len - 16); in ks_wlan_set_encode_ext()
|