Searched refs:msgs (Results 126 - 150 of 166) sorted by relevance

1234567

/drivers/media/pci/ttpci/
H A Dav7110.c1439 struct i2c_msg msgs; local
1441 msgs.flags = 0;
1442 msgs.addr = id / 2;
1443 msgs.len = 2;
1444 msgs.buf = msg;
1445 return i2c_transfer(&av7110->i2c_adap, &msgs, 1);
1452 struct i2c_msg msgs[2]; local
1454 msgs[0].flags = 0;
1455 msgs[1].flags = I2C_M_RD;
1456 msgs[
[all...]
/drivers/scsi/arm/
H A Dacornscsi.h297 MsgQueue_t msgs; member in struct:acornscsi_hostdata::__anon5158
H A Dfas216.h159 #define CNTL3_QTAG (1 << 6) /* Enable 3 byte msgs */
246 MsgQueue_t msgs; /* message queue for connected device */ member in struct:__anon5172::__anon5173
/drivers/staging/media/cxd2099/
H A Dcxd2099.c91 struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0, local
96 if (i2c_transfer(adapter, msgs, 2) != 2) {
106 struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0, local
111 if (i2c_transfer(adapter, msgs, 2) != 2) {
/drivers/gpu/drm/
H A Ddrm_dp_mst_topology.c40 * The helpers encapsulate the sending and received of sideband msgs.
2640 static int drm_dp_mst_i2c_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, argument
2659 if (msgs[num - 1].flags & I2C_M_RD)
2672 msg.u.i2c_read.transactions[i].i2c_dev_id = msgs[i].addr;
2673 msg.u.i2c_read.transactions[i].num_bytes = msgs[i].len;
2674 msg.u.i2c_read.transactions[i].bytes = msgs[i].buf;
2676 msg.u.i2c_read.read_i2c_device_id = msgs[num - 1].addr;
2677 msg.u.i2c_read.num_bytes_read = msgs[num - 1].len;
2697 if (txmsg->reply.u.remote_i2c_read_ack.num_bytes != msgs[num - 1].len) {
2701 memcpy(msgs[nu
[all...]
/drivers/scsi/ibmvscsi/
H A Dibmvfc.c590 memset(vhost->async_crq.msgs, 0, PAGE_SIZE);
668 free_page((unsigned long)crq->msgs);
723 memset(crq->msgs, 0, PAGE_SIZE);
1188 login_info->async.len = cpu_to_be32(vhost->async_crq.size * sizeof(*vhost->async_crq.msgs));
3158 crq = &async_crq->msgs[async_crq->cur];
3181 crq = &queue->msgs[queue->cur];
4561 crq->msgs = (struct ibmvfc_crq *)get_zeroed_page(GFP_KERNEL);
4563 if (!crq->msgs)
4566 crq->size = PAGE_SIZE / sizeof(*crq->msgs);
4567 crq->msg_token = dma_map_single(dev, crq->msgs,
[all...]
H A Dibmvfc.h559 struct ibmvfc_crq *msgs; member in struct:ibmvfc_crq_queue
584 struct ibmvfc_async_crq *msgs; member in struct:ibmvfc_async_crq_queue
/drivers/media/pci/ddbridge/
H A Dddbridge-core.c56 struct i2c_msg msgs[1] = {{.addr = adr, .flags = I2C_M_RD, local
58 return (i2c_transfer(adapter, msgs, 1) == 1) ? 0 : -1;
63 struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0, local
67 return (i2c_transfer(adapter, msgs, 2) == 2) ? 0 : -1;
74 struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0, local
78 return (i2c_transfer(adapter, msgs, 2) == 2) ? 0 : -1;
/drivers/char/tpm/
H A Dtpm_i2c_infineon.c109 struct i2c_msg msgs[] = {msg1, msg2}; local
127 rc = __i2c_transfer(tpm_dev.client->adapter, msgs, 2);
/drivers/gpu/drm/gma500/
H A Dcdv_intel_lvds.c100 struct i2c_msg msgs[] = {
119 if (i2c_transfer(&lvds_i2c_bus->adapter, msgs, 1) == 1)
H A Dpsb_intel_lvds.c109 struct i2c_msg msgs[] = { local
128 if (i2c_transfer(&lvds_i2c_bus->adapter, msgs, 1) == 1) {
/drivers/i2c/busses/
H A Di2c-axxia.c431 axxia_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num) argument
438 ret = axxia_i2c_xfer_msg(idev, &msgs[i]);
H A Di2c-bcm-kona.c605 struct i2c_msg msgs[], int num)
641 pmsg = &msgs[i];
604 bcm_kona_i2c_xfer(struct i2c_adapter *adapter, struct i2c_msg msgs[], int num) argument
H A Di2c-davinci.c422 i2c_davinci_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num) argument
428 dev_dbg(dev->dev, "%s: msgs: %d\n", __func__, num);
437 ret = i2c_davinci_xfer_msg(adap, &msgs[i], (i == (num - 1)));
H A Di2c-mxs.c647 static int mxs_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], argument
654 err = mxs_i2c_xfer_msg(adap, &msgs[i], i == (num - 1));
H A Di2c-pnx.c488 * @msgs: array of messages
494 i2c_pnx_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) argument
511 pmsg = &msgs[i];
H A Di2c-sh_mobile.c563 struct i2c_msg *msgs,
576 msg = &msgs[i];
562 sh_mobile_i2c_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int num) argument
H A Di2c-xiic.c642 static int xiic_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) argument
654 i2c->tx_msg = msgs;
H A Di2c-pxa.c821 struct i2c_msg msgs[], int num)
834 ret = i2c_pxa_do_pio_xfer(i2c, msgs, num);
1051 static int i2c_pxa_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num) argument
1057 ret = i2c_pxa_do_xfer(i2c, msgs, num);
820 i2c_pxa_pio_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num) argument
H A Di2c-tegra.c620 static int tegra_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], argument
639 if (msgs[i + 1].flags & I2C_M_NOSTART)
644 ret = tegra_i2c_xfer_msg(i2c_dev, &msgs[i], end_type);
/drivers/input/misc/
H A Dkxtj9.c99 struct i2c_msg msgs[] = { local
114 return i2c_transfer(tj9->client->adapter, msgs, 2);
/drivers/rtc/
H A Drtc-rs5c372.c108 struct i2c_msg msgs[] = { local
138 if ((i2c_transfer(client->adapter, msgs, 1)) != 1) {
/drivers/media/pci/pt1/
H A Dpt1.c985 static int pt1_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) argument
997 msg = &msgs[i];
1002 next_msg = &msgs[i + 1];
/drivers/media/i2c/cx25840/
H A Dcx25840-core.c111 struct i2c_msg msgs[2]; local
117 msgs[0].addr = client->addr;
118 msgs[0].flags = 0;
119 msgs[0].len = 2;
120 msgs[0].buf = (char *) tx_buf;
123 msgs[1].addr = client->addr;
124 msgs[1].flags = I2C_M_RD;
125 msgs[1].len = 1;
126 msgs[1].buf = (char *) rx_buf;
128 if (i2c_transfer(client->adapter, msgs,
136 struct i2c_msg msgs[2]; local
[all...]
/drivers/char/ipmi/
H A Dipmi_msghandler.c1219 struct list_head msgs; local
1221 INIT_LIST_HEAD(&msgs);
1246 list_move_tail(&msg->link, &msgs);
1257 list_for_each_entry_safe(msg, msg2, &msgs, link) {
2048 seq_printf(m, "failed rexmit LAN msgs: %u\n",
2050 seq_printf(m, "failed rexmit IPMB msgs: %u\n",
3540 struct list_head msgs; local
3557 INIT_LIST_HEAD(&msgs);
3575 list_for_each_entry_safe(recv_msg, recv_msg2, &msgs,
3594 list_add_tail(&(recv_msg->link), &msgs);
[all...]

Completed in 7168 milliseconds

1234567