Home
last modified time | relevance | path

Searched refs:current_max (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Disp1704_charger.c58 unsigned current_max; member
242 isp->current_max = 1800; in isp1704_charger_work()
245 isp->current_max = 500; in isp1704_charger_work()
258 if (isp->current_max > 500) in isp1704_charger_work()
259 isp->current_max = 500; in isp1704_charger_work()
261 if (isp->current_max > 100) in isp1704_charger_work()
268 isp->current_max = 0; in isp1704_charger_work()
318 val->intval = isp->current_max; in isp1704_charger_get_property()
H A Dcros_usbpd-charger.c229 port->psy_current_max = resp.meas.current_max; in cros_usbpd_charger_get_power_info()
291 resp.meas.voltage_now, resp.meas.current_max, in cros_usbpd_charger_get_power_info()
H A Drk818_battery.c179 int current_max; member
1060 val->intval = di->current_max; in rk818_battery_get_property()
2642 if (di->current_avg > di->current_max) in rk818_bat_update_info()
2643 di->current_max = di->current_avg; in rk818_bat_update_info()
H A Drk816_battery.c283 int current_max; member
1266 val->intval = di->current_max; in rk816_bat_ac_get_property()
1299 val->intval = di->current_max; in rk816_bat_usb_get_property()
3523 if (di->current_avg > di->current_max) in rk816_bat_update_info()
3524 di->current_max = di->current_avg; in rk816_bat_update_info()
/OK3568_Linux_fs/kernel/net/ethtool/
H A Dcommon.c344 u32 dev_size, current_max = 0; in ethtool_get_max_rxfh_channel() local
364 current_max = max(current_max, indir[dev_size]); in ethtool_get_max_rxfh_channel()
366 *max = current_max; in ethtool_get_max_rxfh_channel()
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Disl6423.h27 enum isl6423_current current_max; member
H A Disl6423.c191 switch (config->current_max) { in isl6423_set_current()
/OK3568_Linux_fs/kernel/drivers/platform/chrome/
H A Dcros_usbpd_logger.c126 meas->voltage_max, meas->current_max); in cros_usbpd_print_log_entry()
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A Dintel_pstate.c833 int *current_max) in intel_pstate_get_hwp_max() argument
840 *current_max = HWP_GUARANTEED_PERF(cap); in intel_pstate_get_hwp_max()
842 *current_max = HWP_HIGHEST_PERF(cap); in intel_pstate_get_hwp_max()
1732 unsigned int phy_max, current_max; in intel_pstate_get_cpu_pstates() local
1734 intel_pstate_get_hwp_max(cpu, &phy_max, &current_max); in intel_pstate_get_cpu_pstates()
/OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb/
H A Dpctv452e.c88 .current_max = SEC_CURRENT_515m,
/OK3568_Linux_fs/kernel/drivers/media/pci/ttpci/
H A Dbudget.c471 .current_max = SEC_CURRENT_515m,
/OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb-v2/
H A Danysee.c362 .current_max = SEC_CURRENT_800m,
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c756 u8 current_max = 0; in qed_iov_enable_vf_access_msix() local
770 current_max = max_t(u8, current_max, p_vf->num_sbs); in qed_iov_enable_vf_access_msix()
774 if (num_sbs > current_max) in qed_iov_enable_vf_access_msix()
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-class-power64 What: /sys/class/power_supply/<supply_name>/current_max
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dcros_ec_commands.h4981 uint16_t current_max; member