Home
last modified time | relevance | path

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

/linux/drivers/net/fddi/skfp/
H A Dpcmplc.c1267 if (phy->r_val[1] == 0 && phy->r_val[2] == 0) in pc_rcode_actions()
1269 else if (phy->r_val[1] == 0 && phy->r_val[2] == 1) in pc_rcode_actions()
1271 else if (phy->r_val[1] == 1 && phy->r_val[2] == 0) in pc_rcode_actions()
1273 else if (phy->r_val[1] == 1 && phy->r_val[2] == 1) in pc_rcode_actions()
1317 if (phy->t_val[4] || phy->r_val[4]) { in pc_rcode_actions()
1319 (phy->r_val[4] && phy->r_val[5]) ) in pc_rcode_actions()
1359 if (phy->t_val[7] || phy->r_val[7]) { in pc_rcode_actions()
1367 if (phy->t_val[8] || phy->r_val[8]) { in pc_rcode_actions()
1374 if (phy->r_val[9]) { in pc_rcode_actions()
1782 phy->r_val[plc->p_start+i] = n & 1 ; in plc_irq()
[all …]
/linux/drivers/ata/
H A 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()
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c1104 static inline int get_lpid(unsigned long r_val) in get_lpid() argument
1106 return r_val & 0xffffffff; in get_lpid()
1109 static inline int get_is(unsigned long r_val) in get_is() argument
1111 return (r_val >> 10) & 0x3; in get_is()
1114 static inline int get_ap(unsigned long r_val) in get_ap() argument
1116 return (r_val >> 5) & 0x7; in get_ap()
1119 static inline long get_epn(unsigned long r_val) in get_epn() argument
1121 return r_val >> 12; in get_epn()
/linux/drivers/hte/
H A Dhte-tegra194.c102 u32 r_val; member
828 gs->sl[i].r_val); in tegra_hte_resume_early()
846 gs->sl[i].r_val = tegra_hte_readl(gs, in tegra_hte_suspend_late()
/linux/drivers/regulator/
H A Dhelpers.c133 unsigned int r_val; in regulator_get_voltage_sel_pickable_regmap() local
147 ret = regmap_read(rdev->regmap, rdev->desc->vsel_range_reg, &r_val); in regulator_get_voltage_sel_pickable_regmap()
154 range = regulator_range_selector_to_index(rdev, r_val); in regulator_get_voltage_sel_pickable_regmap()
/linux/sound/soc/codecs/
H A Drt715.c106 unsigned int *r_val, unsigned int *l_val) in rt715_get_gain() argument
110 *r_val = val_h << 8; in rt715_get_gain()
111 ret = regmap_read(rt715->regmap, addr_l, r_val); in rt715_get_gain()
H A Drt700.c349 unsigned int *r_val, unsigned int *l_val) in rt700_get_gain() argument
352 *r_val = (val_h << 8); in rt700_get_gain()
353 regmap_read(rt700->regmap, addr_l, r_val); in rt700_get_gain()
H A Drt711.c491 unsigned int *r_val, unsigned int *l_val) in rt711_get_gain() argument
494 *r_val = (val_h << 8); in rt711_get_gain()
495 regmap_read(rt711->regmap, addr_l, r_val); in rt711_get_gain()
H A Dwcd9335.c3298 u8 l_val, r_val; in wcd9335_codec_hph_mode_gain_opt() local
3310 r_val = (hph_r_en & 0xC0) | 0x20 | gain; in wcd9335_codec_hph_mode_gain_opt()
3323 if ((r_val != hph_r_en) && !is_hphr_pa) { in wcd9335_codec_hph_mode_gain_opt()
3324 snd_soc_component_write(component, WCD9335_HPH_R_EN, r_val); in wcd9335_codec_hph_mode_gain_opt()
/linux/drivers/net/fddi/skfp/h/
H A Dsmc.h222 u_char r_val[NUMBITS] ; /* receive bits for signaling */ member
/linux/drivers/net/wireless/realtek/rtw89/
H A Dmac.c63 u32 val, r_val; in rtw89_mac_check_mac_en_ax() local
66 r_val = rtw89_read32(rtwdev, R_AX_DMAC_FUNC_EN); in rtw89_mac_check_mac_en_ax()
69 r_val = rtw89_read32(rtwdev, R_AX_CMAC_FUNC_EN); in rtw89_mac_check_mac_en_ax()
72 r_val = rtw89_read32(rtwdev, R_AX_SYS_ISO_CTRL_EXTEND); in rtw89_mac_check_mac_en_ax()
77 if (r_val == RTW89_R32_EA || r_val == RTW89_R32_DEAD || in rtw89_mac_check_mac_en_ax()
78 (val & r_val) != val) in rtw89_mac_check_mac_en_ax()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.h1161 u8 r_val; member
H A Drvu_nix.c1733 (((u32)req->r_mask & 0xF) << 4) | ((u32)req->r_val & 0xF); in rvu_mbox_handler_nix_mark_format_cfg()