Home
last modified time | relevance | path

Searched refs:keycount (Results 1 – 3 of 3) sorted by relevance

/drivers/input/keyboard/
Dmpr121_touchkey.c64 unsigned int keycount; member
147 for_each_set_bit(key_num, &bit_changed, mpr121->keycount) { in mpr_touchkey_report()
218 eleconf = mpr121->keycount | ELECTRODE_CONF_QUICK_CHARGE; in mpr121_phys_init()
224 dev_dbg(&client->dev, "set up with %x keys.\n", mpr121->keycount); in mpr121_phys_init()
261 mpr121->keycount = device_property_count_u32(dev, "linux,keycodes"); in mpr_touchkey_probe()
262 if (mpr121->keycount > MPR121_MAX_KEY_COUNT) { in mpr_touchkey_probe()
263 dev_err(dev, "too many keys defined (%d)\n", mpr121->keycount); in mpr_touchkey_probe()
269 mpr121->keycount); in mpr_touchkey_probe()
286 input_dev->keycodemax = mpr121->keycount; in mpr_touchkey_probe()
288 for (i = 0; i < mpr121->keycount; i++) in mpr_touchkey_probe()
[all …]
Dmtk-pmic-keys.c241 unsigned int keycount; in mtk_pmic_keys_probe() local
270 keycount = of_get_available_child_count(node); in mtk_pmic_keys_probe()
271 if (keycount > MTK_PMIC_MAX_KEY_COUNT) { in mtk_pmic_keys_probe()
272 dev_err(keys->dev, "too many keys defined (%d)\n", keycount); in mtk_pmic_keys_probe()
/drivers/md/
Ddm-crypt.c2930 char *tmp, *cipher, *chainmode, *keycount; in crypt_ctr_cipher_old() local
2945 keycount = strsep(&tmp, "-"); in crypt_ctr_cipher_old()
2946 cipher = strsep(&keycount, ":"); in crypt_ctr_cipher_old()
2948 if (!keycount) in crypt_ctr_cipher_old()
2950 else if (sscanf(keycount, "%u%c", &cc->tfms_count, &dummy) != 1 || in crypt_ctr_cipher_old()