Home
last modified time | relevance | path

Searched refs:iiod_client (Results 1 – 5 of 5) sorted by relevance

/external/libiio/src/
Diiod-client.h25 struct iiod_client;
37 struct iiod_client * iiod_client_new(struct iio_context_pdata *pdata,
39 void iiod_client_destroy(struct iiod_client *client);
41 int iiod_client_get_version(struct iiod_client *client, void *desc,
43 int iiod_client_get_trigger(struct iiod_client *client, void *desc,
46 int iiod_client_set_trigger(struct iiod_client *client, void *desc,
48 int iiod_client_set_kernel_buffers_count(struct iiod_client *client,
50 int iiod_client_set_timeout(struct iiod_client *client,
52 ssize_t iiod_client_read_attr(struct iiod_client *client, void *desc,
55 ssize_t iiod_client_write_attr(struct iiod_client *client, void *desc,
[all …]
Diiod-client.c29 struct iiod_client { struct
35 static ssize_t iiod_client_read_integer(struct iiod_client *client, in iiod_client_read_integer() argument
69 static int iiod_client_exec_command(struct iiod_client *client, in iiod_client_exec_command()
83 static ssize_t iiod_client_write_all(struct iiod_client *client, in iiod_client_write_all()
110 static ssize_t iiod_client_read_all(struct iiod_client *client, in iiod_client_read_all()
137 struct iiod_client * iiod_client_new(struct iio_context_pdata *pdata, in iiod_client_new()
140 struct iiod_client *client; in iiod_client_new()
154 void iiod_client_destroy(struct iiod_client *client) in iiod_client_destroy()
159 int iiod_client_get_version(struct iiod_client *client, void *desc, in iiod_client_get_version()
207 int iiod_client_get_trigger(struct iiod_client *client, void *desc, in iiod_client_get_trigger()
[all …]
Dserial.c35 struct iiod_client *iiod_client; member
65 return iiod_client_get_version(pdata->iiod_client, NULL, in serial_get_version()
81 ret = iiod_client_open_unlocked(ctx_pdata->iiod_client, NULL, in serial_open()
102 ret = iiod_client_close_unlocked(ctx_pdata->iiod_client, NULL, dev); in serial_close()
118 ret = iiod_client_read_unlocked(pdata->iiod_client, NULL, in serial_read()
133 ret = iiod_client_write_unlocked(pdata->iiod_client, NULL, dev, src, len); in serial_write()
145 return iiod_client_read_attr(pdata->iiod_client, NULL, in serial_read_dev_attr()
155 return iiod_client_write_attr(pdata->iiod_client, NULL, in serial_write_dev_attr()
166 return iiod_client_read_attr(pdata->iiod_client, NULL, in serial_read_chn_attr()
177 return iiod_client_write_attr(pdata->iiod_client, NULL, in serial_write_chn_attr()
[all …]
Dusb.c63 struct iiod_client *iiod_client; member
142 return iiod_client_get_version(ctx->pdata->iiod_client, in usb_get_version()
260 ret = iiod_client_open_unlocked(ctx_pdata->iiod_client, &pdata->io_ctx, in usb_open()
267 ret = iiod_client_set_timeout(ctx_pdata->iiod_client, in usb_open()
296 ret = iiod_client_close_unlocked(ctx_pdata->iiod_client, &pdata->io_ctx, in usb_close()
318 ret = iiod_client_read_unlocked(dev->ctx->pdata->iiod_client, in usb_read()
332 ret = iiod_client_write_unlocked(dev->ctx->pdata->iiod_client, in usb_write()
344 return iiod_client_read_attr(pdata->iiod_client, in usb_read_dev_attr()
354 return iiod_client_write_attr(pdata->iiod_client, in usb_write_dev_attr()
364 return iiod_client_read_attr(pdata->iiod_client, in usb_read_chn_attr()
[all …]
Dnetwork.c88 struct iiod_client *iiod_client; member
746 ret = iiod_client_open_unlocked(pdata->iiod_client, in network_open()
788 dev->ctx->pdata->iiod_client, in network_close()
823 ret = iiod_client_read_unlocked(dev->ctx->pdata->iiod_client, in network_read()
837 ret = iiod_client_write_unlocked(dev->ctx->pdata->iiod_client, in network_write()
1155 return iiod_client_read_attr(pdata->iiod_client, in network_read_dev_attr()
1164 return iiod_client_write_attr(pdata->iiod_client, in network_write_dev_attr()
1173 return iiod_client_read_attr(pdata->iiod_client, in network_read_chn_attr()
1182 return iiod_client_write_attr(pdata->iiod_client, in network_write_chn_attr()
1191 return iiod_client_get_trigger(pdata->iiod_client, in network_get_trigger()
[all …]