Home
last modified time | relevance | path

Searched refs:reg1 (Results 1 – 21 of 21) sorted by relevance

/linux-4.19.296/drivers/s390/cio/
Dioasm.c18 register struct subchannel_id reg1 asm ("1") = schid; in __stsch()
28 : "d" (reg1), "a" (addr) in __stsch()
46 register struct subchannel_id reg1 asm ("1") = schid; in __msch()
56 : "d" (reg1), "a" (addr), "m" (*addr) in __msch()
73 register struct subchannel_id reg1 asm ("1") = schid; in __tsch()
81 : "d" (reg1), "a" (addr) in __tsch()
98 register struct subchannel_id reg1 asm("1") = schid; in __ssch()
108 : "d" (reg1), "a" (addr), "m" (*addr) in __ssch()
126 register struct subchannel_id reg1 asm("1") = schid; in __csch()
134 : "d" (reg1) in __csch()
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/
Dtua6100.c72 u8 reg1[] = { 0x01, 0x00, 0x00, 0x00 }; in tua6100_set_params() local
75 struct i2c_msg msg1 = { .addr = priv->i2c_address, .flags = 0, .buf = reg1, .len = 4 }; in tua6100_set_params()
90 reg1[1] = 0x2c; in tua6100_set_params()
92 reg1[1] = 0x0c; in tua6100_set_params()
95 reg1[1] |= 0x40; in tua6100_set_params()
97 reg1[1] |= 0x80; in tua6100_set_params()
115 reg1[1] |= (div >> 9) & 0x03; in tua6100_set_params()
116 reg1[2] = div >> 1; in tua6100_set_params()
117 reg1[3] = (div << 7); in tua6100_set_params()
121 reg1[3] |= (prediv - (div*_P_VAL)) & 0x7f; in tua6100_set_params()
Da8293.c30 u8 reg0, reg1; in a8293_set_voltage() local
59 reg1 = 0x82; in a8293_set_voltage()
60 if (reg1 != dev->reg[1]) { in a8293_set_voltage()
61 ret = i2c_master_send(client, &reg1, 1); in a8293_set_voltage()
64 dev->reg[1] = reg1; in a8293_set_voltage()
Dsi21xx.c227 static int si21_writeregs(struct si21xx_state *state, u8 reg1, in si21_writeregs() argument
242 msg.buf[0] = reg1; in si21_writeregs()
249 __func__, reg1, data[0], ret); in si21_writeregs()
312 static int si21_readregs(struct si21xx_state *state, u8 reg1, u8 *b, u8 len) in si21_readregs() argument
319 .buf = &reg1, in si21_readregs()
486 u8 reg1; in si21xx_init() local
493 reg1 = serit_sp1511lhb_inittab[i]; in si21xx_init()
495 if (reg1 == 0xff && val == 0xff) in si21xx_init()
497 si21_writeregs(state, reg1, &val, 1); in si21xx_init()
501 reg1 = 0x08; in si21xx_init()
[all …]
Dm88rs2000.c253 u8 reg0, reg1; in m88rs2000_send_diseqc_burst() local
258 reg1 = m88rs2000_readreg(state, 0xb2); in m88rs2000_send_diseqc_burst()
260 m88rs2000_writereg(state, 0xb2, reg1); in m88rs2000_send_diseqc_burst()
271 u8 reg0, reg1; in m88rs2000_set_tone() local
274 reg1 = m88rs2000_readreg(state, 0xb2); in m88rs2000_set_tone()
276 reg1 &= 0x3f; in m88rs2000_set_tone()
284 reg1 |= 0x80; in m88rs2000_set_tone()
289 m88rs2000_writereg(state, 0xb2, reg1); in m88rs2000_set_tone()
Ds5h1409.c568 u16 reg, reg1, reg2; in s5h1409_set_qam_interleave_mode() local
583 reg1 = s5h1409_readreg(state, 0xb2); in s5h1409_set_qam_interleave_mode()
588 (((reg1 & 0xf000) >> 4) | (reg2 & 0xf0ff))); in s5h1409_set_qam_interleave_mode()
606 u16 reg, reg1, reg2; in s5h1409_set_qam_interleave_mode_legacy() local
614 reg1 = s5h1409_readreg(state, 0xb2); in s5h1409_set_qam_interleave_mode_legacy()
619 (((reg1 & 0xf000) >> 4) | (reg2 & 0xf0ff))); in s5h1409_set_qam_interleave_mode_legacy()
Dstv0297.c107 static int stv0297_readregs(struct stv0297_state *state, u8 reg1, u8 * b, u8 len) in stv0297_readregs() argument
111 &reg1,.len = 1}, in stv0297_readregs()
118 dprintk("%s: readreg error (reg == 0x%02x, ret == %i)\n", __func__, reg1, ret); in stv0297_readregs()
122 dprintk("%s: readreg error (reg == 0x%02x, ret == %i)\n", __func__, reg1, ret); in stv0297_readregs()
127 dprintk("%s: readreg error (reg == 0x%02x, ret == %i)\n", __func__, reg1, ret); in stv0297_readregs()
Dtda8083.c76 static int tda8083_readregs (struct tda8083_state* state, u8 reg1, u8 *b, u8 len) in tda8083_readregs() argument
79 …struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = &reg1, .len =… in tda8083_readregs()
86 __func__, reg1, ret); in tda8083_readregs()
Dstv0299.c124 static int stv0299_readregs (struct stv0299_state* state, u8 reg1, u8 *b, u8 len) in stv0299_readregs() argument
127 …struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = &reg1, .len =… in stv0299_readregs()
/linux-4.19.296/drivers/clk/meson/
Dgxbb-aoclk-32k.c78 u32 reg0, reg1; in aoclk_cec_32k_recalc_rate() local
81 regmap_read(cec_32k->regmap, AO_RTC_ALT_CLK_CNTL1, &reg1); in aoclk_cec_32k_recalc_rate()
83 if (reg1 & CLK_CNTL1_BYPASS_EN) in aoclk_cec_32k_recalc_rate()
92 m1 = FIELD_GET(CLK_CNTL1_M1_MASK, reg1) + 1; in aoclk_cec_32k_recalc_rate()
93 m2 = FIELD_GET(CLK_CNTL1_M2_MASK, reg1) + 1; in aoclk_cec_32k_recalc_rate()
/linux-4.19.296/drivers/gpio/
Dgpio-ingenic.c88 u8 reg1, reg2; in irq_set_type() local
91 reg1 = JZ4770_GPIO_PAT1; in irq_set_type()
94 reg1 = JZ4740_GPIO_TRIG; in irq_set_type()
101 gpio_ingenic_set_bit(jzgc, reg1, offset, true); in irq_set_type()
105 gpio_ingenic_set_bit(jzgc, reg1, offset, true); in irq_set_type()
109 gpio_ingenic_set_bit(jzgc, reg1, offset, false); in irq_set_type()
114 gpio_ingenic_set_bit(jzgc, reg1, offset, false); in irq_set_type()
/linux-4.19.296/drivers/misc/cardreader/
Drtl8411.c52 u32 reg1 = 0; in rtl8411_fetch_vendor_settings() local
55 rtsx_pci_read_config_dword(pcr, PCR_SETTING_REG1, &reg1); in rtl8411_fetch_vendor_settings()
56 pcr_dbg(pcr, "Cfg 0x%x: 0x%x\n", PCR_SETTING_REG1, reg1); in rtl8411_fetch_vendor_settings()
58 if (!rtsx_vendor_setting_valid(reg1)) in rtl8411_fetch_vendor_settings()
61 pcr->aspm_en = rtsx_reg_to_aspm(reg1); in rtl8411_fetch_vendor_settings()
63 map_sd_drive(rtsx_reg_to_sd30_drive_sel_1v8(reg1)); in rtl8411_fetch_vendor_settings()
65 pcr->card_drive_sel |= rtsx_reg_to_card_drive_sel(reg1); in rtl8411_fetch_vendor_settings()
/linux-4.19.296/drivers/pci/controller/
Dpcie-altera.c85 u32 reg1; member
127 cra_writel(pcie, tlp_rp_regdata->reg1, RP_TX_REG1); in tlp_write_tx()
152 u32 reg0, reg1; in tlp_read_packet() local
163 reg1 = cra_readl(pcie, RP_RXCPL_REG1); in tlp_read_packet()
167 comp_status = TLP_COMP_STATUS(reg1); in tlp_read_packet()
192 tlp_rp_regdata.reg1 = headers[1]; in tlp_write_packet()
198 tlp_rp_regdata.reg1 = 0; in tlp_write_packet()
203 tlp_rp_regdata.reg1 = 0; in tlp_write_packet()
206 tlp_rp_regdata.reg1 = data; in tlp_write_packet()
/linux-4.19.296/include/sound/
Dsb.h343 #define SB_MIXVAL_INPUT_SW(reg1, reg2, left_shift, right_shift) \ argument
344 ((reg1) | ((reg2) << 8) | ((left_shift) << 16) | ((right_shift) << 24))
365 #define SB16_INPUT_SW(xname, reg1, reg2, left_shift, right_shift) \ argument
368 .private_value = SB_MIXVAL_INPUT_SW(reg1, reg2, left_shift, right_shift) }
/linux-4.19.296/drivers/iio/light/
Dsi1145.c730 u8 reg1, reg2, shift; in si1145_write_raw() local
740 reg1 = SI1145_PARAM_PS_ADC_GAIN; in si1145_write_raw()
748 reg1 = SI1145_PARAM_ALSIR_ADC_GAIN; in si1145_write_raw()
751 reg1 = SI1145_PARAM_ALSVIS_ADC_GAIN; in si1145_write_raw()
763 ret = si1145_param_set(data, reg1, val); in si1145_write_raw()
779 reg1 = SI1145_PS_LED_REG(chan->channel); in si1145_write_raw()
786 ret = i2c_smbus_read_byte_data(data->client, reg1); in si1145_write_raw()
791 ret = i2c_smbus_write_byte_data(data->client, reg1, in si1145_write_raw()
/linux-4.19.296/drivers/clk/mvebu/
Darmada-37xx-periph.c63 void __iomem *reg1; member
140 .reg1 = (void *)_reg1, \
331 div = get_div(double_div->reg1, double_div->shift1); in clk_double_div_recalc_rate()
640 rate->reg1 = reg + (u64)rate->reg1; in armada_3700_add_composite_clk()
/linux-4.19.296/drivers/iio/adc/
Dtwl6030-gpadc.c708 unsigned int reg1, unsigned int mask0, unsigned int mask1, in twl6032_get_trim_value() argument
714 val |= (trim_regs[reg1] & mask1) >> 1; in twl6032_get_trim_value()
715 if (trim_regs[reg1] & 0x01) in twl6032_get_trim_value()
/linux-4.19.296/drivers/edac/
Damd64_edac.c945 int reg1 = base_reg1 + (cs * 4); in read_dct_base_mask() local
954 if (!amd_smn_read(pvt->mc_node_id, reg1, base1)) in read_dct_base_mask()
956 cs, *base1, reg1); in read_dct_base_mask()
967 cs, *base1, (pvt->fam == 0x10) ? reg1 in read_dct_base_mask()
974 int reg1 = mask_reg1 + (cs * 4); in read_dct_base_mask() local
983 if (!amd_smn_read(pvt->mc_node_id, reg1, mask1)) in read_dct_base_mask()
985 cs, *mask1, reg1); in read_dct_base_mask()
996 cs, *mask1, (pvt->fam == 0x10) ? reg1 in read_dct_base_mask()
/linux-4.19.296/include/linux/qed/
Discsi_common.h940 struct iscsi_reg1 reg1; member
1357 __le32 reg1; member
1551 __le32 reg1; member
Dfcoe_common.h207 __le32 reg1; member
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Daf9015.c567 unsigned int utmp1, utmp2, reg1, reg2; in af9015_streaming_ctrl() local
584 reg1 = 0xdd88; in af9015_streaming_ctrl()
588 reg1 = 0xdd8a; in af9015_streaming_ctrl()
591 ret = regmap_bulk_write(state->regmap, reg1, buf, 2); in af9015_streaming_ctrl()