Lines Matching refs:hdr
741 void i2400m_brh_set_opcode(struct i2400m_bootrom_header *hdr, in i2400m_brh_set_opcode() argument
744 hdr->command = cpu_to_le32( in i2400m_brh_set_opcode()
745 (le32_to_cpu(hdr->command) & ~I2400M_BRH_OPCODE_MASK) in i2400m_brh_set_opcode()
750 unsigned i2400m_brh_get_opcode(const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_opcode() argument
752 return le32_to_cpu(hdr->command) & I2400M_BRH_OPCODE_MASK; in i2400m_brh_get_opcode()
756 unsigned i2400m_brh_get_response(const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_response() argument
758 return (le32_to_cpu(hdr->command) & I2400M_BRH_RESPONSE_MASK) in i2400m_brh_get_response()
763 unsigned i2400m_brh_get_use_checksum(const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_use_checksum() argument
765 return le32_to_cpu(hdr->command) & I2400M_BRH_USE_CHECKSUM; in i2400m_brh_get_use_checksum()
770 const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_response_required() argument
772 return le32_to_cpu(hdr->command) & I2400M_BRH_RESPONSE_REQUIRED; in i2400m_brh_get_response_required()
776 unsigned i2400m_brh_get_direct_access(const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_direct_access() argument
778 return le32_to_cpu(hdr->command) & I2400M_BRH_DIRECT_ACCESS; in i2400m_brh_get_direct_access()
782 unsigned i2400m_brh_get_signature(const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_signature() argument
784 return (le32_to_cpu(hdr->command) & I2400M_BRH_SIGNATURE_MASK) in i2400m_brh_get_signature()