Home
last modified time | relevance | path

Searched refs:usage_size (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_kvdl.c186 size_t usage_size; in mlxsw_sp2_kvdl_part_init() local
204 usage_size = BITS_TO_LONGS(usage_bit_count) * sizeof(unsigned long); in mlxsw_sp2_kvdl_part_init()
205 part = kzalloc(sizeof(*part) + usage_size, GFP_KERNEL); in mlxsw_sp2_kvdl_part_init()
Dspectrum1_kvdl.c216 size_t usage_size; in mlxsw_sp1_kvdl_part_init() local
228 usage_size = BITS_TO_LONGS(nr_entries) * sizeof(unsigned long); in mlxsw_sp1_kvdl_part_init()
229 part = kzalloc(sizeof(*part) + usage_size, GFP_KERNEL); in mlxsw_sp1_kvdl_part_init()
/kernel/linux/linux-5.10/include/linux/
Dhid.h415 u8 usage_size[HID_MAX_USAGES]; /* usage size array */ member
/kernel/linux/linux-5.10/drivers/hid/
Dhid-core.c245 parser->local.usage_size[parser->local.usage_index] = size; in hid_add_usage()
592 if (parser->local.usage_size[i] > 2) in hid_concatenate_last_usage_page()