| /third_party/mesa3d/src/gallium/drivers/vc4/ |
| H A D | vc4_nir_lower_io.c | 57 vc4_nir_unpack_8i(nir_builder *b, nir_ssa_def *src, unsigned chan) in vc4_nir_unpack_8i() argument 61 nir_imm_int(b, 8 * chan), in vc4_nir_unpack_8i() 67 vc4_nir_unpack_16i(nir_builder *b, nir_ssa_def *src, unsigned chan) in vc4_nir_unpack_16i() argument 71 nir_imm_int(b, 16 * chan), in vc4_nir_unpack_16i() 77 vc4_nir_unpack_16u(nir_builder *b, nir_ssa_def *src, unsigned chan) in vc4_nir_unpack_16u() argument 79 if (chan == 0) { in vc4_nir_unpack_16u() 87 vc4_nir_unpack_8f(nir_builder *b, nir_ssa_def *src, unsigned chan) in vc4_nir_unpack_8f() argument 89 return nir_channel(b, nir_unpack_unorm_4x8(b, src), chan); in vc4_nir_unpack_8f() 99 const struct util_format_channel_description *chan = in vc4_nir_get_vattr_channel_vpm() local 105 } else if (chan in vc4_nir_get_vattr_channel_vpm() [all...] |
| /third_party/libsnd/src/ |
| H A D | ima_adpcm.c | 262 int chan, k, diff, bytecode, predictor ; in aiff_ima_decode_block() local 280 for (chan = 0 ; chan < pima->channels ; chan++) in aiff_ima_decode_block() 281 { blockdata = pima->block + chan * 34 ; in aiff_ima_decode_block() 282 sampledata = pima->samples + chan ; in aiff_ima_decode_block() 304 bytecode = pima->samples [pima->channels * k + chan] ; in aiff_ima_decode_block() 321 pima->samples [pima->channels * k + chan] = predictor ; in aiff_ima_decode_block() 330 { int chan, k, step, diff, vpdiff, blockindx, indx ; in aiff_ima_encode_block() local 334 for (chan in aiff_ima_encode_block() 393 { int chan, k, predictor, blockindx, indx, indxstart, diff ; wavlike_ima_decode_block() local 484 { int chan, k, step, diff, vpdiff, blockindx, indx, indxstart ; wavlike_ima_encode_block() local [all...] |
| H A D | interleave.c | 98 int chan, count, k ; in interleave_read_short() local 106 for (chan = 0 ; chan < psf->sf.channels ; chan++) in interleave_read_short() 107 { outptr = ptr + chan ; in interleave_read_short() 109 offset = psf->dataoffset + chan * psf->bytewidth * psf->read_current ; in interleave_read_short() 145 int chan, count, k ; in interleave_read_int() local 153 for (chan = 0 ; chan < psf->sf.channels ; chan in interleave_read_int() 192 int chan, count, k ; interleave_read_float() local 243 int chan, count, k ; interleave_read_double() local [all...] |
| /foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
| H A D | softbus_proxychannel_manager.c | 188 static int32_t TransProxyAddChanItem(ProxyChannelInfo *chan) in TransProxyAddChanItem() argument 190 TRANS_CHECK_AND_RETURN_RET_LOGE((g_proxyChannelList != NULL && chan != NULL), SOFTBUS_INVALID_PARAM, TRANS_CTRL, in TransProxyAddChanItem() 195 ListAdd(&(g_proxyChannelList->list), &(chan->node)); in TransProxyAddChanItem() 235 int32_t TransProxyGetChanByChanId(int32_t chanId, ProxyChannelInfo *chan) in TransProxyGetChanByChanId() argument 237 TRANS_CHECK_AND_RETURN_RET_LOGE((g_proxyChannelList != NULL && chan != NULL), SOFTBUS_INVALID_PARAM, TRANS_CTRL, in TransProxyGetChanByChanId() 247 if (memcpy_s(chan, sizeof(ProxyChannelInfo), item, sizeof(ProxyChannelInfo)) != EOK) { in TransProxyGetChanByChanId() 261 int32_t TransProxyGetChanByReqId(int32_t reqId, ProxyChannelInfo *chan) in TransProxyGetChanByReqId() argument 271 *chan = *item; in TransProxyGetChanByReqId() 885 static int32_t TransProxyGetLocalInfo(ProxyChannelInfo *chan) in TransProxyGetLocalInfo() argument 887 bool noNeedGetPkg = (chan in TransProxyGetLocalInfo() 933 ConstructProxyChannelInfo( ProxyChannelInfo *chan, const ProxyMessage *msg, int16_t newChanId, const ConnectionInfo *info) ConstructProxyChannelInfo() argument 1008 TransProxyFillChannelInfo(const ProxyMessage *msg, ProxyChannelInfo *chan) TransProxyFillChannelInfo() argument 1080 TransProxyFastDataRecv(ProxyChannelInfo *chan) TransProxyFastDataRecv() argument 1104 ReleaseChannelInfo(ProxyChannelInfo *chan) ReleaseChannelInfo() argument 1115 FillProxyHandshakeExtra( TransEventExtra *extra, ProxyChannelInfo *chan, char *socketName, NodeInfo *nodeInfo) FillProxyHandshakeExtra() argument 1144 TransProxyProcessHandshake(ProxyChannelInfo *chan, const ProxyMessage *msg) TransProxyProcessHandshake() argument 1180 ProxyChannelInfo *chan = (ProxyChannelInfo *)SoftBusCalloc(sizeof(ProxyChannelInfo)); TransProxyProcessHandshakeMsg() local 1471 CopyAppInfoFastTransData(ProxyChannelInfo *chan, const AppInfo *appInfo) CopyAppInfoFastTransData() argument 1489 TransProxyCreateChanInfo(ProxyChannelInfo *chan, int32_t channelId, const AppInfo *appInfo) TransProxyCreateChanInfo() argument 1861 ProxyChannelInfo *chan = (ProxyChannelInfo *)SoftBusCalloc(sizeof(ProxyChannelInfo)); TransProxyGetNameByChanId() local 2023 TransProxyGetProxyChannelInfoByChannelId(int32_t channelId, ProxyChannelInfo *chan) TransProxyGetProxyChannelInfoByChannelId() argument 2073 ProxyChannelInfo chan; TransProxyGetConnOptionByChanId() local [all...] |
| H A D | softbus_proxychannel_transceiver.c | 180 ProxyChannelInfo *chan = NULL; in TransProxyLoopMsgHandler() local 189 chan = (ProxyChannelInfo *)msg->obj; in TransProxyLoopMsgHandler() 190 TRANS_CHECK_AND_RETURN_LOGE(chan != NULL, TRANS_MSG, "LOOP_DISCONNECT_MSG, chan is null"); in TransProxyLoopMsgHandler() 191 TransProxyCloseConnChannelReset(connectionId, (isServer == 0), isServer, chan->deviceTypeIsWinpc); in TransProxyLoopMsgHandler() 195 chan = (ProxyChannelInfo *)msg->obj; in TransProxyLoopMsgHandler() 196 TRANS_CHECK_AND_RETURN_LOGE(chan != NULL, TRANS_MSG, "LOOP_OPENFAIL_MSG, chan is null"); in TransProxyLoopMsgHandler() 197 TransProxyOpenProxyChannelFail(chan->channelId, &(chan in TransProxyLoopMsgHandler() 259 TransProxyPostResetPeerMsgToLoop(const ProxyChannelInfo *chan) TransProxyPostResetPeerMsgToLoop() argument 291 TransProxyPostDisConnectMsgToLoop(uint32_t connId, bool isServer, const ProxyChannelInfo *chan) TransProxyPostDisConnectMsgToLoop() argument 302 TransProxyPostKeepAliveMsgToLoop(const ProxyChannelInfo *chan) TransProxyPostKeepAliveMsgToLoop() argument 319 TransProxyPostOpenFailMsgToLoop(const ProxyChannelInfo *chan, int32_t errCode) TransProxyPostOpenFailMsgToLoop() argument 336 TransProxyPostOpenClosedMsgToLoop(const ProxyChannelInfo *chan) TransProxyPostOpenClosedMsgToLoop() argument 435 TransAddConnItem(ProxyConnInfo *chan) TransAddConnItem() argument 660 TransProxyConnExistProc(ProxyConnInfo *conn, ProxyChannelInfo *chan, int32_t chanNewId) TransProxyConnExistProc() argument 759 TransReportStartConnectEvent(const AppInfo *appInfo, const ProxyChannelInfo *chan, int32_t channelId) TransReportStartConnectEvent() argument 787 ProxyChannelInfo *chan = (ProxyChannelInfo *)SoftBusCalloc(sizeof(ProxyChannelInfo)); TransProxyOpenConnChannel() local [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | dv.c | 44 static inline void dv_calc_mb_coordinates(const AVDVProfile *d, int chan, in dv_calc_mb_coordinates() argument 90 blk = (chan * 11 + seq) * 27 + slot; in dv_calc_mb_coordinates() 92 if (chan == 0 && seq == 11) { in dv_calc_mb_coordinates() 101 i = (4 * chan + blk + off[m]) % 11; in dv_calc_mb_coordinates() 104 x = shuf1[m] + (chan & 1) * 9 + k % 9; in dv_calc_mb_coordinates() 105 y = (i * 3 + k / 9) * 2 + (chan >> 1) + 1; in dv_calc_mb_coordinates() 110 blk = (chan * 10 + seq) * 27 + slot; in dv_calc_mb_coordinates() 112 i = (4 * chan + (seq / 5) + 2 * blk + off[m]) % 10; in dv_calc_mb_coordinates() 115 x = shuf1[m] + (chan & 1) * 9 + k % 9; in dv_calc_mb_coordinates() 116 y = (i * 3 + k / 9) * 2 + (chan >> in dv_calc_mb_coordinates() [all...] |
| /third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
| H A D | sfn_value_test.cpp | 54 EXPECT_EQ(reg.chan(), 2); in TEST_F() 61 EXPECT_EQ(reg2.chan(), 1); in TEST_F() 78 EXPECT_EQ(reg.chan(), 1); in TEST_F() 85 EXPECT_EQ(reg2.chan(), 2); in TEST_F() 95 EXPECT_EQ(reg0.chan(), 1); in TEST_F() 103 EXPECT_EQ(reg1.chan(), 2); in TEST_F() 114 EXPECT_EQ(reg_with_buffer_addr.chan(), 0); in TEST_F() 122 EXPECT_EQ(baddr->chan(), 0); in TEST_F() 131 EXPECT_EQ(literal.chan(), -1); in TEST_F() 137 EXPECT_EQ(literal2.chan(), in TEST_F() [all...] |
| /third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
| H A D | sfn_valuefactory.cpp | 122 for (auto chan = 0u; chan < num_components; ++chan) { in allocate_registers() 123 RegisterKey key(reg->index, chan, vp_register); in allocate_registers() 124 m_channel_counts.inc_count(chan); in allocate_registers() 125 m_registers[key] = new Register( sel, chan, num_components > 1 ? pin_none : pin_free); in allocate_registers() 133 PRegister ValueFactory::allocate_pinned_register(int sel, int chan) in allocate_pinned_register() argument 138 auto reg = new Register(sel, chan, pin_fully); in allocate_pinned_register() 155 void ValueFactory::inject_value(const nir_dest& dest, int chan, PVirtualValue value) in inject_value() argument 158 RegisterKey key(dest.ssa.index, chan, vp_ss in inject_value() 164 dest(const nir_alu_dest& dst, int chan, Pin pin_channel) dest() argument 181 TranslateRegister(int offset, PVirtualValue addr, int chan) TranslateRegister() argument 190 resolve_array(nir_register *reg, nir_src *indirect, int base_offset, int chan) resolve_array() argument 217 dest(const nir_dest& dst, int chan, Pin pin_channel) dest() argument 237 uniform(nir_intrinsic_instr *load_uniform, int chan) uniform() argument 247 uniform(uint32_t index, int chan, int kcache) uniform() argument 255 int chan = (pinned_channel >= 0) ? temp_register() local 314 src(const nir_alu_src& alu_src, int chan) src() argument 319 src64(const nir_alu_src& alu_src, int chan, int comp) src64() argument 324 src(const nir_src& src, int chan) src() argument 339 src(const nir_tex_src& tex_src, int chan) src() argument 344 dummy_dest(unsigned chan) dummy_dest() argument [all...] |
| /third_party/mesa3d/src/amd/common/ |
| H A D | ac_nir_opt_outputs.c | 53 struct ac_chan_info chan[8]; member 59 for (unsigned i = 0; i < ARRAY_SIZE(out->chan); i++) { in ac_remove_varying() 60 if (out->chan[i].store_intr) { in ac_remove_varying() 61 nir_remove_varying(out->chan[i].store_intr); in ac_remove_varying() 62 out->chan[i].store_intr = NULL; in ac_remove_varying() 63 out->chan[i].value = NULL; in ac_remove_varying() 80 if (!out->chan[i].value) { in ac_eliminate_const_output() 83 } else if (out->chan[i].value->type == nir_instr_type_load_const) { in ac_eliminate_const_output() 84 if (nir_instr_as_load_const(out->chan[i].value)->value[0].f32 == 0) in ac_eliminate_const_output() 86 else if (nir_instr_as_load_const(out->chan[ in ac_eliminate_const_output() 302 unsigned chan = sem.high_16bits * 4 + nir_intrinsic_component(intr); ac_nir_optimize_outputs() local [all...] |
| H A D | gfx10_format_table.py | 164 chan_type = set([chan.type for chan in fmt.le_channels if chan.type != VOID]) 165 chan_norm = set([chan.norm for chan in fmt.le_channels if chan.type != VOID]) 166 chan_pure = set([chan.pure for chan in fmt.le_channels if chan.type != VOID]) 177 chan_sizes = [chan [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_format_soa.c | 110 unsigned chan; in lp_build_format_swizzle_soa() local 111 for (chan = 0; chan < 4; ++chan) { in lp_build_format_swizzle_soa() 112 enum pipe_swizzle swizzle = format_desc->swizzle[chan]; in lp_build_format_swizzle_soa() 113 swizzled_out[chan] = lp_build_swizzle_soa_channel(bld, unswizzled, swizzle); in lp_build_format_swizzle_soa() 311 unsigned chan; in lp_build_unpack_rgba_soa() local 323 for (chan = 0; chan < format_desc->nr_channels; ++chan) { in lp_build_unpack_rgba_soa() 362 unsigned chan; lp_build_rgba8_to_fi32_soa() local 760 unsigned chan; lp_build_fetch_rgba_soa() local 894 LLVMValueRef chan = NULL; lp_build_insert_soa_chan() local 988 unsigned chan; lp_build_pack_rgba_soa() local [all...] |
| H A D | lp_bld_tgsi_action.c | 96 emit_data->output[emit_data->chan] = LLVMBuildFAdd( in add_emit() 109 emit_data->output[emit_data->chan] = LLVMBuildFPToSI(bld_base->base.gallivm->builder, tmp, in arr_emit() 121 unsigned chan, src; in dp_fetch_args() local 123 for (chan = 0; chan < dp_components; chan++) { in dp_fetch_args() 124 emit_data->args[(src * dp_components) + chan] = in dp_fetch_args() 125 lp_build_emit_fetch(bld_base, emit_data->inst, src, chan); in dp_fetch_args() 153 emit_data->output[emit_data->chan] = lp_build_emit_llvm_binary(bld_base, in dp2_emit() 188 emit_data->output[emit_data->chan] in dp3_emit() [all...] |
| /third_party/pulseaudio/speex/libspeexdsp/ |
| H A D | mdf.c | 688 int i,j, chan, speak; in speex_echo_cancellation() local 716 for (chan = 0; chan < C; chan++) in speex_echo_cancellation() 719 filter_dc_notch16(in+chan, st->notch_radius, st->input+chan*st->frame_size, st->frame_size, st->notch_mem+2*chan, C); in speex_echo_cancellation() 726 tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->memD[chan]))); in speex_echo_cancellation() 741 st->memD[chan] in speex_echo_cancellation() [all...] |
| /third_party/mesa3d/src/mesa/main/ |
| H A D | format_info.py | 74 for chan in fmat.channels: 75 if chan.type == 'x' and len(fmat.channels) > 1: 77 elif chan.name == 's' and fmat.has_channel('z'): 80 channel = chan 135 for chan in fmat.channels: 136 if chan.name == chan_name: 137 return chan.size 204 chan = fmat.array_element() 205 norm = chan.norm or chan [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_exec.c | 980 print_chan(const char *msg, const union tgsi_exec_channel *chan) in print_chan() argument 983 msg, chan->f[0], chan->f[1], chan->f[2], chan->f[3]); in print_chan() 1395 union tgsi_exec_channel *chan) in fetch_src_file_channel() 1416 chan->u[i] = 0; in fetch_src_file_channel() 1419 chan->u[i] = buf[pos]; in fetch_src_file_channel() 1435 chan->u[i] = mach->Inputs[pos].xyzw[swizzle].u[i]; in fetch_src_file_channel() 1441 chan in fetch_src_file_channel() 1390 fetch_src_file_channel(const struct tgsi_exec_machine *mach, const uint file, const uint swizzle, const union tgsi_exec_channel *index, const union tgsi_exec_channel *index2D, union tgsi_exec_channel *chan) fetch_src_file_channel() argument 1592 fetch_source_d(const struct tgsi_exec_machine *mach, union tgsi_exec_channel *chan, const struct tgsi_full_src_register *reg, const uint chan_index) fetch_source_d() argument 1614 fetch_source(const struct tgsi_exec_machine *mach, union tgsi_exec_channel *chan, const struct tgsi_full_src_register *reg, const uint chan_index, enum tgsi_exec_datatype src_datatype) fetch_source() argument 1637 store_dest_dstret(struct tgsi_exec_machine *mach, const union tgsi_exec_channel *chan, const struct tgsi_full_dst_register *reg, uint chan_index) store_dest_dstret() argument 1726 store_dest_double(struct tgsi_exec_machine *mach, const union tgsi_exec_channel *chan, const struct tgsi_full_dst_register *reg, uint chan_index) store_dest_double() argument 1746 store_dest(struct tgsi_exec_machine *mach, const union tgsi_exec_channel *chan, const struct tgsi_full_dst_register *reg, const struct tgsi_full_instruction *inst, uint chan_index) store_dest() argument 1972 fetch_assign_deriv_channel(struct tgsi_exec_machine *mach, const struct tgsi_full_instruction *inst, unsigned regdsrcx, unsigned chan, float derivs[2][TGSI_QUAD_SIZE]) fetch_assign_deriv_channel() argument 2041 uint chan; exec_tex() local 2186 unsigned chan; exec_lodq() local 2219 uint chan; exec_txd() local 2326 uint chan; exec_txf() local 2412 uint chan; exec_txq() local 2446 uint chan; exec_sample() local 2578 uint chan; exec_sample_d() local 2671 interp_constant_offset( UNUSED const struct tgsi_exec_machine *mach, UNUSED unsigned attrib, UNUSED unsigned chan, UNUSED float ofs_x, UNUSED float ofs_y, UNUSED union tgsi_exec_channel *out_chan) interp_constant_offset() argument 2686 interp_linear_offset( const struct tgsi_exec_machine *mach, unsigned attrib, unsigned chan, float ofs_x, float ofs_y, union tgsi_exec_channel *out_chan) interp_linear_offset() argument 2704 eval_linear_coef(struct tgsi_exec_machine *mach, unsigned attrib, unsigned chan) eval_linear_coef() argument 2726 interp_perspective_offset( const struct tgsi_exec_machine *mach, unsigned attrib, unsigned chan, float ofs_x, float ofs_y, union tgsi_exec_channel *out_chan) interp_perspective_offset() argument 2875 unsigned int chan; exec_scalar_unary() local 2894 unsigned int chan; exec_vector_unary() local 2922 unsigned int chan; exec_scalar_binary() local 2942 unsigned int chan; exec_vector_binary() local 2972 unsigned int chan; exec_vector_trinary() local 3004 unsigned int chan; exec_vector_quaternary() local 3029 unsigned int chan; exec_dp3() local 3053 unsigned int chan; exec_dp4() local 3077 unsigned int chan; exec_dp2() local 3099 unsigned chan; exec_pk2h() local 3119 unsigned chan; exec_up2h() local 3150 unsigned int chan; exec_ucmp() local 3390 fetch_double_channel(struct tgsi_exec_machine *mach, union tgsi_double_channel *chan, const struct tgsi_full_src_register *reg, uint chan_0, uint chan_1) fetch_double_channel() argument 3411 store_double_channel(struct tgsi_exec_machine *mach, const union tgsi_double_channel *chan, const struct tgsi_full_dst_register *reg, const struct tgsi_full_instruction *inst, uint chan_0, uint chan_1) store_double_channel() argument 3664 uint chan; exec_load_img() local 3911 uint unit, chan; exec_atomop_img() local 3971 uint chan, i; exec_atomop_membuf() local 4083 int i, chan, j; exec_resq_img() local [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
| H A D | hw_features_common.c | 20 int chan, int *freq) in hw_get_channel_chan() 32 if (ch->chan == chan) { in hw_get_channel_chan() 44 hw_mode_get_channel(struct hostapd_hw_modes *mode, int freq, int *chan) in hw_mode_get_channel() argument 52 if (chan) in hw_mode_get_channel() 53 *chan = ch->chan; in hw_mode_get_channel() 63 hw_get_channel_freq(enum hostapd_hw_mode mode, int freq, int *chan, in hw_get_channel_freq() argument 69 if (chan) in hw_get_channel_freq() 70 *chan in hw_get_channel_freq() 19 hw_get_channel_chan(struct hostapd_hw_modes *mode, int chan, int *freq) hw_get_channel_chan() argument 90 hw_get_freq(struct hostapd_hw_modes *mode, int chan) hw_get_freq() argument 103 int chan; hw_get_chan() local 767 chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw, int ht40_plus, int pri) chan_bw_allowed() argument 802 chan_pri_allowed(const struct hostapd_channel_data *chan) chan_pri_allowed() argument [all...] |
| /third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_compiler_util.c | 119 for (unsigned chan = 0; chan < 4; ++chan) { in swizzle_mask() 120 unsigned swz = GET_SWZ(swizzle, chan); in swizzle_mask() 122 ret |= GET_BIT(mask, swz) << chan; in swizzle_mask() 272 unsigned int chan; in rc_rewrite_swizzle() local 275 for (chan = 0; chan < 4; chan++) { in rc_rewrite_swizzle() 276 unsigned int swz = GET_SWZ(swizzle, chan); in rc_rewrite_swizzle() 339 unsigned int chan; rc_source_type_swz() local 690 rc_get_constant_value( struct radeon_compiler * c, unsigned int index, unsigned int swizzle, unsigned int negate, unsigned int chan) rc_get_constant_value() argument 717 unsigned int swz, chan; rc_get_scalar_src_swz() local [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
| H A D | driver_nl80211_capa.c | 1345 struct hostapd_channel_data *chan, in phy_info_freq() 1349 chan->freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in phy_info_freq() 1350 chan->flag = 0; in phy_info_freq() 1351 chan->allowed_bw = ~0; in phy_info_freq() 1352 chan->dfs_cac_ms = 0; in phy_info_freq() 1353 if (ieee80211_freq_to_chan(chan->freq, &channel) != NUM_HOSTAPD_MODES) in phy_info_freq() 1354 chan->chan = channel; in phy_info_freq() 1357 chan->flag |= HOSTAPD_CHAN_DISABLED; in phy_info_freq() 1359 chan in phy_info_freq() 1344 phy_info_freq(struct hostapd_hw_modes *mode, struct hostapd_channel_data *chan, struct nlattr *tb_freq[]) phy_info_freq() argument 1849 struct hostapd_channel_data *chan = &mode->channels[c]; nl80211_set_ht40_mode() local 1862 struct hostapd_channel_data *chan = &mode->channels[c]; nl80211_set_ht40_mode_sec() local 1883 struct hostapd_channel_data *chan = &mode->channels[c]; nl80211_reg_rule_max_eirp() local 1939 struct hostapd_channel_data *chan = &mode->channels[c]; nl80211_set_vht_mode() local 2188 struct hostapd_channel_data *chan = &mode->channels[j]; nl80211_dump_chan_list() local [all...] |
| /third_party/ffmpeg/libavformat/ |
| H A D | wvdec.c | 54 int rate, chan, bpp; member 82 int rate, bpp, chan; in wv_read_block_header() local 116 chan = 1 + !(flags & WV_MONO); in wv_read_block_header() 121 chan = wc->chan; in wv_read_block_header() 124 if ((rate == -1 || !chan || flags & WV_DSD) && !wc->block_parsed) { in wv_read_block_header() 145 chan = avio_r8(pb); in wv_read_block_header() 161 chan |= (avio_r8(pb) & 0xF) << 8; in wv_read_block_header() 162 chan += 1; in wv_read_block_header() 167 chan | in wv_read_block_header() [all...] |
| /foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/ |
| H A D | l2cap_core.h | 72 int L2capSendConnectionReq(L2capConnection *conn, L2capChannel *chan); 73 int L2capSendConnectionRsp(L2capConnection *conn, L2capChannel *chan, uint8_t ident, uint16_t result, uint16_t status); 74 int L2capSendConfigurationReq(L2capConnection *conn, const L2capChannel *chan); 76 const L2capConnection *conn, L2capChannel *chan, uint8_t ident, uint16_t result, const L2capConfigInfo *cfg); 77 int L2capSendDisconnectionReq(L2capConnection *conn, L2capChannel *chan); 78 int L2capSendDisconnectionRsp(const L2capConnection *conn, const L2capChannel *chan, uint8_t ident); 82 int L2capSendSFrame(const L2capConnection *conn, L2capChannel *chan, uint8_t pBit, uint8_t fBit, uint8_t sBit); 83 int L2capSendIFrame(L2capConnection *conn, L2capChannel *chan, Packet *pkt); 85 void L2capErfcStartRetransmissionTimer(L2capChannel *chan); 86 void L2capErfcStartMonitorTimer(L2capChannel *chan); [all...] |
| /third_party/mesa3d/src/freedreno/ir3/ |
| H A D | ir3_nir_lower_load_barycentric_at_offset.c | 39 #define chan(var, c) nir_channel(b, var, c) in ir3_nir_lower_load_barycentric_at_offset_instr() macro 54 new_ij = nir_ffma(b, chan(off, 0), nir_fddx(b, ij), new_ij); in ir3_nir_lower_load_barycentric_at_offset_instr() 55 new_ij = nir_ffma(b, chan(off, 1), nir_fddy(b, ij), new_ij); in ir3_nir_lower_load_barycentric_at_offset_instr() 69 nir_vec3(b, nir_fmul(b, chan(ij, 0), center_w), nir_fmul(b, chan(ij, 1), center_w), center_w); in ir3_nir_lower_load_barycentric_at_offset_instr() 73 pos = nir_ffma(b, chan(off, 0), nir_fddx(b, sij), pos); in ir3_nir_lower_load_barycentric_at_offset_instr() 74 pos = nir_ffma(b, chan(off, 1), nir_fddy(b, sij), pos); in ir3_nir_lower_load_barycentric_at_offset_instr() 77 return nir_fmul(b, nir_channels(b, pos, 0x3), nir_frcp(b, chan(pos, 2))); in ir3_nir_lower_load_barycentric_at_offset_instr()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
| H A D | mbo.c | 28 static int wpas_mbo_validate_non_pref_chan(u8 oper_class, u8 chan, u8 reason) in wpas_mbo_validate_non_pref_chan() argument 34 if (ieee80211_chan_to_freq(NULL, oper_class, chan) == -1) in wpas_mbo_validate_non_pref_chan() 94 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[i].chan); in wpas_mbo_non_pref_chan_attr_body() 286 return a->oper_class == b->oper_class && a->chan == b->chan; in wpa_non_pref_chan_is_eq() 334 struct wpa_mbo_non_pref_channel *chan; in wpas_mbo_update_non_pref_chan() local 353 chan = &chans[num]; in wpas_mbo_update_non_pref_chan() 360 wpa_printf(MSG_ERROR, "Invalid non-pref chan input %s", in wpas_mbo_update_non_pref_chan() 364 chan->oper_class = _oper_class; in wpas_mbo_update_non_pref_chan() 365 chan in wpas_mbo_update_non_pref_chan() [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
| H A D | mbo.c | 29 static int wpas_mbo_validate_non_pref_chan(u8 oper_class, u8 chan, u8 reason) in wpas_mbo_validate_non_pref_chan() argument 35 if (ieee80211_chan_to_freq(NULL, oper_class, chan) == -1) in wpas_mbo_validate_non_pref_chan() 124 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[i].chan); in wpas_mbo_non_pref_chan_attr_body() 316 return a->oper_class == b->oper_class && a->chan == b->chan; in wpa_non_pref_chan_is_eq() 364 struct wpa_mbo_non_pref_channel *chan; in wpas_mbo_update_non_pref_chan() local 383 chan = &chans[num]; in wpas_mbo_update_non_pref_chan() 390 wpa_printf(MSG_ERROR, "Invalid non-pref chan input %s", in wpas_mbo_update_non_pref_chan() 394 chan->oper_class = _oper_class; in wpas_mbo_update_non_pref_chan() 395 chan in wpas_mbo_update_non_pref_chan() [all...] |
| /third_party/mesa3d/src/gallium/drivers/softpipe/ |
| H A D | sp_fs_exec.c | 81 uint chan; in setup_pos_vector() local 95 for (chan = 2; chan < 4; chan++) { in setup_pos_vector() 96 const float dadx = coef->dadx[chan]; in setup_pos_vector() 97 const float dady = coef->dady[chan]; in setup_pos_vector() 98 const float a0 = coef->a0[chan] + dadx * x + dady * y; in setup_pos_vector() 99 quadpos->xyzw[chan].f[0] = a0; in setup_pos_vector() 100 quadpos->xyzw[chan].f[1] = a0 + dadx; in setup_pos_vector() 101 quadpos->xyzw[chan] in setup_pos_vector() [all...] |
| /third_party/mesa3d/src/compiler/nir/ |
| H A D | nir_lower_alu_width.c | 107 nir_alu_instr *chan = nir_alu_instr_create(builder->shader, chan_op); in lower_reduction() local 108 nir_alu_ssa_dest_init(chan, 1, alu->dest.dest.ssa.bit_size); in lower_reduction() 109 nir_alu_src_copy(&chan->src[0], &alu->src[0]); in lower_reduction() 110 chan->src[0].swizzle[0] = chan->src[0].swizzle[i]; in lower_reduction() 113 nir_alu_src_copy(&chan->src[1], &alu->src[1]); in lower_reduction() 114 chan->src[1].swizzle[0] = chan->src[1].swizzle[i]; in lower_reduction() 116 chan->exact = alu->exact; in lower_reduction() 118 nir_builder_instr_insert(builder, &chan in lower_reduction() 183 unsigned i, chan; lower_alu_instr_width() local [all...] |