Searched refs:max_ma (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/leds/flash/ |
D | leds-rt8515.c | 238 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()
|
/linux-6.6.21/include/linux/usb/ |
D | pd.h | 263 #define PDO_VAR(min_mv, max_mv, max_ma) \ argument 265 PDO_VAR_MAX_VOLT(max_mv) | PDO_VAR_MAX_CURR(max_ma)) 290 #define PDO_PPS_APDO(min_mv, max_mv, max_ma) \ argument 293 PDO_PPS_APDO_MAX_CURR(max_ma)) 367 #define RDO_FIXED(idx, op_ma, max_ma, flags) \ argument 369 PDO_FIXED_OP_CURR(op_ma) | PDO_FIXED_MAX_CURR(max_ma))
|
D | tcpm.h | 138 int (*set_current_limit)(struct tcpc_dev *dev, u32 max_ma, u32 mv);
|
/linux-6.6.21/include/dt-bindings/usb/ |
D | pd.h | 58 #define PDO_VAR(min_mv, max_mv, max_ma) \ argument 60 PDO_VAR_MAX_VOLT(max_mv) | PDO_VAR_MAX_CURR(max_ma)) 83 #define PDO_PPS_APDO(min_mv, max_mv, max_ma) \ argument 86 PDO_PPS_APDO_MAX_CURR(max_ma))
|
/linux-6.6.21/drivers/usb/typec/tcpm/ |
D | tcpm.c | 1022 static int tcpm_set_current_limit(struct tcpm_port *port, u32 max_ma, u32 mv) in tcpm_set_current_limit() argument 1026 tcpm_log(port, "Setting voltage/current limit %u mV %u mA", mv, max_ma); in tcpm_set_current_limit() 1029 port->current_limit = max_ma; in tcpm_set_current_limit() 1033 ret = port->tcpc->set_current_limit(port->tcpc, max_ma, mv); in tcpm_set_current_limit() 3317 unsigned int max_ma, max_mw; in tcpm_pd_build_request() local 3357 max_ma = ma; in tcpm_pd_build_request() 3366 max_ma = pdo_max_current(matching_snk_pdo); in tcpm_pd_build_request() 3381 *rdo = RDO_FIXED(src_pdo_index + 1, ma, max_ma, flags); in tcpm_pd_build_request() 3423 unsigned int out_mv, op_ma, op_mw, max_mv, max_ma, flags; in tcpm_pd_build_pps_request() local 3431 max_ma = port->pps_data.req_max_curr; in tcpm_pd_build_pps_request() [all …]
|
D | wcove.c | 325 static int wcove_set_current_limit(struct tcpc_dev *tcpc, u32 max_ma, u32 mv) in wcove_set_current_limit() argument
|