Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/wusbcore/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-v5.4/net/ipv4/
Dsysctl_net_ipv4.c314 int ret, i = 0, off = 0, n_keys = 0; in proc_tcp_fastopen_key() local
323 n_keys = tcp_fastopen_context_len(ctx); in proc_tcp_fastopen_key()
324 memcpy(&key[0], &ctx->key[0], TCP_FASTOPEN_KEY_LENGTH * n_keys); in proc_tcp_fastopen_key()
328 if (!n_keys) { in proc_tcp_fastopen_key()
330 n_keys = 1; in proc_tcp_fastopen_key()
333 for (i = 0; i < n_keys * 4; i++) in proc_tcp_fastopen_key()
336 for (i = 0; i < n_keys; i++) { in proc_tcp_fastopen_key()
343 if (i + 1 < n_keys) in proc_tcp_fastopen_key()
/Linux-v5.4/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.c349 unsigned int n_keys; member
3116 unsigned int n_keys) in compatible_keys() argument
3121 if (hist_data->n_fields - hist_data->n_vals != n_keys) in compatible_keys()
3127 for (n = 0; n < n_keys; n++) { in compatible_keys()
3148 unsigned int n_keys; in find_compatible_hist() local
3150 n_keys = target_hist_data->n_fields - target_hist_data->n_vals; in find_compatible_hist()
3156 if (compatible_keys(target_hist_data, hist_data, n_keys)) in find_compatible_hist()
4566 hist_data->n_keys++; in create_key_field()
4569 if (WARN_ON(hist_data->n_keys > TRACING_MAP_KEYS_MAX)) in create_key_field()
5267 bool use_compound_key = (hist_data->n_keys > 1); in event_hist_trigger()
/Linux-v5.4/drivers/input/touchscreen/
Datmel_mxt_ts.c2989 int n_keys; in mxt_parse_device_properties() local
2993 n_keys = device_property_count_u32(dev, keymap_property); in mxt_parse_device_properties()
2994 if (n_keys <= 0) { in mxt_parse_device_properties()
2995 error = n_keys < 0 ? n_keys : -EINVAL; in mxt_parse_device_properties()
3001 keymap = devm_kmalloc_array(dev, n_keys, sizeof(*keymap), in mxt_parse_device_properties()
3007 keymap, n_keys); in mxt_parse_device_properties()
3015 data->t19_num_keys = n_keys; in mxt_parse_device_properties()