Home
last modified time | relevance | path

Searched refs:usage_size (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
H A 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-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum2_kvdl.c187 size_t usage_size; in mlxsw_sp2_kvdl_part_init() local
205 usage_size = BITS_TO_LONGS(usage_bit_count) * sizeof(unsigned long); in mlxsw_sp2_kvdl_part_init()
206 part = kzalloc(sizeof(*part) + usage_size, GFP_KERNEL); in mlxsw_sp2_kvdl_part_init()
/kernel/linux/linux-5.10/include/linux/
H A Dhid.h415 u8 usage_size[HID_MAX_USAGES]; /* usage size array */ member
/kernel/linux/linux-6.6/include/linux/
H A Dhid.h447 u8 usage_size[HID_MAX_USAGES]; /* usage size array */ member
/kernel/linux/linux-5.10/drivers/hid/
H A 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()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-core.c243 parser->local.usage_size[parser->local.usage_index] = size; in hid_add_usage()
590 if (parser->local.usage_size[i] > 2) in hid_concatenate_last_usage_page()

Completed in 14 milliseconds