Lines Matching refs:tw_initconnect
980 TW_Initconnect *tw_initconnect; in twl_initconnection() local
988 tw_initconnect = (TW_Initconnect *)&full_command_packet->command.oldcommand; in twl_initconnection()
989 tw_initconnect->opcode__reserved = TW_OPRES_IN(0, TW_OP_INIT_CONNECTION); in twl_initconnection()
990 tw_initconnect->request_id = request_id; in twl_initconnection()
991 tw_initconnect->message_credits = cpu_to_le16(message_credits); in twl_initconnection()
992 tw_initconnect->features = set_features; in twl_initconnection()
995 tw_initconnect->features |= sizeof(dma_addr_t) > 4 ? 1 : 0; in twl_initconnection()
997 tw_initconnect->features = cpu_to_le32(tw_initconnect->features); in twl_initconnection()
1000 tw_initconnect->size = TW_INIT_COMMAND_PACKET_SIZE_EXTENDED; in twl_initconnection()
1001 tw_initconnect->fw_srl = cpu_to_le16(current_fw_srl); in twl_initconnection()
1002 tw_initconnect->fw_arch_id = cpu_to_le16(current_fw_arch_id); in twl_initconnection()
1003 tw_initconnect->fw_branch = cpu_to_le16(current_fw_branch); in twl_initconnection()
1004 tw_initconnect->fw_build = cpu_to_le16(current_fw_build); in twl_initconnection()
1006 tw_initconnect->size = TW_INIT_COMMAND_PACKET_SIZE; in twl_initconnection()
1016 *fw_on_ctlr_srl = le16_to_cpu(tw_initconnect->fw_srl); in twl_initconnection()
1017 *fw_on_ctlr_arch_id = le16_to_cpu(tw_initconnect->fw_arch_id); in twl_initconnection()
1018 *fw_on_ctlr_branch = le16_to_cpu(tw_initconnect->fw_branch); in twl_initconnection()
1019 *fw_on_ctlr_build = le16_to_cpu(tw_initconnect->fw_build); in twl_initconnection()
1020 *init_connect_result = le32_to_cpu(tw_initconnect->result); in twl_initconnection()