struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec;
        struct ec_params_cec_set params = {
                .cmd = CEC_CMD_LOGICAL_ADDRESS,
+               .port = port->port_num,
                .val = logical_addr,
        };
        int ret;
        struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec;
        struct ec_params_cec_set params = {
                .cmd = CEC_CMD_ENABLE,
+               .port = port->port_num,
                .val = enable,
        };
        int ret;
 
 /**
  * struct ec_params_cec_set - CEC parameters set
  * @cmd: parameter type, can be CEC_CMD_ENABLE or CEC_CMD_LOGICAL_ADDRESS
+ * @port: CEC port to set the parameter on
  * @val: in case cmd is CEC_CMD_ENABLE, this field can be 0 to disable CEC
  *     or 1 to enable CEC functionality, in case cmd is
  *     CEC_CMD_LOGICAL_ADDRESS, this field encodes the requested logical
  *     address between 0 and 15 or 0xff to unregister
  */
 struct ec_params_cec_set {
-       uint8_t cmd; /* enum cec_command */
+       uint8_t cmd : 4; /* enum cec_command */
+       uint8_t port : 4;
        uint8_t val;
 } __ec_align1;
 
 /**
  * struct ec_params_cec_get - CEC parameters get
  * @cmd: parameter type, can be CEC_CMD_ENABLE or CEC_CMD_LOGICAL_ADDRESS
+ * @port: CEC port to get the parameter on
  */
 struct ec_params_cec_get {
-       uint8_t cmd; /* enum cec_command */
+       uint8_t cmd : 4; /* enum cec_command */
+       uint8_t port : 4;
 } __ec_align1;
 
 /**