Lines Matching refs:hdr
105 static inline enum i1480u_pkt_type untd_hdr_type(const struct untd_hdr *hdr) in untd_hdr_type() argument
107 return hdr->type & 0x03; in untd_hdr_type()
110 static inline int untd_hdr_rx_tx(const struct untd_hdr *hdr) in untd_hdr_rx_tx() argument
112 return (hdr->type >> 2) & 0x01; in untd_hdr_rx_tx()
115 static inline void untd_hdr_set_type(struct untd_hdr *hdr, enum i1480u_pkt_type type) in untd_hdr_set_type() argument
117 hdr->type = (hdr->type & ~0x03) | type; in untd_hdr_set_type()
120 static inline void untd_hdr_set_rx_tx(struct untd_hdr *hdr, int rx_tx) in untd_hdr_set_rx_tx() argument
122 hdr->type = (hdr->type & ~0x04) | (rx_tx << 2); in untd_hdr_set_rx_tx()
137 struct untd_hdr hdr; member
150 struct untd_hdr hdr; member
162 struct untd_hdr hdr; member