Home
last modified time | relevance | path

Searched refs:mm1 (Results 1 – 6 of 6) sorted by relevance

/drivers/media/i2c/
Dsaa717x.c91 unsigned char mm1[6]; in saa717x_write() local
96 mm1[0] = (reg >> 8) & 0xff; in saa717x_write()
97 mm1[1] = reg & 0xff; in saa717x_write()
100 mm1[4] = (value >> 16) & 0xff; in saa717x_write()
101 mm1[3] = (value >> 8) & 0xff; in saa717x_write()
102 mm1[2] = value & 0xff; in saa717x_write()
104 mm1[2] = value & 0xff; in saa717x_write()
107 msg.buf = mm1; in saa717x_write()
125 unsigned char mm1[2]; in saa717x_read() local
133 mm1[0] = (reg >> 8) & 0xff; in saa717x_read()
[all …]
/drivers/video/fbdev/via/
Dvia_i2c.c110 u8 mm1[] = {0x00}; in viafb_i2c_readbyte() local
119 mm1[0] = index; in viafb_i2c_readbyte()
121 msgs[0].buf = mm1; msgs[1].buf = pdata; in viafb_i2c_readbyte()
155 u8 mm1[] = {0x00}; in viafb_i2c_readbytes() local
163 mm1[0] = index; in viafb_i2c_readbytes()
165 msgs[0].buf = mm1; msgs[1].buf = buff; in viafb_i2c_readbytes()
/drivers/media/pci/ttpci/
Dbudget-av.c80 u8 mm1[] = { 0x00 }; in i2c_readreg() local
87 mm1[0] = reg; in i2c_readreg()
90 msgs[0].buf = mm1; in i2c_readreg()
100 u8 mm1[] = { reg }; in i2c_readregs() local
102 {.addr = id / 2,.flags = 0,.buf = mm1,.len = 1}, in i2c_readregs()
/drivers/media/dvb-frontends/
Ddrxk_hard.c272 u8 adr = state->demod_address, mm1[4], mm2[2], len; in read16_flags() local
278 mm1[0] = (((reg << 1) & 0xFF) | 0x01); in read16_flags()
279 mm1[1] = ((reg >> 16) & 0xFF); in read16_flags()
280 mm1[2] = ((reg >> 24) & 0xFF) | flags; in read16_flags()
281 mm1[3] = ((reg >> 7) & 0xFF); in read16_flags()
284 mm1[0] = ((reg << 1) & 0xFF); in read16_flags()
285 mm1[1] = (((reg >> 16) & 0x0F) | ((reg >> 18) & 0xF0)); in read16_flags()
289 status = i2c_read(state, adr, mm1, len, mm2, 2); in read16_flags()
306 u8 adr = state->demod_address, mm1[4], mm2[4], len; in read32_flags() local
312 mm1[0] = (((reg << 1) & 0xFF) | 0x01); in read32_flags()
[all …]
Ddrxd_hard.c228 u8 mm1[4] = { reg & 0xff, (reg >> 16) & 0xff, in Read16() local
232 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 2) < 0) in Read16()
242 u8 mm1[4] = { reg & 0xff, (reg >> 16) & 0xff, in Read32() local
247 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 4) < 0) in Read32()
/drivers/staging/media/av7110/
Dav7110.c1423 u8 mm1[] = {0x00}; in i2c_readreg() local
1430 mm1[0] = reg; in i2c_readreg()
1432 msgs[0].buf = mm1; msgs[1].buf = mm2; in i2c_readreg()