Searched refs:n_physmap (Results 1 – 1 of 1) sorted by relevance
541 int n_physmap; in cros_ec_keyb_parse_vivaldi_physmap() local545 n_physmap = device_property_count_u32(ckdev->dev, in cros_ec_keyb_parse_vivaldi_physmap()547 if (n_physmap <= 0) in cros_ec_keyb_parse_vivaldi_physmap()550 if (n_physmap >= VIVALDI_MAX_FUNCTION_ROW_KEYS) { in cros_ec_keyb_parse_vivaldi_physmap()553 VIVALDI_MAX_FUNCTION_ROW_KEYS, n_physmap); in cros_ec_keyb_parse_vivaldi_physmap()554 n_physmap = VIVALDI_MAX_FUNCTION_ROW_KEYS; in cros_ec_keyb_parse_vivaldi_physmap()559 physmap, n_physmap); in cros_ec_keyb_parse_vivaldi_physmap()571 for (i = 0; i < n_physmap; i++) { in cros_ec_keyb_parse_vivaldi_physmap()578 ckdev->vdata.num_function_row_keys = n_physmap; in cros_ec_keyb_parse_vivaldi_physmap()