Home
last modified time | relevance | path

Searched refs:n_keys (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/usb/host/whci/
Dinit.c94 whc->n_keys = WHCSPARAMS_TO_N_KEYS(whcsparams); in whc_init()
98 whc->n_devices, whc->n_keys, whc->n_mmc_ies); in whc_init()
Dwhcd.h30 u8 n_keys; member
/Linux-v4.19/kernel/trace/
Dtracing_map.h196 unsigned int n_keys; member
Dtracing_map.c281 map->key_idx[map->n_keys++] = idx; in tracing_map_add_key_field()
980 for (i = 0; i < map->n_keys; i++) in is_key()
Dtrace_events_hist.c265 unsigned int n_keys; member
2824 unsigned int n_keys) in compatible_keys() argument
2829 if (hist_data->n_fields - hist_data->n_vals != n_keys) in compatible_keys()
2835 for (n = 0; n < n_keys; n++) { in compatible_keys()
2856 unsigned int n_keys; in find_compatible_hist() local
2858 n_keys = target_hist_data->n_fields - target_hist_data->n_vals; in find_compatible_hist()
2864 if (compatible_keys(target_hist_data, hist_data, n_keys)) in find_compatible_hist()
3991 hist_data->n_keys++; in create_key_field()
3994 if (WARN_ON(hist_data->n_keys > TRACING_MAP_KEYS_MAX)) in create_key_field()
4645 bool use_compound_key = (hist_data->n_keys > 1); in event_hist_trigger()
/Linux-v4.19/drivers/input/touchscreen/
Datmel_mxt_ts.c2994 int n_keys; in mxt_parse_device_properties() local
2998 n_keys = device_property_read_u32_array(dev, keymap_property, in mxt_parse_device_properties()
3000 if (n_keys <= 0) { in mxt_parse_device_properties()
3001 error = n_keys < 0 ? n_keys : -EINVAL; in mxt_parse_device_properties()
3007 keymap = devm_kmalloc_array(dev, n_keys, sizeof(*keymap), in mxt_parse_device_properties()
3013 keymap, n_keys); in mxt_parse_device_properties()
3021 data->t19_num_keys = n_keys; in mxt_parse_device_properties()