Lines Matching refs:port_cmd
8754 struct fw_port_cmd port_cmd; in t4_update_port_info() local
8757 memset(&port_cmd, 0, sizeof(port_cmd)); in t4_update_port_info()
8758 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4_update_port_info()
8761 port_cmd.action_to_len16 = cpu_to_be32( in t4_update_port_info()
8765 FW_LEN16(port_cmd)); in t4_update_port_info()
8767 &port_cmd, sizeof(port_cmd), &port_cmd); in t4_update_port_info()
8771 t4_handle_get_port_info(pi, (__be64 *)&port_cmd); in t4_update_port_info()
8791 struct fw_port_cmd port_cmd; in t4_get_link_params() local
8795 memset(&port_cmd, 0, sizeof(port_cmd)); in t4_get_link_params()
8796 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4_get_link_params()
8802 port_cmd.action_to_len16 = cpu_to_be32( in t4_get_link_params()
8804 FW_LEN16(port_cmd)); in t4_get_link_params()
8806 &port_cmd, sizeof(port_cmd), &port_cmd); in t4_get_link_params()
8811 u32 lstatus = be32_to_cpu(port_cmd.u.info.lstatus_to_modtype); in t4_get_link_params()
8815 mtu = be16_to_cpu(port_cmd.u.info.mtu); in t4_get_link_params()
8818 be32_to_cpu(port_cmd.u.info32.lstatus32_to_cbllen32); in t4_get_link_params()
8821 linkattr = be32_to_cpu(port_cmd.u.info32.linkattr32); in t4_get_link_params()
8823 be32_to_cpu(port_cmd.u.info32.auxlinfo32_mtu32)); in t4_get_link_params()