Home
last modified time | relevance | path

Searched refs:type_index (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_hwmon.c32 unsigned int type_index; member
408 mlxsw_hwmon_attr->type_index + 1 - in mlxsw_hwmon_module_temp_label_show()
597 mlxsw_hwmon_attr->type_index = type_index; in mlxsw_hwmon_attr_add()
653 unsigned int type_index; in mlxsw_hwmon_fans_init() local
666 for (type_index = 0; type_index < MLXSW_MFCR_TACHOS_MAX; type_index++) { in mlxsw_hwmon_fans_init()
667 if (tacho_active & BIT(type_index)) { in mlxsw_hwmon_fans_init()
670 type_index, num); in mlxsw_hwmon_fans_init()
673 type_index, num++); in mlxsw_hwmon_fans_init()
677 for (type_index = 0; type_index < MLXSW_MFCR_PWMS_MAX; type_index++) { in mlxsw_hwmon_fans_init()
678 if (pwm_active & BIT(type_index)) in mlxsw_hwmon_fans_init()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Ddevlink_linecard.sh167 local type_index
174 for (( type_index=0; type_index<$supported_types_count; type_index++ ))
177 jq -e -r ".[][][].supported_types[$type_index]")
/linux/arch/x86/kernel/
A Ddevicetree.c214 int type_index; in dt_irqdomain_alloc() local
219 type_index = fwspec->param[1]; in dt_irqdomain_alloc()
220 if (type_index >= ARRAY_SIZE(of_ioapic_type)) in dt_irqdomain_alloc()
223 it = &of_ioapic_type[type_index]; in dt_irqdomain_alloc()
/linux/scripts/
A Dasn1_compiler.c716 static struct type **type_index; variable
768 type_index = calloc(nr, sizeof(type_index[0])); in build_type_list()
769 if (!type_index) { in build_type_list()
780 type_index[t] = &types[t]; in build_type_list()
787 qsort(type_index, nr, sizeof(type_index[0]), type_index_compare); in build_type_list()
792 struct type *type = type_index[n]; in build_type_list()
1012 ref = bsearch(cursor, type_index, nr_types, sizeof(type_index[0]), in parse_type()
/linux/security/selinux/ss/
A Dpolicydb.c589 static int type_index(void *key, void *datum, void *datap) in type_index() function
666 type_index,

Completed in 23 milliseconds