Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/arch/x86/kernel/
Ddevicetree.c215 int type_index; in dt_irqdomain_alloc() local
220 type_index = fwspec->param[1]; in dt_irqdomain_alloc()
221 if (type_index >= ARRAY_SIZE(of_ioapic_type)) in dt_irqdomain_alloc()
224 it = &of_ioapic_type[type_index]; in dt_irqdomain_alloc()
/linux-6.1.9/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.1.9/arch/ia64/include/asm/
Dpal.h1235 ia64_pal_mc_error_info (u64 info_index, u64 type_index, u64 *size, u64 *error_info) in ia64_pal_mc_error_info() argument
1238 PAL_CALL(iprv, PAL_MC_ERROR_INFO, info_index, type_index, 0); in ia64_pal_mc_error_info()
/linux-6.1.9/security/selinux/ss/
Dpolicydb.c596 static int type_index(void *key, void *datum, void *datap) in type_index() function
674 type_index,