| /OK3568_Linux_fs/kernel/drivers/staging/most/sound/ |
| H A D | sound.c | 424 static int split_arg_list(char *buf, u16 *ch_num, char **sample_res) in split_arg_list() argument 435 *sample_res = strsep(&buf, ".\n"); in split_arg_list() 436 if (!*sample_res) in split_arg_list() 446 const char *sample_res; member 457 u16 ch_num, char *sample_res, in audio_set_hw_params() argument 463 if (!strcmp(sample_res, sinfo[i].sample_res)) in audio_set_hw_params() 533 char *sample_res; in audio_probe_channel() local 541 ret = split_arg_list(arg_list_cpy, &ch_num, &sample_res); in audio_probe_channel() 597 ret = audio_set_hw_params(&channel->pcm_hardware, ch_num, sample_res, in audio_probe_channel()
|
| /OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/ |
| H A D | fg_rk816.c | 146 int sample_res; member 466 if (di->sample_res < 20) { in rk816_bat_finish_ma() 472 } else if (di->sample_res > 20) { in rk816_bat_finish_ma() 491 if (di->sample_res < 20) { in rk816_bat_select_chrg_cv() 496 } else if (di->sample_res > 20) { in rk816_bat_select_chrg_cv() 982 if (di->sample_res == SAMPLE_RES_20MR) { in rk816_bat_select_sample_res() 985 } else if (di->sample_res > SAMPLE_RES_20MR) { in rk816_bat_select_sample_res() 987 di->res_fac = di->sample_res * 10 / SAMPLE_RES_20MR; in rk816_bat_select_sample_res() 990 di->res_fac = SAMPLE_RES_20MR * 10 / di->sample_res; in rk816_bat_select_sample_res() 1261 rk816_bat_get_ocv_voltage(di), di->sample_res, in rk816_bat_debug_info() [all …]
|
| H A D | fg_rk818.c | 204 int sample_res; member 473 if (di->sample_res == SAMPLE_RES_10mR) { in rk818_bat_select_chrg_cv() 1362 di->pwr_rsoc, di->pwr_vol, di->sample_res, in rk818_bat_debug_info() 1818 di->sample_res = dev_read_u32_default(dev, "sample_res", SAMPLE_RES_20mR); in rk818_fg_ofdata_to_platdata() 1821 di->res_div = (di->sample_res == SAMPLE_RES_20mR) ? in rk818_fg_ofdata_to_platdata() 1878 DBG("sample_res:%d\n", di->sample_res); in rk818_fg_ofdata_to_platdata()
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | rk818_battery.h | 126 u32 sample_res; member
|
| H A D | rk816_battery.h | 205 u32 sample_res; member
|
| H A D | rk818_charger.c | 127 int sample_res; member 825 if (cg->pdata->sample_res == SAMPLE_RES_10MR) { in rk818_cg_decode_chrg_current() 1618 ret = of_property_read_u32(np, "sample_res", &pdata->sample_res); in rk818_cg_parse_dt() 1620 pdata->sample_res = SAMPLE_RES_20MR; in rk818_cg_parse_dt() 1637 cg->res_div = (cg->pdata->sample_res == SAMPLE_RES_20MR) ? in rk818_cg_parse_dt() 1670 pdata->max_chrg_voltage, pdata->sample_res, pdata->extcon, in rk818_cg_parse_dt()
|
| H A D | rk817_charger.c | 282 int sample_res; member 1413 ret = of_property_read_u32(np, "sample_res", &pdata->sample_res); in rk817_charge_parse_dt() 1415 pdata->sample_res = SAMPLE_RES_10MR; in rk817_charge_parse_dt() 1434 charge->res_div = (charge->pdata->sample_res == SAMPLE_RES_10MR) ? in rk817_charge_parse_dt() 1464 pdata->sample_res, pdata->extcon, in rk817_charge_parse_dt()
|
| H A D | rk816_battery.c | 2189 if (di->pdata->sample_res == 20) { in rk816_bat_select_sample_res() 2192 } else if (di->pdata->sample_res > 20) { in rk816_bat_select_sample_res() 2194 di->res_fac = di->pdata->sample_res * 10 / 20; in rk816_bat_select_sample_res() 2197 di->res_fac = 20 * 10 / di->pdata->sample_res; in rk816_bat_select_sample_res() 2230 if (di->pdata->sample_res < 20) { in rk816_bat_decode_chrg_current() 2235 } else if (di->pdata->sample_res > 20) { in rk816_bat_decode_chrg_current() 2294 if (di->pdata->sample_res < 20) { in rk816_bat_finish_ma() 2300 } else if (di->pdata->sample_res > 20) { in rk816_bat_finish_ma() 2870 di->pdata->sample_res, in rk816_bat_debug_info() 4665 pdata->sample_res = DEFAULT_SAMPLE_RES; in rk816_bat_parse_dt() [all …]
|
| H A D | rk818_battery.c | 1435 if (di->pdata->sample_res == SAMPLE_RES_10MR) in rk818_bat_parse_finish_ma() 2004 di->pdata->sample_res, di->usb_in, di->ac_in, in rk818_bat_debug_info() 3126 di->res_div = (di->pdata->sample_res == SAMPLE_RES_20MR) ? in rk818_bat_init_info() 3231 pdata->sample_res = DEFAULT_SAMPLE_RES; in rk818_bat_parse_dt() 3287 ret = of_property_read_u32(np, "sample_res", &pdata->sample_res); in rk818_bat_parse_dt() 3382 pdata->sample_res, pdata->ntc_size, pdata->ntc_degree_from, in rk818_bat_parse_dt()
|
| H A D | rk817_battery.c | 476 u32 sample_res; member 1468 battery->res_div = (battery->pdata->sample_res == SAMPLE_RES_20MR) ? in rk817_bat_init_info() 1795 pdata->sample_res = DEFAULT_SAMPLE_RES; in rk817_bat_parse_dt() 1834 ret = of_property_read_u32(np, "sample_res", &pdata->sample_res); in rk817_bat_parse_dt() 1934 pdata->sample_res, in rk817_bat_parse_dt()
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | rk3128-evb.dts | 302 sample_res = <20>;
|
| H A D | .rk3128-evb.dtb.pre.tmp | |
| H A D | rk3326-evb.dts | 352 sample_res = <10>;
|
| H A D | px30-evb.dts | 367 sample_res = <10>;
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3562-dictpen-test3-v20.dts | 868 sample_res = <26>; 884 sample_res = <26>;
|
| H A D | rk3368-sheep.dts | 458 sample_res = <10>;
|
| H A D | rk3326-evb-lp3-v10-robot-linux.dts | 423 sample_res = <10>;
|
| H A D | rk3326-evb-lp3-v10-robot-no-gpu-linux.dts | 418 sample_res = <10>;
|
| H A D | rk3326-863-lp3-v10.dtsi | 570 sample_res = <10>;
|
| H A D | rk3368-xikp.dtsi | 576 sample_res = <20>;
|
| H A D | rk3326-evb-lp3-v10.dtsi | 621 sample_res = <10>;
|
| H A D | rk3368-p9.dtsi | 547 sample_res = <20>;
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | rk817.txt | 336 sample_res = <10>;
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rk3128-fireprime.dts | 363 sample_res = <20>;
|
| H A D | rk3288-th804.dtsi | 444 sample_res = <20>;
|