Home
last modified time | relevance | path

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

123

/linux-6.6.21/arch/s390/include/asm/
Dap.h73 unsigned long reg0 = AP_MKQID(0, 0); in ap_instructions_available() local
85 : [reg0] "d" (reg0) in ap_instructions_available()
177 unsigned long reg0 = qid | (1UL << 24); /* fc 1UL is RAPQ */ in ap_rapq() local
181 reg0 |= 1UL << 22; in ap_rapq()
188 : [reg0] "d" (reg0) in ap_rapq()
202 unsigned long reg0 = qid | (2UL << 24); /* fc 2UL is ZAPQ */ in ap_zapq() local
206 reg0 |= 1UL << 22; in ap_zapq()
213 : [reg0] "d" (reg0) in ap_zapq()
246 unsigned long reg0 = 4UL << 24; /* fc 4UL is QCI */ in ap_qci() local
258 : [reg0] "d" (reg0), [reg2] "d" (reg2) in ap_qci()
[all …]
Dfacility.h71 unsigned long reg0 = size - 1; in __stfle_asm() local
77 : [reg0] "+&d" (reg0), [list] "+Q" (*stfle_fac_list) in __stfle_asm()
80 return reg0; in __stfle_asm()
Dtimex.h144 unsigned int reg0 = func; \
155 : [reg0] "d" (reg0), [reg1] "d" (reg1) \
/linux-6.6.21/drivers/media/dvb-frontends/
Da8293.c29 u8 reg0, reg1; in a8293_set_voltage_slew() local
105 reg0 = idx_to_reg[this_volt_idx+1]; in a8293_set_voltage_slew()
106 reg0 |= A8293_FLAG_ODT; in a8293_set_voltage_slew()
108 ret = i2c_master_send(client, &reg0, 1); in a8293_set_voltage_slew()
111 dev->reg[0] = reg0; in a8293_set_voltage_slew()
116 reg0 = idx_to_reg[new_volt_idx]; in a8293_set_voltage_slew()
117 reg0 |= A8293_FLAG_ODT; in a8293_set_voltage_slew()
118 ret = i2c_master_send(client, &reg0, 1); in a8293_set_voltage_slew()
121 dev->reg[0] = reg0; in a8293_set_voltage_slew()
148 u8 reg0, reg1; in a8293_set_voltage_noslew() local
[all …]
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()
/linux-6.6.21/crypto/
Daria_generic.c32 u32 reg0, reg1, reg2, reg3; in aria_set_encrypt_key() local
43 reg0 = w0[0] ^ ck[0]; in aria_set_encrypt_key()
48 aria_subst_diff_odd(&reg0, &reg1, &reg2, &reg3); in aria_set_encrypt_key()
67 w1[0] ^= reg0; in aria_set_encrypt_key()
72 reg0 = w1[0]; in aria_set_encrypt_key()
77 reg0 ^= ck[4]; in aria_set_encrypt_key()
82 aria_subst_diff_even(&reg0, &reg1, &reg2, &reg3); in aria_set_encrypt_key()
84 reg0 ^= w0[0]; in aria_set_encrypt_key()
89 w2[0] = reg0; in aria_set_encrypt_key()
94 reg0 ^= ck[8]; in aria_set_encrypt_key()
[all …]
/linux-6.6.21/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]
/linux-6.6.21/tools/perf/arch/x86/tests/
Dintel-pt-test.c404 unsigned int m, reg, reg0; in compare_caps() local
412 reg0 = m & caps0->subleaf[i].reg[j]; in compare_caps()
413 if ((reg & reg0) != reg0) { in compare_caps()
415 cpu, i, j, reg, reg0); in compare_caps()
423 reg0 = m & caps0->subleaf[1].eax; in compare_caps()
424 if (reg < reg0) { in compare_caps()
426 cpu, reg, reg0); in compare_caps()
/linux-6.6.21/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()
/linux-6.6.21/drivers/pci/controller/
Dpcie-altera.c120 u32 reg0; member
171 cra_writel(pcie, tlp_rp_regdata->reg0, RP_TX_REG0); in tlp_write_tx()
176 static void s10_tlp_write_tx(struct altera_pcie *pcie, u32 reg0, u32 ctrl) in s10_tlp_write_tx() argument
178 cra_writel(pcie, reg0, RP_TX_REG0); in s10_tlp_write_tx()
203 u32 reg0, reg1; in tlp_read_packet() local
213 reg0 = cra_readl(pcie, RP_RXCPL_REG0); in tlp_read_packet()
226 *value = reg0; in tlp_read_packet()
289 tlp_rp_regdata.reg0 = headers[0]; in tlp_write_packet()
295 tlp_rp_regdata.reg0 = headers[2]; in tlp_write_packet()
300 tlp_rp_regdata.reg0 = data; in tlp_write_packet()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/8390/
Dwd.c261 int reg0 = inb(ioaddr); in wd_probe1() local
262 if (reg0 == 0xff || reg0 == 0) { in wd_probe1()
271 dev->mem_start = ((reg0&0x3f) << 13) + (high_addr_bits << 19); in wd_probe1()
378 ei_status.reg0 = ((dev->mem_start>>13) & 0x3f) | WD_MEMENB; in wd_open()
383 outb(ei_status.reg0, ioaddr); /* WD_CMDREG */ in wd_open()
493 outb(ei_status.reg0 & ~WD_MEMENB, wd_cmdreg); in wd_close()
Dne2k-pci.c100 #define ne2k_flags reg0
233 int irq, reg0, chip_idx = ent->driver_data; in ne2k_pci_init_one() local
259 reg0 = inb(ioaddr); in ne2k_pci_init_one()
260 if (reg0 == 0xFF) in ne2k_pci_init_one()
274 outb(reg0, ioaddr); in ne2k_pci_init_one()
/linux-6.6.21/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()
/linux-6.6.21/drivers/tee/optee/
Doptee_private.h330 static inline void *reg_pair_to_ptr(u32 reg0, u32 reg1) in reg_pair_to_ptr() argument
332 return (void *)(unsigned long)(((u64)reg0 << 32) | reg1); in reg_pair_to_ptr()
335 static inline void reg_pair_from_64(u32 *reg0, u32 *reg1, u64 val) in reg_pair_from_64() argument
337 *reg0 = val >> 32; in reg_pair_from_64()
/linux-6.6.21/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()
/linux-6.6.21/drivers/media/platform/ti/cal/
Dcal-camerarx.c135 unsigned int reg0, reg1; in cal_camerarx_config() local
148 reg0 = camerarx_read(phy, CAL_CSI2_PHY_REG0); in cal_camerarx_config()
149 cal_set_field(&reg0, CAL_CSI2_PHY_REG0_HSCLOCKCONFIG_DISABLE, in cal_camerarx_config()
151 cal_set_field(&reg0, ths_term, CAL_CSI2_PHY_REG0_THS_TERM_MASK); in cal_camerarx_config()
152 cal_set_field(&reg0, ths_settle, CAL_CSI2_PHY_REG0_THS_SETTLE_MASK); in cal_camerarx_config()
154 phy_dbg(1, phy, "CSI2_%d_REG0 = 0x%08x\n", phy->instance, reg0); in cal_camerarx_config()
155 camerarx_write(phy, CAL_CSI2_PHY_REG0, reg0); in cal_camerarx_config()
/linux-6.6.21/arch/ia64/include/asm/native/
Dinst.h72 #define THASH(pred, reg0, reg1, clob) \ argument
73 (pred) thash reg0 = reg1
/linux-6.6.21/drivers/net/ethernet/marvell/octeon_ep/
Doctep_cn9k_pf.c382 u64 reg0; in octep_poll_non_ioq_interrupts_cn93_pf() local
385 reg0 = octep_read_csr64(oct, CN93_SDP_EPF_OEI_RINT); in octep_poll_non_ioq_interrupts_cn93_pf()
386 if (reg0) { in octep_poll_non_ioq_interrupts_cn93_pf()
389 reg0); in octep_poll_non_ioq_interrupts_cn93_pf()
390 octep_write_csr64(oct, CN93_SDP_EPF_OEI_RINT, reg0); in octep_poll_non_ioq_interrupts_cn93_pf()
391 if (reg0 & CN93_SDP_EPF_OEI_RINT_DATA_BIT_MBOX) in octep_poll_non_ioq_interrupts_cn93_pf()
393 else if (reg0 & CN93_SDP_EPF_OEI_RINT_DATA_BIT_HBEAT) in octep_poll_non_ioq_interrupts_cn93_pf()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c314 const struct bpf_reg_state *reg0 = cur_regs(env) + BPF_REG_0; in nfp_bpf_check_exit() local
320 if (!(reg0->type == SCALAR_VALUE && tnum_is_const(reg0->var_off))) { in nfp_bpf_check_exit()
323 tnum_strn(tn_buf, sizeof(tn_buf), reg0->var_off); in nfp_bpf_check_exit()
325 reg0->type, tn_buf); in nfp_bpf_check_exit()
329 imm = reg0->var_off.value; in nfp_bpf_check_exit()
335 reg0->type, imm); in nfp_bpf_check_exit()

123