Home
last modified time | relevance | path

Searched refs:sample_res (Results 1 – 25 of 40) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/staging/most/sound/
H A Dsound.c424 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 Dfg_rk816.c146 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 Dfg_rk818.c204 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 Drk818_battery.h126 u32 sample_res; member
H A Drk816_battery.h205 u32 sample_res; member
H A Drk818_charger.c127 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 Drk817_charger.c282 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 Drk816_battery.c2189 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 Drk818_battery.c1435 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 Drk817_battery.c476 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 Drk3128-evb.dts302 sample_res = <20>;
H A D.rk3128-evb.dtb.pre.tmp
H A Drk3326-evb.dts352 sample_res = <10>;
H A Dpx30-evb.dts367 sample_res = <10>;
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3562-dictpen-test3-v20.dts868 sample_res = <26>;
884 sample_res = <26>;
H A Drk3368-sheep.dts458 sample_res = <10>;
H A Drk3326-evb-lp3-v10-robot-linux.dts423 sample_res = <10>;
H A Drk3326-evb-lp3-v10-robot-no-gpu-linux.dts418 sample_res = <10>;
H A Drk3326-863-lp3-v10.dtsi570 sample_res = <10>;
H A Drk3368-xikp.dtsi576 sample_res = <20>;
H A Drk3326-evb-lp3-v10.dtsi621 sample_res = <10>;
H A Drk3368-p9.dtsi547 sample_res = <20>;
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Drk817.txt336 sample_res = <10>;
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3128-fireprime.dts363 sample_res = <20>;
H A Drk3288-th804.dtsi444 sample_res = <20>;

12