Searched refs:mm1 (Results 1 – 8 of 8) sorted by relevance
/drivers/media/i2c/ |
D | saa717x.c | 104 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/ |
D | via_i2c.c | 124 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/ |
D | iwch_provider.c | 1000 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/ |
D | budget-av.c | 96 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()
|
D | av7110.c | 1450 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/ |
D | qp.c | 1528 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/ |
D | drxk_hard.c | 397 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 …]
|
D | drxd_hard.c | 248 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()
|