Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
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-6.12.1/tools/testing/selftests/drivers/net/mlxsw/
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-6.12.1/arch/x86/kernel/
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-6.12.1/scripts/
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-6.12.1/security/selinux/ss/
Dpolicydb.c589 static int type_index(void *key, void *datum, void *datap) in type_index() function
666 type_index,