Lines Matching refs:port_cmd
500 struct fw_port_cmd port_cmd, port_rpl; in t4vf_port_init() local
548 memset(&port_cmd, 0, sizeof(port_cmd)); in t4vf_port_init()
549 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_port_init()
553 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_port_init()
557 FW_LEN16(port_cmd)); in t4vf_port_init()
558 ret = t4vf_wr_mbox(adapter, &port_cmd, sizeof(port_cmd), &port_rpl); in t4vf_port_init()
2069 struct fw_port_cmd port_cmd; in t4vf_update_port_info() local
2072 memset(&port_cmd, 0, sizeof(port_cmd)); in t4vf_update_port_info()
2073 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_update_port_info()
2076 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_update_port_info()
2080 FW_LEN16(port_cmd)); in t4vf_update_port_info()
2081 ret = t4vf_wr_mbox(pi->adapter, &port_cmd, sizeof(port_cmd), in t4vf_update_port_info()
2082 &port_cmd); in t4vf_update_port_info()
2085 t4vf_handle_get_port_info(pi, &port_cmd); in t4vf_update_port_info()
2106 const struct fw_port_cmd *port_cmd = in t4vf_handle_fw_rpl() local
2109 be32_to_cpu(port_cmd->action_to_len16)); in t4vf_handle_fw_rpl()
2121 be32_to_cpu(port_cmd->op_to_portid)); in t4vf_handle_fw_rpl()
2127 t4vf_handle_get_port_info(pi, port_cmd); in t4vf_handle_fw_rpl()