/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | phy.h | 66 * struct iwl_dts_measurement_cmd - request DTS temp and/or voltage measurements 121 * struct iwl_ext_dts_measurement_cmd - request extended DTS temp measurements 141 * @temp: the measured temperature 145 __le32 temp; member 152 * @temp: the measured temperature 157 __le32 temp; member 165 * @temp: the measured temperature 168 __le32 temp; member
|
/kernel/liteos_a/drivers/char/random/src/ |
H A D | random.c | 76 unsigned int temp; in RanRead() local 84 temp = DoRand(&g_seed); in RanRead() 85 ret = LOS_CopyFromKernel((void *)buf, sizeof(unsigned int), (void *)&temp, sizeof(unsigned int)); in RanRead()
|
/third_party/icu/icu4c/source/tools/genrb/ |
H A D | rbutil.c | 76 char temp; in itostr() local 108 temp = buffer[(length-1) - j]; in itostr() 110 buffer[j] = temp; in itostr()
|
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
H A D | bit_vector.cpp | 47 auto temp = *this_it | *other_it; in Or() local 48 if (temp != *this_it) { in Or() 50 *this_it = temp; in Or()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
H A D | bit_vector.cpp | 47 auto temp = *this_it | *other_it; in Or() local 48 if (temp != *this_it) { in Or() 50 *this_it = temp; in Or()
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
H A D | rbutil.c | 76 char temp; in itostr() local 108 temp = buffer[(length-1) - j]; in itostr() 110 buffer[j] = temp; in itostr()
|
/third_party/spirv-tools/source/util/ |
H A D | bit_vector.cpp | 47 auto temp = *this_it | *other_it; in Or() local 48 if (temp != *this_it) { in Or() 50 *this_it = temp; in Or()
|
/kernel/linux/linux-5.10/drivers/firmware/google/ |
H A D | vpd.c | 149 struct vpd_attrib_info *temp; in vpd_section_attrib_destroy() local 151 list_for_each_entry_safe(info, temp, &sec->attribs, list) { in vpd_section_attrib_destroy() 249 struct vpd_cbmem *temp; in vpd_sections_init() local 253 temp = memremap(physaddr, sizeof(struct vpd_cbmem), MEMREMAP_WB); in vpd_sections_init() 254 if (!temp) in vpd_sections_init() 257 memcpy(&header, temp, sizeof(struct vpd_cbmem)); in vpd_sections_init() 258 memunmap(temp); in vpd_sections_init()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | dbstats.c | 311 u32 temp; in acpi_db_display_statistics() local 314 temp = acpi_db_match_argument(type_arg, acpi_db_stat_types); in acpi_db_display_statistics() 315 if (temp == ACPI_TYPE_NOT_FOUND) { in acpi_db_display_statistics() 320 switch (temp) { in acpi_db_display_statistics() 486 temp = in acpi_db_display_statistics() 495 acpi_os_printf("Stack Use %X (%u)\n", temp, in acpi_db_display_statistics() 496 temp); in acpi_db_display_statistics()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
H A D | cbe_thermal.c | 62 static inline u8 temp_to_reg(u8 temp) in temp_to_reg() argument 64 return ((temp - TEMP_MIN) >> 1) & 0x3f; in temp_to_reg() 116 unsigned int temp; in store_throttle() local 120 ret = sscanf(buf, "%u", &temp); in store_throttle() 122 if (ret != 1 || temp < TEMP_MIN || temp > TEMP_MAX) in store_throttle() 125 new_value = temp_to_reg(temp); in store_throttle()
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
H A D | atomic.h | 142 unsigned long temp; \ 148 temp = v->counter; \ 149 temp c_op i; \ 150 v->counter = temp; \ 153 return temp; \ 424 s64 old, temp; 438 : "=&r"(old), "=&r" (temp)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_arcturus.c | 252 uint32_t temp; in kgd_hqd_sdma_destroy() local 259 temp = RREG32(sdma_rlc_reg_offset + mmSDMA0_RLC0_RB_CNTL); in kgd_hqd_sdma_destroy() 260 temp = temp & ~SDMA0_RLC0_RB_CNTL__RB_ENABLE_MASK; in kgd_hqd_sdma_destroy() 261 WREG32(sdma_rlc_reg_offset + mmSDMA0_RLC0_RB_CNTL, temp); in kgd_hqd_sdma_destroy() 264 temp = RREG32(sdma_rlc_reg_offset + mmSDMA0_RLC0_CONTEXT_STATUS); in kgd_hqd_sdma_destroy() 265 if (temp & SDMA0_RLC0_CONTEXT_STATUS__IDLE_MASK) in kgd_hqd_sdma_destroy()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/ |
H A D | cbe_thermal.c | 61 static inline u8 temp_to_reg(u8 temp) in temp_to_reg() argument 63 return ((temp - TEMP_MIN) >> 1) & 0x3f; in temp_to_reg() 115 unsigned int temp; in store_throttle() local 119 ret = sscanf(buf, "%u", &temp); in store_throttle() 121 if (ret != 1 || temp < TEMP_MIN || temp > TEMP_MAX) in store_throttle() 124 new_value = temp_to_reg(temp); in store_throttle()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | sun4i-ts.c | 169 /* Flush, set trig level to 1, enable temp, data and up irqs */ in sun4i_ts_open() 184 static int sun4i_get_temp(const struct sun4i_ts_data *ts, int *temp) in sun4i_get_temp() argument 190 *temp = ts->temp_data * ts->temp_step - ts->temp_offset; in sun4i_get_temp() 195 static int sun4i_get_tz_temp(void *data, int *temp) in sun4i_get_tz_temp() argument 197 return sun4i_get_temp(data, temp); in sun4i_get_tz_temp() 208 int temp; in show_temp() local 211 error = sun4i_get_temp(ts, &temp); in show_temp() 215 return sprintf(buf, "%d\n", temp); in show_temp()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | smsc47b397.c | 103 u8 temp[4]; member 129 data->temp[i] = smsc47b397_read_value(data, in smsc47b397_update_device() 164 return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); in temp_show() 167 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); 168 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); 169 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); 170 static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3);
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | berlin2-adc.c | 206 int temp; in berlin2_adc_read_raw() local 222 temp = berlin2_adc_tsen_read(indio_dev); in berlin2_adc_read_raw() 223 if (temp < 0) in berlin2_adc_read_raw() 224 return temp; in berlin2_adc_read_raw() 226 if (temp > 2047) in berlin2_adc_read_raw() 227 temp -= 4096; in berlin2_adc_read_raw() 230 *val = ((temp * 100000) / 264 - 270000); in berlin2_adc_read_raw()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_efuse.c | 219 u8 temp = {0x00}; in EFUSE_Read1Byte() local 227 temp = Address & 0xFF; in EFUSE_Read1Byte() 228 rtw_write8(Adapter, EFUSE_CTRL+1, temp); in EFUSE_Read1Byte() 231 temp = ((Address >> 8) & 0x03) | (Bytetemp & 0xFC); in EFUSE_Read1Byte() 232 rtw_write8(Adapter, EFUSE_CTRL+2, temp); in EFUSE_Read1Byte() 236 temp = Bytetemp & 0x7F; in EFUSE_Read1Byte() 237 rtw_write8(Adapter, EFUSE_CTRL+3, temp); in EFUSE_Read1Byte()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_pipeline.c | 70 struct komeda_pipeline *temp = NULL; in komeda_pipeline_get_component_pos() local 85 temp = mdev->pipelines[id - KOMEDA_COMPONENT_COMPIZ0]; in komeda_pipeline_get_component_pos() 86 if (!temp) { in komeda_pipeline_get_component_pos() 90 pos = to_cpos(temp->compiz); in komeda_pipeline_get_component_pos() 104 temp = mdev->pipelines[id - KOMEDA_COMPONENT_IPS0]; in komeda_pipeline_get_component_pos() 105 if (!temp) { in komeda_pipeline_get_component_pos() 109 pos = to_cpos(temp->improc); in komeda_pipeline_get_component_pos()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | dbstats.c | 311 u32 temp; in acpi_db_display_statistics() local 314 temp = acpi_db_match_argument(type_arg, acpi_db_stat_types); in acpi_db_display_statistics() 315 if (temp == ACPI_TYPE_NOT_FOUND) { in acpi_db_display_statistics() 320 switch (temp) { in acpi_db_display_statistics() 486 temp = in acpi_db_display_statistics() 495 acpi_os_printf("Stack Use %X (%u)\n", temp, in acpi_db_display_statistics() 496 temp); in acpi_db_display_statistics()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_efuse.c | 200 u8 temp = {0x00}; in EFUSE_Read1Byte() local 208 temp = Address & 0xFF; in EFUSE_Read1Byte() 209 rtw_write8(Adapter, EFUSE_CTRL+1, temp); in EFUSE_Read1Byte() 212 temp = ((Address >> 8) & 0x03) | (Bytetemp & 0xFC); in EFUSE_Read1Byte() 213 rtw_write8(Adapter, EFUSE_CTRL+2, temp); in EFUSE_Read1Byte() 217 temp = Bytetemp & 0x7F; in EFUSE_Read1Byte() 218 rtw_write8(Adapter, EFUSE_CTRL+3, temp); in EFUSE_Read1Byte()
|
/kernel/linux/linux-6.6/drivers/firmware/google/ |
H A D | vpd.c | 149 struct vpd_attrib_info *temp; in vpd_section_attrib_destroy() local 151 list_for_each_entry_safe(info, temp, &sec->attribs, list) { in vpd_section_attrib_destroy() 249 struct vpd_cbmem *temp; in vpd_sections_init() local 253 temp = memremap(physaddr, sizeof(struct vpd_cbmem), MEMREMAP_WB); in vpd_sections_init() 254 if (!temp) in vpd_sections_init() 257 memcpy(&header, temp, sizeof(struct vpd_cbmem)); in vpd_sections_init() 258 memunmap(temp); in vpd_sections_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_arcturus.c | 248 uint32_t temp; in kgd_arcturus_hqd_sdma_destroy() local 255 temp = RREG32(sdma_rlc_reg_offset + mmSDMA0_RLC0_RB_CNTL); in kgd_arcturus_hqd_sdma_destroy() 256 temp = temp & ~SDMA0_RLC0_RB_CNTL__RB_ENABLE_MASK; in kgd_arcturus_hqd_sdma_destroy() 257 WREG32(sdma_rlc_reg_offset + mmSDMA0_RLC0_RB_CNTL, temp); in kgd_arcturus_hqd_sdma_destroy() 260 temp = RREG32(sdma_rlc_reg_offset + mmSDMA0_RLC0_CONTEXT_STATUS); in kgd_arcturus_hqd_sdma_destroy() 261 if (temp & SDMA0_RLC0_CONTEXT_STATUS__IDLE_MASK) in kgd_arcturus_hqd_sdma_destroy()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_pipeline.c | 72 struct komeda_pipeline *temp = NULL; in komeda_pipeline_get_component_pos() local 87 temp = mdev->pipelines[id - KOMEDA_COMPONENT_COMPIZ0]; in komeda_pipeline_get_component_pos() 88 if (!temp) { in komeda_pipeline_get_component_pos() 92 pos = to_cpos(temp->compiz); in komeda_pipeline_get_component_pos() 106 temp = mdev->pipelines[id - KOMEDA_COMPONENT_IPS0]; in komeda_pipeline_get_component_pos() 107 if (!temp) { in komeda_pipeline_get_component_pos() 111 pos = to_cpos(temp->improc); in komeda_pipeline_get_component_pos()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | smsc47b397.c | 103 u8 temp[4]; member 129 data->temp[i] = smsc47b397_read_value(data, in smsc47b397_update_device() 164 return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); in temp_show() 167 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); 168 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); 169 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); 170 static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3);
|
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | berlin2-adc.c | 208 int temp; in berlin2_adc_read_raw() local 224 temp = berlin2_adc_tsen_read(indio_dev); in berlin2_adc_read_raw() 225 if (temp < 0) in berlin2_adc_read_raw() 226 return temp; in berlin2_adc_read_raw() 228 if (temp > 2047) in berlin2_adc_read_raw() 229 temp -= 4096; in berlin2_adc_read_raw() 232 *val = ((temp * 100000) / 264 - 270000); in berlin2_adc_read_raw()
|