Lines Matching refs:val32
1247 unsigned int val32 = 0; in cs35l35_handle_of_data() local
1259 ret = of_property_read_u32(np, "cirrus,boost-ctl-millivolt", &val32); in cs35l35_handle_of_data()
1261 if (val32 < 2600 || val32 > 9000) { in cs35l35_handle_of_data()
1263 "Invalid Boost Voltage %d mV\n", val32); in cs35l35_handle_of_data()
1266 pdata->bst_vctl = ((val32 - 2600) / 100) + 1; in cs35l35_handle_of_data()
1269 ret = of_property_read_u32(np, "cirrus,boost-peak-milliamp", &val32); in cs35l35_handle_of_data()
1271 if (val32 < 1680 || val32 > 4480) { in cs35l35_handle_of_data()
1273 "Invalid Boost Peak Current %u mA\n", val32); in cs35l35_handle_of_data()
1277 pdata->bst_ipk = ((val32 - 1680) / 110) | CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1280 ret = of_property_read_u32(np, "cirrus,boost-ind-nanohenry", &val32); in cs35l35_handle_of_data()
1282 pdata->boost_ind = val32; in cs35l35_handle_of_data()
1288 if (of_property_read_u32(np, "cirrus,sp-drv-strength", &val32) >= 0) in cs35l35_handle_of_data()
1289 pdata->sp_drv_str = val32; in cs35l35_handle_of_data()
1290 if (of_property_read_u32(np, "cirrus,sp-drv-unused", &val32) >= 0) in cs35l35_handle_of_data()
1291 pdata->sp_drv_unused = val32 | CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1296 ret = of_property_read_u32(np, "cirrus,audio-channel", &val32); in cs35l35_handle_of_data()
1298 pdata->aud_channel = val32; in cs35l35_handle_of_data()
1301 &val32); in cs35l35_handle_of_data()
1303 pdata->adv_channel = val32; in cs35l35_handle_of_data()
1322 &val32); in cs35l35_handle_of_data()
1324 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1325 classh_config->classh_bst_max_limit = val32; in cs35l35_handle_of_data()
1330 &val32); in cs35l35_handle_of_data()
1332 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1333 classh_config->classh_bst_max_limit = val32; in cs35l35_handle_of_data()
1337 &val32); in cs35l35_handle_of_data()
1339 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1340 classh_config->classh_mem_depth = val32; in cs35l35_handle_of_data()
1344 &val32); in cs35l35_handle_of_data()
1346 classh_config->classh_release_rate = val32; in cs35l35_handle_of_data()
1349 &val32); in cs35l35_handle_of_data()
1351 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1352 classh_config->classh_headroom = val32; in cs35l35_handle_of_data()
1357 &val32); in cs35l35_handle_of_data()
1359 classh_config->classh_wk_fet_disable = val32; in cs35l35_handle_of_data()
1362 &val32); in cs35l35_handle_of_data()
1364 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1365 classh_config->classh_wk_fet_delay = val32; in cs35l35_handle_of_data()
1369 &val32); in cs35l35_handle_of_data()
1371 classh_config->classh_wk_fet_thld = val32; in cs35l35_handle_of_data()
1374 &val32); in cs35l35_handle_of_data()
1376 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1377 classh_config->classh_vpch_auto = val32; in cs35l35_handle_of_data()
1381 &val32); in cs35l35_handle_of_data()
1383 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1384 classh_config->classh_vpch_rate = val32; in cs35l35_handle_of_data()
1388 &val32); in cs35l35_handle_of_data()
1390 classh_config->classh_vpch_man = val32; in cs35l35_handle_of_data()