Home
last modified time | relevance | path

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

/linux/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.c219 port->psy_current_max = resp.meas.current_max; in cros_usbpd_charger_get_power_info()
281 resp.meas.voltage_now, resp.meas.current_max, in cros_usbpd_charger_get_power_info()
/linux/net/ethtool/
H A Dcommon.c714 u32 dev_size, current_max = 0; in ethtool_get_max_rxfh_channel()
722 current_max = ethtool_get_max_rss_ctx_channel(dev); in ethtool_get_max_rxfh_channel()
725 return current_max; in ethtool_get_max_rxfh_channel()
729 return current_max; in ethtool_get_max_rxfh_channel()
732 return current_max; in ethtool_get_max_rxfh_channel()
742 current_max = U32_MAX; in ethtool_get_max_rxfh_channel()
747 current_max = max(current_max, rxfh.indir[dev_size]); in ethtool_check_max_channel()
751 return current_max; in ethtool_check_max_channel()
706 u32 dev_size, current_max = 0; ethtool_get_max_rxfh_channel() local
/linux/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()
/linux/tools/testing/selftests/power_supply/
H A Dtest_power_supply_properties.sh101 test_sysfs_prop_optional current_max "uA"
/linux/drivers/media/pci/ttpci/
H A Dbudget.c481 .current_max = SEC_CURRENT_515m,
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c758 u8 current_max = 0; in qed_iov_enable_vf_access_msix() local
772 current_max = max_t(u8, current_max, p_vf->num_sbs); in qed_iov_enable_vf_access_msix()
776 if (num_sbs > current_max) in qed_iov_enable_vf_access_msix()