Lines Matching refs:port_cmd
502 struct fw_port_cmd port_cmd, port_rpl; in t4vf_port_init() local
550 memset(&port_cmd, 0, sizeof(port_cmd)); in t4vf_port_init()
551 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_port_init()
555 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_port_init()
559 FW_LEN16(port_cmd)); in t4vf_port_init()
560 ret = t4vf_wr_mbox(adapter, &port_cmd, sizeof(port_cmd), &port_rpl); in t4vf_port_init()
2066 struct fw_port_cmd port_cmd; in t4vf_update_port_info() local
2069 memset(&port_cmd, 0, sizeof(port_cmd)); in t4vf_update_port_info()
2070 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_update_port_info()
2073 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_update_port_info()
2077 FW_LEN16(port_cmd)); in t4vf_update_port_info()
2078 ret = t4vf_wr_mbox(pi->adapter, &port_cmd, sizeof(port_cmd), in t4vf_update_port_info()
2079 &port_cmd); in t4vf_update_port_info()
2082 t4vf_handle_get_port_info(pi, &port_cmd); in t4vf_update_port_info()
2103 const struct fw_port_cmd *port_cmd = in t4vf_handle_fw_rpl() local
2106 be32_to_cpu(port_cmd->action_to_len16)); in t4vf_handle_fw_rpl()
2118 be32_to_cpu(port_cmd->op_to_portid)); in t4vf_handle_fw_rpl()
2124 t4vf_handle_get_port_info(pi, port_cmd); in t4vf_handle_fw_rpl()