| 122 | } |
| 123 | |
| 124 | void |
| 125 | ionic_dev_cmd_port_state(struct ionic_dev *idev, uint8_t state) |
| 126 | { |
| 127 | union ionic_dev_cmd cmd = { |
| 128 | .port_setattr.opcode = IONIC_CMD_PORT_SETATTR, |
| 129 | .port_setattr.index = 0, |
| 130 | .port_setattr.attr = IONIC_PORT_ATTR_STATE, |
| 131 | .port_setattr.state = state, |
| 132 | }; |
| 133 | |
| 134 | ionic_dev_cmd_go(idev, &cmd); |
| 135 | } |
| 136 | |
| 137 | void |
| 138 | ionic_dev_cmd_port_speed(struct ionic_dev *idev, uint32_t speed) |
nothing calls this directly
no test coverage detected