out_mv 2430 drivers/usb/typec/tcpm/tcpm.c unsigned int out_mv, op_ma, op_mw, max_mv, max_ma, flags; out_mv 2450 drivers/usb/typec/tcpm/tcpm.c out_mv = port->pps_data.out_volt; out_mv 2460 drivers/usb/typec/tcpm/tcpm.c op_mw = (op_ma * out_mv) / 1000; out_mv 2468 drivers/usb/typec/tcpm/tcpm.c op_ma = (port->operating_snk_mw * 1000) / out_mv; out_mv 2469 drivers/usb/typec/tcpm/tcpm.c if ((port->operating_snk_mw * 1000) % out_mv) out_mv 2475 drivers/usb/typec/tcpm/tcpm.c out_mv = (port->operating_snk_mw * 1000) / op_ma; out_mv 2477 drivers/usb/typec/tcpm/tcpm.c ++out_mv; out_mv 2478 drivers/usb/typec/tcpm/tcpm.c out_mv += RDO_PROG_VOLT_MV_STEP - out_mv 2479 drivers/usb/typec/tcpm/tcpm.c (out_mv % RDO_PROG_VOLT_MV_STEP); out_mv 2481 drivers/usb/typec/tcpm/tcpm.c if (out_mv > max_mv) { out_mv 2493 drivers/usb/typec/tcpm/tcpm.c *rdo = RDO_PROG(src_pdo_index + 1, out_mv, op_ma, flags); out_mv 2496 drivers/usb/typec/tcpm/tcpm.c src_pdo_index, out_mv, op_ma); out_mv 2499 drivers/usb/typec/tcpm/tcpm.c port->pps_data.out_volt = out_mv; out_mv 391 include/linux/usb/pd.h #define RDO_PROG(idx, out_mv, op_ma, flags) \ out_mv 393 include/linux/usb/pd.h PDO_PROG_OUT_VOLT(out_mv) | PDO_PROG_OP_CURR(op_ma))