Lines Matching full:msb
205 int lsb, msb; in sch56xx_read_virtual_reg16() local
207 /* Read LSB first, this will cause the matching MSB to be latched */ in sch56xx_read_virtual_reg16()
212 msb = sch56xx_read_virtual_reg(addr, reg + 1); in sch56xx_read_virtual_reg16()
213 if (msb < 0) in sch56xx_read_virtual_reg16()
214 return msb; in sch56xx_read_virtual_reg16()
216 return lsb | (msb << 8); in sch56xx_read_virtual_reg16()
223 int msb, lsn; in sch56xx_read_virtual_reg12() local
225 /* Read MSB first, this will cause the matching LSN to be latched */ in sch56xx_read_virtual_reg12()
226 msb = sch56xx_read_virtual_reg(addr, msb_reg); in sch56xx_read_virtual_reg12()
227 if (msb < 0) in sch56xx_read_virtual_reg12()
228 return msb; in sch56xx_read_virtual_reg12()
235 return (msb << 4) | (lsn >> 4); in sch56xx_read_virtual_reg12()
237 return (msb << 4) | (lsn & 0x0f); in sch56xx_read_virtual_reg12()