Home
last modified time | relevance | path

Searched defs:chn (Results 1 – 25 of 27) sorted by relevance

12

/external/libiio/src/bindings/csharp/
DChannel.cs35 private IntPtr chn; field in iio.Channel.ChannelAttr
38 …private static extern int iio_channel_attr_read(IntPtr chn, [In()] string name, [Out()] StringBuil… in iio_channel_attr_read()
41 … private static extern int iio_channel_attr_write(IntPtr chn, [In()] string name, string val); in iio_channel_attr_write()
44 … private static extern IntPtr iio_channel_attr_get_filename(IntPtr chn, [In()] string attr); in iio_channel_attr_get_filename()
46 …public ChannelAttr(IntPtr chn, string name) : base(name, Marshal.PtrToStringAnsi(iio_channel_attr_… in ChannelAttr()
69 private IntPtr chn; field in iio.Channel
73 private static extern IntPtr iio_channel_get_id(IntPtr chn); in iio_channel_get_id()
76 private static extern IntPtr iio_channel_get_name(IntPtr chn); in iio_channel_get_name()
79 private static extern uint iio_channel_get_attrs_count(IntPtr chn); in iio_channel_get_attrs_count()
82 private static extern IntPtr iio_channel_get_attr(IntPtr chn, uint index); in iio_channel_get_attr()
[all …]
/external/kernel-headers/original/uapi/linux/
Dultrasound.h76 #define _GUS_CMD(chn, voice, cmd, p1, p2) \ argument
84 #define GUS_NUMVOICES(chn, p1) _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0) argument
85 #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) /* OBSOLET… argument
86 #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument
87 #define GUS_VOICEOFF(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0) argument
88 #define GUS_VOICEFADE(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0) argument
89 #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument
90 #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument
91 #define GUS_VOICEFREQ(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \ argument
93 #define GUS_VOICEVOL(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) argument
[all …]
Dsoundcard.h1128 #define _CHN_VOICE(dev, event, chn, note, parm) \ argument
1140 #define SEQ_START_NOTE(dev, chn, note, vol) \ argument
1143 #define SEQ_STOP_NOTE(dev, chn, note, vol) \ argument
1146 #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \ argument
1153 #define _CHN_COMMON(dev, event, chn, p1, p2, w14) \ argument
1191 #define SEQ_CHN_PRESSURE(dev, chn, pressure) \ argument
1195 #define SEQ_PGM_CHANGE(dev, chn, patch) \ argument
1198 #define SEQ_CONTROL(dev, chn, controller, value) \ argument
1201 #define SEQ_BENDER(dev, chn, value) \ argument
/external/libiio/src/
Dchannel.c130 void iio_channel_init_finalize(struct iio_channel *chn) in iio_channel_init_finalize()
188 static char * get_scan_element(const struct iio_channel *chn, size_t *length) in get_scan_element()
216 char * iio_channel_get_xml(const struct iio_channel *chn, size_t *length) in iio_channel_get_xml()
295 const char * iio_channel_get_id(const struct iio_channel *chn) in iio_channel_get_id()
300 const char * iio_channel_get_name(const struct iio_channel *chn) in iio_channel_get_name()
305 bool iio_channel_is_output(const struct iio_channel *chn) in iio_channel_is_output()
310 bool iio_channel_is_scan_element(const struct iio_channel *chn) in iio_channel_is_scan_element()
315 enum iio_modifier iio_channel_get_modifier(const struct iio_channel *chn) in iio_channel_get_modifier()
320 enum iio_chan_type iio_channel_get_type(const struct iio_channel *chn) in iio_channel_get_type()
325 unsigned int iio_channel_get_attrs_count(const struct iio_channel *chn) in iio_channel_get_attrs_count()
[all …]
Dlocal.c131 static void local_free_channel_pdata(struct iio_channel *chn) in local_free_channel_pdata()
178 static int set_channel_name(struct iio_channel *chn) in set_channel_name()
561 static ssize_t local_read_all_chn_attrs(const struct iio_channel *chn, in local_read_all_chn_attrs()
658 static ssize_t local_write_all_chn_attrs(const struct iio_channel *chn, in local_write_all_chn_attrs()
766 static const char * get_filename(const struct iio_channel *chn, in get_filename()
776 static ssize_t local_read_chn_attr(const struct iio_channel *chn, in local_read_chn_attr()
786 static ssize_t local_write_chn_attr(const struct iio_channel *chn, in local_write_chn_attr()
796 static int channel_write_state(const struct iio_channel *chn, bool en) in channel_write_state()
945 struct iio_channel *chn = dev->channels[i]; in local_open() local
954 struct iio_channel *chn = dev->channels[i]; in local_open() local
[all …]
Dxml.c26 static int add_attr_to_channel(struct iio_channel *chn, xmlNode *n) in add_attr_to_channel()
134 static void setup_scan_element(struct iio_channel *chn, xmlNode *n) in setup_scan_element()
175 struct iio_channel *chn = zalloc(sizeof(*chn)); in create_channel() local
259 *chn = create_channel(dev, n); in create_device() local
Dbuffer.c219 const struct iio_channel *chn = dev->channels[i]; in iio_buffer_foreach_sample() local
256 const struct iio_channel *chn) in iio_buffer_first()
Dserial.c159 static ssize_t serial_read_chn_attr(const struct iio_channel *chn, in serial_read_chn_attr()
170 static ssize_t serial_write_chn_attr(const struct iio_channel *chn, in serial_write_chn_attr()
Diiod-client.c335 const struct iio_device *dev, const struct iio_channel *chn, in iiod_client_read_attr()
416 const struct iio_device *dev, const struct iio_channel *chn, in iiod_client_write_attr()
Ddevice.c254 struct iio_channel *chn = dev->channels[i]; in iio_device_find_channel() local
547 const struct iio_channel *chn = dev->channels[i]; in iio_device_get_sample_size_mask() local
845 const char *filename, struct iio_channel **chn, in iio_device_identify_filename()
Dusb.c359 static ssize_t usb_read_chn_attr(const struct iio_channel *chn, in usb_read_chn_attr()
369 static ssize_t usb_write_chn_attr(const struct iio_channel *chn, in usb_write_chn_attr()
/external/libiio/src/examples/
Dad9371-iiostream.c95 static void wr_ch_lli(struct iio_channel *chn, const char* what, long long val) in wr_ch_lli()
101 static long long rd_ch_lli(struct iio_channel *chn, const char* what) in rd_ch_lli()
152 …ontext *ctx, enum iodev d, struct iio_device *dev, int chid, char modify, struct iio_channel **chn) in get_ad9371_stream_ch()
161 static bool get_phy_chan(struct iio_context *ctx, enum iodev d, int chid, struct iio_channel **chn) in get_phy_chan()
171 static bool get_lo_chan(struct iio_context *ctx, enum iodev d, struct iio_channel **chn) in get_lo_chan()
184 struct iio_channel *chn = NULL; in cfg_ad9371_streaming_ch() local
Dad9361-iiostream.c97 static void wr_ch_lli(struct iio_channel *chn, const char* what, long long val) in wr_ch_lli()
103 static void wr_ch_str(struct iio_channel *chn, const char* what, const char* str) in wr_ch_str()
134 …(struct iio_context *ctx, enum iodev d, struct iio_device *dev, int chid, struct iio_channel **chn) in get_ad9361_stream_ch()
143 static bool get_phy_chan(struct iio_context *ctx, enum iodev d, int chid, struct iio_channel **chn) in get_phy_chan()
153 static bool get_lo_chan(struct iio_context *ctx, enum iodev d, struct iio_channel **chn) in get_lo_chan()
166 struct iio_channel *chn = NULL; in cfg_ad9361_streaming_ch() local
Diio-monitor.c47 static bool channel_has_attr(struct iio_channel *chn, const char *attr) in channel_has_attr()
56 static bool is_valid_channel(struct iio_channel *chn) in is_valid_channel()
63 static double get_channel_value(struct iio_channel *chn) in get_channel_value()
158 struct iio_channel *chn = in read_thd() local
Ddummy-iiostream.c137 static ssize_t sample_cb(const struct iio_channel *chn, void *src, size_t bytes, void *d) in sample_cb()
235 struct iio_channel *chn = iio_device_get_channel(dev, i); in main() local
251 struct iio_channel *chn = iio_device_get_channel(dev, i); in main() local
/external/libiio/src/iiod/
Dlexer.l135 struct iio_channel *chn = NULL; variable
Dops.c361 static ssize_t send_sample(const struct iio_channel *chn, in send_sample()
388 static ssize_t receive_sample(const struct iio_channel *chn, in receive_sample()
560 struct iio_channel *chn = dev->channels[i]; in rw_thd() local
1173 struct iio_channel *chn, const char *attr) in read_chn_attr()
1191 struct iio_channel *chn, const char *attr, size_t len) in write_chn_attr()
Dops.h61 struct iio_channel *chn; member
Dparser.y66 struct iio_channel *chn; member
/external/libxaac/decoder/
Dixheaacd_ext_ch_ele.c260 ia_bit_buf_struct *it_bit_buff, WORD32 chn) { in ixheaacd_read_ms_mask()
309 WORD32 *l_spec, WORD32 chn, WORD32 nband) { in ixheaacd_ms_stereo()
469 ia_usac_tmp_core_coder_struct *pstr_core_coder, WORD32 chn) { in ixheaacd_cplx_pred_upmixing()
588 WORD32 ixheaacd_ics_info(ia_usac_data_struct *usac_data, WORD32 chn, in ixheaacd_ics_info()
646 WORD32 k = 0, ch = 0, chn, left = 0, right = 0; in ixheaacd_core_coder_data() local
Dixheaacd_spectrum_dec.c332 WORD32 window_sequence_last, WORD32 chn, WORD32 noise_filling, WORD32 ch, in ixheaacd_fd_channel_stream()
/external/u-boot/drivers/sound/
Drockchip_i2s.c54 u32 chn = priv->channels; in rockchip_i2s_init() local
/external/libiio/src/tests/
Diio_info.c163 struct iio_channel *chn = iio_device_get_channel(dev, i); in dev_is_buffer_capable() local
Diio_readdev.c187 static ssize_t print_sample(const struct iio_channel *chn, in print_sample()
Diio_writedev.c198 static ssize_t read_sample(const struct iio_channel *chn, in read_sample()

12