Searched refs:n_keys (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/input/rmi4/ |
H A D | rmi_f1a.c | 22 int n_keys; in rmi_f1a_parse_device_properties() local 28 n_keys = device_property_count_u32(dev, buttons_property); in rmi_f1a_parse_device_properties() 29 if (n_keys <= 0) { in rmi_f1a_parse_device_properties() 30 error = n_keys < 0 ? n_keys : -EINVAL; in rmi_f1a_parse_device_properties() 36 buttonmap = devm_kmalloc_array(dev, n_keys, sizeof(*buttonmap), in rmi_f1a_parse_device_properties() 42 buttonmap, n_keys); in rmi_f1a_parse_device_properties() 50 f1a->num_keys = n_keys; in rmi_f1a_parse_device_properties()
|
/linux/net/ipv4/ |
H A D | tcp_fastopen.c | 100 int n_keys = 0, i; in tcp_fastopen_get_cipher() local 108 n_keys = tcp_fastopen_context_len(ctx); in tcp_fastopen_get_cipher() 109 for (i = 0; i < n_keys; i++) { in tcp_fastopen_get_cipher() 116 return n_keys; in tcp_fastopen_get_cipher()
|
/linux/drivers/input/touchscreen/ |
H A D | atmel_mxt_ts.c | 3137 int n_keys; in mxt_parse_device_properties() local 3141 n_keys = device_property_count_u32(dev, keymap_property); in mxt_parse_device_properties() 3142 if (n_keys <= 0) { in mxt_parse_device_properties() 3143 error = n_keys < 0 ? n_keys : -EINVAL; in mxt_parse_device_properties() 3149 keymap = devm_kmalloc_array(dev, n_keys, sizeof(*keymap), in mxt_parse_device_properties() 3155 keymap, n_keys); in mxt_parse_device_properties() 3163 data->t19_num_keys = n_keys; in mxt_parse_device_properties() 3167 n_keys = device_property_count_u32(dev, buttons_property); in mxt_parse_device_properties() 3168 if (n_keys < in mxt_parse_device_properties() [all...] |
/linux/kernel/trace/ |
H A D | tracing_map.h | 196 unsigned int n_keys; member
|
H A D | trace_events_hist.c | 554 unsigned int n_keys; member 2883 unsigned int n_keys) in compatible_keys() argument 2888 if (hist_data->n_fields - hist_data->n_vals != n_keys) in compatible_keys() 2894 for (n = 0; n < n_keys; n++) { in compatible_keys() 2915 unsigned int n_keys; in find_compatible_hist() local 2919 n_keys = target_hist_data->n_fields - target_hist_data->n_vals; in find_compatible_hist() 2925 if (compatible_keys(target_hist_data, hist_data, n_keys)) in find_compatible_hist() 4548 hist_data->n_keys++; in create_key_field() 4551 if (WARN_ON(hist_data->n_keys > TRACING_MAP_KEYS_MAX)) in create_key_field() 5362 bool use_compound_key = (hist_data->n_keys > in event_hist_trigger() [all...] |
/linux/Documentation/trace/ |
H A D | histogram-design.rst | 143 n_keys = n_fields - n_vals | | 304 n_keys: 2 440 n_keys = n_fields - n_vals | | | 666 | | n_keys = n_fields - n_vals | | 749 n_keys: 1 806 n_keys: 1 986 || ||| n_keys = n_fields - n_vals 1130 n_keys: 1 1194 n_keys: 1 1406 n_keys [all...] |
/linux/tools/testing/selftests/bpf/progs/ |
H A D | map_ptr_kern.c | 151 int i, n_lookups = 0, n_keys = 0; in check_array() local 163 ++n_keys; in check_array() 167 VERIFY(n_keys == MAX_ENTRIES); in check_array()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | tc.h | 234 u16 n_keys; member
|