Home
last modified time | relevance | path

Searched refs:chan (Results 51 - 75 of 333) sorted by relevance

12345678910>>...14

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dhw_features_common.h16 int chan, int *freq);
18 hw_mode_get_channel(struct hostapd_hw_modes *mode, int freq, int *chan);
21 hw_get_channel_freq(enum hostapd_hw_mode mode, int freq, int *chan,
24 int hw_get_freq(struct hostapd_hw_modes *mode, int chan);
52 int chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw,
54 int chan_pri_allowed(const struct hostapd_channel_data *chan);
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_shader.c482 unsigned chan);
618 alu.dst.chan = i % 4; in evergreen_interp_alu()
621 alu.src[0].chan = (base_chan - (i % 2)); in evergreen_interp_alu()
648 alu.dst.chan = i; in evergreen_interp_flat()
651 alu.src[0].chan = i; in evergreen_interp_flat()
810 alu.dst.chan = i; in select_twoside_color()
811 alu.src[1].chan = i; in select_twoside_color()
812 alu.src[2].chan = i; in select_twoside_color()
839 alu.src[0].chan = src0_chan_val; in single_alu_op2()
844 alu.src[1].chan in single_alu_op2()
2068 int sel, chan; r600_get_byte_address() local
2332 int chan = inst->Src[i].Indirect.Swizzle; tgsi_split_constant() local
3092 int chan = (j == 1) ? 2 : (param ? 1 : 0); emit_lds_vs_writes() local
4398 r600_bytecode_src(struct r600_bytecode_alu_src *bc_src, const struct r600_shader_src *shader_src, unsigned chan) r600_bytecode_src() argument
5537 int chan; tgsi_lit() local
[all...]
/third_party/alsa-lib/test/
H A Dplaymidi1.c265 static void do_noteon(int chan, int pitch, int vol) in do_noteon() argument
270 printf("%lu: NoteOn (%d) %d %d\n", Mf_currtime, chan, pitch, vol); in do_noteon()
272 snd_seq_ev_set_noteon(&ev, chan, pitch, vol); in do_noteon()
277 static void do_noteoff(int chan, int pitch, int vol) in do_noteoff() argument
282 printf("%lu: NoteOff (%d) %d %d\n", Mf_currtime, chan, pitch, vol); in do_noteoff()
284 snd_seq_ev_set_noteoff(&ev, chan, pitch, vol); in do_noteoff()
289 static void do_program(int chan, int program) in do_program() argument
294 printf("%lu: Program (%d) %d\n", Mf_currtime, chan, program); in do_program()
296 snd_seq_ev_set_pgmchange(&ev, chan, program); in do_program()
301 static void do_parameter(int chan, in argument
313 do_pitchbend(int chan, int lsb, int msb) do_pitchbend() argument
324 do_pressure(int chan, int pitch, int pressure) do_pressure() argument
335 do_chanpressure(int chan, int pressure) do_chanpressure() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_nl80211_capa.c1557 struct hostapd_channel_data *chan, in phy_info_freq()
1562 os_memset(chan, 0, sizeof(*chan)); in phy_info_freq()
1563 chan->freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in phy_info_freq()
1564 chan->flag = 0; in phy_info_freq()
1565 chan->allowed_bw = ~0; in phy_info_freq()
1566 chan->dfs_cac_ms = 0; in phy_info_freq()
1567 if (ieee80211_freq_to_chan(chan->freq, &channel) != NUM_HOSTAPD_MODES) in phy_info_freq()
1568 chan->chan in phy_info_freq()
1556 phy_info_freq(struct hostapd_hw_modes *mode, struct hostapd_channel_data *chan, struct nlattr *tb_freq[]) phy_info_freq() argument
2109 struct hostapd_channel_data *chan = &mode->channels[c]; nl80211_set_ht40_mode() local
2122 struct hostapd_channel_data *chan = &mode->channels[c]; nl80211_set_ht40_mode_sec() local
2143 struct hostapd_channel_data *chan = &mode->channels[c]; nl80211_reg_rule_max_eirp() local
2199 struct hostapd_channel_data *chan = &mode->channels[c]; nl80211_set_vht_mode() local
2449 struct hostapd_channel_data *chan = &mode->channels[j]; nl80211_dump_chan_list() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi_aos.c94 unsigned chan) in swizzle_scalar_aos()
96 chan = bld->swizzles[chan]; in swizzle_scalar_aos()
97 return lp_build_swizzle_scalar_aos(&bld->bld_base.base, a, chan, 4); in swizzle_scalar_aos()
112 unsigned chan; in emit_fetch_constant() local
121 for (chan = 0; chan < 4; ++chan) { in emit_fetch_constant()
128 reg->Register.Index * 4 + chan); in emit_fetch_constant()
134 lp_build_name(scalar, "const[%u].%c", reg->Register.Index, "xyzw"[chan]); in emit_fetch_constant()
92 swizzle_scalar_aos(struct lp_build_tgsi_aos_context *bld, LLVMValueRef a, unsigned chan) swizzle_scalar_aos() argument
872 unsigned chan; lp_build_tgsi_aos() local
[all...]
H A Dlp_bld_swizzle.c460 for (unsigned chan = 0; chan < 4; ++chan) { in lp_build_swizzle_aos()
461 if (swizzles[chan] == PIPE_SWIZZLE_1) { in lp_build_swizzle_aos()
462 cond |= 1 << chan; in lp_build_swizzle_aos()
505 for (unsigned chan = 0; chan < 4; ++chan) { in lp_build_swizzle_aos()
506 if (swizzles[chan] < 4) { in lp_build_swizzle_aos()
507 /* We need to move channel swizzles[chan] int in lp_build_swizzle_aos()
[all...]
H A Dlp_bld_sample.c2259 unsigned chan; in lp_build_reduce_filter() local
2262 for (chan = 0; chan < num_chan; chan++) in lp_build_reduce_filter()
2263 out[chan] = lp_build_sample_min(bld, x, v00[chan], v01[chan]); in lp_build_reduce_filter()
2266 for (chan = 0; chan < num_chan; chan in lp_build_reduce_filter()
2290 unsigned chan; lp_build_reduce_filter_2d() local
2326 unsigned chan; lp_build_reduce_filter_3d() local
[all...]
H A Dlp_bld_format_srgb.c333 unsigned chan; in lp_build_float_to_srgb_packed() local
341 for (chan = 0; chan < 3; chan++) { in lp_build_float_to_srgb_packed()
342 unsigned chan_bits = dst_fmt->channel[dst_fmt->swizzle[chan]].size; in lp_build_float_to_srgb_packed()
343 tmpsrgb[chan] = lp_build_linear_to_srgb(gallivm, src_type, chan_bits, src[chan]); in lp_build_float_to_srgb_packed()
355 for (chan = 0; chan < dst_fmt->nr_channels; chan in lp_build_float_to_srgb_packed()
[all...]
H A Dlp_bld_sample_soa.c188 int chan; in lp_build_sample_texel_soa() local
196 for (chan = 0; chan < 4; chan++) { in lp_build_sample_texel_soa()
200 if (chan == 0) in lp_build_sample_texel_soa()
207 if (chan_s == format_desc->swizzle[chan]) { in lp_build_sample_texel_soa()
214 LLVMValueRef idx = lp_build_const_int32(bld->gallivm, chan); in lp_build_sample_texel_soa()
222 texel_out[chan] = lp_build_select(&bld->texel_bld, use_border, in lp_build_sample_texel_soa()
223 border_chan, texel_out[chan]); in lp_build_sample_texel_soa()
1041 int chan, texel_inde in lp_build_sample_image_linear() local
1806 unsigned chan; lp_build_sample_mipmap() local
1949 unsigned chan; lp_build_sample_mipmap_both() local
2748 int chan; lp_build_clamp_border_color() local
2950 unsigned chan; lp_build_sample_general() local
3106 unsigned dims = bld->dims, chan; lp_build_fetch_texel() local
3916 unsigned chan; lp_build_sample_soa_code() local
[all...]
H A Dlp_bld_nir_aos.c237 for (unsigned chan = 0; chan < nc; ++chan) { in emit_load_ubo()
239 offset_val + chan); in emit_load_ubo()
246 lp_build_name(scalar, "const[%u].%c", offset_val, "xyzw"[chan]); in emit_load_ubo()
249 nc == 1 ? 0 : bld->swizzles[chan]); in emit_load_ubo()
257 for (unsigned chan = 0; chan < nc; ++chan) { in emit_load_ubo()
258 shuffles[chan] in emit_load_ubo()
[all...]
/third_party/mesa3d/src/broadcom/compiler/
H A Dv3d_nir_lower_image_load_store.c48 const struct util_format_channel_description *chan = &desc->channel[0]; in v3d_gl_format_is_return_32() local
50 return chan->size > 16 || (chan->size == 16 && chan->normalized); in v3d_gl_format_is_return_32()
63 nir_ssa_def *chan = nir_channel(b, color, i); in pack_bits() local
69 chan = nir_iand(b, chan, in pack_bits()
74 results[offset / 32] = chan; in pack_bits()
78 nir_ishl(b, chan, in pack_bits()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_nir_to_llvm.c362 LLVMValueRef chan[4]; in radv_fixup_vertex_input_fetches() local
373 chan[i] = ac_llvm_extract_elem(&ctx->ac, value, i); in radv_fixup_vertex_input_fetches()
376 chan[0] = value; in radv_fixup_vertex_input_fetches()
380 chan[i] = i == 3 ? one : zero; in radv_fixup_vertex_input_fetches()
381 chan[i] = ac_to_integer(&ctx->ac, chan[i]); in radv_fixup_vertex_input_fetches()
384 return ac_build_gather_values(&ctx->ac, chan, 4); in radv_fixup_vertex_input_fetches()
453 for (unsigned chan = 0; chan < num_channels; chan in load_vs_input()
743 radv_load_output(struct radv_shader_context *ctx, unsigned index, unsigned chan) radv_load_output() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dhw_features_common.c20 int chan, int *freq) in hw_get_channel_chan()
32 if (ch->chan == chan) { in hw_get_channel_chan()
44 int freq, int *chan) in hw_get_channel_freq()
48 if (chan) in hw_get_channel_freq()
49 *chan = 0; in hw_get_channel_freq()
57 if (chan) in hw_get_channel_freq()
58 *chan = ch->chan; in hw_get_channel_freq()
67 int hw_get_freq(struct hostapd_hw_modes *mode, int chan) in hw_get_freq() argument
19 hw_get_channel_chan(struct hostapd_hw_modes *mode, int chan, int *freq) hw_get_channel_chan() argument
43 hw_get_channel_freq(struct hostapd_hw_modes *mode, int freq, int *chan) hw_get_channel_freq() argument
79 int chan; hw_get_chan() local
586 chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw, int ht40_plus, int pri) chan_bw_allowed() argument
621 chan_pri_allowed(const struct hostapd_channel_data *chan) chan_pri_allowed() argument
[all...]
H A Dhw_features_common.h16 int chan, int *freq);
18 int freq, int *chan);
20 int hw_get_freq(struct hostapd_hw_modes *mode, int chan);
45 int chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw,
47 int chan_pri_allowed(const struct hostapd_channel_data *chan);
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dtrans_proxy_channel_test.cpp128 ProxyChannelInfo *chan = (ProxyChannelInfo *)SoftBusCalloc(sizeof(ProxyChannelInfo)); in TestAddTestProxyChannel() local
129 if (chan == NULL) { in TestAddTestProxyChannel()
133 chan->myId = m_testProxyChannelId; in TestAddTestProxyChannel()
134 chan->channelId = m_testProxyChannelId; in TestAddTestProxyChannel()
135 chan->authHandle.authId = authId; in TestAddTestProxyChannel()
136 chan->appInfo.appType = APP_TYPE_NORMAL; in TestAddTestProxyChannel()
137 chan->status = PROXY_CHANNEL_STATUS_PYH_CONNECTED; in TestAddTestProxyChannel()
138 if (TransProxyAddChanItem(chan) != SOFTBUS_OK) { in TestAddTestProxyChannel()
140 SoftBusFree(chan); in TestAddTestProxyChannel()
160 ProxyChannelInfo *chan in HWTEST_F() local
182 ProxyChannelInfo *chan = (ProxyChannelInfo *)SoftBusCalloc(sizeof(ProxyChannelInfo)); HWTEST_F() local
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
H A Dsfn_valuefactory_test.cpp63 EXPECT_EQ(dest_value->chan(), 0); in TEST_F()
70 EXPECT_EQ(value->chan(), 0); in TEST_F()
89 EXPECT_EQ(value->chan(), 0); in TEST_F()
94 EXPECT_EQ(value->chan(), i); in TEST_F()
121 EXPECT_EQ(regx->chan(), 0); in TEST_F()
125 EXPECT_EQ(regy->chan(), 1); in TEST_F()
165 EXPECT_EQ(regx->chan(), 0); in TEST_F()
173 EXPECT_EQ(regy->chan(), 1); in TEST_F()
188 EXPECT_EQ(dest_value->chan(), 0); in TEST_F()
193 EXPECT_EQ(value->chan(), in TEST_F()
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_deesser.c45 DeesserChannel *chan; member
76 s->chan = av_calloc(inlink->ch_layout.nb_channels, sizeof(*s->chan)); in config_input()
77 if (!s->chan) in config_input()
81 DeesserChannel *chan = &s->chan[i]; in config_input() local
83 chan->ratioA = chan->ratioB = 1.0; in config_input()
108 DeesserChannel *dec = &s->chan[ch]; in filter_frame()
184 av_freep(&s->chan); in uninit()
[all...]
H A Daf_flanger.c117 int chan, i; in filter_frame() local
134 for (chan = 0; chan < inlink->ch_layout.nb_channels; chan++) { in filter_frame()
135 double *src = (double *)frame->extended_data[chan]; in filter_frame()
136 double *dst = (double *)out_frame->extended_data[chan]; in filter_frame()
140 int channel_phase = chan * s->lfo_length * s->channel_phase + .5; in filter_frame()
144 double *delay_buffer = (double *)s->delay_buffer[chan]; in filter_frame()
147 delay_buffer[s->delay_buf_pos] = in + s->delay_last[chan] * in filter_frame()
164 s->delay_last[chan] in filter_frame()
[all...]
H A Daf_compand.c152 int chan, i; in compand_nodelay() local
171 for (chan = 0; chan < channels; chan++) { in compand_nodelay()
172 const double *src = (double *)frame->extended_data[chan]; in compand_nodelay()
173 double *dst = (double *)out_frame->extended_data[chan]; in compand_nodelay()
174 ChanParam *cp = &s->channels[chan]; in compand_nodelay()
197 int chan, i, av_uninit(dindex), oindex, av_uninit(count); in compand_delay() local
207 for (chan = 0; chan < channel in compand_delay()
269 int chan, i, dindex; compand_drain() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dhw_features.c46 static char * dfs_info(struct hostapd_channel_data *chan) in dfs_info() argument
51 switch (chan->flag & HOSTAPD_CHAN_DFS_MASK) { in dfs_info()
135 "chan=%d freq=%d MHz max_tx_power=%d dBm%s", in hostapd_get_hw_features()
137 feature->channels[j].chan, in hostapd_get_hw_features()
383 struct hostapd_channel_data *chan = &mode->channels[i]; in ieee80211n_scan_channels_2g4() local
384 if (chan->flag & HOSTAPD_CHAN_DISABLED) in ieee80211n_scan_channels_2g4()
386 if (chan->freq < affected_start || in ieee80211n_scan_channels_2g4()
387 chan->freq > affected_end) in ieee80211n_scan_channels_2g4()
389 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_2g4()
424 struct hostapd_channel_data *chan in ieee80211n_scan_channels_5g() local
716 struct hostapd_channel_data *chan; hostapd_is_usable_chan() local
948 hostapd_hw_get_freq(struct hostapd_data *hapd, int chan) hostapd_hw_get_freq() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dvima.c127 int ret, chan; in decode_frame() local
162 for (chan = 0; chan < channels; chan++) { in decode_frame()
163 uint16_t *dest = (uint16_t *)frame->data[0] + chan; in decode_frame()
164 int step_index = channel_hint[chan]; in decode_frame()
165 int output = pcm_data[chan]; in decode_frame()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_inline_literals.c110 unsigned swz, chan; in rc_inline_literals() local
123 for (chan = 0; chan < 4; chan++) { in rc_inline_literals()
125 swz = GET_SWZ(src_reg->Swizzle, chan); in rc_inline_literals()
155 SET_SWZ(new_swizzle, chan, RC_SWIZZLE_W); in rc_inline_literals()
157 negate_mask |= (1 << chan); in rc_inline_literals()
H A Dradeon_optimize.c205 for(unsigned int chan = 0; chan < 4; ++chan) { in is_src_uniform_constant()
206 unsigned int swz = GET_SWZ(src.Swizzle, chan); in is_src_uniform_constant()
216 *pnegate = GET_BIT(src.Negate, chan); in is_src_uniform_constant()
219 if (swz != *pswz || *pnegate != GET_BIT(src.Negate, chan)) { in is_src_uniform_constant()
338 unsigned int chan; in constant_folding() local
341 for (chan = 0; chan < 4; ++chan) in constant_folding()
439 int chan; src_has_const_swz() local
558 int chan; is_presub_candidate() local
726 unsigned int chan = 0, swz, i; peephole_mul_omod() local
[all...]
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/
H A Dsoftbus_proxychannel_transceiver.h38 void TransProxyPostResetPeerMsgToLoop(const ProxyChannelInfo *chan);
40 void TransProxyPostDisConnectMsgToLoop(uint32_t connId, bool isServer, const ProxyChannelInfo *chan);
41 void TransProxyPostOpenClosedMsgToLoop(const ProxyChannelInfo *chan);
42 void TransProxyPostOpenFailMsgToLoop(const ProxyChannelInfo *chan, int32_t errCode);
43 void TransProxyPostKeepAliveMsgToLoop(const ProxyChannelInfo *chan);
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_blend.c83 unsigned chan) in nir_alpha_saturate()
90 return (chan < 3) ? nir_fmin(b, Asrc, Adsti) : one; in nir_alpha_saturate()
99 unsigned chan, in nir_blend_factor_value()
106 return nir_channel(b, src, chan); in nir_blend_factor_value()
108 return nir_channel(b, src1, chan); in nir_blend_factor_value()
110 return nir_channel(b, dst, chan); in nir_blend_factor_value()
118 return nir_channel(b, bconst, chan); in nir_blend_factor_value()
122 return nir_alpha_saturate(b, src, dst, chan); in nir_blend_factor_value()
133 unsigned chan, in nir_blend_factor()
138 nir_blend_factor_value(b, src, src1, dst, bconst, chan, facto in nir_blend_factor()
80 nir_alpha_saturate( nir_builder *b, nir_ssa_def *src, nir_ssa_def *dst, unsigned chan) nir_alpha_saturate() argument
96 nir_blend_factor_value( nir_builder *b, nir_ssa_def *src, nir_ssa_def *src1, nir_ssa_def *dst, nir_ssa_def *bconst, unsigned chan, enum blend_factor factor) nir_blend_factor_value() argument
129 nir_blend_factor( nir_builder *b, nir_ssa_def *raw_scalar, nir_ssa_def *src, nir_ssa_def *src1, nir_ssa_def *dst, nir_ssa_def *bconst, unsigned chan, enum blend_factor factor, bool inverted) nir_blend_factor() argument
333 nir_lower_blend_channel chan = nir_blend() local
[all...]

Completed in 29 milliseconds

12345678910>>...14