pmsg 65 arch/powerpc/platforms/ps3/gelic_udbg.c static __iomem char *pmsg; pmsg 181 arch/powerpc/platforms/ps3/gelic_udbg.c pmsgc = pmsg = (char *)(h_udp + 1); pmsg 227 arch/powerpc/platforms/ps3/gelic_udbg.c if (ch == '\n' || (pmsgc-pmsg) >= GELIC_MAX_MESSAGE_SIZE) { pmsg 228 arch/powerpc/platforms/ps3/gelic_udbg.c gelic_sendbuf(pmsgc-pmsg); pmsg 229 arch/powerpc/platforms/ps3/gelic_udbg.c pmsgc = pmsg; pmsg 24 arch/sh/kernel/cpu/sh2/smp-j2.c volatile unsigned *pmsg = &per_cpu(j2_ipi_messages, cpu); pmsg 27 arch/sh/kernel/cpu/sh2/smp-j2.c do messages = *pmsg; pmsg 28 arch/sh/kernel/cpu/sh2/smp-j2.c while (cmpxchg(pmsg, messages, 0) != messages); pmsg 110 arch/sh/kernel/cpu/sh2/smp-j2.c volatile unsigned *pmsg; pmsg 116 arch/sh/kernel/cpu/sh2/smp-j2.c pmsg = &per_cpu(j2_ipi_messages, cpu); pmsg 117 arch/sh/kernel/cpu/sh2/smp-j2.c do old = *pmsg; pmsg 118 arch/sh/kernel/cpu/sh2/smp-j2.c while (cmpxchg(pmsg, old, old|(1U<<message)) != old); pmsg 93 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c static int xfer_read(struct i2c_adapter *adap, struct i2c_msg *pmsg) pmsg 100 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c i2c_dev->msg = pmsg; pmsg 105 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp = ((pmsg->len) << 20) | HI2C_EDID_READ | HI2C_ENABLE_TRANSACTION; pmsg 116 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c static int xfer_write(struct i2c_adapter *adap, struct i2c_msg *pmsg) pmsg 125 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct i2c_msg *pmsg, pmsg 140 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c if (pmsg->len && pmsg->buf) { pmsg 141 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c if (pmsg->flags & I2C_M_RD) pmsg 142 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c xfer_read(adap, pmsg); pmsg 144 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c xfer_write(adap, pmsg); pmsg 146 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c pmsg++; /* next message */ pmsg 643 drivers/hid/intel-ish-hid/ishtp/client.c unsigned char *pmsg; pmsg 683 drivers/hid/intel-ish-hid/ishtp/client.c pmsg = cl_msg->send_buf.data + cl->tx_offs; pmsg 692 drivers/hid/intel-ish-hid/ishtp/client.c ishtp_write_message(dev, &ishtp_hdr, pmsg); pmsg 704 drivers/hid/intel-ish-hid/ishtp/client.c ishtp_send_msg(dev, &ishtp_hdr, pmsg, ipc_tx_callback, cl); pmsg 534 drivers/i2c/algos/i2c-algo-bit.c struct i2c_msg *pmsg; pmsg 548 drivers/i2c/algos/i2c-algo-bit.c pmsg = &msgs[i]; pmsg 549 drivers/i2c/algos/i2c-algo-bit.c nak_ok = pmsg->flags & I2C_M_IGNORE_NAK; pmsg 550 drivers/i2c/algos/i2c-algo-bit.c if (!(pmsg->flags & I2C_M_NOSTART)) { pmsg 563 drivers/i2c/algos/i2c-algo-bit.c ret = bit_doAddress(i2c_adap, pmsg); pmsg 571 drivers/i2c/algos/i2c-algo-bit.c if (pmsg->flags & I2C_M_RD) { pmsg 573 drivers/i2c/algos/i2c-algo-bit.c ret = readbytes(i2c_adap, pmsg); pmsg 577 drivers/i2c/algos/i2c-algo-bit.c if (ret < pmsg->len) { pmsg 584 drivers/i2c/algos/i2c-algo-bit.c ret = sendbytes(i2c_adap, pmsg); pmsg 588 drivers/i2c/algos/i2c-algo-bit.c if (ret < pmsg->len) { pmsg 299 drivers/i2c/algos/i2c-algo-pcf.c struct i2c_msg *pmsg; pmsg 316 drivers/i2c/algos/i2c-algo-pcf.c pmsg = &msgs[i]; pmsg 319 drivers/i2c/algos/i2c-algo-pcf.c pmsg->flags & I2C_M_RD ? "read" : "write", pmsg 320 drivers/i2c/algos/i2c-algo-pcf.c pmsg->len, pmsg->addr, i + 1, num);) pmsg 322 drivers/i2c/algos/i2c-algo-pcf.c ret = pcf_doAddress(adap, pmsg); pmsg 354 drivers/i2c/algos/i2c-algo-pcf.c if (pmsg->flags & I2C_M_RD) { pmsg 355 drivers/i2c/algos/i2c-algo-pcf.c ret = pcf_readbytes(i2c_adap, pmsg->buf, pmsg->len, pmsg 358 drivers/i2c/algos/i2c-algo-pcf.c if (ret != pmsg->len) { pmsg 365 drivers/i2c/algos/i2c-algo-pcf.c ret = pcf_sendbytes(i2c_adap, pmsg->buf, pmsg->len, pmsg 368 drivers/i2c/algos/i2c-algo-pcf.c if (ret != pmsg->len) { pmsg 134 drivers/i2c/busses/i2c-amd-mp2-plat.c static int i2c_amd_xfer_msg(struct amd_i2c_dev *i2c_dev, struct i2c_msg *pmsg) pmsg 139 drivers/i2c/busses/i2c-amd-mp2-plat.c i2c_common->msg = pmsg; pmsg 141 drivers/i2c/busses/i2c-amd-mp2-plat.c if (pmsg->len > 32) pmsg 145 drivers/i2c/busses/i2c-amd-mp2-plat.c if (pmsg->flags & I2C_M_RD) pmsg 157 drivers/i2c/busses/i2c-amd-mp2-plat.c struct i2c_msg *pmsg; pmsg 167 drivers/i2c/busses/i2c-amd-mp2-plat.c pmsg = &msgs[i]; pmsg 168 drivers/i2c/busses/i2c-amd-mp2-plat.c err = i2c_amd_xfer_msg(i2c_dev, pmsg); pmsg 605 drivers/i2c/busses/i2c-bcm-kona.c struct i2c_msg *pmsg; pmsg 638 drivers/i2c/busses/i2c-bcm-kona.c pmsg = &msgs[i]; pmsg 641 drivers/i2c/busses/i2c-bcm-kona.c if ((i != 0) && ((pmsg->flags & I2C_M_NOSTART) == 0)) { pmsg 651 drivers/i2c/busses/i2c-bcm-kona.c if (!(pmsg->flags & I2C_M_NOSTART)) { pmsg 652 drivers/i2c/busses/i2c-bcm-kona.c rc = bcm_kona_i2c_do_addr(dev, pmsg); pmsg 656 drivers/i2c/busses/i2c-bcm-kona.c pmsg->addr, i, rc); pmsg 662 drivers/i2c/busses/i2c-bcm-kona.c if (pmsg->flags & I2C_M_RD) { pmsg 663 drivers/i2c/busses/i2c-bcm-kona.c rc = bcm_kona_i2c_read_fifo(dev, pmsg); pmsg 669 drivers/i2c/busses/i2c-bcm-kona.c rc = bcm_kona_i2c_write_fifo(dev, pmsg); pmsg 336 drivers/i2c/busses/i2c-brcmstb.c struct i2c_msg *pmsg) pmsg 342 drivers/i2c/busses/i2c-brcmstb.c int no_ack = pmsg->flags & I2C_M_IGNORE_NAK; pmsg 347 drivers/i2c/busses/i2c-brcmstb.c cmd = (pmsg->flags & I2C_M_RD) ? CMD_RD_NOACK pmsg 351 drivers/i2c/busses/i2c-brcmstb.c cmd = (pmsg->flags & I2C_M_RD) ? CMD_RD : CMD_WR; pmsg 459 drivers/i2c/busses/i2c-brcmstb.c struct i2c_msg *pmsg; pmsg 470 drivers/i2c/busses/i2c-brcmstb.c pmsg = &msgs[i]; pmsg 471 drivers/i2c/busses/i2c-brcmstb.c len = pmsg->len; pmsg 472 drivers/i2c/busses/i2c-brcmstb.c tmp_buf = pmsg->buf; pmsg 476 drivers/i2c/busses/i2c-brcmstb.c num - 1, pmsg->flags, pmsg 477 drivers/i2c/busses/i2c-brcmstb.c pmsg->buf ? pmsg->buf[0] : '0', pmsg->len); pmsg 487 drivers/i2c/busses/i2c-brcmstb.c if (!(pmsg->flags & I2C_M_NOSTART)) { pmsg 488 drivers/i2c/busses/i2c-brcmstb.c rc = brcmstb_i2c_do_addr(dev, pmsg); pmsg 492 drivers/i2c/busses/i2c-brcmstb.c pmsg->addr, i, rc); pmsg 517 drivers/i2c/busses/i2c-brcmstb.c bytes_to_xfer, pmsg); pmsg 179 drivers/i2c/busses/i2c-cpm.c struct i2c_msg *pmsg, int num, int tx, int rx) pmsg 191 drivers/i2c/busses/i2c-cpm.c addr = i2c_8bit_addr_from_msg(pmsg); pmsg 201 drivers/i2c/busses/i2c-cpm.c out_be16(&tbdf->cbd_datlen, pmsg->len + 1); pmsg 204 drivers/i2c/busses/i2c-cpm.c if (!(pmsg->flags & I2C_M_NOSTART)) pmsg 210 drivers/i2c/busses/i2c-cpm.c if (pmsg->flags & I2C_M_RD) { pmsg 230 drivers/i2c/busses/i2c-cpm.c memcpy(tb+1, pmsg->buf, pmsg->len); pmsg 238 drivers/i2c/busses/i2c-cpm.c struct i2c_msg *pmsg, int tx, int rx) pmsg 256 drivers/i2c/busses/i2c-cpm.c if (pmsg->flags & I2C_M_RD) { pmsg 273 drivers/i2c/busses/i2c-cpm.c memcpy(pmsg->buf, rb, pmsg->len); pmsg 299 drivers/i2c/busses/i2c-cpm.c struct i2c_msg *pmsg; pmsg 325 drivers/i2c/busses/i2c-cpm.c pmsg = &msgs[tptr]; pmsg 328 drivers/i2c/busses/i2c-cpm.c cpm_i2c_parse_message(adap, pmsg, num, tptr, rptr); pmsg 329 drivers/i2c/busses/i2c-cpm.c if (pmsg->flags & I2C_M_RD) pmsg 348 drivers/i2c/busses/i2c-cpm.c pmsg = &msgs[tptr]; pmsg 349 drivers/i2c/busses/i2c-cpm.c if (pmsg->flags & I2C_M_RD) pmsg 365 drivers/i2c/busses/i2c-cpm.c ret = cpm_i2c_check_message(adap, pmsg, tptr, rptr); pmsg 367 drivers/i2c/busses/i2c-cpm.c if (pmsg->flags & I2C_M_RD) pmsg 345 drivers/i2c/busses/i2c-diolan-u2c.c struct i2c_msg *pmsg; pmsg 354 drivers/i2c/busses/i2c-diolan-u2c.c pmsg = &msgs[i]; pmsg 361 drivers/i2c/busses/i2c-diolan-u2c.c i2c_8bit_addr_from_msg(pmsg)); pmsg 364 drivers/i2c/busses/i2c-diolan-u2c.c if (pmsg->flags & I2C_M_RD) { pmsg 365 drivers/i2c/busses/i2c-diolan-u2c.c for (j = 0; j < pmsg->len; j++) { pmsg 367 drivers/i2c/busses/i2c-diolan-u2c.c bool ack = j < pmsg->len - 1; pmsg 373 drivers/i2c/busses/i2c-diolan-u2c.c if (j == 0 && (pmsg->flags & I2C_M_RECV_LEN)) pmsg 382 drivers/i2c/busses/i2c-diolan-u2c.c if (j == 0 && (pmsg->flags & I2C_M_RECV_LEN)) { pmsg 388 drivers/i2c/busses/i2c-diolan-u2c.c pmsg->len += byte; pmsg 390 drivers/i2c/busses/i2c-diolan-u2c.c pmsg->buf[j] = byte; pmsg 393 drivers/i2c/busses/i2c-diolan-u2c.c for (j = 0; j < pmsg->len; j++) { pmsg 395 drivers/i2c/busses/i2c-diolan-u2c.c pmsg->buf[j]); pmsg 144 drivers/i2c/busses/i2c-dln2.c struct i2c_msg *pmsg; pmsg 150 drivers/i2c/busses/i2c-dln2.c pmsg = &msgs[i]; pmsg 152 drivers/i2c/busses/i2c-dln2.c if (pmsg->flags & I2C_M_RD) { pmsg 153 drivers/i2c/busses/i2c-dln2.c ret = dln2_i2c_read(dln2, pmsg->addr, pmsg->buf, pmsg 154 drivers/i2c/busses/i2c-dln2.c pmsg->len); pmsg 158 drivers/i2c/busses/i2c-dln2.c pmsg->len = ret; pmsg 160 drivers/i2c/busses/i2c-dln2.c ret = dln2_i2c_write(dln2, pmsg->addr, pmsg->buf, pmsg 161 drivers/i2c/busses/i2c-dln2.c pmsg->len); pmsg 162 drivers/i2c/busses/i2c-dln2.c if (ret != pmsg->len) pmsg 655 drivers/i2c/busses/i2c-eg20t.c struct i2c_msg *pmsg; pmsg 677 drivers/i2c/busses/i2c-eg20t.c pmsg = &msgs[i]; pmsg 678 drivers/i2c/busses/i2c-eg20t.c pmsg->flags |= adap->pch_buff_mode_en; pmsg 679 drivers/i2c/busses/i2c-eg20t.c status = pmsg->flags; pmsg 684 drivers/i2c/busses/i2c-eg20t.c ret = pch_i2c_readbytes(i2c_adap, pmsg, (i + 1 == num), pmsg 687 drivers/i2c/busses/i2c-eg20t.c ret = pch_i2c_writebytes(i2c_adap, pmsg, (i + 1 == num), pmsg 333 drivers/i2c/busses/i2c-iop3xx.c iop3xx_i2c_handle_msg(struct i2c_adapter *i2c_adap, struct i2c_msg* pmsg) pmsg 338 drivers/i2c/busses/i2c-iop3xx.c rc = iop3xx_i2c_send_target_addr(iop3xx_adap, pmsg); pmsg 343 drivers/i2c/busses/i2c-iop3xx.c if ((pmsg->flags&I2C_M_RD)) { pmsg 344 drivers/i2c/busses/i2c-iop3xx.c return iop3xx_i2c_readbytes(i2c_adap, pmsg->buf, pmsg->len); pmsg 346 drivers/i2c/busses/i2c-iop3xx.c return iop3xx_i2c_writebytes(i2c_adap, pmsg->buf, pmsg->len); pmsg 567 drivers/i2c/busses/i2c-mpc.c struct i2c_msg *pmsg; pmsg 597 drivers/i2c/busses/i2c-mpc.c pmsg = &msgs[i]; pmsg 600 drivers/i2c/busses/i2c-mpc.c pmsg->flags & I2C_M_RD ? "read" : "write", pmsg 601 drivers/i2c/busses/i2c-mpc.c pmsg->len, pmsg->addr, i + 1, num); pmsg 602 drivers/i2c/busses/i2c-mpc.c if (pmsg->flags & I2C_M_RD) { pmsg 603 drivers/i2c/busses/i2c-mpc.c bool recv_len = pmsg->flags & I2C_M_RECV_LEN; pmsg 605 drivers/i2c/busses/i2c-mpc.c ret = mpc_read(i2c, pmsg->addr, pmsg->buf, pmsg->len, i, pmsg 608 drivers/i2c/busses/i2c-mpc.c pmsg->len = ret; pmsg 611 drivers/i2c/busses/i2c-mpc.c mpc_write(i2c, pmsg->addr, pmsg->buf, pmsg->len, i); pmsg 142 drivers/i2c/busses/i2c-mt7621.c struct i2c_msg *pmsg; pmsg 151 drivers/i2c/busses/i2c-mt7621.c pmsg = &msgs[i]; pmsg 164 drivers/i2c/busses/i2c-mt7621.c if (pmsg->flags & I2C_M_TEN) { pmsg 166 drivers/i2c/busses/i2c-mt7621.c addr = 0xf0 | ((pmsg->addr >> 7) & 0x06); pmsg 167 drivers/i2c/busses/i2c-mt7621.c addr |= (pmsg->addr & 0xff) << 8; pmsg 168 drivers/i2c/busses/i2c-mt7621.c if (pmsg->flags & I2C_M_RD) pmsg 176 drivers/i2c/busses/i2c-mt7621.c addr = i2c_8bit_addr_from_msg(pmsg); pmsg 184 drivers/i2c/busses/i2c-mt7621.c if (!(pmsg->flags & I2C_M_IGNORE_NAK)) { pmsg 191 drivers/i2c/busses/i2c-mt7621.c for (len = pmsg->len, j = 0; len > 0; len -= 8, j += 8) { pmsg 194 drivers/i2c/busses/i2c-mt7621.c if (pmsg->flags & I2C_M_RD) { pmsg 198 drivers/i2c/busses/i2c-mt7621.c memcpy(data, &pmsg->buf[j], page_len); pmsg 208 drivers/i2c/busses/i2c-mt7621.c if (pmsg->flags & I2C_M_RD) { pmsg 211 drivers/i2c/busses/i2c-mt7621.c memcpy(&pmsg->buf[j], data, page_len); pmsg 213 drivers/i2c/busses/i2c-mt7621.c if (!(pmsg->flags & I2C_M_IGNORE_NAK)) { pmsg 633 drivers/i2c/busses/i2c-octeon-core.c struct i2c_msg *pmsg = &msgs[i]; pmsg 636 drivers/i2c/busses/i2c-octeon-core.c if (!pmsg->len) { pmsg 645 drivers/i2c/busses/i2c-octeon-core.c if (pmsg->flags & I2C_M_RD) pmsg 646 drivers/i2c/busses/i2c-octeon-core.c ret = octeon_i2c_read(i2c, pmsg->addr, pmsg->buf, pmsg 647 drivers/i2c/busses/i2c-octeon-core.c &pmsg->len, pmsg->flags & I2C_M_RECV_LEN); pmsg 649 drivers/i2c/busses/i2c-octeon-core.c ret = octeon_i2c_write(i2c, pmsg->addr, pmsg->buf, pmsg 650 drivers/i2c/busses/i2c-octeon-core.c pmsg->len); pmsg 514 drivers/i2c/busses/i2c-pnx.c struct i2c_msg *pmsg; pmsg 529 drivers/i2c/busses/i2c-pnx.c pmsg = &msgs[i]; pmsg 530 drivers/i2c/busses/i2c-pnx.c addr = pmsg->addr; pmsg 532 drivers/i2c/busses/i2c-pnx.c if (pmsg->flags & I2C_M_TEN) { pmsg 540 drivers/i2c/busses/i2c-pnx.c alg_data->mif.buf = pmsg->buf; pmsg 541 drivers/i2c/busses/i2c-pnx.c alg_data->mif.len = pmsg->len; pmsg 542 drivers/i2c/busses/i2c-pnx.c alg_data->mif.order = pmsg->len; pmsg 543 drivers/i2c/busses/i2c-pnx.c alg_data->mif.mode = (pmsg->flags & I2C_M_RD) ? pmsg 118 drivers/i2c/busses/i2c-puv3.c static int puv3_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *pmsg, pmsg 130 drivers/i2c/busses/i2c-puv3.c writel(pmsg->addr, I2C_TAR); pmsg 139 drivers/i2c/busses/i2c-puv3.c pmsg->flags & I2C_M_RD ? "read" : "writ", pmsg 140 drivers/i2c/busses/i2c-puv3.c pmsg->len, pmsg->len > 1 ? "s" : "", pmsg 141 drivers/i2c/busses/i2c-puv3.c pmsg->flags & I2C_M_RD ? "from" : "to", pmsg->addr); pmsg 143 drivers/i2c/busses/i2c-puv3.c if (pmsg->len && pmsg->buf) { /* sanity check */ pmsg 144 drivers/i2c/busses/i2c-puv3.c if (pmsg->flags & I2C_M_RD) pmsg 145 drivers/i2c/busses/i2c-puv3.c ret = xfer_read(adap, pmsg->buf, pmsg->len); pmsg 147 drivers/i2c/busses/i2c-puv3.c ret = xfer_write(adap, pmsg->buf, pmsg->len); pmsg 154 drivers/i2c/busses/i2c-puv3.c pmsg++; /* next message */ pmsg 158 drivers/i2c/busses/i2c-puv3.c if (pmsg->addr == I2C_TAR_PWIC) { pmsg 159 drivers/i2c/busses/i2c-puv3.c swap = pmsg->buf[0]; pmsg 160 drivers/i2c/busses/i2c-puv3.c pmsg->buf[0] = pmsg->buf[1]; pmsg 161 drivers/i2c/busses/i2c-puv3.c pmsg->buf[1] = swap; pmsg 61 drivers/i2c/busses/i2c-robotfuzz-osif.c struct i2c_msg *pmsg; pmsg 66 drivers/i2c/busses/i2c-robotfuzz-osif.c pmsg = &msgs[i]; pmsg 68 drivers/i2c/busses/i2c-robotfuzz-osif.c if (pmsg->flags & I2C_M_RD) { pmsg 70 drivers/i2c/busses/i2c-robotfuzz-osif.c pmsg->flags, pmsg->addr, pmsg 71 drivers/i2c/busses/i2c-robotfuzz-osif.c pmsg->buf, pmsg->len); pmsg 72 drivers/i2c/busses/i2c-robotfuzz-osif.c if (ret != pmsg->len) { pmsg 78 drivers/i2c/busses/i2c-robotfuzz-osif.c pmsg->flags, pmsg->addr, pmsg 79 drivers/i2c/busses/i2c-robotfuzz-osif.c pmsg->buf, pmsg->len); pmsg 80 drivers/i2c/busses/i2c-robotfuzz-osif.c if (ret != pmsg->len) { pmsg 259 drivers/i2c/busses/i2c-synquacer.c struct i2c_msg *pmsg) pmsg 263 drivers/i2c/busses/i2c-synquacer.c writeb(i2c_8bit_addr_from_msg(pmsg), i2c->base + SYNQUACER_I2C_REG_DAR); pmsg 265 drivers/i2c/busses/i2c-synquacer.c dev_dbg(i2c->dev, "slave:0x%02x\n", pmsg->addr); pmsg 54 drivers/i2c/busses/i2c-tiny-usb.c struct i2c_msg *pmsg; pmsg 72 drivers/i2c/busses/i2c-tiny-usb.c pmsg = &msgs[i]; pmsg 76 drivers/i2c/busses/i2c-tiny-usb.c i, pmsg->flags & I2C_M_RD ? "read" : "write", pmsg 77 drivers/i2c/busses/i2c-tiny-usb.c pmsg->flags, pmsg->len, pmsg->addr); pmsg 80 drivers/i2c/busses/i2c-tiny-usb.c if (pmsg->flags & I2C_M_RD) { pmsg 83 drivers/i2c/busses/i2c-tiny-usb.c pmsg->flags, pmsg->addr, pmsg 84 drivers/i2c/busses/i2c-tiny-usb.c pmsg->buf, pmsg->len) != pmsg->len) { pmsg 93 drivers/i2c/busses/i2c-tiny-usb.c pmsg->flags, pmsg->addr, pmsg 94 drivers/i2c/busses/i2c-tiny-usb.c pmsg->buf, pmsg->len) != pmsg->len) { pmsg 268 drivers/i2c/busses/i2c-viperboard.c struct i2c_msg *pmsg; pmsg 279 drivers/i2c/busses/i2c-viperboard.c pmsg = &msgs[i]; pmsg 283 drivers/i2c/busses/i2c-viperboard.c i, pmsg->flags & I2C_M_RD ? "read" : "write", pmsg 284 drivers/i2c/busses/i2c-viperboard.c pmsg->flags, pmsg->len, pmsg->addr); pmsg 288 drivers/i2c/busses/i2c-viperboard.c if (pmsg->flags & I2C_M_RD) { pmsg 293 drivers/i2c/busses/i2c-viperboard.c amsg->addr = pmsg->addr; pmsg 295 drivers/i2c/busses/i2c-viperboard.c amsg->len = cpu_to_le16(pmsg->len); pmsg 301 drivers/i2c/busses/i2c-viperboard.c ret = vprbrd_i2c_read(vb, pmsg); pmsg 313 drivers/i2c/busses/i2c-viperboard.c ret = vprbrd_i2c_write(vb, pmsg); pmsg 318 drivers/i2c/busses/i2c-viperboard.c amsg->addr = pmsg->addr; pmsg 320 drivers/i2c/busses/i2c-viperboard.c amsg->len = cpu_to_le16(pmsg->len); pmsg 122 drivers/i2c/busses/i2c-wmt.c static int wmt_i2c_write(struct i2c_adapter *adap, struct i2c_msg *pmsg, pmsg 131 drivers/i2c/busses/i2c-wmt.c if (!(pmsg->flags & I2C_M_NOSTART)) { pmsg 137 drivers/i2c/busses/i2c-wmt.c if (pmsg->len == 0) { pmsg 145 drivers/i2c/busses/i2c-wmt.c writew(pmsg->buf[0] & 0xFF, i2c_dev->base + REG_CDR); pmsg 148 drivers/i2c/busses/i2c-wmt.c if (!(pmsg->flags & I2C_M_NOSTART)) { pmsg 165 drivers/i2c/busses/i2c-wmt.c tcr_val |= (TCR_MASTER_WRITE | (pmsg->addr & TCR_SLAVE_ADDR_MASK)); pmsg 169 drivers/i2c/busses/i2c-wmt.c if (pmsg->flags & I2C_M_NOSTART) { pmsg 175 drivers/i2c/busses/i2c-wmt.c while (xfer_len < pmsg->len) { pmsg 194 drivers/i2c/busses/i2c-wmt.c if (pmsg->len == 0) { pmsg 200 drivers/i2c/busses/i2c-wmt.c if (xfer_len == pmsg->len) { pmsg 204 drivers/i2c/busses/i2c-wmt.c writew(pmsg->buf[xfer_len] & 0xFF, i2c_dev->base + pmsg 213 drivers/i2c/busses/i2c-wmt.c static int wmt_i2c_read(struct i2c_adapter *adap, struct i2c_msg *pmsg, pmsg 222 drivers/i2c/busses/i2c-wmt.c if (!(pmsg->flags & I2C_M_NOSTART)) { pmsg 236 drivers/i2c/busses/i2c-wmt.c if (!(pmsg->flags & I2C_M_NOSTART)) { pmsg 242 drivers/i2c/busses/i2c-wmt.c if (pmsg->len == 1) { pmsg 255 drivers/i2c/busses/i2c-wmt.c tcr_val |= TCR_MASTER_READ | (pmsg->addr & TCR_SLAVE_ADDR_MASK); pmsg 259 drivers/i2c/busses/i2c-wmt.c if (pmsg->flags & I2C_M_NOSTART) { pmsg 265 drivers/i2c/busses/i2c-wmt.c while (xfer_len < pmsg->len) { pmsg 276 drivers/i2c/busses/i2c-wmt.c pmsg->buf[xfer_len] = readw(i2c_dev->base + REG_CDR) >> 8; pmsg 279 drivers/i2c/busses/i2c-wmt.c if (xfer_len == pmsg->len - 1) { pmsg 297 drivers/i2c/busses/i2c-wmt.c struct i2c_msg *pmsg; pmsg 304 drivers/i2c/busses/i2c-wmt.c pmsg = &msgs[i]; pmsg 305 drivers/i2c/busses/i2c-wmt.c if (pmsg->flags & I2C_M_RD) pmsg 306 drivers/i2c/busses/i2c-wmt.c ret = wmt_i2c_read(adap, pmsg, is_last); pmsg 308 drivers/i2c/busses/i2c-wmt.c ret = wmt_i2c_write(adap, pmsg, is_last); pmsg 235 drivers/media/pci/cobalt/cobalt-i2c.c struct i2c_msg *pmsg; pmsg 243 drivers/media/pci/cobalt/cobalt-i2c.c pmsg = &msgs[i]; pmsg 244 drivers/media/pci/cobalt/cobalt-i2c.c flags = pmsg->flags; pmsg 246 drivers/media/pci/cobalt/cobalt-i2c.c if (!(pmsg->flags & I2C_M_NOSTART)) { pmsg 247 drivers/media/pci/cobalt/cobalt-i2c.c u8 addr = pmsg->addr << 1; pmsg 264 drivers/media/pci/cobalt/cobalt-i2c.c if (pmsg->flags & I2C_M_RD) { pmsg 267 drivers/media/pci/cobalt/cobalt-i2c.c pmsg->buf, pmsg->len); pmsg 273 drivers/media/pci/cobalt/cobalt-i2c.c pmsg->buf, pmsg->len); pmsg 120 drivers/media/usb/usbvision/usbvision-i2c.c struct i2c_msg *pmsg; pmsg 128 drivers/media/usb/usbvision/usbvision-i2c.c pmsg = &msgs[i]; pmsg 129 drivers/media/usb/usbvision/usbvision-i2c.c ret = usb_find_address(i2c_adap, pmsg, i2c_adap->retries, &addr); pmsg 135 drivers/media/usb/usbvision/usbvision-i2c.c if (pmsg->flags & I2C_M_RD) { pmsg 137 drivers/media/usb/usbvision/usbvision-i2c.c ret = (usbvision_i2c_read(usbvision, addr, pmsg->buf, pmsg->len)); pmsg 138 drivers/media/usb/usbvision/usbvision-i2c.c if (ret < pmsg->len) pmsg 142 drivers/media/usb/usbvision/usbvision-i2c.c ret = (usbvision_i2c_write(usbvision, addr, pmsg->buf, pmsg->len)); pmsg 143 drivers/media/usb/usbvision/usbvision-i2c.c if (ret < pmsg->len) pmsg 243 drivers/net/ethernet/marvell/octeontx2/af/mbox.c struct mbox_msghdr *pmsg = mdev->mbase + imsg; pmsg 246 drivers/net/ethernet/marvell/octeontx2/af/mbox.c if (msg == pmsg) { pmsg 247 drivers/net/ethernet/marvell/octeontx2/af/mbox.c if (pmsg->id != prsp->id) pmsg 252 drivers/net/ethernet/marvell/octeontx2/af/mbox.c imsg = pmsg->next_msgoff; pmsg 2040 drivers/net/wireless/ray_cs.c void __iomem *pmsg; pmsg 2051 drivers/net/wireless/ray_cs.c pmsg = local->rmem + pkt_addr; pmsg 2052 drivers/net/wireless/ray_cs.c switch (readb(pmsg)) { pmsg 2089 drivers/net/wireless/ray_cs.c (unsigned int)readb(pmsg)); pmsg 2655 drivers/scsi/gdth.c msg = ha->pmsg; pmsg 4140 drivers/scsi/gdth.c ha->pmsg = dma_alloc_coherent(&ha->pdev->dev, sizeof(gdth_msg_str), pmsg 4142 drivers/scsi/gdth.c if (!ha->pmsg) pmsg 4207 drivers/scsi/gdth.c ha->pmsg, ha->msg_phys); pmsg 4240 drivers/scsi/gdth.c if (ha->pmsg) pmsg 4242 drivers/scsi/gdth.c ha->pmsg, ha->msg_phys); pmsg 831 drivers/scsi/gdth.h gdth_msg_str *pmsg; /* message buffer */ pmsg 451 drivers/spi/spi-topcliff-pch.c static int pch_spi_transfer(struct spi_device *pspi, struct spi_message *pmsg) pmsg 461 drivers/spi/spi-topcliff-pch.c list_for_each_entry(transfer, &pmsg->transfers, transfer_list) { pmsg 497 drivers/spi/spi-topcliff-pch.c pmsg->actual_length = 0; pmsg 498 drivers/spi/spi-topcliff-pch.c dev_dbg(&pspi->dev, "%s - pmsg->status =%d\n", __func__, pmsg->status); pmsg 500 drivers/spi/spi-topcliff-pch.c pmsg->status = -EINPROGRESS; pmsg 503 drivers/spi/spi-topcliff-pch.c list_add_tail(&pmsg->queue, &data->queue); pmsg 545 drivers/spi/spi-topcliff-pch.c struct spi_message *pmsg, *tmp; pmsg 585 drivers/spi/spi-topcliff-pch.c list_for_each_entry_safe(pmsg, tmp, data->queue.next, queue) { pmsg 586 drivers/spi/spi-topcliff-pch.c pmsg->status = -ENOMEM; pmsg 588 drivers/spi/spi-topcliff-pch.c if (pmsg->complete) pmsg 589 drivers/spi/spi-topcliff-pch.c pmsg->complete(pmsg->context); pmsg 592 drivers/spi/spi-topcliff-pch.c list_del_init(&pmsg->queue); pmsg 633 drivers/spi/spi-topcliff-pch.c struct spi_message *pmsg, *tmp; pmsg 670 drivers/spi/spi-topcliff-pch.c list_for_each_entry_safe(pmsg, tmp, data->queue.next, queue) { pmsg 671 drivers/spi/spi-topcliff-pch.c pmsg->status = -EIO; pmsg 673 drivers/spi/spi-topcliff-pch.c if (pmsg->complete) pmsg 674 drivers/spi/spi-topcliff-pch.c pmsg->complete(pmsg->context); pmsg 677 drivers/spi/spi-topcliff-pch.c list_del_init(&pmsg->queue); pmsg 1121 drivers/spi/spi-topcliff-pch.c struct spi_message *pmsg, *tmp; pmsg 1133 drivers/spi/spi-topcliff-pch.c list_for_each_entry_safe(pmsg, tmp, data->queue.next, queue) { pmsg 1134 drivers/spi/spi-topcliff-pch.c pmsg->status = -EIO; pmsg 1136 drivers/spi/spi-topcliff-pch.c if (pmsg->complete) { pmsg 1138 drivers/spi/spi-topcliff-pch.c pmsg->complete(pmsg->context); pmsg 1143 drivers/spi/spi-topcliff-pch.c list_del_init(&pmsg->queue); pmsg 779 drivers/staging/fieldbus/anybuss/host.c u8 *pmsg = mpriv->msg; pmsg 798 drivers/staging/fieldbus/anybuss/host.c dev_err(dev, "%02X%02X", pmsg[i], pmsg[i + 1]); pmsg 145 drivers/staging/rtl8192u/r819xU_cmdpkt.c static void cmpk_handle_tx_feedback(struct net_device *dev, u8 *pmsg) pmsg 158 drivers/staging/rtl8192u/r819xU_cmdpkt.c memcpy((u8 *)&rx_tx_fb, pmsg, sizeof(struct cmd_pkt_tx_feedback)); pmsg 208 drivers/staging/rtl8192u/r819xU_cmdpkt.c static void cmpk_handle_interrupt_status(struct net_device *dev, u8 *pmsg) pmsg 220 drivers/staging/rtl8192u/r819xU_cmdpkt.c rx_intr_status.length = pmsg[1]; pmsg 229 drivers/staging/rtl8192u/r819xU_cmdpkt.c rx_intr_status.interrupt_status = *((u32 *)(pmsg + 4)); pmsg 271 drivers/staging/rtl8192u/r819xU_cmdpkt.c static void cmpk_handle_query_config_rx(struct net_device *dev, u8 *pmsg) pmsg 280 drivers/staging/rtl8192u/r819xU_cmdpkt.c rx_query_cfg.cfg_action = (pmsg[4] & 0x80) >> 7; pmsg 281 drivers/staging/rtl8192u/r819xU_cmdpkt.c rx_query_cfg.cfg_type = (pmsg[4] & 0x60) >> 5; pmsg 282 drivers/staging/rtl8192u/r819xU_cmdpkt.c rx_query_cfg.cfg_size = (pmsg[4] & 0x18) >> 3; pmsg 283 drivers/staging/rtl8192u/r819xU_cmdpkt.c rx_query_cfg.cfg_page = (pmsg[6] & 0x0F) >> 0; pmsg 284 drivers/staging/rtl8192u/r819xU_cmdpkt.c rx_query_cfg.cfg_offset = pmsg[7]; pmsg 285 drivers/staging/rtl8192u/r819xU_cmdpkt.c rx_query_cfg.value = (pmsg[8] << 24) | (pmsg[9] << 16) | pmsg 286 drivers/staging/rtl8192u/r819xU_cmdpkt.c (pmsg[10] << 8) | (pmsg[11] << 0); pmsg 287 drivers/staging/rtl8192u/r819xU_cmdpkt.c rx_query_cfg.mask = (pmsg[12] << 24) | (pmsg[13] << 16) | pmsg 288 drivers/staging/rtl8192u/r819xU_cmdpkt.c (pmsg[14] << 8) | (pmsg[15] << 0); pmsg 372 drivers/staging/rtl8192u/r819xU_cmdpkt.c static void cmpk_handle_tx_status(struct net_device *dev, u8 *pmsg) pmsg 376 drivers/staging/rtl8192u/r819xU_cmdpkt.c memcpy((void *)&rx_tx_sts, (void *)pmsg, sizeof(cmpk_tx_status_t)); pmsg 398 drivers/staging/rtl8192u/r819xU_cmdpkt.c static void cmpk_handle_tx_rate_history(struct net_device *dev, u8 *pmsg) pmsg 418 drivers/staging/rtl8192u/r819xU_cmdpkt.c ptemp = (u32 *)pmsg; pmsg 431 drivers/staging/rtl8192u/r819xU_cmdpkt.c ptxrate = (cmpk_tx_rahis_t *)pmsg; pmsg 5930 net/ipv6/addrconf.c struct prefixmsg *pmsg; pmsg 5934 net/ipv6/addrconf.c nlh = nlmsg_put(skb, portid, seq, event, sizeof(*pmsg), flags); pmsg 5938 net/ipv6/addrconf.c pmsg = nlmsg_data(nlh); pmsg 5939 net/ipv6/addrconf.c pmsg->prefix_family = AF_INET6; pmsg 5940 net/ipv6/addrconf.c pmsg->prefix_pad1 = 0; pmsg 5941 net/ipv6/addrconf.c pmsg->prefix_pad2 = 0; pmsg 5942 net/ipv6/addrconf.c pmsg->prefix_ifindex = idev->dev->ifindex; pmsg 5943 net/ipv6/addrconf.c pmsg->prefix_len = pinfo->prefix_len; pmsg 5944 net/ipv6/addrconf.c pmsg->prefix_type = pinfo->type; pmsg 5945 net/ipv6/addrconf.c pmsg->prefix_pad3 = 0; pmsg 5946 net/ipv6/addrconf.c pmsg->prefix_flags = 0; pmsg 5948 net/ipv6/addrconf.c pmsg->prefix_flags |= IF_PREFIX_ONLINK; pmsg 5950 net/ipv6/addrconf.c pmsg->prefix_flags |= IF_PREFIX_AUTOCONF; pmsg 454 net/netfilter/nfnetlink_log.c struct nfulnl_msg_packet_hdr pmsg; pmsg 471 net/netfilter/nfnetlink_log.c memset(&pmsg, 0, sizeof(pmsg)); pmsg 472 net/netfilter/nfnetlink_log.c pmsg.hw_protocol = skb->protocol; pmsg 473 net/netfilter/nfnetlink_log.c pmsg.hook = hooknum; pmsg 475 net/netfilter/nfnetlink_log.c if (nla_put(inst->skb, NFULA_PACKET_HDR, sizeof(pmsg), &pmsg)) pmsg 384 net/netfilter/nfnetlink_queue.c struct nfqnl_msg_packet_hdr *pmsg; pmsg 485 net/netfilter/nfnetlink_queue.c nla = __nla_reserve(skb, NFQA_PACKET_HDR, sizeof(*pmsg)); pmsg 486 net/netfilter/nfnetlink_queue.c pmsg = nla_data(nla); pmsg 487 net/netfilter/nfnetlink_queue.c pmsg->hw_protocol = entskb->protocol; pmsg 488 net/netfilter/nfnetlink_queue.c pmsg->hook = entry->state.hook; pmsg 489 net/netfilter/nfnetlink_queue.c *packet_id_ptr = &pmsg->packet_id; pmsg 166 net/sunrpc/xprtrdma/svc_rdma_transport.c const struct rpcrdma_connect_private *pmsg = param->private_data; pmsg 168 net/sunrpc/xprtrdma/svc_rdma_transport.c if (pmsg && pmsg 169 net/sunrpc/xprtrdma/svc_rdma_transport.c pmsg->cp_magic == rpcrdma_cmp_magic && pmsg 170 net/sunrpc/xprtrdma/svc_rdma_transport.c pmsg->cp_version == RPCRDMA_CMP_VERSION) { pmsg 171 net/sunrpc/xprtrdma/svc_rdma_transport.c newxprt->sc_snd_w_inv = pmsg->cp_flags & pmsg 176 net/sunrpc/xprtrdma/svc_rdma_transport.c rpcrdma_decode_buffer_size(pmsg->cp_send_size), pmsg 177 net/sunrpc/xprtrdma/svc_rdma_transport.c rpcrdma_decode_buffer_size(pmsg->cp_recv_size), pmsg 392 net/sunrpc/xprtrdma/svc_rdma_transport.c struct rpcrdma_connect_private pmsg; pmsg 508 net/sunrpc/xprtrdma/svc_rdma_transport.c pmsg.cp_magic = rpcrdma_cmp_magic; pmsg 509 net/sunrpc/xprtrdma/svc_rdma_transport.c pmsg.cp_version = RPCRDMA_CMP_VERSION; pmsg 510 net/sunrpc/xprtrdma/svc_rdma_transport.c pmsg.cp_flags = 0; pmsg 511 net/sunrpc/xprtrdma/svc_rdma_transport.c pmsg.cp_send_size = pmsg.cp_recv_size = pmsg 525 net/sunrpc/xprtrdma/svc_rdma_transport.c conn_param.private_data = &pmsg; pmsg 526 net/sunrpc/xprtrdma/svc_rdma_transport.c conn_param.private_data_len = sizeof(pmsg); pmsg 183 net/sunrpc/xprtrdma/verbs.c const struct rpcrdma_connect_private *pmsg = param->private_data; pmsg 191 net/sunrpc/xprtrdma/verbs.c if (pmsg && pmsg 192 net/sunrpc/xprtrdma/verbs.c pmsg->cp_magic == rpcrdma_cmp_magic && pmsg 193 net/sunrpc/xprtrdma/verbs.c pmsg->cp_version == RPCRDMA_CMP_VERSION) { pmsg 195 net/sunrpc/xprtrdma/verbs.c rsize = rpcrdma_decode_buffer_size(pmsg->cp_send_size); pmsg 196 net/sunrpc/xprtrdma/verbs.c wsize = rpcrdma_decode_buffer_size(pmsg->cp_recv_size); pmsg 479 net/sunrpc/xprtrdma/verbs.c struct rpcrdma_connect_private *pmsg = &ep->rep_cm_private; pmsg 546 net/sunrpc/xprtrdma/verbs.c pmsg->cp_magic = rpcrdma_cmp_magic; pmsg 547 net/sunrpc/xprtrdma/verbs.c pmsg->cp_version = RPCRDMA_CMP_VERSION; pmsg 548 net/sunrpc/xprtrdma/verbs.c pmsg->cp_flags |= RPCRDMA_CMP_F_SND_W_INV_OK; pmsg 549 net/sunrpc/xprtrdma/verbs.c pmsg->cp_send_size = rpcrdma_encode_buffer_size(ep->rep_inline_send); pmsg 550 net/sunrpc/xprtrdma/verbs.c pmsg->cp_recv_size = rpcrdma_encode_buffer_size(ep->rep_inline_recv); pmsg 551 net/sunrpc/xprtrdma/verbs.c ep->rep_remote_cma.private_data = pmsg; pmsg 552 net/sunrpc/xprtrdma/verbs.c ep->rep_remote_cma.private_data_len = sizeof(*pmsg);