Searched refs:hw_sel (Results 1 – 2 of 2) sorted by relevance
83 u32 hw_sel; in histb_combphy_set_mode() local90 hw_sel = COMBPHY_MODE_SATA; in histb_combphy_set_mode()93 hw_sel = COMBPHY_MODE_PCIE; in histb_combphy_set_mode()96 hw_sel = COMBPHY_MODE_USB3; in histb_combphy_set_mode()103 hw_sel << mode->shift); in histb_combphy_set_mode()
751 static int spmi_hw_selector_to_sw(struct spmi_regulator *vreg, u8 hw_sel, in spmi_hw_selector_to_sw() argument769 if (hw_sel < offset) in spmi_hw_selector_to_sw()774 if (hw_sel > max_hw_sel) in spmi_hw_selector_to_sw()777 return sw_sel + hw_sel - offset; in spmi_hw_selector_to_sw()