Home
last modified time | relevance | path

Searched refs:temp (Results 251 - 275 of 4391) sorted by relevance

1...<<11121314151617181920>>...176

/kernel/linux/linux-5.10/arch/arm/mach-s3c/
H A Dbast-irq.c55 unsigned long temp; in bast_pc104_mask() local
57 temp = __raw_readb(BAST_VA_PC104_IRQMASK); in bast_pc104_mask()
58 temp &= ~bast_pc104_irqmasks[data->irq]; in bast_pc104_mask()
59 __raw_writeb(temp, BAST_VA_PC104_IRQMASK); in bast_pc104_mask()
74 unsigned long temp; in bast_pc104_unmask() local
76 temp = __raw_readb(BAST_VA_PC104_IRQMASK); in bast_pc104_unmask()
77 temp |= bast_pc104_irqmasks[data->irq]; in bast_pc104_unmask()
78 __raw_writeb(temp, BAST_VA_PC104_IRQMASK); in bast_pc104_unmask()
/kernel/linux/linux-6.6/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; \
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_math.c106 float temp; in dcn_bw_pow() local
110 temp = dcn_bw_pow(a, (int)(exp / 2)); in dcn_bw_pow()
112 return temp * temp; in dcn_bw_pow()
115 return a * temp * temp; in dcn_bw_pow()
117 return (temp * temp) / a; in dcn_bw_pow()
/third_party/toybox/toys/other/
H A Dnbd_client.c51 int temp; in nbd_client_main() local
56 temp = 1; in nbd_client_main()
57 setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &temp, sizeof(int)); in nbd_client_main()
73 temp = (flags & 2) ? 1 : 0; in nbd_client_main()
74 xioctl(nbd, BLKROSET, &temp); in nbd_client_main()
89 temp = open(toybuf, O_RDONLY); in nbd_client_main()
90 if (temp == -1) msleep(100); in nbd_client_main()
92 close(temp); in nbd_client_main()
/third_party/typescript/tests/baselines/reference/
H A DarrayLiterals2ES5.js40 var temp = ["s", "t", "r"]; variable
48 var d0 = [1, true, ...temp,]; // has type (string|number|boolean)[]
49 var d1 = [...temp]; // has type string[]
52 var d4: myArray2 = [...temp, ...temp1];
99 var temp = ["s", "t", "r"]; variable
104 var d0 = __spreadArray([1, true], temp, true); // has type (string|number|boolean)[]
105 var d1 = __spreadArray([], temp, true); // has type string[]
108 var d4 = __spreadArray(__spreadArray([], temp, true), temp1, true);
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-fsl-lpspi.c226 u32 temp; in fsl_lpspi_write_tx_fifo() local
239 temp = readl(fsl_lpspi->base + IMX7ULP_TCR); in fsl_lpspi_write_tx_fifo()
240 temp &= ~TCR_CONTC; in fsl_lpspi_write_tx_fifo()
241 writel(temp, fsl_lpspi->base + IMX7ULP_TCR); in fsl_lpspi_write_tx_fifo()
257 u32 temp = 0; in fsl_lpspi_set_cmd() local
259 temp |= fsl_lpspi->config.bpw - 1; in fsl_lpspi_set_cmd()
260 temp |= (fsl_lpspi->config.mode & 0x3) << 30; in fsl_lpspi_set_cmd()
261 temp |= (fsl_lpspi->config.chip_select & 0x3) << 24; in fsl_lpspi_set_cmd()
263 temp |= fsl_lpspi->config.prescale << 27; in fsl_lpspi_set_cmd()
270 temp | in fsl_lpspi_set_cmd()
284 u32 temp; fsl_lpspi_set_watermark() local
380 u32 temp; fsl_lpspi_config() local
498 u32 temp; fsl_lpspi_reset() local
822 u32 temp; fsl_lpspi_probe() local
[all...]
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_entry_test.cpp65 std::shared_ptr<ProfileEntry> temp = std::make_shared<ProfileEntry>(); in HWTEST_F() local
66 bool result = temp->Marshalling(parcel); in HWTEST_F()
79 std::shared_ptr<ProfileEntry> temp = std::make_shared<ProfileEntry>(); in HWTEST_F() local
80 bool result = temp->Unmarshalling(parcel); in HWTEST_F()
93 std::shared_ptr<ProfileEntry> temp = std::make_shared<ProfileEntry>(); in HWTEST_F() local
94 bool result = temp->Marshalling(parcel); in HWTEST_F()
96 result = temp->Unmarshalling(parcel); in HWTEST_F()
/kernel/linux/linux-5.10/arch/m68k/lib/
H A Dmemcpy.c13 size_t temp; in memcpy() local
42 temp = n >> 2; in memcpy()
43 if (temp) { in memcpy()
47 for (; temp; temp--) in memcpy()
69 : "=a" (lfrom), "=a" (lto), "=d" (temp), "=&d" (temp1) in memcpy()
70 : "0" (lfrom), "1" (lto), "2" (temp)); in memcpy()
/kernel/linux/linux-6.6/arch/m68k/lib/
H A Dmemcpy.c13 size_t temp; in memcpy() local
42 temp = n >> 2; in memcpy()
43 if (temp) { in memcpy()
47 for (; temp; temp--) in memcpy()
69 : "=a" (lfrom), "=a" (lto), "=d" (temp), "=&d" (temp1) in memcpy()
70 : "0" (lfrom), "1" (lto), "2" (temp)); in memcpy()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_060.c71 UINTPTR temp = 1; in Testcase() local
84 ret = pthread_join(newTh, (void *)&temp); in Testcase()
86 ICUNIT_ASSERT_EQUAL(temp, (UINTPTR)PTHREAD_CANCELED, temp); in Testcase()
88 ret = pthread_join(g_newTh, (void *)&temp); in Testcase()
90 ICUNIT_ASSERT_EQUAL(temp, 8, temp); // 8, here assert the result. in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/
H A DIt_posix_pthread_009.c53 UINTPTR temp = 1; in Testcase() local
63 ret = pthread_join(g_taskMaxNum, (void *)&temp); in Testcase()
65 ICUNIT_ASSERT_EQUAL(temp, 1, temp); in Testcase()
67 ret = pthread_join(LOSCFG_BASE_CORE_TSK_CONFIG + 1, (void *)&temp); in Testcase()
69 ICUNIT_ASSERT_EQUAL(temp, 1, temp); in Testcase()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_list.c47 struct rc_list * temp; in rc_list_add() local
54 for (temp = *list; temp->Next; temp = temp->Next); in rc_list_add()
56 temp->Next = new_value; in rc_list_add()
57 new_value->Prev = temp; in rc_list_add()
/kernel/linux/linux-5.10/sound/isa/sb/
H A Demu8000_callback.c223 unsigned int temp; in start_voice() local
273 temp = vp->reg.parm.chorus; in start_voice()
274 temp += (int)chan->control[MIDI_CTL_E3_CHORUS_DEPTH] * 9 / 10; in start_voice()
275 LIMITMAX(temp, 255); in start_voice()
276 temp = (temp <<24) | (unsigned int)addr; in start_voice()
277 EMU8000_CSL_WRITE(hw, ch, temp); in start_voice()
281 temp = vp->reg.parm.filterQ; in start_voice()
282 temp = (temp<<2 in start_voice()
304 unsigned int temp; trigger_voice() local
361 unsigned int temp; set_pan() local
[all...]
/kernel/linux/linux-6.6/sound/isa/sb/
H A Demu8000_callback.c223 unsigned int temp; in start_voice() local
273 temp = vp->reg.parm.chorus; in start_voice()
274 temp += (int)chan->control[MIDI_CTL_E3_CHORUS_DEPTH] * 9 / 10; in start_voice()
275 LIMITMAX(temp, 255); in start_voice()
276 temp = (temp <<24) | (unsigned int)addr; in start_voice()
277 EMU8000_CSL_WRITE(hw, ch, temp); in start_voice()
281 temp = vp->reg.parm.filterQ; in start_voice()
282 temp = (temp<<2 in start_voice()
304 unsigned int temp; trigger_voice() local
361 unsigned int temp; set_pan() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dh264idct_template.c254 int temp[16]; in ff_h264_luma_dc_dequant_idct() local
265 temp[4*i+0]= z0+z3; in ff_h264_luma_dc_dequant_idct()
266 temp[4*i+1]= z0-z3; in ff_h264_luma_dc_dequant_idct()
267 temp[4*i+2]= z1-z2; in ff_h264_luma_dc_dequant_idct()
268 temp[4*i+3]= z1+z2; in ff_h264_luma_dc_dequant_idct()
273 const SUINT z0= temp[4*0+i] + temp[4*2+i]; in ff_h264_luma_dc_dequant_idct()
274 const SUINT z1= temp[4*0+i] - temp[4*2+i]; in ff_h264_luma_dc_dequant_idct()
275 const SUINT z2= temp[ in ff_h264_luma_dc_dequant_idct()
290 unsigned temp[8]; ff_h264_chroma422_dc_dequant_idct() local
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dvalue_object.cpp201 auto temp = std::get<std::string>(value); in operator int64_t() local
202 val = temp.empty() ? 0L : int64_t(strtoll(temp.c_str(), nullptr, 0)); in operator int64_t()
218 auto temp = std::get<std::string>(value); in operator double() local
219 val = temp.empty() ? 0.0 : double(strtod(temp.c_str(), nullptr)); in operator double()
235 auto temp = std::get<std::string>(value); in operator bool() local
236 val = (temp == "true" || temp != "0"); in operator bool()
262 auto temp in operator std::string() local
267 double temp = std::get<double>(value); operator std::string() local
287 auto temp = std::get<std::string>(value); operator Blob() local
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/b53/
H A Db53_mdio.c127 u64 temp = 0; in b53_mdio_read48() local
136 temp <<= 16; in b53_mdio_read48()
137 temp |= mdiobus_read_nested(bus, BRCM_PSEUDO_PHY_ADDR, in b53_mdio_read48()
141 *val = temp; in b53_mdio_read48()
149 u64 temp = 0; in b53_mdio_read64() local
158 temp <<= 16; in b53_mdio_read64()
159 temp |= mdiobus_read_nested(bus, BRCM_PSEUDO_PHY_ADDR, in b53_mdio_read64()
163 *val = temp; in b53_mdio_read64()
200 u32 temp = value; in b53_mdio_write32() local
205 temp in b53_mdio_write32()
219 u64 temp = value; b53_mdio_write48() local
238 u64 temp = value; b53_mdio_write64() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dlm83.c16 * Also supports the LM82 temp sensor, which is basically a stripped down
112 s8 temp[9]; /* 0..3: input 1-4, member
130 data->temp[nr] = in lm83_update_device()
157 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); in temp_show()
176 data->temp[nr] = TEMP_TO_REG(val); in temp_store()
178 data->temp[nr]); in temp_store()
200 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0);
201 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1);
202 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2);
203 static SENSOR_DEVICE_ATTR_RO(temp4_input, temp,
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/b53/
H A Db53_mdio.c128 u64 temp = 0; in b53_mdio_read48() local
137 temp <<= 16; in b53_mdio_read48()
138 temp |= mdiobus_read_nested(bus, BRCM_PSEUDO_PHY_ADDR, in b53_mdio_read48()
142 *val = temp; in b53_mdio_read48()
150 u64 temp = 0; in b53_mdio_read64() local
159 temp <<= 16; in b53_mdio_read64()
160 temp |= mdiobus_read_nested(bus, BRCM_PSEUDO_PHY_ADDR, in b53_mdio_read64()
164 *val = temp; in b53_mdio_read64()
201 u32 temp = value; in b53_mdio_write32() local
206 temp in b53_mdio_write32()
220 u64 temp = value; b53_mdio_write48() local
239 u64 temp = value; b53_mdio_write64() local
[all...]
/kernel/linux/linux-5.10/lib/
H A Dtest_min_heap.c26 int temp = *(int *)lhs; in swap_ints() local
29 *(int *)rhs = temp; in swap_ints()
109 int i, temp, err; in test_heap_push() local
119 temp = get_random_int(); in test_heap_push()
120 min_heap_push(&heap, &temp, &funcs); in test_heap_push()
142 int i, temp, err; in test_heap_pop_push() local
145 temp = min_heap ? 0x80000000 : 0x7FFFFFFF; in test_heap_pop_push()
147 min_heap_push(&heap, &temp, &funcs); in test_heap_pop_push()
157 min_heap_push(&heap, &temp, &funcs); in test_heap_pop_push()
161 temp in test_heap_pop_push()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dtest_min_heap.c26 int temp = *(int *)lhs; in swap_ints() local
29 *(int *)rhs = temp; in swap_ints()
109 int i, temp, err; in test_heap_push() local
119 temp = get_random_u32(); in test_heap_push()
120 min_heap_push(&heap, &temp, &funcs); in test_heap_push()
142 int i, temp, err; in test_heap_pop_push() local
145 temp = min_heap ? 0x80000000 : 0x7FFFFFFF; in test_heap_pop_push()
147 min_heap_push(&heap, &temp, &funcs); in test_heap_pop_push()
157 min_heap_push(&heap, &temp, &funcs); in test_heap_pop_push()
161 temp in test_heap_pop_push()
[all...]
/third_party/ffmpeg/libavutil/tests/
H A Dcast5.c51 uint8_t temp[8]; in main() local
59 av_cast5_crypt(cs, temp, rpt, 1, 0); in main()
61 if (rct[j][i] != temp[i]){ in main()
62 av_log(NULL, AV_LOG_ERROR, "%d %02x %02x\n", i, rct[j][i], temp[i]); in main()
67 av_cast5_crypt(cs, temp, rct[j], 1, 1); in main()
69 if (rpt[i] != temp[i]) { in main()
70 av_log(NULL, AV_LOG_ERROR, "%d %02x %02x\n", i, rpt[i], temp[i]); in main()
94 memcpy(temp, iv, 8); in main()
95 av_cast5_crypt2(cs, rpt2[0], rct2[0], 2, temp, 0); in main()
96 memcpy(temp, i in main()
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-jws.h107 * \param temp: scratchpad
111 * in a map... it'll make a temp b64 version needed for comparison. See below
119 char *temp, int *temp_len);
125 char *temp, int *temp_len);
135 * \param temp: scratchpad
139 * (jose.payload.hdr.sig) as an aggregated string... it'll make a temp plain
149 char *temp, int *temp_len);
164 * regenerating any temp map.
228 char *temp, int *temp_len);
265 * \param temp
472 char *temp; global() member
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
H A Dgma_display.c196 u32 temp; in gma_crtc_dpms() local
215 temp = REG_READ(map->dpll); in gma_crtc_dpms()
216 if ((temp & DPLL_VCO_ENABLE) == 0) { in gma_crtc_dpms()
217 REG_WRITE(map->dpll, temp); in gma_crtc_dpms()
221 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in gma_crtc_dpms()
225 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in gma_crtc_dpms()
232 temp = REG_READ(map->cntr); in gma_crtc_dpms()
233 if ((temp & DISPLAY_PLANE_ENABLE) == 0) { in gma_crtc_dpms()
235 temp | DISPLAY_PLANE_ENABLE); in gma_crtc_dpms()
243 temp in gma_crtc_dpms()
332 uint32_t temp; gma_crtc_cursor_set() local
447 uint32_t temp = 0; gma_crtc_cursor_move() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/
H A Dgma_display.c204 u32 temp; in gma_crtc_dpms() local
223 temp = REG_READ(map->dpll); in gma_crtc_dpms()
224 if ((temp & DPLL_VCO_ENABLE) == 0) { in gma_crtc_dpms()
225 REG_WRITE(map->dpll, temp); in gma_crtc_dpms()
229 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in gma_crtc_dpms()
233 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in gma_crtc_dpms()
240 temp = REG_READ(map->cntr); in gma_crtc_dpms()
241 if ((temp & DISPLAY_PLANE_ENABLE) == 0) { in gma_crtc_dpms()
243 temp | DISPLAY_PLANE_ENABLE); in gma_crtc_dpms()
251 temp in gma_crtc_dpms()
339 uint32_t temp; gma_crtc_cursor_set() local
449 uint32_t temp = 0; gma_crtc_cursor_move() local
[all...]

Completed in 23 milliseconds

1...<<11121314151617181920>>...176