/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_thermal.c | 274 int *p_temp) in mlxsw_thermal_get_temp() 294 *p_temp = temp; in mlxsw_thermal_get_temp() 312 int trip, int *p_temp) in mlxsw_thermal_get_trip_temp() 319 *p_temp = thermal->trips[trip].temp; in mlxsw_thermal_get_trip_temp() 430 int *p_temp) in mlxsw_thermal_module_temp_get() 448 *p_temp = (int) temp; in mlxsw_thermal_module_temp_get() 452 *p_temp = temp; in mlxsw_thermal_module_temp_get() 480 int trip, int *p_temp) in mlxsw_thermal_module_trip_temp_get() 487 *p_temp = tz->trips[trip].temp; in mlxsw_thermal_module_trip_temp_get() 554 int *p_temp) in mlxsw_thermal_gearbox_temp_get() 273 mlxsw_thermal_get_temp(struct thermal_zone_device *tzdev, int *p_temp) mlxsw_thermal_get_temp() argument 311 mlxsw_thermal_get_trip_temp(struct thermal_zone_device *tzdev, int trip, int *p_temp) mlxsw_thermal_get_trip_temp() argument 429 mlxsw_thermal_module_temp_get(struct thermal_zone_device *tzdev, int *p_temp) mlxsw_thermal_module_temp_get() argument 479 mlxsw_thermal_module_trip_temp_get(struct thermal_zone_device *tzdev, int trip, int *p_temp) mlxsw_thermal_module_trip_temp_get() argument 553 mlxsw_thermal_gearbox_temp_get(struct thermal_zone_device *tzdev, int *p_temp) mlxsw_thermal_gearbox_temp_get() argument [all...] |
H A D | core_hwmon.c | 225 int *p_temp) in mlxsw_hwmon_module_temp_get() 242 mlxsw_reg_mtmp_unpack(mtmp_pl, p_temp, NULL, NULL); in mlxsw_hwmon_module_temp_get() 304 int *p_temp) in mlxsw_hwmon_module_temp_critical_get() 314 SFP_TEMP_HIGH_WARN, p_temp); in mlxsw_hwmon_module_temp_critical_get() 338 int *p_temp) in mlxsw_hwmon_module_temp_emergency_get() 348 SFP_TEMP_HIGH_ALARM, p_temp); in mlxsw_hwmon_module_temp_emergency_get() 223 mlxsw_hwmon_module_temp_get(struct device *dev, struct device_attribute *attr, int *p_temp) mlxsw_hwmon_module_temp_get() argument 302 mlxsw_hwmon_module_temp_critical_get(struct device *dev, struct device_attribute *attr, int *p_temp) mlxsw_hwmon_module_temp_critical_get() argument 336 mlxsw_hwmon_module_temp_emergency_get(struct device *dev, struct device_attribute *attr, int *p_temp) mlxsw_hwmon_module_temp_emergency_get() argument
|
H A D | reg.h | 8565 static inline void mlxsw_reg_mtmp_unpack(char *payload, int *p_temp, in mlxsw_reg_mtmp_unpack() argument 8570 if (p_temp) { in mlxsw_reg_mtmp_unpack() 8572 *p_temp = MLXSW_REG_MTMP_TEMP_TO_MC(temp); in mlxsw_reg_mtmp_unpack() 8665 u16 *p_temp, u16 *p_max_temp) in mlxsw_reg_mtbr_temp_unpack() 8667 if (p_temp) in mlxsw_reg_mtbr_temp_unpack() 8668 *p_temp = mlxsw_reg_mtbr_rec_temp_get(payload, rec_ind); in mlxsw_reg_mtbr_temp_unpack() 8664 mlxsw_reg_mtbr_temp_unpack(char *payload, int rec_ind, u16 *p_temp, u16 *p_max_temp) mlxsw_reg_mtbr_temp_unpack() argument
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | cpqphp_core.c | 197 void __iomem *p_temp; in get_subsequent_smbios_entry() local 206 p_temp = curr; in get_subsequent_smbios_entry() 207 p_temp += readb(curr + SMBIOS_GENERIC_LENGTH); in get_subsequent_smbios_entry() 209 while ((p_temp < p_max) && !bail) { in get_subsequent_smbios_entry() 214 if (!previous_byte && !(readb(p_temp))) in get_subsequent_smbios_entry() 217 previous_byte = readb(p_temp); in get_subsequent_smbios_entry() 218 p_temp++; in get_subsequent_smbios_entry() 221 if (p_temp < p_max) in get_subsequent_smbios_entry() 222 return p_temp; in get_subsequent_smbios_entry()
|
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | cpqphp_core.c | 197 void __iomem *p_temp; in get_subsequent_smbios_entry() local 206 p_temp = curr; in get_subsequent_smbios_entry() 207 p_temp += readb(curr + SMBIOS_GENERIC_LENGTH); in get_subsequent_smbios_entry() 209 while ((p_temp < p_max) && !bail) { in get_subsequent_smbios_entry() 214 if (!previous_byte && !(readb(p_temp))) in get_subsequent_smbios_entry() 217 previous_byte = readb(p_temp); in get_subsequent_smbios_entry() 218 p_temp++; in get_subsequent_smbios_entry() 221 if (p_temp < p_max) in get_subsequent_smbios_entry() 222 return p_temp; in get_subsequent_smbios_entry()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_hwmon.c | 244 int *p_temp) in mlxsw_hwmon_module_temp_get() 263 mlxsw_reg_mtmp_unpack(mtmp_pl, p_temp, NULL, NULL, NULL, NULL); in mlxsw_hwmon_module_temp_get() 326 int *p_temp) in mlxsw_hwmon_module_temp_critical_get() 339 p_temp); in mlxsw_hwmon_module_temp_critical_get() 363 int *p_temp) in mlxsw_hwmon_module_temp_emergency_get() 376 p_temp); in mlxsw_hwmon_module_temp_emergency_get() 242 mlxsw_hwmon_module_temp_get(struct device *dev, struct device_attribute *attr, int *p_temp) mlxsw_hwmon_module_temp_get() argument 324 mlxsw_hwmon_module_temp_critical_get(struct device *dev, struct device_attribute *attr, int *p_temp) mlxsw_hwmon_module_temp_critical_get() argument 361 mlxsw_hwmon_module_temp_emergency_get(struct device *dev, struct device_attribute *attr, int *p_temp) mlxsw_hwmon_module_temp_emergency_get() argument
|
H A D | core_thermal.c | 207 int *p_temp) in mlxsw_thermal_get_temp() 224 *p_temp = temp; in mlxsw_thermal_get_temp() 287 int *p_temp) in mlxsw_thermal_module_temp_get() 301 mlxsw_reg_mtmp_unpack(mtmp_pl, p_temp, NULL, NULL, NULL, NULL); in mlxsw_thermal_module_temp_get() 312 int *p_temp) in mlxsw_thermal_gearbox_temp_get() 330 *p_temp = temp; in mlxsw_thermal_gearbox_temp_get() 206 mlxsw_thermal_get_temp(struct thermal_zone_device *tzdev, int *p_temp) mlxsw_thermal_get_temp() argument 286 mlxsw_thermal_module_temp_get(struct thermal_zone_device *tzdev, int *p_temp) mlxsw_thermal_module_temp_get() argument 311 mlxsw_thermal_gearbox_temp_get(struct thermal_zone_device *tzdev, int *p_temp) mlxsw_thermal_gearbox_temp_get() argument
|
H A D | reg.h | 9503 static inline void mlxsw_reg_mtmp_unpack(char *payload, int *p_temp, in mlxsw_reg_mtmp_unpack() argument 9510 if (p_temp) { in mlxsw_reg_mtmp_unpack() 9512 *p_temp = MLXSW_REG_MTMP_TEMP_TO_MC(temp); in mlxsw_reg_mtmp_unpack() 9620 u16 *p_temp, u16 *p_max_temp) in mlxsw_reg_mtbr_temp_unpack() 9622 if (p_temp) in mlxsw_reg_mtbr_temp_unpack() 9623 *p_temp = mlxsw_reg_mtbr_rec_temp_get(payload, rec_ind); in mlxsw_reg_mtbr_temp_unpack() 9619 mlxsw_reg_mtbr_temp_unpack(char *payload, int rec_ind, u16 *p_temp, u16 *p_max_temp) mlxsw_reg_mtbr_temp_unpack() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mng_tlv.c | 1247 u8 tlv_group = 0, id, *p_mfw_buf = NULL, *p_temp; in qed_mfw_process_tlv_req() local 1286 p_temp = &p_mfw_buf[offset]; in qed_mfw_process_tlv_req() 1287 tlv.tlv_type = TLV_TYPE(p_temp); in qed_mfw_process_tlv_req() 1288 tlv.tlv_length = TLV_LENGTH(p_temp); in qed_mfw_process_tlv_req()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mng_tlv.c | 1247 u8 tlv_group = 0, id, *p_mfw_buf = NULL, *p_temp; in qed_mfw_process_tlv_req() local 1286 p_temp = &p_mfw_buf[offset]; in qed_mfw_process_tlv_req() 1287 tlv.tlv_type = TLV_TYPE(p_temp); in qed_mfw_process_tlv_req() 1288 tlv.tlv_length = TLV_LENGTH(p_temp); in qed_mfw_process_tlv_req()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_process.c | 1251 struct hlist_node *p_temp; in kfd_cleanup_processes() local 1262 hash_for_each_safe(kfd_processes_table, temp, p_temp, p, kfd_processes) { in kfd_cleanup_processes() 1269 hlist_for_each_entry_safe(p, p_temp, &cleanup_list, kfd_processes) in kfd_cleanup_processes()
|