Lines Matching refs:val32
927 u32 val32; in cs35l33_get_hg_data() local
933 if (of_property_read_u32(hg, "cirrus,mem-depth", &val32) >= 0) in cs35l33_get_hg_data()
934 hg_config->mem_depth = val32; in cs35l33_get_hg_data()
936 &val32) >= 0) in cs35l33_get_hg_data()
937 hg_config->release_rate = val32; in cs35l33_get_hg_data()
938 if (of_property_read_u32(hg, "cirrus,ldo-thld", &val32) >= 0) in cs35l33_get_hg_data()
939 hg_config->ldo_thld = val32; in cs35l33_get_hg_data()
941 &val32) >= 0) in cs35l33_get_hg_data()
942 hg_config->ldo_path_disable = val32; in cs35l33_get_hg_data()
944 &val32) >= 0) in cs35l33_get_hg_data()
945 hg_config->ldo_entry_delay = val32; in cs35l33_get_hg_data()
950 if (of_property_read_u32(hg, "cirrus,vp-hg", &val32) >= 0) in cs35l33_get_hg_data()
951 hg_config->vp_hg = val32; in cs35l33_get_hg_data()
952 if (of_property_read_u32(hg, "cirrus,vp-hg-rate", &val32) >= 0) in cs35l33_get_hg_data()
953 hg_config->vp_hg_rate = val32; in cs35l33_get_hg_data()
954 if (of_property_read_u32(hg, "cirrus,vp-hg-va", &val32) >= 0) in cs35l33_get_hg_data()
955 hg_config->vp_hg_va = val32; in cs35l33_get_hg_data()
1085 u32 val32; in cs35l33_of_get_pdata() local
1090 if (of_property_read_u32(np, "cirrus,boost-ctl", &val32) >= 0) { in cs35l33_of_get_pdata()
1091 pdata->boost_ctl = val32; in cs35l33_of_get_pdata()
1095 if (of_property_read_u32(np, "cirrus,ramp-rate", &val32) >= 0) { in cs35l33_of_get_pdata()
1096 pdata->ramp_rate = val32; in cs35l33_of_get_pdata()
1100 if (of_property_read_u32(np, "cirrus,boost-ipk", &val32) >= 0) in cs35l33_of_get_pdata()
1101 pdata->boost_ipk = val32; in cs35l33_of_get_pdata()
1103 if (of_property_read_u32(np, "cirrus,imon-adc-scale", &val32) >= 0) { in cs35l33_of_get_pdata()
1104 if ((val32 == 0x0) || (val32 == 0x7) || (val32 == 0x6)) in cs35l33_of_get_pdata()
1105 pdata->imon_adc_scale = val32; in cs35l33_of_get_pdata()