Searched refs:temp (Results 1 - 25 of 48) sorted by relevance

12

/fuchsia/zircon/third_party/ulib/musl/src/misc/
H A Dgetdomainname.c8 struct utsname temp; local
9 uname(&temp);
10 if (!len || strlen(temp.domainname) >= len) {
14 strcpy(name, temp.domainname);
/fuchsia/zircon/system/dev/lib/hi3660/
H A Dhi3660-usb.c18 uint32_t temp; local
24 temp = readl(pctrl + PCTRL_CTRL24);
25 temp &= ~PCTRL_CTRL24_SC_CLK_USB3PHY_3MUX1_SEL;
26 writel(temp, pctrl + PCTRL_CTRL24);
35 temp = readl(usb3otg_bc + USB3OTG_CTRL0);
36 temp |= USB3OTG_CTRL0_ABB_GT_EN;
37 writel(temp, usb3otg_bc + USB3OTG_CTRL0);
39 temp = readl(usb3otg_bc + USB3OTG_CTRL7);
40 temp |= USB3OTG_CTRL7_REF_SSP_EN;
41 writel(temp, usb3otg_b
[all...]
H A Dhi3660-dsi.c17 uint32_t temp; local
21 temp = readl(peri_crg + TXDPHY0_REF_OFFSET);
22 temp |= (1 << TXDPHY0_REF_BIT);
23 writel(temp, peri_crg + TXDPHY0_REF_OFFSET);
26 temp = readl(peri_crg + TXDPHY0_CFG_OFFSET);
27 temp |= (1 << TXDPHY0_CFG_BIT);
28 writel(temp, peri_crg + TXDPHY0_CFG_OFFSET);
31 temp = readl(peri_crg + PCLK_GATE_DSI0_OFFSET);
32 temp |= (1 << PCLK_GATE_DSI0_BIT);
33 writel(temp, peri_cr
[all...]
H A Dhi3660-i2c.c22 uint32_t temp; local
24 temp = readl(iomcu + CLKGATE_SEPERATED_ENABLE);
25 temp |= (1 << I2C1_ENABLE_REG_BIT);
26 writel(temp, iomcu + CLKGATE_SEPERATED_ENABLE);
/fuchsia/zircon/system/dev/ethernet/dwmac/
H A Ddwmac-debug.cpp24 uint32_t temp; local
25 MDIORead(1, &temp);
26 zxlogf(INFO, "MII Status = %08x\n", temp);
27 MDIORead(1, &temp);
28 zxlogf(INFO, "MII Status = %08x\n", temp);
/fuchsia/zircon/system/dev/board/gauss/
H A Dgauss-usb.c75 uint32_t temp = readl(addr); local
76 temp |= U2P_R0_POR;
77 temp |= U2P_R0_DMPULLDOWN;
78 temp |= U2P_R0_DPPULLDOWN;
80 temp |= U2P_R0_IDPULLUP;
82 writel(temp, addr);
84 temp = readl(addr);
85 temp &= ~U2P_R0_POR;
86 writel(temp, addr);
92 uint32_t temp local
[all...]
/fuchsia/zircon/system/dev/board/vim/
H A Dvim-usb.c76 uint32_t temp = readl(addr); local
77 temp |= U2P_R0_POR;
78 temp |= U2P_R0_DMPULLDOWN;
79 temp |= U2P_R0_DPPULLDOWN;
81 temp |= U2P_R0_IDPULLUP;
83 writel(temp, addr);
85 temp = readl(addr);
86 temp &= ~U2P_R0_POR;
87 writel(temp, addr);
93 uint32_t temp local
[all...]
/fuchsia/zircon/kernel/arch/arm64/
H A Dspinlock.cpp17 uint64_t temp; variable
22 "ldaxr %[temp], [%[lock]];"
23 "cbnz %[temp], 1b;"
24 "stxr %w[temp], %[val], [%[lock]];"
25 "cbnz %w[temp], 1b;"
26 : [temp] "=&r"(temp)
H A Duser_copy.S15 temp .req x15 label
28 adr temp, .Lfault_from_user
43 str temp, [fault_return_ptr]
H A Dfeature.cpp35 uint64_t temp = 0; local
49 temp = ARM64_READ_SYSREG(ccsidr_el1);
51 parse_ccsid(&(info->level_data_type[i]), temp);
55 temp = ARM64_READ_SYSREG(ccsidr_el1);
57 parse_ccsid(&(info->level_data_type[i]), temp);
61 temp = ARM64_READ_SYSREG(ccsidr_el1);
63 parse_ccsid(&(info->level_inst_type[i]), temp);
/fuchsia/zircon/third_party/ulib/musl/third_party/math/
H A Djn.c44 double a, b, temp; local
90 temp = -cos(x) + sin(x);
93 temp = -cos(x) - sin(x);
96 temp = cos(x) - sin(x);
100 temp = cos(x) + sin(x);
103 b = invsqrtpi * temp / sqrt(x);
109 temp = b;
111 a = temp;
122 temp = x * 0.5;
123 b = temp;
224 double a, b, temp; local
[all...]
H A Djnf.c22 float a, b, temp; local
52 temp = b;
54 a = temp;
63 temp = 0.5f * x;
64 b = temp;
68 b *= temp; /* b = (x/2)^n */
133 temp = b;
135 a = temp;
139 temp = b;
141 a = temp;
164 float a, b, temp; local
[all...]
/fuchsia/zircon/system/dev/lib/amlogic/
H A Daml-usb-phy-v2.c76 uint32_t temp = readl(addr); local
77 temp |= U2P_R0_POR;
78 temp |= U2P_R0_HOST_DEVICE;
80 temp |= U2P_R0_IDPULLUP0;
81 temp |= U2P_R0_DRVVBUS0;
83 writel(temp, addr);
94 temp = readl(addr);
96 while (!(temp & U2P_R1_PHY_RDY)) {
97 temp = readl(addr);
/fuchsia/zircon/system/dev/gpu/aml-gpu/
H A Daml-gpu.c89 uint32_t temp; local
92 temp = READ32_PRESET_REG(gpu_block->reset0_mask_offset);
93 temp &= ~(1 << 20);
94 WRITE32_PRESET_REG(gpu_block->reset0_mask_offset, temp);
96 temp = READ32_PRESET_REG(gpu_block->reset0_level_offset);
97 temp &= ~(1 << 20);
98 WRITE32_PRESET_REG(gpu_block->reset0_level_offset, temp);
100 temp = READ32_PRESET_REG(gpu_block->reset2_mask_offset);
101 temp &= ~(1 << 14);
102 WRITE32_PRESET_REG(gpu_block->reset2_mask_offset, temp);
[all...]
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dmkbuiltins56 trap 'rm -f $temp $temp2' EXIT
57 temp=$($tempfile)
72 < $builtins sed '/^#/d; /^ *$/d' > $temp
73 awk '{ printf "int %s(int, char **);\n", $1}' $temp
81 }}' $temp | LC_ALL= LC_COLLATE=C sort -k 1,1 | tee $temp2 | awk '{
/fuchsia/zircon/kernel/dev/power/hisi/
H A Dpower.c27 uint32_t temp = readl(pmu + PMU_HRST_OFFSET); local
28 temp = (temp & 0xFFFFFF00) | (flags == REBOOT_BOOTLOADER ? 1 : 0);
29 writel(temp, pmu + PMU_HRST_OFFSET);
/fuchsia/zircon/kernel/kernel/
H A Dwait.cpp69 thread_t* temp; local
70 list_for_every_entry (&wait->heads, temp, thread_t, wait_queue_heads_node) {
71 DEBUG_ASSERT(temp->magic == THREAD_MAGIC);
75 DEBUG_ASSERT_MSG(last->effec_priority > temp->effec_priority,
78 temp, temp->effec_priority);
83 list_for_every_entry (&temp->queue_node, temp2, thread_t, queue_node) {
85 DEBUG_ASSERT_MSG(temp->effec_priority == temp2->effec_priority,
87 temp, temp
105 thread_t* temp; local
[all...]
/fuchsia/zircon/system/dev/bus/acpi/
H A Ddev-thermal.c44 uint64_t temp; local
45 st = acpi_psv_call(dev->acpi_handle, &temp);
49 info->passive_temp = (uint32_t)temp; // we probably won't exceed 429496456.35 C
50 st = acpi_crt_call(dev->acpi_handle, &temp);
54 info->critical_temp = (uint32_t)temp;
59 st = acpi_tmp_call(dev->acpi_handle, &temp);
64 if (info->active_trip[0] && (temp > info->active_trip[0])) {
86 uint32_t temp = (uint32_t)v; local
87 memcpy(buf, &temp, sizeof(temp));
[all...]
/fuchsia/zircon/system/dev/usb/dwc3/
H A Ddwc3.c73 uint32_t temp; local
77 temp = DWC3_READ32(mmio + DCTL);
78 temp &= ~DCTL_RUN_STOP;
79 temp |= DCTL_CSFTRST;
80 DWC3_WRITE32(mmio + DCTL, temp);
88 uint32_t temp; local
93 temp = DWC3_READ32(mmio + GUSB2PHYCFG(0));
94 temp &= ~(GUSB2PHYCFG_USBTRDTIM_MASK | GUSB2PHYCFG_SUSPENDUSB20);
95 temp |= GUSB2PHYCFG_USBTRDTIM(9);
96 DWC3_WRITE32(mmio + GUSB2PHYCFG(0), temp);
[all...]
/fuchsia/zircon/system/dev/thermal/aml-thermal-s905d2g/
H A Daml-tsensor.h34 uint32_t TempToCode(uint32_t temp, bool trend);
36 void SetRebootTemperature(uint32_t temp);
/fuchsia/zircon/system/uapp/psutils/
H A Dtop.c120 thread_info_t* temp; local
121 list_for_every_entry (&thread_list, temp, thread_info_t, node) {
122 if (e.koid == temp->koid) {
125 temp->scanned = true;
126 temp->delta_time =
127 zx_duration_sub_duration(e.stats.total_runtime, temp->stats.total_runtime);
128 temp->info = e.info;
129 temp->stats = e.stats;
309 thread_info_t* temp; local
310 list_for_every_entry_safe (&thread_list, e, temp, thread_info_
[all...]
/fuchsia/zircon/system/utest/core/resource/
H A Dresource.cpp106 zx::resource temp; local
110 mmio_test_size, NULL, 0, &temp),
112 EXPECT_EQ(zx::resource::create(temp, ZX_RSRC_KIND_ROOT, 0, 0, NULL, 0, &fail_hnd),
114 EXPECT_EQ(zx::resource::create(temp, ZX_RSRC_KIND_MMIO, mmio_test_base, mmio_test_size, NULL,
120 mmio_test_size, NULL, 0, &temp),
123 mmio_test_base, mmio_test_size, NULL, 0, &temp),
128 NULL, 0, &temp),
132 NULL, 0, &temp),
136 mmio_test_size, NULL, 0, &temp),
/fuchsia/zircon/kernel/dev/interrupt/arm_gic/v3/include/dev/interrupt/
H A Darm_gicv3_regs.h118 uint64_t temp; local
120 : "=r"(temp));
121 return (uint32_t)temp;
135 uint64_t temp; local
137 : "=r"(temp));
139 return (uint32_t)temp;
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/rand/
H A Dctrdrbg.c86 uint8_t temp[CTR_DRBG_ENTROPY_LEN]; local
89 drbg->block(drbg->counter.bytes, temp + i, &drbg->ks);
93 temp[i] ^= data[i];
96 drbg->ctr = aes_ctr_set_key(&drbg->ks, NULL, &drbg->block, temp, 32);
97 OPENSSL_memcpy(drbg->counter.bytes, temp + 32, 16);
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/aes/
H A Daes.c541 uint32_t temp; local
569 temp = rk[3];
570 rk[4] = rk[0] ^ (Te2[(temp >> 16) & 0xff] & 0xff000000) ^
571 (Te3[(temp >> 8) & 0xff] & 0x00ff0000) ^
572 (Te0[(temp) & 0xff] & 0x0000ff00) ^
573 (Te1[(temp >> 24)] & 0x000000ff) ^ rcon[i];
587 temp = rk[5];
588 rk[6] = rk[0] ^ (Te2[(temp >> 16) & 0xff] & 0xff000000) ^
589 (Te3[(temp >> 8) & 0xff] & 0x00ff0000) ^
590 (Te0[(temp)
637 uint32_t temp; local
[all...]

Completed in 320 milliseconds

12