Home
last modified time | relevance | path

Searched refs:r_val (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_io.c52 u16 r_val; in _rtw_read16() local
60 r_val = _read16(pintfhdl, addr); in _rtw_read16()
61 return rtw_le16_to_cpu(r_val); in _rtw_read16()
66 u32 r_val; in _rtw_read32() local
74 r_val = _read32(pintfhdl, addr); in _rtw_read32()
75 return rtw_le32_to_cpu(r_val); in _rtw_read32()
123 u8 r_val = 0x00; in _rtw_sd_f0_read8() local
131 r_val = _sd_f0_read8(pintfhdl, addr); in _rtw_sd_f0_read8()
135 return r_val; in _rtw_sd_f0_read8()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dpcmplc.c909 if (phy->t_val[7] || phy->r_val[7]) { in pcm_fsm()
1262 DB_PCMN(1, "SIG rec %x %x:", bit, phy->r_val[bit]); in pc_rcode_actions()
1271 if (phy->r_val[1] == 0 && phy->r_val[2] == 0) in pc_rcode_actions()
1273 else if (phy->r_val[1] == 0 && phy->r_val[2] == 1) in pc_rcode_actions()
1275 else if (phy->r_val[1] == 1 && phy->r_val[2] == 0) in pc_rcode_actions()
1277 else if (phy->r_val[1] == 1 && phy->r_val[2] == 1) in pc_rcode_actions()
1288 else if (phy->t_val[3] || phy->r_val[3]) { in pc_rcode_actions()
1321 if (phy->t_val[4] || phy->r_val[4]) { in pc_rcode_actions()
1323 (phy->r_val[4] && phy->r_val[5]) ) in pc_rcode_actions()
1328 else if (phy->t_val[5] || phy->r_val[5]) in pc_rcode_actions()
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-pmp.c38 static unsigned int sata_pmp_read(struct ata_link *link, int reg, u32 *r_val) in sata_pmp_read() argument
57 *r_val = tf.nsect | tf.lbal << 8 | tf.lbam << 16 | tf.lbah << 24; in sata_pmp_read()
141 int sata_pmp_scr_read(struct ata_link *link, int reg, u32 *r_val) in sata_pmp_scr_read() argument
148 err_mask = sata_pmp_read(link, reg, r_val); in sata_pmp_scr_read()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_nested.c994 static inline int get_lpid(unsigned long r_val) in get_lpid() argument
996 return r_val & 0xffffffff; in get_lpid()
999 static inline int get_is(unsigned long r_val) in get_is() argument
1001 return (r_val >> 10) & 0x3; in get_is()
1004 static inline int get_ap(unsigned long r_val) in get_ap() argument
1006 return (r_val >> 5) & 0x7; in get_ap()
1009 static inline long get_epn(unsigned long r_val) in get_epn() argument
1011 return r_val >> 12; in get_epn()
/kernel/linux/linux-5.10/drivers/regulator/
Dhelpers.c131 unsigned int r_val; in regulator_get_voltage_sel_pickable_regmap() local
145 ret = regmap_read(rdev->regmap, rdev->desc->vsel_range_reg, &r_val); in regulator_get_voltage_sel_pickable_regmap()
152 range = regulator_range_selector_to_index(rdev, r_val); in regulator_get_voltage_sel_pickable_regmap()
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt715.c56 unsigned int *r_val, unsigned int *l_val) in rt715_get_gain() argument
60 *r_val = (val_h << 8); in rt715_get_gain()
61 ret = regmap_read(rt715->regmap, addr_l, r_val); in rt715_get_gain()
Drt700.c334 unsigned int *r_val, unsigned int *l_val) in rt700_get_gain() argument
337 *r_val = (val_h << 8); in rt700_get_gain()
338 regmap_read(rt700->regmap, addr_l, r_val); in rt700_get_gain()
Drt711.c439 unsigned int *r_val, unsigned int *l_val) in rt711_get_gain() argument
442 *r_val = (val_h << 8); in rt711_get_gain()
443 regmap_read(rt711->regmap, addr_l, r_val); in rt711_get_gain()
Dwcd9335.c3356 u8 l_val, r_val; in wcd9335_codec_hph_mode_gain_opt() local
3368 r_val = (hph_r_en & 0xC0) | 0x20 | gain; in wcd9335_codec_hph_mode_gain_opt()
3381 if ((r_val != hph_r_en) && !is_hphr_pa) { in wcd9335_codec_hph_mode_gain_opt()
3382 snd_soc_component_write(component, WCD9335_HPH_R_EN, r_val); in wcd9335_codec_hph_mode_gain_opt()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
Dsmc.h222 u_char r_val[NUMBITS] ; /* receive bits for signaling */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.h655 u8 r_val; member
Drvu_nix.c1241 (((u32)req->r_mask & 0xF) << 4) | ((u32)req->r_val & 0xF); in rvu_mbox_handler_nix_mark_format_cfg()