• Home
  • Raw
  • Download

Lines Matching refs:hdr

529 void i2400m_brh_set_opcode(struct i2400m_bootrom_header *hdr,  in i2400m_brh_set_opcode()  argument
532 hdr->command = cpu_to_le32( in i2400m_brh_set_opcode()
533 (le32_to_cpu(hdr->command) & ~I2400M_BRH_OPCODE_MASK) in i2400m_brh_set_opcode()
538 unsigned i2400m_brh_get_opcode(const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_opcode() argument
540 return le32_to_cpu(hdr->command) & I2400M_BRH_OPCODE_MASK; in i2400m_brh_get_opcode()
544 unsigned i2400m_brh_get_response(const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_response() argument
546 return (le32_to_cpu(hdr->command) & I2400M_BRH_RESPONSE_MASK) in i2400m_brh_get_response()
551 unsigned i2400m_brh_get_use_checksum(const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_use_checksum() argument
553 return le32_to_cpu(hdr->command) & I2400M_BRH_USE_CHECKSUM; in i2400m_brh_get_use_checksum()
558 const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_response_required() argument
560 return le32_to_cpu(hdr->command) & I2400M_BRH_RESPONSE_REQUIRED; in i2400m_brh_get_response_required()
564 unsigned i2400m_brh_get_direct_access(const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_direct_access() argument
566 return le32_to_cpu(hdr->command) & I2400M_BRH_DIRECT_ACCESS; in i2400m_brh_get_direct_access()
570 unsigned i2400m_brh_get_signature(const struct i2400m_bootrom_header *hdr) in i2400m_brh_get_signature() argument
572 return (le32_to_cpu(hdr->command) & I2400M_BRH_SIGNATURE_MASK) in i2400m_brh_get_signature()