Searched refs:csigr_bits (Results 1 – 2 of 2) sorted by relevance
292 static inline int mite_csigr_version(u32 csigr_bits) in mite_csigr_version() argument294 return csigr_bits & 0xf; in mite_csigr_version()297 static inline int mite_csigr_type(u32 csigr_bits) in mite_csigr_type() argument299 return (csigr_bits >> 4) & 0xf; in mite_csigr_type()302 static inline int mite_csigr_mmode(u32 csigr_bits) in mite_csigr_mmode() argument304 return (csigr_bits >> 8) & 0x3; in mite_csigr_mmode()307 static inline int mite_csigr_imode(u32 csigr_bits) in mite_csigr_imode() argument309 return (csigr_bits >> 12) & 0x3; in mite_csigr_imode()312 static inline int mite_csigr_dmac(u32 csigr_bits) in mite_csigr_dmac() argument314 return (csigr_bits >> 16) & 0xf; in mite_csigr_dmac()[all …]
97 static void dump_chip_signature(u32 csigr_bits) in dump_chip_signature() argument101 mite_csigr_version(csigr_bits), mite_csigr_type(csigr_bits), in dump_chip_signature()102 mite_csigr_mmode(csigr_bits), mite_csigr_imode(csigr_bits)); in dump_chip_signature()105 mite_csigr_dmac(csigr_bits), mite_csigr_wpdep(csigr_bits), in dump_chip_signature()106 mite_csigr_wins(csigr_bits), mite_csigr_iowins(csigr_bits)); in dump_chip_signature()122 u32 csigr_bits; in mite_setup2() local180 csigr_bits = readl(mite->mite_io_addr + MITE_CSIGR); in mite_setup2()181 mite->num_channels = mite_csigr_dmac(csigr_bits); in mite_setup2()188 dump_chip_signature(csigr_bits); in mite_setup2()