Lines Matching refs:val32
1246 unsigned int val32 = 0; in cs35l35_handle_of_data() local
1258 ret = of_property_read_u32(np, "cirrus,boost-ctl-millivolt", &val32); in cs35l35_handle_of_data()
1260 if (val32 < 2600 || val32 > 9000) { in cs35l35_handle_of_data()
1262 "Invalid Boost Voltage %d mV\n", val32); in cs35l35_handle_of_data()
1265 pdata->bst_vctl = ((val32 - 2600) / 100) + 1; in cs35l35_handle_of_data()
1268 ret = of_property_read_u32(np, "cirrus,boost-peak-milliamp", &val32); in cs35l35_handle_of_data()
1270 if (val32 < 1680 || val32 > 4480) { in cs35l35_handle_of_data()
1272 "Invalid Boost Peak Current %u mA\n", val32); in cs35l35_handle_of_data()
1276 pdata->bst_ipk = ((val32 - 1680) / 110) | CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1279 ret = of_property_read_u32(np, "cirrus,boost-ind-nanohenry", &val32); in cs35l35_handle_of_data()
1281 pdata->boost_ind = val32; in cs35l35_handle_of_data()
1287 if (of_property_read_u32(np, "cirrus,sp-drv-strength", &val32) >= 0) in cs35l35_handle_of_data()
1288 pdata->sp_drv_str = val32; in cs35l35_handle_of_data()
1289 if (of_property_read_u32(np, "cirrus,sp-drv-unused", &val32) >= 0) in cs35l35_handle_of_data()
1290 pdata->sp_drv_unused = val32 | CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1295 ret = of_property_read_u32(np, "cirrus,audio-channel", &val32); in cs35l35_handle_of_data()
1297 pdata->aud_channel = val32; in cs35l35_handle_of_data()
1300 &val32); in cs35l35_handle_of_data()
1302 pdata->adv_channel = val32; in cs35l35_handle_of_data()
1321 &val32); in cs35l35_handle_of_data()
1323 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1324 classh_config->classh_bst_max_limit = val32; in cs35l35_handle_of_data()
1329 &val32); in cs35l35_handle_of_data()
1331 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1332 classh_config->classh_bst_max_limit = val32; in cs35l35_handle_of_data()
1336 &val32); in cs35l35_handle_of_data()
1338 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1339 classh_config->classh_mem_depth = val32; in cs35l35_handle_of_data()
1343 &val32); in cs35l35_handle_of_data()
1345 classh_config->classh_release_rate = val32; in cs35l35_handle_of_data()
1348 &val32); in cs35l35_handle_of_data()
1350 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1351 classh_config->classh_headroom = val32; in cs35l35_handle_of_data()
1356 &val32); in cs35l35_handle_of_data()
1358 classh_config->classh_wk_fet_disable = val32; in cs35l35_handle_of_data()
1361 &val32); in cs35l35_handle_of_data()
1363 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1364 classh_config->classh_wk_fet_delay = val32; in cs35l35_handle_of_data()
1368 &val32); in cs35l35_handle_of_data()
1370 classh_config->classh_wk_fet_thld = val32; in cs35l35_handle_of_data()
1373 &val32); in cs35l35_handle_of_data()
1375 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1376 classh_config->classh_vpch_auto = val32; in cs35l35_handle_of_data()
1380 &val32); in cs35l35_handle_of_data()
1382 val32 |= CS35L35_VALID_PDATA; in cs35l35_handle_of_data()
1383 classh_config->classh_vpch_rate = val32; in cs35l35_handle_of_data()
1387 &val32); in cs35l35_handle_of_data()
1389 classh_config->classh_vpch_man = val32; in cs35l35_handle_of_data()