Home
last modified time | relevance | path

Searched refs:temp (Results 901 - 925 of 2546) sorted by relevance

1...<<31323334353637383940>>...102

/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fs_enet/
H A Dmac-fec.c179 int temp, hash_index; in set_multicast_one() local
184 temp = (crc & 0x3f) >> 1; in set_multicast_one()
185 hash_index = ((temp & 0x01) << 4) | in set_multicast_one()
186 ((temp & 0x02) << 2) | in set_multicast_one()
187 ((temp & 0x04)) | in set_multicast_one()
188 ((temp & 0x08) >> 2) | in set_multicast_one()
189 ((temp & 0x10) >> 4); in set_multicast_one()
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Ddbinput.c699 u32 temp; in acpi_db_command_dispatch() local
909 temp = acpi_gbl_db_console_debug_level; in acpi_db_command_dispatch()
914 temp, acpi_gbl_db_console_debug_level); in acpi_db_command_dispatch()
916 temp = acpi_gbl_db_debug_level; in acpi_db_command_dispatch()
921 temp, acpi_gbl_db_debug_level); in acpi_db_command_dispatch()
958 temp = strtoul(acpi_gbl_db_args[2], NULL, 0); in acpi_db_command_dispatch()
959 acpi_db_send_notify(acpi_gbl_db_args[1], temp); in acpi_db_command_dispatch()
/kernel/linux/linux-6.6/drivers/thermal/
H A Drcar_gen3_thermal.c62 #define MCELSIUS(temp) ((temp) * 1000)
114 * [reg] = [temp] * a + b => [temp] = ([reg] - b) / a
161 static int rcar_gen3_thermal_round(int temp) in rcar_gen3_thermal_round() argument
165 round_offs = temp >= 0 ? RCAR3_THERMAL_GRAN / 2 : in rcar_gen3_thermal_round()
167 result = (temp + round_offs) / RCAR3_THERMAL_GRAN; in rcar_gen3_thermal_round()
171 static int rcar_gen3_thermal_get_temp(struct thermal_zone_device *tz, int *temp) in rcar_gen3_thermal_get_temp() argument
191 *temp = rcar_gen3_thermal_round(mcelsius); in rcar_gen3_thermal_get_temp()
H A Duniphier_thermal.c140 u32 temp) in uniphier_tm_set_alert()
148 SETALERT_TEMP_OVF_VALUE(temp / 1000)); in uniphier_tm_set_alert()
192 u32 temp; in uniphier_tm_get_temp() local
194 ret = regmap_read(map, tdev->data->map_base + TMOD, &temp); in uniphier_tm_get_temp()
199 *out_temp = sign_extend32(temp, TMOD_WIDTH - 1) * 1000; in uniphier_tm_get_temp()
139 uniphier_tm_set_alert(struct uniphier_tm_dev *tdev, u32 ch, u32 temp) uniphier_tm_set_alert() argument
/kernel/linux/linux-6.6/drivers/video/fbdev/via/
H A Daccel.c481 u32 temp, iga_path = viapar->iga_path; in viafb_show_hw_cursor() local
483 temp = readl(viapar->shared->vdev->engine_mmio + VIA_REG_CURSOR_MODE); in viafb_show_hw_cursor()
486 temp |= 0x1; in viafb_show_hw_cursor()
489 temp &= 0xFFFFFFFE; in viafb_show_hw_cursor()
494 temp |= 0x80000000; in viafb_show_hw_cursor()
498 temp &= 0x7FFFFFFF; in viafb_show_hw_cursor()
500 writel(temp, viapar->shared->vdev->engine_mmio + VIA_REG_CURSOR_MODE); in viafb_show_hw_cursor()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gc_9_4_3.c188 uint32_t temp; in kgd_gfx_v9_4_3_hqd_sdma_destroy() local
195 temp = RREG32(sdma_rlc_reg_offset + regSDMA_RLC0_RB_CNTL); in kgd_gfx_v9_4_3_hqd_sdma_destroy()
196 temp = temp & ~SDMA_RLC0_RB_CNTL__RB_ENABLE_MASK; in kgd_gfx_v9_4_3_hqd_sdma_destroy()
197 WREG32(sdma_rlc_reg_offset + regSDMA_RLC0_RB_CNTL, temp); in kgd_gfx_v9_4_3_hqd_sdma_destroy()
200 temp = RREG32(sdma_rlc_reg_offset + regSDMA_RLC0_CONTEXT_STATUS); in kgd_gfx_v9_4_3_hqd_sdma_destroy()
201 if (temp & SDMA_RLC0_CONTEXT_STATUS__IDLE_MASK) in kgd_gfx_v9_4_3_hqd_sdma_destroy()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/
H A Ddac.c244 saved_rtest_ctrl, saved_gpio0 = 0, saved_gpio1 = 0, temp, routput; in nv17_dac_sample_load() local
301 temp = NVReadRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset); in nv17_dac_sample_load()
302 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, temp | 1); in nv17_dac_sample_load()
306 temp = NVReadRAMDAC(dev, head, NV_PRAMDAC_TEST_CONTROL); in nv17_dac_sample_load()
308 temp | NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED); in nv17_dac_sample_load()
315 temp = NVReadRAMDAC(dev, head, NV_PRAMDAC_TEST_CONTROL); in nv17_dac_sample_load()
317 temp & ~NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED); in nv17_dac_sample_load()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dlm95241.c83 u8 temp[ARRAY_SIZE(lm95241_reg_address)]; member
114 data->temp[i] in lm95241_update_device()
151 *val = temp_from_reg_signed(data->temp[channel * 2], in lm95241_read_temp()
152 data->temp[channel * 2 + 1]); in lm95241_read_temp()
154 *val = temp_from_reg_unsigned(data->temp[channel * 2], in lm95241_read_temp()
155 data->temp[channel * 2 + 1]); in lm95241_read_temp()
415 HWMON_CHANNEL_INFO(temp,
/kernel/linux/linux-6.6/drivers/iio/common/ms_sensors/
H A Dms_sensors_i2c.c608 * ms_sensors_read_temp_and_pressure() - read temp and pressure
624 s32 dt, temp; in ms_sensors_read_temp_and_pressure() local
655 temp = 2000 + (((s64)dt * prom[6]) >> 23); in ms_sensors_read_temp_and_pressure()
658 if (temp < 2000) { in ms_sensors_read_temp_and_pressure()
659 s64 tmp = (s64)temp - 2000; in ms_sensors_read_temp_and_pressure()
665 if (temp < -1500) { in ms_sensors_read_temp_and_pressure()
666 s64 tmp = (s64)temp + 1500; in ms_sensors_read_temp_and_pressure()
686 *temperature = (temp - t2) * 10; in ms_sensors_read_temp_and_pressure()
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/
H A Dresctrl_val.c224 char imc_dir[512], *temp; in num_of_imcs() local
233 temp = strstr(ep->d_name, UNCORE_IMC); in num_of_imcs()
234 if (!temp) in num_of_imcs()
244 temp = temp + sizeof(UNCORE_IMC); in num_of_imcs()
251 if (temp[0] >= '0' && temp[0] <= '9') { in num_of_imcs()
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/
H A Dsimdisk.c217 char *temp = kmalloc(len + 2, GFP_KERNEL); in proc_read_simdisk() local
219 if (!temp) in proc_read_simdisk()
222 len = scnprintf(temp, len + 2, "%s\n", s); in proc_read_simdisk()
224 temp, len); in proc_read_simdisk()
226 kfree(temp); in proc_read_simdisk()
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dstackframe.h102 .macro set_saved_sp stackp temp temp2
103 la.abs \temp, kernelsp
105 LONG_ADD \temp, \temp, u0 variable
107 LONG_S \stackp, \temp, 0 variable
/kernel/linux/linux-5.10/drivers/acpi/pmic/
H A Dintel_pmic.c84 int raw_temp, temp; in pmic_read_temp() local
98 temp = acpi_lpat_raw_to_temp(opregion->lpat_table, raw_temp); in pmic_read_temp()
99 if (temp < 0) in pmic_read_temp()
100 return temp; in pmic_read_temp()
102 *value = temp; in pmic_read_temp()
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dstackframe.h101 .macro set_saved_sp stackp temp temp2
102 la.pcrel \temp, kernelsp
104 LONG_ADD \temp, \temp, u0 variable
106 LONG_S \stackp, \temp, 0 variable
/kernel/linux/linux-5.10/drivers/thermal/
H A Duniphier_thermal.c143 u32 temp) in uniphier_tm_set_alert()
151 SETALERT_TEMP_OVF_VALUE(temp / 1000)); in uniphier_tm_set_alert()
195 u32 temp; in uniphier_tm_get_temp() local
197 ret = regmap_read(map, tdev->data->map_base + TMOD, &temp); in uniphier_tm_get_temp()
202 *out_temp = sign_extend32(temp, TMOD_WIDTH - 1) * 1000; in uniphier_tm_get_temp()
142 uniphier_tm_set_alert(struct uniphier_tm_dev *tdev, u32 ch, u32 temp) uniphier_tm_set_alert() argument
/kernel/linux/linux-5.10/include/net/
H A Dieee802154_netdev.h171 u64 temp; in ieee802154_devaddr_from_raw() local
173 memcpy(&temp, raw, IEEE802154_ADDR_LEN); in ieee802154_devaddr_from_raw()
174 return (__force __le64)swab64(temp); in ieee802154_devaddr_from_raw()
179 u64 temp = swab64((__force u64)addr); in ieee802154_devaddr_to_raw() local
181 memcpy(raw, &temp, IEEE802154_ADDR_LEN); in ieee802154_devaddr_to_raw()
/kernel/linux/linux-5.10/drivers/w1/masters/
H A Dds2482.c215 int temp = -1; in ds2482_wait_1wire_idle() local
220 temp = i2c_smbus_read_byte(pdev->client); in ds2482_wait_1wire_idle()
221 } while ((temp >= 0) && (temp & DS2482_REG_STS_1WB) && in ds2482_wait_1wire_idle()
229 return temp; in ds2482_wait_1wire_idle()
/kernel/linux/linux-5.10/fs/
H A Dd_path.c301 char temp[64]; in dynamic_dname() local
305 sz = vsnprintf(temp, sizeof(temp), fmt, args) + 1; in dynamic_dname()
308 if (sz > sizeof(temp) || sz > buflen) in dynamic_dname()
312 return memcpy(buffer, temp, sz); in dynamic_dname()
/kernel/linux/linux-5.10/lib/
H A Dstring_helpers.c632 char *temp, *pathname; in kstrdup_quotable_file() local
638 temp = kmalloc(PATH_MAX + 11, GFP_KERNEL); in kstrdup_quotable_file()
639 if (!temp) in kstrdup_quotable_file()
642 pathname = file_path(file, temp, PATH_MAX + 11); in kstrdup_quotable_file()
648 kfree(temp); in kstrdup_quotable_file()
/kernel/linux/linux-6.6/drivers/acpi/pmic/
H A Dintel_pmic.c84 int raw_temp, temp; in pmic_read_temp() local
98 temp = opregion->data->lpat_raw_to_temp(opregion->lpat_table, raw_temp); in pmic_read_temp()
99 if (temp < 0) in pmic_read_temp()
100 return temp; in pmic_read_temp()
102 *value = temp; in pmic_read_temp()
/kernel/linux/linux-6.6/fs/
H A Dd_path.c304 char temp[64]; in dynamic_dname() local
308 sz = vsnprintf(temp, sizeof(temp), fmt, args) + 1; in dynamic_dname()
311 if (sz > sizeof(temp) || sz > buflen) in dynamic_dname()
315 return memcpy(buffer, temp, sz); in dynamic_dname()
/kernel/linux/linux-6.6/drivers/w1/masters/
H A Dds2482.c212 int temp = -1; in ds2482_wait_1wire_idle() local
217 temp = i2c_smbus_read_byte(pdev->client); in ds2482_wait_1wire_idle()
218 } while ((temp >= 0) && (temp & DS2482_REG_STS_1WB) && in ds2482_wait_1wire_idle()
226 return temp; in ds2482_wait_1wire_idle()
/kernel/linux/linux-6.6/include/net/
H A Dieee802154_netdev.h249 u64 temp; in ieee802154_devaddr_from_raw() local
251 memcpy(&temp, raw, IEEE802154_ADDR_LEN); in ieee802154_devaddr_from_raw()
252 return (__force __le64)swab64(temp); in ieee802154_devaddr_from_raw()
257 u64 temp = swab64((__force u64)addr); in ieee802154_devaddr_to_raw() local
259 memcpy(raw, &temp, IEEE802154_ADDR_LEN); in ieee802154_devaddr_to_raw()
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_common.c153 int temp; in mtk_vdec_h264_copy_slice_hd_params() local
175 temp = dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC; in mtk_vdec_h264_copy_slice_hd_params()
176 dst_param->field_pic_flag = temp ? 1 : 0; in mtk_vdec_h264_copy_slice_hd_params()
178 temp = dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD; in mtk_vdec_h264_copy_slice_hd_params()
179 dst_param->bottom_field_flag = temp ? 1 : 0; in mtk_vdec_h264_copy_slice_hd_params()
/kernel/linux/linux-6.6/arch/xtensa/platforms/iss/
H A Dsimdisk.c215 char *temp = kmalloc(len + 2, GFP_KERNEL); in proc_read_simdisk() local
217 if (!temp) in proc_read_simdisk()
220 len = scnprintf(temp, len + 2, "%s\n", s); in proc_read_simdisk()
222 temp, len); in proc_read_simdisk()
224 kfree(temp); in proc_read_simdisk()

Completed in 19 milliseconds

1...<<31323334353637383940>>...102