Home
last modified time | relevance | path

Searched refs:max_ma (Results 1 – 3 of 3) sorted by relevance

/drivers/leds/flash/
Dleds-rt8515.c238 u32 max_ma; in rt8515_determine_max_intensity() local
250 max_ma = RT8515_MAX_IOUT_MA; in rt8515_determine_max_intensity()
259 max_ma = (5500 * 1000) / res; in rt8515_determine_max_intensity()
264 max_intensity = (ua / 10) / max_ma; in rt8515_determine_max_intensity()
268 max_ma, (ua / 1000), max_intensity); in rt8515_determine_max_intensity()
272 max_intensity, hw_max, max_ma); in rt8515_determine_max_intensity()
/drivers/usb/typec/tcpm/
Dtcpm.c1034 static int tcpm_set_current_limit(struct tcpm_port *port, u32 max_ma, u32 mv) in tcpm_set_current_limit() argument
1038 tcpm_log(port, "Setting voltage/current limit %u mV %u mA", mv, max_ma); in tcpm_set_current_limit()
1041 port->current_limit = max_ma; in tcpm_set_current_limit()
1045 ret = port->tcpc->set_current_limit(port->tcpc, max_ma, mv); in tcpm_set_current_limit()
3343 unsigned int max_ma, max_mw; in tcpm_pd_build_request() local
3383 max_ma = ma; in tcpm_pd_build_request()
3392 max_ma = pdo_max_current(matching_snk_pdo); in tcpm_pd_build_request()
3407 *rdo = RDO_FIXED(src_pdo_index + 1, ma, max_ma, flags); in tcpm_pd_build_request()
3449 unsigned int out_mv, op_ma, op_mw, max_mv, max_ma, flags; in tcpm_pd_build_pps_request() local
3457 max_ma = port->pps_data.req_max_curr; in tcpm_pd_build_pps_request()
[all …]
Dwcove.c325 static int wcove_set_current_limit(struct tcpc_dev *tcpc, u32 max_ma, u32 mv) in wcove_set_current_limit() argument