Home
last modified time | relevance | path

Searched refs:channels (Results 1 – 25 of 899) sorted by relevance

12345678910>>...36

/freebsd/contrib/wpa/src/p2p/
H A Dp2p_utils.c87 for (i = 0; i < a->channels; i++) { in p2p_reg_class_intersect()
88 for (j = 0; j < b->channels; j++) { in p2p_reg_class_intersect()
91 res->channel[res->channels] = a->channel[i]; in p2p_reg_class_intersect()
92 res->channels++; in p2p_reg_class_intersect()
93 if (res->channels == P2P_MAX_REG_CLASS_CHANNELS) in p2p_reg_class_intersect()
128 if (res->reg_class[res->reg_classes].channels) { in p2p_channels_intersect()
143 for (i = 0; i < b_cl->channels; i++) { in p2p_op_class_union()
144 for (j = 0; j < cl->channels; j++) { in p2p_op_class_union()
148 if (j == cl->channels) { in p2p_op_class_union()
149 if (cl->channels == P2P_MAX_REG_CLASS_CHANNELS) in p2p_op_class_union()
[all …]
H A Dp2p_invitation.c80 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels, in p2p_build_invitation_req()
117 struct p2p_channels *channels) in p2p_build_invitation_resp() argument
162 if (channels) { in p2p_build_invitation_resp()
167 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels, in p2p_build_invitation_resp()
196 struct p2p_channels all_channels, intersection, *channels = NULL; in p2p_process_invitation_req() local
248 p2p_channels_union(&p2p->cfg->channels, &p2p->cfg->cli_channels, in p2p_process_invitation_req()
259 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels); in p2p_process_invitation_req()
261 p2p_channels_dump(p2p, "peer channels", &dev->channels); in p2p_process_invitation_req()
262 p2p_channels_intersect(&all_channels, &dev->channels, in p2p_process_invitation_req()
275 p2p_channels_intersect(&p2p->cfg->channels, &dev->channels, in p2p_process_invitation_req()
[all …]
H A Dp2p_go_neg.c42 u8 channels; in p2p_peer_channels_check() local
45 ch = &dev->channels; in p2p_peer_channels_check()
65 channels = *pos++; in p2p_peer_channels_check()
66 if (channels > end - pos) { in p2p_peer_channels_check()
70 cl->channels = channels > P2P_MAX_REG_CLASS_CHANNELS ? in p2p_peer_channels_check()
71 P2P_MAX_REG_CLASS_CHANNELS : channels; in p2p_peer_channels_check()
72 os_memcpy(cl->channel, pos, cl->channels); in p2p_peer_channels_check()
73 pos += channels; in p2p_peer_channels_check()
79 p2p_channels_intersect(own, &dev->channels, &intersection); in p2p_peer_channels_check()
82 (int) dev->channels.reg_classes, in p2p_peer_channels_check()
[all …]
/freebsd/share/examples/sound/oss/
H A Daudio.c70 int channels; member
119 channel = i % config->channels; in oss_split()
120 index = i / config->channels; in oss_split()
134 for (channel = 0; channel < config->channels; ++channel) { in oss_merge()
136 output[index * config->channels + channel] = in oss_merge()
164 if (config->channels < 1) in oss_init()
165 config->channels = config->audio_info.max_channels; in oss_init()
182 tmp = config->channels; in oss_init()
186 if (tmp != config->channels) { in oss_init()
188 "to %d!\n", config->device, config->channels, tmp); in oss_init()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-ampere-mtmitchell.dts106 io-channels = <&adc_i2c_0 0>;
111 channels = "s0", "s1";
116 io-channels = <&adc_i2c_0 1>;
121 channels = "s0", "s1";
126 io-channels = <&adc_i2c_0 2>;
131 channels = "s0", "s1";
136 io-channels = <&adc_i2c_0 3>;
141 channels = "s0", "s1";
146 io-channels = <&adc_i2c_0 4>;
151 channels
[all...]
H A Daspeed-bmc-ampere-mtjade.dts108 io-channels = <&adc 0>;
112 channels = "s0", "s1";
117 io-channels = <&adc 1>;
121 channels = "s0", "s1";
126 io-channels = <&adc 2>;
130 channels = "s0", "s1";
135 io-channels = <&adc 3>;
139 channels = "s0", "s1";
144 io-channels = <&adc 4>;
148 channels
[all...]
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dresistive-adc-touch.txt6 The device must be connected to an ADC device that provides channels for
12 - iio-channels: must have at least two channels connected to an ADC device.
13 These should correspond to the channels exposed by the ADC device and should
14 have the right index as the ADC device registers them. These channels
16 - iio-channel-names: must have all the channels' names. Mandatory channels
20 - iio-channels: The third channel named "pressure" is optional and can be
31 io-channels = <&adc 24>, <&adc 25>, <&adc 26>;
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dspi-sprd-adi.txt8 ADI controller has 50 channels including 2 software read/write channels and
9 48 hardware channels to access analog chip. For 2 software read/write channels,
10 users should set ADI registers to access analog chip. For hardware channels,
14 triggered by hardware components instead of ADI software channels.
16 Thus we introduce one property named "sprd,hw-channels" to configure hardware
17 channels, the first value specifies the hardware channel id which is used to
22 one system is reading/writing data by ADI software channels, that should be under
24 data by ADI software channels at the same time, or two parallel routine of setting
28 The new version ADI controller supplies multiple master channels for different
45 - sprd,hw-channels: This is an array of channel values up to 49 channels.
[all …]
/freebsd/sys/dev/sound/pcm/
H A Dfeeder_volume.c54 uint32_t channels, uint8_t *dst, uint32_t count) \
60 dst += count * PCM_##BIT##_BPS * channels; \
62 i = channels; \
96 uint32_t bps, channels; member
160 info->channels = AFMT_CHANNEL(f->desc->in); in feed_volume_init()
166 m = feeder_matrix_default_channel_map(info->channels); in feed_volume_init()
262 i = info->channels; in feed_volume_feed()
280 align = info->bps * info->channels; in feed_volume_feed()
291 info->apply(temp_vol, matrix, info->channels, dst, j); in feed_volume_feed()
334 f->data == NULL || m == NULL || m->channels < SND_CHN_MI in feeder_volume_apply_matrix()
[all...]
H A Dmatrix_map.h68 .channels = 1, \
94 .channels = 2, \
125 .channels = 3, \
162 .channels = 3, \
200 .channels = 4, \
243 .channels = 4, \
287 .channels = 5, \
337 .channels = 5, \
387 .channels = 6, \
440 .channels = 6, \
[all …]
H A Dfeeder_matrix.c299 AFMT_CHANNEL(info->in) != m_in->channels || in feed_matrix_setup()
300 AFMT_CHANNEL(info->out) != m_out->channels || in feed_matrix_setup()
301 m_in->channels < SND_CHN_MIN || m_in->channels > SND_CHN_MAX || in feed_matrix_setup()
302 m_out->channels < SND_CHN_MIN || m_out->channels > SND_CHN_MAX) in feed_matrix_setup()
344 m_in->offset[i] < (int)m_in->channels) in feed_matrix_setup()
360 * multiple channels, apply a slight attenuation to in feed_matrix_setup()
552 * feeder_matrix_default_id(): For a given number of channels, return
554 * 6.0 are simply 6 channels, bu
[all...]
/freebsd/usr.sbin/bhyve/
H A Daudio.c130 int format, channels, rate; in audio_set_params() local
173 channels = params->channels; in audio_set_params()
174 err = ioctl(audio_fd, SNDCTL_DSP_CHANNELS, &channels); in audio_set_params()
177 params->channels, errno); in audio_set_params()
182 if (channels != params->channels) { in audio_set_params()
184 channels, params->channels); in audio_set_params()
/freebsd/usr.sbin/bluetooth/l2control/
H A Dl2cap.c203 r.channels = calloc(NG_L2CAP_MAX_CHAN_NUM, in l2cap_read_channel_list()
205 if (r.channels == NULL) { in l2cap_read_channel_list()
224 bdaddrpr(&r.channels[n].remote), in l2cap_read_channel_list()
225 r.channels[n].scid, r.channels[n].dcid, in l2cap_read_channel_list()
226 r.channels[n].psm, r.channels[n].imtu, in l2cap_read_channel_list()
227 r.channels[n].omtu, in l2cap_read_channel_list()
228 ch_state2str(r.channels[n].state)); in l2cap_read_channel_list()
231 free(r.channels); in l2cap_read_channel_list()
/freebsd/sys/contrib/device-tree/Bindings/dma/
H A Dbrcm,bcm2835-dma.txt3 The BCM2835 DMA controller has 16 channels in total.
4 Only the lower 13 channels have an associated IRQ.
5 Some arbitrary channels are used by the firmware
7 The channels 0,2 and 3 have special functionality
14 to the DMA channels in ascending order.
18 that is shared by all dma channels.
21 - brcm,dma-channel-mask: Bit mask representing the channels
46 /* unused shared irq for all channels */
H A Dsnps,dw-axi-dmac.txt8 - dma-channels: Number of channels supported by hardware.
13 dma-channels. Priority value must be programmed within [0:dma-channels-1]
16 Array size is equal to the number of dma-channels.
33 dma-channels = <4>;
H A Dmmp-dma.txt13 - dma-channels: Number of DMA channels supported by the controller (defaults
15 - #dma-channels: deprecated
38 dma-channels = <16>;
42 * One irq for all channels
50 dma-channels = <16>;
76 /* One irq for all channels */
H A Dsprd-dma.txt11 - dma-channels : Number of DMA channels supported. Should be 32.
16 - #dma-channels : Number of DMA channels supported. Should be 32.
26 dma-channels = <32>;
/freebsd/sys/contrib/device-tree/Bindings/iio/multiplexer/
H A Dio-channel-mux.txt8 - io-channels : Channel node of the parent channel that has multiplexed
14 - channels : List of strings, labeling the mux controller states.
16 For each non-empty string in the channels property, an io-channel will
18 the list of strings in the channels property, and also matches the mux
33 io-channels = <&adc 0>;
38 channels = "sync", "in", "system-regulator";
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dxlnx,i2s.txt12 - xlnx,num-channels: Number of I2S streams. Can be any of 1, 2, 3, 4.
13 supported channels = 2 * xlnx,num-channels
21 xlnx,num-channels = <1>;
27 xlnx,num-channels = <1>;
/freebsd/sys/dev/sound/pci/
H A Dhdsp-pcm.c460 unsigned int pos_end, unsigned int width, unsigned int channels) in buffer_mux_write() argument
467 pcm[pos * channels + slot]; in buffer_mux_write()
474 unsigned int pos, unsigned int samples, unsigned int channels) in buffer_mux_port() argument
492 buffer_mux_write(dma, pcm, pos, pos + samples, 1, channels); in buffer_mux_port()
494 buffer_mux_write(dma, pcm, pos, pos + samples, 2, channels); in buffer_mux_port()
496 buffer_mux_write(dma, pcm, pos, pos + samples, 4, channels); in buffer_mux_port()
498 buffer_mux_write(dma, pcm, pos, pos + samples, 8, channels); in buffer_mux_port()
500 buffer_mux_write(dma, pcm, pos, pos + samples, width, channels); in buffer_mux_port()
505 unsigned int pos_end, unsigned int width, unsigned int channels) in buffer_demux_read() argument
511 pcm[pos * channels + slot] = in buffer_demux_read()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/
H A Dadc.txt5 - diff-channels : Differential channels muxed for this ADC. The first value
15 diff-channels = <0 1>;
20 diff-channels = <2 3>;
H A Dcc10001_adc.txt11 - adc-reserved-channels: Bitmask of reserved channels,
12 i.e. channels that cannot be used by the OS.
18 adc-reserved-channels = <0x2>;
/freebsd/sys/contrib/device-tree/Bindings/media/
H A Drenesas,drif.txt15 channels (drifn0 & drifn1). These two internal channels share the common
17 irq, dma channels, address space & clock. This internal split is not
21 The internal channels sharing the CLK & SYNC are tied together by their
26 When both internal channels are enabled they need to be managed together
29 properties of both the internal channels. This channel is identified by a
33 - When both the internal channels that are bonded together are enabled,
34 the zeroth channel is selected as primary-bond. This channels accepts
36 - When only one of the bonded channels need to be enabled, the property
54 - dmas: phandles to the DMA channels.
69 among the bonded channels.
[all …]
/freebsd/sys/contrib/device-tree/src/arm/
H A Dcros-adc-thermistors.dtsi18 io-channels = <&adc 3>;
25 io-channels = <&adc 4>;
32 io-channels = <&adc 5>;
39 io-channels = <&adc 6>;
/freebsd/sys/contrib/device-tree/Bindings/dma/xilinx/
H A Dxilinx_dma.txt2 It can be configured to have one channel or two channels. If configured
3 as two channels, one is to transmit to the video device and another is
7 target devices. It can be configured to have one channel or two channels.
8 If configured as two channels, one is to transmit to the device and another
16 and receive channels.
29 two channels per device. This node specifies the properties of each
61 {1}, flush both channels
85 - dma-channels: Number of dma channels in child node.
121 from '16' and is in [16-31] range. These channels I
[all...]

12345678910>>...36