Home
last modified time | relevance | path

Searched refs:reg0 (Results 1 – 25 of 70) sorted by relevance

123

/kernel/linux/linux-5.10/arch/s390/include/asm/
Dap.h56 register unsigned long reg0 asm ("0") = AP_MKQID(0, 0); in ap_instructions_available()
66 : "d" (reg0) in ap_instructions_available()
80 register unsigned long reg0 asm ("0") = qid; in ap_tapq()
86 : "d" (reg0) in ap_tapq()
118 register unsigned long reg0 asm ("0") = qid | (1UL << 24); in ap_rapq()
124 : "d" (reg0) in ap_rapq()
137 register unsigned long reg0 asm ("0") = qid | (2UL << 24); in ap_zapq()
143 : "d" (reg0) in ap_zapq()
175 register unsigned long reg0 asm ("0") = 4UL << 24; in ap_qci()
185 : "d" (reg0), "d" (reg2) in ap_qci()
[all …]
Dfacility.h64 register unsigned long reg0 asm("0") = size - 1; in __stfle_asm()
68 : "+d" (reg0) in __stfle_asm()
71 return reg0; in __stfle_asm()
Dtimex.h110 register unsigned int reg0 asm("0") = func; \
119 : "d" (reg0), "d" (reg1) : "cc"); \
/kernel/liteos_a/arch/arm/arm/src/include/
Dasm.h50 .macro EXC_SP_SET stackBottom, stackSize, reg0, reg1
51 mrc p15, 0, \reg0, c0, c0, 5
52 and \reg0, \reg0, #MPIDR_CPUID_MASK /* get cpu id */
54 mul \reg1, \reg1, \reg0 /* calculate current cpu stack offset */
55 ldr \reg0, =\stackBottom
56 sub \reg0, \reg0, \reg1 /* calculate current cpu stack bottom */
57 mov sp, \reg0 /* set sp */
/kernel/linux/linux-5.10/arch/arm64/crypto/
Daes-cipher-core.S20 .macro __pair1, sz, op, reg0, reg1, in0, in1e, in1d, shift
22 ubfiz \reg0, \in0, #2, #8
25 ubfx \reg0, \in0, #\shift, #8
37 ldr \reg0, [tt, \reg0, uxtw #2]
41 lsl \reg0, \reg0, #2
44 ldrb \reg0, [tt, \reg0, uxtw]
49 .macro __pair0, sz, op, reg0, reg1, in0, in1e, in1d, shift
50 ubfx \reg0, \in0, #\shift, #8
52 ldr\op \reg0, [tt, \reg0, uxtw #\sz]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Da8293.c21 u8 reg0, reg1; in a8293_set_voltage() local
28 reg0 = 0x10; in a8293_set_voltage()
32 reg0 = 0x31; in a8293_set_voltage()
36 reg0 = 0x38; in a8293_set_voltage()
42 if (reg0 != dev->reg[0]) { in a8293_set_voltage()
43 ret = i2c_master_send(client, &reg0, 1); in a8293_set_voltage()
46 dev->reg[0] = reg0; in a8293_set_voltage()
Dves1820.c30 u8 reg0; member
82 u8 reg0, enum fe_spectral_inversion inversion) in ves1820_setup_reg0() argument
84 reg0 |= state->reg0 & 0x62; in ves1820_setup_reg0()
87 if (!state->config->invert) reg0 |= 0x20; in ves1820_setup_reg0()
88 else reg0 &= ~0x20; in ves1820_setup_reg0()
90 if (!state->config->invert) reg0 &= ~0x20; in ves1820_setup_reg0()
91 else reg0 |= 0x20; in ves1820_setup_reg0()
94 ves1820_writereg(state, 0x00, reg0 & 0xfe); in ves1820_setup_reg0()
95 ves1820_writereg(state, 0x00, reg0 | 0x01); in ves1820_setup_reg0()
97 state->reg0 = reg0; in ves1820_setup_reg0()
[all …]
Dtda10021.c31 u8 reg0; member
119 static int tda10021_setup_reg0(struct tda10021_state *state, u8 reg0, in tda10021_setup_reg0() argument
122 reg0 |= state->reg0 & 0x63; in tda10021_setup_reg0()
125 reg0 &= ~0x20; in tda10021_setup_reg0()
127 reg0 |= 0x20; in tda10021_setup_reg0()
129 _tda10021_writereg (state, 0x00, reg0 & 0xfe); in tda10021_setup_reg0()
130 _tda10021_writereg (state, 0x00, reg0 | 0x01); in tda10021_setup_reg0()
132 state->reg0 = reg0; in tda10021_setup_reg0()
404 …p->inversion = ((state->reg0 & 0x20) == 0x20) ^ (state->config->invert != 0) ? INVERSION_ON : INVE… in tda10021_get_frontend()
405 p->modulation = ((state->reg0 >> 2) & 7) + QAM_16; in tda10021_get_frontend()
[all …]
Dtua6100.c43 u8 reg0[] = { 0x00, 0x00 }; in tua6100_sleep() local
44 struct i2c_msg msg = { .addr = priv->i2c_address, .flags = 0, .buf = reg0, .len = 2 }; in tua6100_sleep()
63 u8 reg0[] = { 0x00, 0x00 }; in tua6100_set_params() local
66 struct i2c_msg msg0 = { .addr = priv->i2c_address, .flags = 0, .buf = reg0, .len = 2 }; in tua6100_set_params()
76 reg0[1] = 0x03; in tua6100_set_params()
78 reg0[1] = 0x07; in tua6100_set_params()
Dtda10023.c38 u8 reg0; member
144 static int tda10023_setup_reg0 (struct tda10023_state* state, u8 reg0) in tda10023_setup_reg0() argument
146 reg0 |= state->reg0 & 0x63; in tda10023_setup_reg0()
148 tda10023_writereg (state, 0x00, reg0 & 0xfe); in tda10023_setup_reg0()
149 tda10023_writereg (state, 0x00, reg0 | 0x01); in tda10023_setup_reg0()
151 state->reg0 = reg0; in tda10023_setup_reg0()
466 p->modulation = ((state->reg0 >> 2) & 7) + QAM_16; in tda10023_get_frontend()
529 state->reg0 = REG0_INIT_VAL; in tda10023_attach()
Dm88rs2000.c241 u8 reg0, reg1; in m88rs2000_send_diseqc_burst() local
245 reg0 = m88rs2000_readreg(state, 0xb1); in m88rs2000_send_diseqc_burst()
249 m88rs2000_writereg(state, 0xb1, reg0); in m88rs2000_send_diseqc_burst()
259 u8 reg0, reg1; in m88rs2000_set_tone() local
261 reg0 = m88rs2000_readreg(state, 0xb1); in m88rs2000_set_tone()
268 reg0 |= 0x4; in m88rs2000_set_tone()
269 reg0 &= 0xbc; in m88rs2000_set_tone()
278 m88rs2000_writereg(state, 0xb1, reg0); in m88rs2000_set_tone()
Dstv6110.c384 u8 reg0[] = { 0x00, 0x07, 0x11, 0xdc, 0x85, 0x17, 0x01, 0xe6, 0x1e }; in stv6110_attach() local
390 .buf = reg0, in stv6110_attach()
397 reg0[2] &= ~0xc0; in stv6110_attach()
398 reg0[2] |= (config->clk_div << 6); in stv6110_attach()
421 memcpy(&priv->regs, &reg0[1], 8); in stv6110_attach()
/kernel/liteos_a/kernel/user/src/
Dlos_user_init.c50 register UINT32 reg0 __asm__("r0") = (UINT32)(parm1); in sys_call3()
55 : "=r"(reg0) in sys_call3()
56 : "i"(SYS_CALL_VALUE), "r"(reg7), "r"(reg0), "r"(reg1), "r"(reg2) in sys_call3()
60 return reg0; in sys_call3()
/kernel/linux/linux-5.10/arch/s390/lib/
Duaccess.c107 register unsigned long reg0 asm("0") = 0x01UL; in copy_from_user_mvcos()
130 : "d" (reg0) : "cc", "memory"); in copy_from_user_mvcos()
182 register unsigned long reg0 asm("0") = 0x010000UL; in copy_to_user_mvcos()
205 : "d" (reg0) : "cc", "memory"); in copy_to_user_mvcos()
257 register unsigned long reg0 asm("0") = 0x010001UL; in copy_in_user_mvcos()
273 : "d" (reg0) : "cc", "memory"); in copy_in_user_mvcos()
321 register unsigned long reg0 asm("0") = 0x010000UL; in clear_user_mvcos()
343 : "a" (empty_zero_page), "d" (reg0) : "cc", "memory"); in clear_user_mvcos()
396 register unsigned long reg0 asm("0") = 0; in strnlen_user_srst()
411 : "d" (reg0) : "cc", "memory"); in strnlen_user_srst()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/
Dit_pthread_test.h49 register int reg0 __asm__("r0") = parm1; in Syscall()
51 …__asm__ __volatile__("svc 0" : "=r"(reg0) : "r"(reg7), "r"(reg0), "r"(reg1), "r"(reg2), "r"(reg3) … in Syscall()
53 return reg0; in Syscall()
/kernel/liteos_a/testsuites/unittest/process/basic/process/
Dit_test_process.h47 register int reg0 __asm__("r0") = parm1; in Syscall()
49 …__asm__ __volatile__("svc 0" : "=r"(reg0) : "r"(reg7), "r"(reg0), "r"(reg1), "r"(reg2), "r"(reg3) … in Syscall()
51 return reg0; in Syscall()
/kernel/linux/linux-5.10/drivers/tee/optee/
Doptee_private.h193 static inline void *reg_pair_to_ptr(u32 reg0, u32 reg1) in reg_pair_to_ptr() argument
195 return (void *)(unsigned long)(((u64)reg0 << 32) | reg1); in reg_pair_to_ptr()
198 static inline void reg_pair_from_64(u32 *reg0, u32 *reg1, u64 val) in reg_pair_from_64() argument
200 *reg0 = val >> 32; in reg_pair_from_64()
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dintel_gmbus.c262 GMBUS_REG_WRITE(GMBUS0 + reg_offset, bus->reg0); in gmbus_xfer()
350 bus->reg0 & 0xff, bus->adapter.name); in gmbus_xfer()
354 bus->force_bit = intel_gpio_create(dev_priv, bus->reg0 & 0xff); in gmbus_xfer()
429 bus->reg0 = i | GMBUS_RATE_100KHZ; in gma_intel_setup_gmbus()
459 bus->reg0 = (bus->reg0 & ~(0x3 << 8)) | (speed << 8); in gma_intel_gmbus_set_speed()
470 bus->reg0 & 0xff); in gma_intel_gmbus_force_bit()
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpcie-altera.c121 u32 reg0; member
172 cra_writel(pcie, tlp_rp_regdata->reg0, RP_TX_REG0); in tlp_write_tx()
177 static void s10_tlp_write_tx(struct altera_pcie *pcie, u32 reg0, u32 ctrl) in s10_tlp_write_tx() argument
179 cra_writel(pcie, reg0, RP_TX_REG0); in s10_tlp_write_tx()
204 u32 reg0, reg1; in tlp_read_packet() local
214 reg0 = cra_readl(pcie, RP_RXCPL_REG0); in tlp_read_packet()
227 *value = reg0; in tlp_read_packet()
290 tlp_rp_regdata.reg0 = headers[0]; in tlp_write_packet()
296 tlp_rp_regdata.reg0 = headers[2]; in tlp_write_packet()
301 tlp_rp_regdata.reg0 = data; in tlp_write_packet()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dprom_32.c141 unsigned int reg0; in ambapp_path_component() local
150 reg0 = (unsigned int)dp->phandle; in ambapp_path_component()
153 reg0 = regs->phys_addr; in ambapp_path_component()
163 sprintf(tmp_buf, "%s@%x,%x", name, *intr, reg0); in ambapp_path_component()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dspectral.c71 u32 reg0, reg1; in ath10k_spectral_process_fft() local
82 reg0 = __le32_to_cpu(fftr->reg0); in ath10k_spectral_process_fft()
119 fft_sample->max_index = MS(reg0, SEARCH_FFT_REPORT_REG0_PEAK_SIDX); in ath10k_spectral_process_fft()
122 total_gain_db = MS(reg0, SEARCH_FFT_REPORT_REG0_TOTAL_GAIN_DB); in ath10k_spectral_process_fft()
123 base_pwr_db = MS(reg0, SEARCH_FFT_REPORT_REG0_BASE_PWR_DB); in ath10k_spectral_process_fft()
132 chain_idx = MS(reg0, SEARCH_FFT_REPORT_REG0_FFT_CHN_IDX); in ath10k_spectral_process_fft()
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
Dwd.c260 int reg0 = inb(ioaddr); in wd_probe1() local
261 if (reg0 == 0xff || reg0 == 0) { in wd_probe1()
270 dev->mem_start = ((reg0&0x3f) << 13) + (high_addr_bits << 19); in wd_probe1()
377 ei_status.reg0 = ((dev->mem_start>>13) & 0x3f) | WD_MEMENB; in wd_open()
382 outb(ei_status.reg0, ioaddr); /* WD_CMDREG */ in wd_open()
492 outb(ei_status.reg0 & ~WD_MEMENB, wd_cmdreg); in wd_close()
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/
Dcal-camerarx.c122 unsigned int reg0, reg1; in cal_camerarx_config() local
150 reg0 = camerarx_read(phy, CAL_CSI2_PHY_REG0); in cal_camerarx_config()
151 cal_set_field(&reg0, CAL_CSI2_PHY_REG0_HSCLOCKCONFIG_DISABLE, in cal_camerarx_config()
153 cal_set_field(&reg0, ths_term, CAL_CSI2_PHY_REG0_THS_TERM_MASK); in cal_camerarx_config()
154 cal_set_field(&reg0, ths_settle, CAL_CSI2_PHY_REG0_THS_SETTLE_MASK); in cal_camerarx_config()
156 phy_dbg(1, phy, "CSI2_%d_REG0 = 0x%08x\n", phy->instance, reg0); in cal_camerarx_config()
157 camerarx_write(phy, CAL_CSI2_PHY_REG0, reg0); in cal_camerarx_config()
/kernel/linux/linux-5.10/drivers/media/cec/platform/meson/
Dao-cec-g12a.c229 u32 reg0, reg1; in meson_ao_cec_g12a_dualdiv_clk_recalc_rate() local
231 regmap_read(dualdiv_clk->regmap, CECB_CLK_CNTL_REG0, &reg0); in meson_ao_cec_g12a_dualdiv_clk_recalc_rate()
237 if (reg0 & CECB_CLK_CNTL_DUAL_EN) { in meson_ao_cec_g12a_dualdiv_clk_recalc_rate()
240 n1 = FIELD_GET(CECB_CLK_CNTL_N1, reg0) + 1; in meson_ao_cec_g12a_dualdiv_clk_recalc_rate()
241 n2 = FIELD_GET(CECB_CLK_CNTL_N2, reg0) + 1; in meson_ao_cec_g12a_dualdiv_clk_recalc_rate()
255 n1 = FIELD_GET(CECB_CLK_CNTL_N1, reg0) + 1; in meson_ao_cec_g12a_dualdiv_clk_recalc_rate()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_gmbus.c598 intel_de_write_fw(dev_priv, GMBUS0, gmbus0_source | bus->reg0); in do_gmbus_xfer()
604 gmbus0_source | bus->reg0); in do_gmbus_xfer()
608 gmbus0_source | bus->reg0, 0); in do_gmbus_xfer()
694 bus->adapter.name, bus->reg0 & 0xff); in do_gmbus_xfer()
878 bus->reg0 = pin | GMBUS_RATE_100KHZ; in intel_gmbus_setup()
920 bus->reg0 = (bus->reg0 & ~(0x3 << 8)) | speed; in intel_gmbus_set_speed()

123