Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_hwmon.c32 unsigned int type_index; member
77 index = mlxsw_hwmon_get_attr_index(mlxsw_hwmon_attr->type_index, in mlxsw_hwmon_temp_show()
102 index = mlxsw_hwmon_get_attr_index(mlxsw_hwmon_attr->type_index, in mlxsw_hwmon_temp_max_show()
134 index = mlxsw_hwmon_get_attr_index(mlxsw_hwmon_attr->type_index, in mlxsw_hwmon_temp_rst_store()
163 mlxsw_reg_mfsm_pack(mfsm_pl, mlxsw_hwmon_attr->type_index); in mlxsw_hwmon_fan_rpm_show()
189 mlxsw_reg_fore_unpack(fore_pl, mlxsw_hwmon_attr->type_index, &fault); in mlxsw_hwmon_fan_fault_show()
205 mlxsw_reg_mfsc_pack(mfsc_pl, mlxsw_hwmon_attr->type_index, 0); in mlxsw_hwmon_pwm_show()
233 mlxsw_reg_mfsc_pack(mfsc_pl, mlxsw_hwmon_attr->type_index, val); in mlxsw_hwmon_pwm_store()
254 module = mlxsw_hwmon_attr->type_index - mlxsw_hwmon_dev->sensor_count; in mlxsw_hwmon_module_temp_get()
294 module = mlxsw_hwmon_attr->type_index - mlxsw_hwmon_dev->sensor_count; in mlxsw_hwmon_module_temp_fault_show()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H 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/scripts/
H 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/
H A Dpolicydb.c589 static int type_index(void *key, void *datum, void *datap) in type_index() function
666 type_index,