Home
last modified time | relevance | path

Searched refs:rmsg (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-viperboard.c66 struct vprbrd_i2c_read_msg *rmsg, int bytes_xfer) in vprbrd_i2c_receive() argument
73 usb_sndbulkpipe(usb_dev, VPRBRD_EP_OUT), rmsg, in vprbrd_i2c_receive()
85 usb_rcvbulkpipe(usb_dev, VPRBRD_EP_IN), rmsg, in vprbrd_i2c_receive()
117 struct vprbrd_i2c_read_msg *rmsg = in vprbrd_i2c_read() local
121 rmsg->header.cmd = VPRBRD_I2C_CMD_READ; in vprbrd_i2c_read()
123 rmsg->header.addr = cpu_to_le16(start + 0x4000); in vprbrd_i2c_read()
127 rmsg->header.len0 = remain_len; in vprbrd_i2c_read()
128 rmsg->header.len1 = 0x00; in vprbrd_i2c_read()
129 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
130 rmsg->header.len3 = 0x00; in vprbrd_i2c_read()
[all …]
/openbmc/linux/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-vchiq.c777 struct mmal_msg *rmsg; in port_info_set() local
810 &rmsg, &rmsg_handle); in port_info_set()
814 if (rmsg->h.type != MMAL_MSG_TYPE_PORT_INFO_SET) { in port_info_set()
821 ret = -rmsg->u.port_info_get_reply.status; in port_info_set()
838 struct mmal_msg *rmsg; in port_info_get() local
849 &rmsg, &rmsg_handle); in port_info_get()
853 if (rmsg->h.type != MMAL_MSG_TYPE_PORT_INFO_GET) { in port_info_get()
860 ret = -rmsg->u.port_info_get_reply.status; in port_info_get()
864 if (rmsg->u.port_info_get_reply.port.is_enabled == 0) in port_info_get()
870 port->handle = rmsg->u.port_info_get_reply.port_handle; in port_info_get()
[all …]
/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_sdhci-test.c61 char *rmsg = g_malloc(len); in write_sdread() local
71 ret = sdhci_read_cmd(qts, NPCM7XX_MMC_BA, rmsg, len); in write_sdread()
73 g_assert(!memcmp(rmsg, msg, len)); in write_sdread()
75 g_free(rmsg); in write_sdread()
93 char *rmsg = g_malloc(len); in sdwrite_read() local
101 ret = read(fd, rmsg, len); in sdwrite_read()
105 g_assert(!memcmp(rmsg, msg, len)); in sdwrite_read()
107 g_free(rmsg); in sdwrite_read()