Lines Matching full:sof
47 * Macro's for making redundant copies of EOF and SOF.
57 * SOF / EOF bytes.
81 #define FC_SOF_CLASS_MASK 0x06 /* mask for class of service in SOF */
84 * Define classes in terms of the SOF code (initial).
95 * Determine whether SOF code indicates the need for a BLS ACK.
97 static inline int fc_sof_needs_ack(enum fc_sof sof) in fc_sof_needs_ack() argument
99 return (~sof) & 0x02; /* true for class 1, 2, 4, 6, or F */ in fc_sof_needs_ack()
103 * Given an fc_class, return the normal (non-initial) SOF value.
111 * Compute class from SOF value.
113 static inline enum fc_class fc_sof_class(enum fc_sof sof) in fc_sof_class() argument
115 return (sof & 0x7) | FC_SOF_F; in fc_sof_class()
119 * Determine whether SOF is for the initial frame of a sequence.
121 static inline int fc_sof_is_init(enum fc_sof sof) in fc_sof_is_init() argument
123 return sof < 0x30; in fc_sof_is_init()