Lines Matching refs:cmd
839 __le64 cmd; member
881 u64 cmd; in encode_txq_desc_cmd() local
883 cmd = (opcode & IONIC_TXQ_DESC_OPCODE_MASK) << IONIC_TXQ_DESC_OPCODE_SHIFT; in encode_txq_desc_cmd()
884 cmd |= (flags & IONIC_TXQ_DESC_FLAGS_MASK) << IONIC_TXQ_DESC_FLAGS_SHIFT; in encode_txq_desc_cmd()
885 cmd |= (nsge & IONIC_TXQ_DESC_NSGE_MASK) << IONIC_TXQ_DESC_NSGE_SHIFT; in encode_txq_desc_cmd()
886 cmd |= (addr & IONIC_TXQ_DESC_ADDR_MASK) << IONIC_TXQ_DESC_ADDR_SHIFT; in encode_txq_desc_cmd()
888 return cmd; in encode_txq_desc_cmd()
891 static inline void decode_txq_desc_cmd(u64 cmd, u8 *opcode, u8 *flags, in decode_txq_desc_cmd() argument
894 *opcode = (cmd >> IONIC_TXQ_DESC_OPCODE_SHIFT) & IONIC_TXQ_DESC_OPCODE_MASK; in decode_txq_desc_cmd()
895 *flags = (cmd >> IONIC_TXQ_DESC_FLAGS_SHIFT) & IONIC_TXQ_DESC_FLAGS_MASK; in decode_txq_desc_cmd()
896 *nsge = (cmd >> IONIC_TXQ_DESC_NSGE_SHIFT) & IONIC_TXQ_DESC_NSGE_MASK; in decode_txq_desc_cmd()
897 *addr = (cmd >> IONIC_TXQ_DESC_ADDR_SHIFT) & IONIC_TXQ_DESC_ADDR_MASK; in decode_txq_desc_cmd()
2892 struct ionic_admin_cmd cmd; member
3023 union ionic_dev_cmd cmd; member
3045 struct ionic_admin_cmd cmd; member