Home
last modified time | relevance | path

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

/drivers/media/i2c/
Dsaa717x.c104 unsigned char mm1[6]; in saa717x_write() local
109 mm1[0] = (reg >> 8) & 0xff; in saa717x_write()
110 mm1[1] = reg & 0xff; in saa717x_write()
113 mm1[4] = (value >> 16) & 0xff; in saa717x_write()
114 mm1[3] = (value >> 8) & 0xff; in saa717x_write()
115 mm1[2] = value & 0xff; in saa717x_write()
117 mm1[2] = value & 0xff; in saa717x_write()
120 msg.buf = mm1; in saa717x_write()
138 unsigned char mm1[2]; in saa717x_read() local
146 mm1[0] = (reg >> 8) & 0xff; in saa717x_read()
[all …]
/drivers/video/via/
Dvia_i2c.c124 u8 mm1[] = {0x00}; in viafb_i2c_readbyte() local
133 mm1[0] = index; in viafb_i2c_readbyte()
135 msgs[0].buf = mm1; msgs[1].buf = pdata; in viafb_i2c_readbyte()
169 u8 mm1[] = {0x00}; in viafb_i2c_readbytes() local
177 mm1[0] = index; in viafb_i2c_readbytes()
179 msgs[0].buf = mm1; msgs[1].buf = buff; in viafb_i2c_readbytes()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c1000 struct iwch_mm_entry *mm1, *mm2; in iwch_create_qp() local
1002 mm1 = kmalloc(sizeof *mm1, GFP_KERNEL); in iwch_create_qp()
1003 if (!mm1) { in iwch_create_qp()
1010 kfree(mm1); in iwch_create_qp()
1026 kfree(mm1); in iwch_create_qp()
1031 mm1->key = uresp.key; in iwch_create_qp()
1032 mm1->addr = virt_to_phys(qhp->wq.queue); in iwch_create_qp()
1033 mm1->len = PAGE_ALIGN(wqsize * sizeof (union t3_wr)); in iwch_create_qp()
1034 insert_mmap(ucontext, mm1); in iwch_create_qp()
/drivers/media/pci/ttpci/
Dbudget-av.c96 u8 mm1[] = { 0x00 }; in i2c_readreg() local
103 mm1[0] = reg; in i2c_readreg()
106 msgs[0].buf = mm1; in i2c_readreg()
116 u8 mm1[] = { reg }; in i2c_readregs() local
118 {.addr = id / 2,.flags = 0,.buf = mm1,.len = 1}, in i2c_readregs()
Dav7110.c1450 u8 mm1[] = {0x00}; in i2c_readreg() local
1457 mm1[0] = reg; in i2c_readreg()
1459 msgs[0].buf = mm1; msgs[1].buf = mm2; in i2c_readreg()
/drivers/infiniband/hw/cxgb4/
Dqp.c1528 struct c4iw_mm_entry *mm1, *mm2, *mm3, *mm4, *mm5 = NULL; in c4iw_create_qp() local
1620 mm1 = kmalloc(sizeof *mm1, GFP_KERNEL); in c4iw_create_qp()
1621 if (!mm1) { in c4iw_create_qp()
1673 mm1->key = uresp.sq_key; in c4iw_create_qp()
1674 mm1->addr = qhp->wq.sq.phys_addr; in c4iw_create_qp()
1675 mm1->len = PAGE_ALIGN(qhp->wq.sq.memsize); in c4iw_create_qp()
1676 insert_mmap(ucontext, mm1); in c4iw_create_qp()
1712 kfree(mm1); in c4iw_create_qp()
/drivers/media/dvb-frontends/
Ddrxk_hard.c397 u8 adr = state->demod_address, mm1[4], mm2[2], len; in read16_flags() local
403 mm1[0] = (((reg << 1) & 0xFF) | 0x01); in read16_flags()
404 mm1[1] = ((reg >> 16) & 0xFF); in read16_flags()
405 mm1[2] = ((reg >> 24) & 0xFF) | flags; in read16_flags()
406 mm1[3] = ((reg >> 7) & 0xFF); in read16_flags()
409 mm1[0] = ((reg << 1) & 0xFF); in read16_flags()
410 mm1[1] = (((reg >> 16) & 0x0F) | ((reg >> 18) & 0xF0)); in read16_flags()
414 status = i2c_read(state, adr, mm1, len, mm2, 2); in read16_flags()
431 u8 adr = state->demod_address, mm1[4], mm2[4], len; in read32_flags() local
437 mm1[0] = (((reg << 1) & 0xFF) | 0x01); in read32_flags()
[all …]
Ddrxd_hard.c248 u8 mm1[4] = { reg & 0xff, (reg >> 16) & 0xff, in Read16() local
252 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 2) < 0) in Read16()
262 u8 mm1[4] = { reg & 0xff, (reg >> 16) & 0xff, in Read32() local
267 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 4) < 0) in Read32()