Home
last modified time | relevance | path

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

/drivers/infiniband/hw/cxgb4/
Dcq.c872 struct c4iw_mm_entry *mm, *mm2; in c4iw_create_cq() local
942 mm2 = kmalloc(sizeof *mm2, GFP_KERNEL); in c4iw_create_cq()
943 if (!mm2) in c4iw_create_cq()
966 mm2->key = uresp.gts_key; in c4iw_create_cq()
967 mm2->addr = chp->cq.ugts; in c4iw_create_cq()
968 mm2->len = PAGE_SIZE; in c4iw_create_cq()
969 insert_mmap(ucontext, mm2); in c4iw_create_cq()
977 kfree(mm2); in c4iw_create_cq()
Dqp.c1620 struct c4iw_mm_entry *mm1, *mm2, *mm3, *mm4, *mm5 = NULL; in c4iw_create_qp() local
1710 mm2 = kmalloc(sizeof *mm2, GFP_KERNEL); in c4iw_create_qp()
1711 if (!mm2) { in c4iw_create_qp()
1764 mm2->key = uresp.rq_key; in c4iw_create_qp()
1765 mm2->addr = virt_to_phys(qhp->wq.rq.queue); in c4iw_create_qp()
1766 mm2->len = PAGE_ALIGN(qhp->wq.rq.memsize); in c4iw_create_qp()
1767 insert_mmap(ucontext, mm2); in c4iw_create_qp()
1800 kfree(mm2); in c4iw_create_qp()
/drivers/media/i2c/
Dsaa717x.c139 unsigned char mm2[4] = { 0, 0, 0, 0 }; in saa717x_read() local
151 msgs[1].buf = mm2; in saa717x_read()
155 value = (mm2[2] & 0xff) | ((mm2[1] & 0xff) >> 8) | ((mm2[0] & 0xff) >> 16); in saa717x_read()
157 value = mm2[0] & 0xff; in saa717x_read()
/drivers/media/dvb-frontends/
Ddrxd_hard.c247 u8 mm2[2]; in Read16() local
248 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 2) < 0) in Read16()
251 *data = mm2[0] | (mm2[1] << 8); in Read16()
252 return mm2[0] | (mm2[1] << 8); in Read16()
261 u8 mm2[4]; in Read32() local
263 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 4) < 0) in Read32()
267 mm2[0] | (mm2[1] << 8) | (mm2[2] << 16) | (mm2[3] << 24); in Read32()
Ddrxk_hard.c313 u8 adr = state->demod_address, mm1[4], mm2[2], len; in read16_flags() local
330 status = i2c_read(state, adr, mm1, len, mm2, 2); in read16_flags()
334 *data = mm2[0] | (mm2[1] << 8); in read16_flags()
347 u8 adr = state->demod_address, mm1[4], mm2[4], len; in read32_flags() local
364 status = i2c_read(state, adr, mm1, len, mm2, 4); in read32_flags()
368 *data = mm2[0] | (mm2[1] << 8) | in read32_flags()
369 (mm2[2] << 16) | (mm2[3] << 24); in read32_flags()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c996 struct iwch_mm_entry *mm1, *mm2; in iwch_create_qp() local
1004 mm2 = kmalloc(sizeof *mm2, GFP_KERNEL); in iwch_create_qp()
1005 if (!mm2) { in iwch_create_qp()
1023 kfree(mm2); in iwch_create_qp()
1031 mm2->key = uresp.db_key; in iwch_create_qp()
1032 mm2->addr = qhp->wq.udb & PAGE_MASK; in iwch_create_qp()
1033 mm2->len = PAGE_SIZE; in iwch_create_qp()
1034 insert_mmap(ucontext, mm2); in iwch_create_qp()
/drivers/media/pci/ttpci/
Dbudget-av.c97 u8 mm2[] = { 0x00 }; in i2c_readreg() local
107 msgs[1].buf = mm2; in i2c_readreg()
111 return mm2[0]; in i2c_readreg()
Dav7110.c1451 u8 mm2[] = {0x00}; in i2c_readreg() local
1459 msgs[0].buf = mm1; msgs[1].buf = mm2; in i2c_readreg()
1462 return mm2[0]; in i2c_readreg()