/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_hwmon.c | 31 unsigned int type_index; member 67 index = mlxsw_hwmon_get_attr_index(mlwsw_hwmon_attr->type_index, in mlxsw_hwmon_temp_show() 90 index = mlxsw_hwmon_get_attr_index(mlwsw_hwmon_attr->type_index, in mlxsw_hwmon_temp_max_show() 120 index = mlxsw_hwmon_get_attr_index(mlwsw_hwmon_attr->type_index, in mlxsw_hwmon_temp_rst_store() 147 mlxsw_reg_mfsm_pack(mfsm_pl, mlwsw_hwmon_attr->type_index); in mlxsw_hwmon_fan_rpm_show() 172 mlxsw_reg_fore_unpack(fore_pl, mlwsw_hwmon_attr->type_index, &fault); in mlxsw_hwmon_fan_fault_show() 187 mlxsw_reg_mfsc_pack(mfsc_pl, mlwsw_hwmon_attr->type_index, 0); in mlxsw_hwmon_pwm_show() 214 mlxsw_reg_mfsc_pack(mfsc_pl, mlwsw_hwmon_attr->type_index, val); in mlxsw_hwmon_pwm_store() 234 module = mlwsw_hwmon_attr->type_index - mlxsw_hwmon->sensor_count; in mlxsw_hwmon_module_temp_get() 272 module = mlwsw_hwmon_attr->type_index in mlxsw_hwmon_module_temp_fault_show() 461 mlxsw_hwmon_attr_add(struct mlxsw_hwmon *mlxsw_hwmon, enum mlxsw_hwmon_attr_type attr_type, unsigned int type_index, unsigned int num) mlxsw_hwmon_attr_add() argument 619 unsigned int type_index; mlxsw_hwmon_fans_init() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_hwmon.c | 32 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 in mlxsw_hwmon_module_temp_fault_show() 490 mlxsw_hwmon_attr_add(struct mlxsw_hwmon_dev *mlxsw_hwmon_dev, enum mlxsw_hwmon_attr_type attr_type, unsigned int type_index, unsigned int num) mlxsw_hwmon_attr_add() argument 653 unsigned int type_index; mlxsw_hwmon_fans_init() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_linecard.sh | 167 local type_index 174 for (( type_index=0; type_index<$supported_types_count; type_index++ )) 177 jq -e -r ".[][][].supported_types[$type_index]")
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | devicetree.c | 221 int type_index; in dt_irqdomain_alloc() local 226 type_index = fwspec->param[1]; in dt_irqdomain_alloc() 227 if (type_index >= ARRAY_SIZE(of_ioapic_type)) in dt_irqdomain_alloc() 230 it = &of_ioapic_type[type_index]; in dt_irqdomain_alloc()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | devicetree.c | 212 int type_index; in dt_irqdomain_alloc() local 217 type_index = fwspec->param[1]; in dt_irqdomain_alloc() 218 if (type_index >= ARRAY_SIZE(of_ioapic_type)) in dt_irqdomain_alloc() 221 it = &of_ioapic_type[type_index]; in dt_irqdomain_alloc()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | asn1_compiler.c | 716 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[ in parse_type() [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | asn1_compiler.c | 716 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[ in parse_type() [all...] |
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | pal.h | 1234 ia64_pal_mc_error_info (u64 info_index, u64 type_index, u64 *size, u64 *error_info) in ia64_pal_mc_error_info() argument 1237 PAL_CALL(iprv, PAL_MC_ERROR_INFO, info_index, type_index, 0); in ia64_pal_mc_error_info()
|
/kernel/linux/linux-6.6/arch/ia64/include/asm/ |
H A D | pal.h | 1235 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()
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | policydb.c | 601 static int type_index(void *key, void *datum, void *datap) in type_index() function 680 type_index,
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | policydb.c | 596 static int type_index(void *key, void *datum, void *datap) in type_index() function 674 type_index,
|