Lines Matching refs:msb
205 int lsb, msb; in sch56xx_read_virtual_reg16() local
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
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()