Lines Matching refs:port_cmd
8772 struct fw_port_cmd port_cmd; in t4_update_port_info() local
8775 memset(&port_cmd, 0, sizeof(port_cmd)); in t4_update_port_info()
8776 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4_update_port_info()
8779 port_cmd.action_to_len16 = cpu_to_be32( in t4_update_port_info()
8783 FW_LEN16(port_cmd)); in t4_update_port_info()
8785 &port_cmd, sizeof(port_cmd), &port_cmd); in t4_update_port_info()
8789 t4_handle_get_port_info(pi, (__be64 *)&port_cmd); in t4_update_port_info()
8809 struct fw_port_cmd port_cmd; in t4_get_link_params() local
8813 memset(&port_cmd, 0, sizeof(port_cmd)); in t4_get_link_params()
8814 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4_get_link_params()
8820 port_cmd.action_to_len16 = cpu_to_be32( in t4_get_link_params()
8822 FW_LEN16(port_cmd)); in t4_get_link_params()
8824 &port_cmd, sizeof(port_cmd), &port_cmd); in t4_get_link_params()
8829 u32 lstatus = be32_to_cpu(port_cmd.u.info.lstatus_to_modtype); in t4_get_link_params()
8833 mtu = be16_to_cpu(port_cmd.u.info.mtu); in t4_get_link_params()
8836 be32_to_cpu(port_cmd.u.info32.lstatus32_to_cbllen32); in t4_get_link_params()
8839 linkattr = be32_to_cpu(port_cmd.u.info32.linkattr32); in t4_get_link_params()
8841 be32_to_cpu(port_cmd.u.info32.auxlinfo32_mtu32)); in t4_get_link_params()