Home
last modified time | relevance | path

Searched refs:temp (Results 176 - 200 of 4044) sorted by relevance

12345678910>>...162

/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-imx.c329 unsigned int temp; in i2c_imx_clear_irq() local
336 temp = ~i2c_imx->hwdata->i2sr_clr_opcode ^ bits; in i2c_imx_clear_irq()
337 imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2SR); in i2c_imx_clear_irq()
486 unsigned int temp; in i2c_imx_bus_busy() local
489 temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2SR); in i2c_imx_bus_busy()
492 if (temp & I2SR_IAL) { in i2c_imx_bus_busy()
497 if (for_busy && (temp & I2SR_IBB)) { in i2c_imx_bus_busy()
501 if (!for_busy && !(temp & I2SR_IBB)) { in i2c_imx_bus_busy()
637 unsigned int temp = 0; in i2c_imx_start() local
652 temp in i2c_imx_start()
670 unsigned int temp = 0; i2c_imx_stop() local
706 unsigned int temp; i2c_imx_enable_bus_idle() local
846 int temp; i2c_imx_slave_init() local
956 unsigned int temp = 0; i2c_imx_dma_write() local
1018 unsigned int temp; i2c_imx_dma_read() local
1137 unsigned int temp; i2c_imx_read() local
1246 unsigned int i, temp; i2c_imx_xfer_common() local
[all...]
H A Di2c-sis96x.c81 int temp; in sis96x_transaction() local
88 if (((temp = sis96x_read(SMB_CNT)) & 0x03) != 0x00) { in sis96x_transaction()
91 "Resetting...\n", temp); in sis96x_transaction()
97 if (((temp = sis96x_read(SMB_CNT)) & 0x03) != 0x00) { in sis96x_transaction()
98 dev_dbg(&sis96x_adapter.dev, "Failed (0x%02x)\n", temp); in sis96x_transaction()
109 temp = sis96x_read(SMB_STS); in sis96x_transaction()
110 sis96x_write(SMB_STS, temp & 0x1e); in sis96x_transaction()
118 temp = sis96x_read(SMB_STS); in sis96x_transaction()
119 } while (!(temp & 0x0e) && (timeout++ < MAX_TIMEOUT)); in sis96x_transaction()
123 dev_dbg(&sis96x_adapter.dev, "SMBus Timeout! (0x%02x)\n", temp); in sis96x_transaction()
[all...]
H A Di2c-amd756.c98 int temp; in amd756_transaction() local
108 if ((temp = inw_p(SMB_GLOBAL_STATUS)) & (GS_HST_STS | GS_SMB_STS)) { in amd756_transaction()
109 dev_dbg(&adap->dev, "SMBus busy (%04x). Waiting...\n", temp); in amd756_transaction()
112 temp = inw_p(SMB_GLOBAL_STATUS); in amd756_transaction()
113 } while ((temp & (GS_HST_STS | GS_SMB_STS)) && in amd756_transaction()
117 dev_dbg(&adap->dev, "Busy wait timeout (%04x)\n", temp); in amd756_transaction()
129 temp = inw_p(SMB_GLOBAL_STATUS); in amd756_transaction()
130 } while ((temp & GS_HST_STS) && (timeout++ < MAX_TIMEOUT)); in amd756_transaction()
138 if (temp & GS_PRERR_STS) { in amd756_transaction()
143 if (temp in amd756_transaction()
318 u8 temp; amd756_probe() local
[all...]
H A Di2c-sis5595.c219 int temp; in sis5595_transaction() local
224 temp = sis5595_read(SMB_STS_LO) + (sis5595_read(SMB_STS_HI) << 8); in sis5595_transaction()
225 if (temp != 0x00) { in sis5595_transaction()
226 dev_dbg(&adap->dev, "SMBus busy (%04x). Resetting...\n", temp); in sis5595_transaction()
227 sis5595_write(SMB_STS_LO, temp & 0xff); in sis5595_transaction()
228 sis5595_write(SMB_STS_HI, temp >> 8); in sis5595_transaction()
229 if ((temp = sis5595_read(SMB_STS_LO) + (sis5595_read(SMB_STS_HI) << 8)) != 0x00) { in sis5595_transaction()
230 dev_dbg(&adap->dev, "Failed! (%02x)\n", temp); in sis5595_transaction()
243 temp = sis5595_read(SMB_STS_LO); in sis5595_transaction()
244 } while (!(temp in sis5595_transaction()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Djnf.c23 float a, b, temp; in jnf() local
53 temp = b; in jnf()
55 a = temp; in jnf()
64 temp = 0.5f * x; in jnf()
65 b = temp; in jnf()
69 b *= temp; /* b = (x/2)^n */ in jnf()
134 temp = b; in jnf()
136 a = temp; in jnf()
140 temp = b; in jnf()
142 a = temp; in jnf()
166 float a, b, temp; ynf() local
[all...]
/third_party/musl/src/math/
H A Djnf.c23 float a, b, temp; in jnf() local
53 temp = b; in jnf()
55 a = temp; in jnf()
64 temp = 0.5f * x; in jnf()
65 b = temp; in jnf()
69 b *= temp; /* b = (x/2)^n */ in jnf()
134 temp = b; in jnf()
136 a = temp; in jnf()
140 temp = b; in jnf()
142 a = temp; in jnf()
166 float a, b, temp; ynf() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtt.c47 static void iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp) in iwl_mvm_tt_temp_changed() argument
53 if (mvm->temperature == temp) in iwl_mvm_tt_temp_changed()
56 mvm->temperature = temp; in iwl_mvm_tt_temp_changed()
65 int temp; in iwl_mvm_temp_notif_parse() local
77 temp = le32_to_cpu(notif_v1->temp); in iwl_mvm_temp_notif_parse()
80 if (WARN_ON_ONCE(temp < 0)) in iwl_mvm_temp_notif_parse()
81 temp = 0; in iwl_mvm_temp_notif_parse()
83 IWL_DEBUG_TEMP(mvm, "DTS_MEASUREMENT_NOTIFICATION - %d\n", temp); in iwl_mvm_temp_notif_parse()
85 return temp; in iwl_mvm_temp_notif_parse()
93 int *temp = data; iwl_mvm_temp_notif_wait() local
110 int temp; iwl_mvm_temp_notif() local
176 iwl_mvm_send_temp_cmd(struct iwl_mvm *mvm, bool response, s32 *temp) iwl_mvm_send_temp_cmd() argument
235 iwl_mvm_get_temp(struct iwl_mvm *mvm, s32 *temp) iwl_mvm_get_temp() argument
279 s32 temp; check_exit_ctkill() local
620 int temp; iwl_mvm_tzone_get_temp() local
641 iwl_mvm_tzone_set_trip_temp(struct thermal_zone_device *device, int trip, int temp) iwl_mvm_tzone_set_trip_temp() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dg4x_hdmi.c222 u32 temp; in g4x_hdmi_enable_port() local
224 temp = intel_de_read(dev_priv, intel_hdmi->hdmi_reg); in g4x_hdmi_enable_port()
226 temp |= SDVO_ENABLE; in g4x_hdmi_enable_port()
228 temp |= HDMI_AUDIO_ENABLE; in g4x_hdmi_enable_port()
230 intel_de_write(dev_priv, intel_hdmi->hdmi_reg, temp); in g4x_hdmi_enable_port()
256 u32 temp; in ibx_enable_hdmi() local
258 temp = intel_de_read(dev_priv, intel_hdmi->hdmi_reg); in ibx_enable_hdmi()
260 temp |= SDVO_ENABLE; in ibx_enable_hdmi()
262 temp |= HDMI_AUDIO_ENABLE; in ibx_enable_hdmi()
268 intel_de_write(dev_priv, intel_hdmi->hdmi_reg, temp); in ibx_enable_hdmi()
311 u32 temp; cpt_enable_hdmi() local
379 u32 temp; intel_disable_hdmi() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c95 u8 temp; in af9005_is_fecmon_available() local
101 fec_vtb_rsd_mon_en_len, &temp); in af9005_is_fecmon_available()
104 if (temp & 1) { in af9005_is_fecmon_available()
109 reg_ofsm_read_rbc_en_len, &temp); in af9005_is_fecmon_available()
112 if ((temp & 1) == 0) in af9005_is_fecmon_available()
128 u8 temp, temp0, temp1, temp2; in af9005_get_post_vit_err_cw_count() local
138 &temp); in af9005_get_post_vit_err_cw_count()
141 if (!temp) { in af9005_get_post_vit_err_cw_count()
228 u8 temp, temp0, temp1, temp2; in af9005_get_pre_vit_err_bit_count() local
235 &temp); in af9005_get_pre_vit_err_bit_count()
431 u8 temp; af9005_fe_read_status() local
766 u8 temp; af9005_fe_select_bw() local
788 u8 temp = on; af9005_fe_power() local
808 u8 temp, temp0 = 0, temp1 = 0, temp2 = 0; af9005_fe_init() local
1096 u8 temp, temp0, temp1, temp2; af9005_fe_set_frontend() local
1222 u8 temp; af9005_fe_get_frontend() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c95 u8 temp; in af9005_is_fecmon_available() local
101 fec_vtb_rsd_mon_en_len, &temp); in af9005_is_fecmon_available()
104 if (temp & 1) { in af9005_is_fecmon_available()
109 reg_ofsm_read_rbc_en_len, &temp); in af9005_is_fecmon_available()
112 if ((temp & 1) == 0) in af9005_is_fecmon_available()
128 u8 temp, temp0, temp1, temp2; in af9005_get_post_vit_err_cw_count() local
138 &temp); in af9005_get_post_vit_err_cw_count()
141 if (!temp) { in af9005_get_post_vit_err_cw_count()
228 u8 temp, temp0, temp1, temp2; in af9005_get_pre_vit_err_bit_count() local
235 &temp); in af9005_get_pre_vit_err_bit_count()
431 u8 temp; af9005_fe_read_status() local
766 u8 temp; af9005_fe_select_bw() local
788 u8 temp = on; af9005_fe_power() local
808 u8 temp, temp0 = 0, temp1 = 0, temp2 = 0; af9005_fe_init() local
1096 u8 temp, temp0, temp1, temp2; af9005_fe_set_frontend() local
1222 u8 temp; af9005_fe_get_frontend() local
[all...]
/kernel/linux/linux-5.10/drivers/macintosh/
H A Dtherm_windtunnel.c59 int overheat_temp; /* 100% fan at this temp */
61 int temp; member
75 int temp; member
93 print_temp( const char *s, int temp ) in print_temp()
95 printk("%s%d.%d C", s ? s : "", temp>>8, (temp & 255)*10/256 ); in print_temp()
101 return sprintf(buf, "%d.%d\n", x.temp>>8, (x.temp & 255)*10/256 ); in show_cpu_temperature()
160 print_temp("CPU-temp: ", x.temp ); in tune_fan()
171 int temp, i, level, casetemp; poll_temp() local
375 int hyst_temp, os_temp, temp; attach_thermostat() local
[all...]
/kernel/linux/linux-6.6/drivers/macintosh/
H A Dtherm_windtunnel.c60 int overheat_temp; /* 100% fan at this temp */
62 int temp; member
76 int temp; member
94 print_temp( const char *s, int temp ) in print_temp()
96 printk("%s%d.%d C", s ? s : "", temp>>8, (temp & 255)*10/256 ); in print_temp()
102 return sprintf(buf, "%d.%d\n", x.temp>>8, (x.temp & 255)*10/256 ); in show_cpu_temperature()
161 print_temp("CPU-temp: ", x.temp ); in tune_fan()
172 int temp, i, level, casetemp; poll_temp() local
376 int hyst_temp, os_temp, temp; attach_thermostat() local
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dlower_output_reads.cpp97 ir_variable *temp = entry ? (ir_variable *) entry->data : NULL; in visit() local
100 if (temp == NULL) { in visit()
102 temp = new(var_ctx) ir_variable(ir->var->type, ir->var->name, in visit()
105 temp->data.invariant = ir->var->data.invariant; in visit()
106 temp->data.precise = ir->var->data.precise; in visit()
107 temp->data.precision = ir->var->data.precision; in visit()
108 _mesa_hash_table_insert(replacements, ir->var, temp); in visit()
109 ir->var->insert_after(temp); in visit()
113 ir->var = temp; in visit()
122 copy(void *ctx, ir_variable *output, ir_variable *temp) in copy() argument
[all...]
/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dtools.c34 extern FILE *temp;
70 FILE *temp = stderr; in setup_path() local
75 fprintf(temp, "ERROR: setup_path function failed\n"); in setup_path()
84 fprintf(temp, in setup_path()
94 fprintf(temp, in setup_path()
104 fprintf(temp, in setup_path()
113 fprintf(temp, in setup_path()
126 fprintf(temp, "ERROR: setup_path function failed\n"); in setup_path()
134 fprintf(temp, "ERROR: setup_path function failed\n"); in setup_path()
142 fprintf(temp, "ERRO in setup_path()
[all...]
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-sis96x.c81 int temp; in sis96x_transaction() local
88 if (((temp = sis96x_read(SMB_CNT)) & 0x03) != 0x00) { in sis96x_transaction()
91 "Resetting...\n", temp); in sis96x_transaction()
97 if (((temp = sis96x_read(SMB_CNT)) & 0x03) != 0x00) { in sis96x_transaction()
98 dev_dbg(&sis96x_adapter.dev, "Failed (0x%02x)\n", temp); in sis96x_transaction()
109 temp = sis96x_read(SMB_STS); in sis96x_transaction()
110 sis96x_write(SMB_STS, temp & 0x1e); in sis96x_transaction()
118 temp = sis96x_read(SMB_STS); in sis96x_transaction()
119 } while (!(temp & 0x0e) && (timeout++ < MAX_TIMEOUT)); in sis96x_transaction()
123 dev_dbg(&sis96x_adapter.dev, "SMBus Timeout! (0x%02x)\n", temp); in sis96x_transaction()
[all...]
H A Di2c-amd756.c98 int temp; in amd756_transaction() local
108 if ((temp = inw_p(SMB_GLOBAL_STATUS)) & (GS_HST_STS | GS_SMB_STS)) { in amd756_transaction()
109 dev_dbg(&adap->dev, "SMBus busy (%04x). Waiting...\n", temp); in amd756_transaction()
112 temp = inw_p(SMB_GLOBAL_STATUS); in amd756_transaction()
113 } while ((temp & (GS_HST_STS | GS_SMB_STS)) && in amd756_transaction()
117 dev_dbg(&adap->dev, "Busy wait timeout (%04x)\n", temp); in amd756_transaction()
129 temp = inw_p(SMB_GLOBAL_STATUS); in amd756_transaction()
130 } while ((temp & GS_HST_STS) && (timeout++ < MAX_TIMEOUT)); in amd756_transaction()
138 if (temp & GS_PRERR_STS) { in amd756_transaction()
143 if (temp in amd756_transaction()
318 u8 temp; amd756_probe() local
[all...]
H A Di2c-sis5595.c219 int temp; in sis5595_transaction() local
224 temp = sis5595_read(SMB_STS_LO) + (sis5595_read(SMB_STS_HI) << 8); in sis5595_transaction()
225 if (temp != 0x00) { in sis5595_transaction()
226 dev_dbg(&adap->dev, "SMBus busy (%04x). Resetting...\n", temp); in sis5595_transaction()
227 sis5595_write(SMB_STS_LO, temp & 0xff); in sis5595_transaction()
228 sis5595_write(SMB_STS_HI, temp >> 8); in sis5595_transaction()
229 if ((temp = sis5595_read(SMB_STS_LO) + (sis5595_read(SMB_STS_HI) << 8)) != 0x00) { in sis5595_transaction()
230 dev_dbg(&adap->dev, "Failed! (%02x)\n", temp); in sis5595_transaction()
243 temp = sis5595_read(SMB_STS_LO); in sis5595_transaction()
244 } while (!(temp in sis5595_transaction()
[all...]
/third_party/toybox/toys/pending/
H A Dmdev.c41 char *device_name = 0, *custom_name = 0, *s, *temp; in make_device() local
50 temp = strrchr(path, '/'); in make_device()
52 *temp = 0; in make_device()
65 if (!(temp = getenv("MODALIAS"))) xrun((char *[]){"modprobe", temp, 0}); in make_device()
66 if (!(temp = getenv("SUBSYSTEM"))) return; in make_device()
67 type = strcmp(temp, "block") ? S_IFCHR : S_IFBLK; in make_device()
68 if (!(temp = getenv("MAJOR"))) return; in make_device()
69 sscanf(temp, "%u", &major); in make_device()
70 if (!(temp in make_device()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A Dtsi108_pci.c137 u32 temp; in tsi108_direct_read_config() local
150 __tsi108_read_pci_config(temp, cfg_addr, "lbzx"); in tsi108_direct_read_config()
153 __tsi108_read_pci_config(temp, cfg_addr, "lhbrx"); in tsi108_direct_read_config()
156 __tsi108_read_pci_config(temp, cfg_addr, "lwbrx"); in tsi108_direct_read_config()
160 *val = temp; in tsi108_direct_read_config()
163 if ((0xFFFFFFFF != temp) && (0xFFFF != temp) && (0xFF != temp)) { in tsi108_direct_read_config()
270 u_int temp = 0; in get_pci_source() local
282 temp in get_pci_source()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A Dtsi108_pci.c138 u32 temp; in tsi108_direct_read_config() local
151 __tsi108_read_pci_config(temp, cfg_addr, "lbzx"); in tsi108_direct_read_config()
154 __tsi108_read_pci_config(temp, cfg_addr, "lhbrx"); in tsi108_direct_read_config()
157 __tsi108_read_pci_config(temp, cfg_addr, "lwbrx"); in tsi108_direct_read_config()
161 *val = temp; in tsi108_direct_read_config()
164 if ((0xFFFFFFFF != temp) && (0xFFFF != temp) && (0xFF != temp)) { in tsi108_direct_read_config()
271 u_int temp = 0; in get_pci_source() local
283 temp in get_pci_source()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_cec.c138 int temp; in hdmi_cec_clear_tx_fifo() local
142 temp = hdmi_read_reg(core->base, HDMI_CEC_DBG_3); in hdmi_cec_clear_tx_fifo()
143 if (FLD_GET(temp, 7, 7) == 0) in hdmi_cec_clear_tx_fifo()
154 int temp; in hdmi_cec_clear_rx_fifo() local
159 temp = hdmi_read_reg(core->base, HDMI_CEC_RX_CONTROL); in hdmi_cec_clear_rx_fifo()
160 if (FLD_GET(temp, 1, 0) == 0) in hdmi_cec_clear_rx_fifo()
170 int temp, err; in hdmi_cec_adap_enable() local
233 temp = hdmi_read_reg(core->base, HDMI_CEC_SETUP); in hdmi_cec_adap_enable()
234 if (FLD_GET(temp, 4, 4) != 0) { in hdmi_cec_adap_enable()
235 temp in hdmi_cec_adap_enable()
282 int temp; hdmi_cec_adap_transmit() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dds1621.c116 u16 temp[3]; /* Register values, word */ member
134 static inline u16 DS1621_TEMP_TO_REG(long temp, u8 zbits) in DS1621_TEMP_TO_REG() argument
136 temp = clamp_val(temp, DS1621_TEMP_MIN, DS1621_TEMP_MAX); in DS1621_TEMP_TO_REG()
137 temp = DIV_ROUND_CLOSEST(temp * (1 << (8 - zbits)), 1000) << zbits; in DS1621_TEMP_TO_REG()
138 return temp; in DS1621_TEMP_TO_REG()
201 for (i = 0; i < ARRAY_SIZE(data->temp); i++) in ds1621_update_client()
202 data->temp[i] = i2c_smbus_read_word_swapped(client, in ds1621_update_client()
207 if (data->temp[ in ds1621_update_client()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_cec.c126 int temp; in hdmi_cec_clear_tx_fifo() local
130 temp = hdmi_read_reg(core->base, HDMI_CEC_DBG_3); in hdmi_cec_clear_tx_fifo()
131 if (FLD_GET(temp, 7, 7) == 0) in hdmi_cec_clear_tx_fifo()
142 int temp; in hdmi_cec_clear_rx_fifo() local
147 temp = hdmi_read_reg(core->base, HDMI_CEC_RX_CONTROL); in hdmi_cec_clear_rx_fifo()
148 if (FLD_GET(temp, 1, 0) == 0) in hdmi_cec_clear_rx_fifo()
158 int temp, err; in hdmi_cec_adap_enable() local
221 temp = hdmi_read_reg(core->base, HDMI_CEC_SETUP); in hdmi_cec_adap_enable()
222 if (FLD_GET(temp, 4, 4) != 0) { in hdmi_cec_adap_enable()
223 temp in hdmi_cec_adap_enable()
270 int temp; hdmi_cec_adap_transmit() local
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dds1621.c116 u16 temp[3]; /* Register values, word */ member
134 static inline u16 DS1621_TEMP_TO_REG(long temp, u8 zbits) in DS1621_TEMP_TO_REG() argument
136 temp = clamp_val(temp, DS1621_TEMP_MIN, DS1621_TEMP_MAX); in DS1621_TEMP_TO_REG()
137 temp = DIV_ROUND_CLOSEST(temp * (1 << (8 - zbits)), 1000) << zbits; in DS1621_TEMP_TO_REG()
138 return temp; in DS1621_TEMP_TO_REG()
201 for (i = 0; i < ARRAY_SIZE(data->temp); i++) in ds1621_update_client()
202 data->temp[i] = i2c_smbus_read_word_swapped(client, in ds1621_update_client()
207 if (data->temp[ in ds1621_update_client()
[all...]
/kernel/linux/linux-5.10/arch/sh/include/asm/
H A Datomic-irq.h26 unsigned long temp, flags; \
29 temp = v->counter; \
30 temp c_op i; \
31 v->counter = temp; \
34 return temp; \
40 unsigned long temp, flags; \
43 temp = v->counter; \
47 return temp; \

Completed in 23 milliseconds

12345678910>>...162