max_ma 734 drivers/usb/typec/tcpm/tcpm.c static int tcpm_set_current_limit(struct tcpm_port *port, u32 max_ma, u32 mv) max_ma 738 drivers/usb/typec/tcpm/tcpm.c tcpm_log(port, "Setting voltage/current limit %u mV %u mA", mv, max_ma); max_ma 741 drivers/usb/typec/tcpm/tcpm.c port->current_limit = max_ma; max_ma 744 drivers/usb/typec/tcpm/tcpm.c ret = port->tcpc->set_current_limit(port->tcpc, max_ma, mv); max_ma 2330 drivers/usb/typec/tcpm/tcpm.c unsigned int max_ma, max_mw; max_ma 2370 drivers/usb/typec/tcpm/tcpm.c max_ma = ma; max_ma 2379 drivers/usb/typec/tcpm/tcpm.c max_ma = pdo_max_current(matching_snk_pdo); max_ma 2394 drivers/usb/typec/tcpm/tcpm.c *rdo = RDO_FIXED(src_pdo_index + 1, ma, max_ma, flags); max_ma 2430 drivers/usb/typec/tcpm/tcpm.c unsigned int out_mv, op_ma, op_mw, max_mv, max_ma, flags; max_ma 2449 drivers/usb/typec/tcpm/tcpm.c max_ma = port->pps_data.max_curr; max_ma 2473 drivers/usb/typec/tcpm/tcpm.c if (op_ma > max_ma) { max_ma 2474 drivers/usb/typec/tcpm/tcpm.c op_ma = max_ma; max_ma 325 drivers/usb/typec/tcpm/wcove.c static int wcove_set_current_limit(struct tcpc_dev *tcpc, u32 max_ma, u32 mv) max_ma 58 include/dt-bindings/usb/pd.h #define PDO_VAR(min_mv, max_mv, max_ma) \ max_ma 60 include/dt-bindings/usb/pd.h PDO_VAR_MAX_VOLT(max_mv) | PDO_VAR_MAX_CURR(max_ma)) max_ma 83 include/dt-bindings/usb/pd.h #define PDO_PPS_APDO(min_mv, max_mv, max_ma) \ max_ma 86 include/dt-bindings/usb/pd.h PDO_PPS_APDO_MAX_CURR(max_ma)) max_ma 259 include/linux/usb/pd.h #define PDO_VAR(min_mv, max_mv, max_ma) \ max_ma 261 include/linux/usb/pd.h PDO_VAR_MAX_VOLT(max_mv) | PDO_VAR_MAX_CURR(max_ma)) max_ma 286 include/linux/usb/pd.h #define PDO_PPS_APDO(min_mv, max_mv, max_ma) \ max_ma 289 include/linux/usb/pd.h PDO_PPS_APDO_MAX_CURR(max_ma)) max_ma 363 include/linux/usb/pd.h #define RDO_FIXED(idx, op_ma, max_ma, flags) \ max_ma 365 include/linux/usb/pd.h PDO_FIXED_OP_CURR(op_ma) | PDO_FIXED_MAX_CURR(max_ma)) max_ma 137 include/linux/usb/tcpm.h int (*set_current_limit)(struct tcpc_dev *dev, u32 max_ma, u32 mv); max_ma 58 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_VAR(min_mv, max_mv, max_ma) \ max_ma 60 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h PDO_VAR_MAX_VOLT(max_mv) | PDO_VAR_MAX_CURR(max_ma)) max_ma 83 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_PPS_APDO(min_mv, max_mv, max_ma) \ max_ma 86 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h PDO_PPS_APDO_MAX_CURR(max_ma))