Home
last modified time | relevance | path

Searched refs:chan (Results 101 - 125 of 378) sorted by relevance

12345678910>>...16

/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dsoftbus_proxy_session_test.cpp120 ProxyChannelInfo *chan = (ProxyChannelInfo *)SoftBusCalloc(sizeof(ProxyChannelInfo)); in TestAddProxyChannel() local
121 ASSERT_TRUE(NULL != chan); in TestAddProxyChannel()
122 chan->authHandle.authId = channelId; in TestAddProxyChannel()
123 chan->connId = channelId; in TestAddProxyChannel()
124 chan->myId = channelId; in TestAddProxyChannel()
125 chan->peerId = channelId; in TestAddProxyChannel()
126 chan->reqId = channelId; in TestAddProxyChannel()
127 chan->channelId = channelId; in TestAddProxyChannel()
128 chan->seq = channelId; in TestAddProxyChannel()
129 (void)strcpy_s(chan in TestAddProxyChannel()
[all...]
H A Dsoftbus_proxychannel_message_test.cpp168 ProxyChannelInfo *chan = (ProxyChannelInfo *)SoftBusCalloc(sizeof(ProxyChannelInfo)); in TestMessageAddProxyChannel() local
169 ASSERT_TRUE(NULL != chan); in TestMessageAddProxyChannel()
170 chan->authHandle.authId = channelId; in TestMessageAddProxyChannel()
171 chan->connId = channelId; in TestMessageAddProxyChannel()
172 chan->myId = channelId; in TestMessageAddProxyChannel()
173 chan->peerId = channelId; in TestMessageAddProxyChannel()
174 chan->reqId = channelId; in TestMessageAddProxyChannel()
175 chan->channelId = channelId; in TestMessageAddProxyChannel()
176 chan->seq = channelId; in TestMessageAddProxyChannel()
177 (void)strcpy_s(chan in TestMessageAddProxyChannel()
248 ProxyChannelInfo chan; HWTEST_F() local
279 ProxyChannelInfo chan; HWTEST_F() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktSampleVerifierUtil.cpp829 const TextureSwizzle::Channel chan = readSwizzle.components[compNdx];
831 if (chan == TextureSwizzle::CHANNEL_ZERO)
836 else if (chan == TextureSwizzle::CHANNEL_ONE)
849 chanBits = bitSizes[chan];
854 chanUVal = unpackBits<deUint8>((deUint8)pack, bitOffsets[chan], bitSizes[chan]);
858 chanUVal = unpackBits<deUint16>((deUint16)pack, bitOffsets[chan], bitSizes[chan]);
862 chanUVal = unpackBits<deUint32>((deUint32)pack, bitOffsets[chan], bitSizes[chan]);
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktSampleVerifierUtil.cpp829 const TextureSwizzle::Channel chan = readSwizzle.components[compNdx];
831 if (chan == TextureSwizzle::CHANNEL_ZERO)
836 else if (chan == TextureSwizzle::CHANNEL_ONE)
849 chanBits = bitSizes[chan];
854 chanUVal = unpackBits<deUint8>((deUint8)pack, bitOffsets[chan], bitSizes[chan]);
858 chanUVal = unpackBits<deUint16>((deUint16)pack, bitOffsets[chan], bitSizes[chan]);
862 chanUVal = unpackBits<deUint32>((deUint32)pack, bitOffsets[chan], bitSizes[chan]);
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap_inst.h182 L2capConnection *L2capGetConnection3(const L2capChannel *chan);
185 void L2capGetChannel2(uint16_t lcid, L2capConnection **conn, L2capChannel **chan);
186 void L2capGetChannel3(uint16_t aclHandle, uint16_t lcid, L2capConnection **conn, L2capChannel **chan);
189 void L2capDestroyChannel(L2capChannel *chan);
190 void L2capDeleteChannel(L2capConnection *conn, L2capChannel *chan, uint16_t removeAcl);
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_assembler.cpp292 alu.dst.chan = ai.dest_chan(); in emit_alu_op()
412 m_bc->ar_chan = addr.first->chan(); in visit()
457 tex.src_sel_x = tex_instr.src()[0]->chan(); in visit()
458 tex.src_sel_y = tex_instr.src()[1]->chan(); in visit()
459 tex.src_sel_z = tex_instr.src()[2]->chan(); in visit()
460 tex.src_sel_w = tex_instr.src()[3]->chan(); in visit()
497 output.swizzle_x = value[0]->chan(); in visit()
498 output.swizzle_y = value[1]->chan(); in visit()
499 output.swizzle_z = value[2]->chan(); in visit()
508 output.swizzle_w = ps_alpha_to_one ? 5 : exi.value()[3]->chan(); in visit()
[all...]
H A Dsfn_virtualvalues.h84 VirtualValue(int sel, int chan, Pin pin);
88 int chan() const { return m_chan;} in chan() function in r600::VirtualValue
147 Register(int sel, int chan, Pin pin);
216 InlineConstant(int sel, int chan = 0);
260 Element(const RegisterVec4& parent, int chan);
281 m_swz[i] = reg->chan(); in set_value()
329 UniformValue(int sel, int chan, int kcache_bank = 0);
330 UniformValue(int sel, int chan, PVirtualValue buf_addr);
364 bool ready_for_direct(int block, int index, int chan) const;
365 bool ready_for_indirect(int block, int index, int chan) cons
[all...]
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_control.c156 int32_t TransProxyAckHandshake(uint32_t connId, ProxyChannelInfo *chan, int32_t retCode) in TransProxyAckHandshake() argument
158 if (chan == NULL) { in TransProxyAckHandshake()
167 if (chan->appInfo.appType != APP_TYPE_AUTH) { in TransProxyAckHandshake()
170 msgHead.myId = chan->myId; in TransProxyAckHandshake()
171 msgHead.peerId = chan->peerId; in TransProxyAckHandshake()
176 retCode, chan->myId, chan->peerId); in TransProxyAckHandshake()
180 chan->myId, chan->peerId); in TransProxyAckHandshake()
181 payLoad = TransProxyPackHandshakeAckMsg(chan); in TransProxyAckHandshake()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_variable.c135 unsigned int chan; in rc_variable_compute_live_intervals() local
194 for (chan = 0; chan < 4; chan++) { in rc_variable_compute_live_intervals()
195 if ((mask >> chan) & 0x1) { in rc_variable_compute_live_intervals()
196 if (!var->Live[chan].Used in rc_variable_compute_live_intervals()
197 || chan_start < var->Live[chan].Start) { in rc_variable_compute_live_intervals()
198 var->Live[chan].Start = in rc_variable_compute_live_intervals()
201 if (!var->Live[chan].Used in rc_variable_compute_live_intervals()
202 || chan_end > var->Live[chan] in rc_variable_compute_live_intervals()
[all...]
H A Dradeon_dataflow_deadcode.c181 for(unsigned int chan = 0; chan < 4; ++chan) { in update_instruction()
182 if (GET_BIT(newsrcmask, chan)) in update_instruction()
183 refmask |= 1 << GET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan); in update_instruction()
343 for(unsigned int chan = 0; chan < 4; ++chan) { in rc_dataflow_deadcode()
344 if (!GET_BIT(srcmasks[src], chan)) in rc_dataflow_deadcode()
345 SET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan, RC_SWIZZLE_UNUSE in rc_dataflow_deadcode()
[all...]
H A Dradeon_dataflow.c47 unsigned int chan; in reads_normal_callback() local
48 for(chan = 0; chan < 4; chan++) { in reads_normal_callback()
49 refmask |= 1 << GET_SWZ(src->Swizzle, chan); in reads_normal_callback()
109 unsigned int chan; in reads_pair() local
110 for(chan = 0; chan < 3; ++chan) { in reads_pair()
112 GET_SWZ(inst->RGB.Arg[arg].Swizzle, chan); in reads_pair()
[all...]
H A Dradeon_program_pair.c193 unsigned int chan; in rc_pair_foreach_source_that_rgb_reads() local
198 for(chan = 0; chan < 4; chan++) { in rc_pair_foreach_source_that_rgb_reads()
199 swz = GET_SWZ(pair->RGB.Arg[i].Swizzle, chan); in rc_pair_foreach_source_that_rgb_reads()
/third_party/mesa3d/src/broadcom/compiler/
H A Dvir_opt_copy_propagate.c101 vir_has_unpack(struct qinst *inst, int chan) in vir_has_unpack() argument
103 assert(chan == 0 || chan == 1); in vir_has_unpack()
106 if (chan == 0) in vir_has_unpack()
111 if (chan == 0) in vir_has_unpack()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_ra_init.cpp303 (1 << a->base_gpr.chan()));
423 unsigned chan = gpr.chan();
424 if (chan_count[chan] < 3) {
425 ++chan_count[chan];
429 allowed_chans &= ~(1 << chan);
457 unsigned chan = gpr.chan();
458 if (chan_count[chan] < 3) {
459 ++chan_count[chan];
[all...]
H A Dsb_shader.cpp64 unsigned chan = 0; in add_pinned_gpr_values() local
67 value *v = get_gpr_value(src, gpr, chan, false); in add_pinned_gpr_values()
81 ++chan; in add_pinned_gpr_values()
157 vv[i] = get_gpr_value(true, a->base_gpr.sel() + i, a->base_gpr.chan(), in fill_array_values()
162 value* shader::get_gpr_value(bool src, unsigned reg, unsigned chan, bool rel, in get_gpr_value() argument
164 sel_chan id(reg, chan); in get_gpr_value()
166 gpr_array *a = get_gpr_array(reg, chan); in get_gpr_value()
192 value* shader::get_kcache_value(unsigned bank, unsigned index, unsigned chan, alu_kcache_index_mode index_mode) { in get_kcache_value() argument
194 sel_chan(bank, index, chan, index_mode)); in get_kcache_value()
378 gpr_array* shader::get_gpr_array(unsigned reg, unsigned chan) { in get_gpr_array() argument
393 unsigned chan = 0; add_gpr_array() local
[all...]
H A Dsb_sched.cpp216 bool rp_gpr_tracker::try_reserve(unsigned cycle, unsigned sel, unsigned chan) { in try_reserve() argument
218 if (rp[cycle][chan] == 0) { in try_reserve()
219 rp[cycle][chan] = sel; in try_reserve()
220 ++uc[cycle][chan]; in try_reserve()
222 } else if (rp[cycle][chan] == sel) { in try_reserve()
223 ++uc[cycle][chan]; in try_reserve()
236 && n->bc.src[0].chan == n->bc.src[1].chan; in unreserve()
245 unreserve(cycle, n->bc.src[i].sel, n->bc.src[i].chan); in unreserve()
250 void rp_gpr_tracker::unreserve(unsigned cycle, unsigned sel, unsigned chan) { in unreserve() argument
407 unsigned chan = t->bc.dst_chan; discard_slots() local
1218 unsigned chan = v->gpr.chan(); add_interferences() local
1274 unsigned chan = v->gpr.chan(); recolor_local() local
[all...]
/third_party/curl/src/
H A Dtool_getpass.c65 short chan; in getpass_r() local
80 sts = sys$assign(&ttdesc, &chan, 0, 0); in getpass_r()
82 sts = sys$qiow(0, chan, in getpass_r()
90 sys$dassgn(chan); in getpass_r()
/vendor/hisilicon/hispark_pegasus/demo/colorfullight_demo/
H A Dcolorful_light_demo.c88 static const WifiIotAdcChannelIndex chan[] = {HUMAN_SENSOR_CHAN_NAME, LIGHT_SENSOR_CHAN_NAME}; in CorlorfulLightTask() local
91 for (size_t i = 0; i < sizeof(chan)/sizeof(chan[0]); i++) { in CorlorfulLightTask()
92 if (AdcRead(chan[i], &data[i], WIFI_IOT_ADC_EQU_MODEL_4, WIFI_IOT_ADC_CUR_BAIS_DEFAULT, 0) in CorlorfulLightTask()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Deg_asm.c192 alu.src[0].chan = bc->index_reg_chan[id]; in egcm_load_index_reg()
266 S_SQ_ALU_WORD0_SRC0_CHAN(alu->src[0].chan) | in eg_bytecode_alu_build()
270 S_SQ_ALU_WORD0_SRC1_CHAN(alu->src[1].chan) | in eg_bytecode_alu_build()
278 S_SQ_ALU_WORD0_SRC0_CHAN(alu->src[0].chan) | in eg_bytecode_alu_build()
282 S_SQ_ALU_WORD0_SRC1_CHAN(alu->src[1].chan) | in eg_bytecode_alu_build()
294 S_SQ_ALU_WORD1_OP3_SRC2_CHAN(alu->src[2].chan) | in eg_bytecode_alu_build()
302 S_SQ_ALU_WORD1_DST_CHAN(alu->dst.chan) | in eg_bytecode_alu_build()
308 S_SQ_ALU_WORD1_DST_CHAN(alu->dst.chan) | in eg_bytecode_alu_build()
313 S_SQ_ALU_WORD1_OP3_SRC2_CHAN(alu->src[2].chan) | in eg_bytecode_alu_build()
319 S_SQ_ALU_WORD1_DST_CHAN(alu->dst.chan) | in eg_bytecode_alu_build()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/
H A Dhifb_graphic_hal.c151 hi_ulong fb_vou_get_chn_abs_addr(hal_disp_outputchannel chan, hi_ulong reg) in fb_vou_get_chn_abs_addr() argument
155 switch (chan) { in fb_vou_get_chn_abs_addr()
158 reg_abs_addr = reg + (chan - HAL_DISP_CHANNEL_DHD0) * DHD_REGS_LEN; in fb_vou_get_chn_abs_addr()
168 static hi_u32 hal_get_addr_chnabs(hal_disp_outputchannel chan, volatile hi_u32 *value) in hal_get_addr_chnabs() argument
171 addr_reg = fb_vou_get_chn_abs_addr(chan, (hi_ulong)(uintptr_t)value); in hal_get_addr_chnabs()
204 hi_bool fb_hal_disp_get_intf_enable(hal_disp_outputchannel chan, hi_bool *intf_en) in fb_hal_disp_get_intf_enable() argument
209 switch (chan) { in fb_hal_disp_get_intf_enable()
212 addr_reg = fb_vou_get_chn_abs_addr(chan, (hi_ulong)(uintptr_t)&(g_hifb_reg->dhd0_ctrl.u32)); in fb_hal_disp_get_intf_enable()
224 hi_bool hal_disp_get_intf_sync(hal_disp_outputchannel chan, hal_disp_syncinfo *sync_info) in hal_disp_get_intf_sync() argument
234 switch (chan) { in hal_disp_get_intf_sync()
278 hal_disp_get_intf_mux_sel(hal_disp_outputchannel chan, VO_INTF_TYPE_E *intf_type) hal_disp_get_intf_mux_sel() argument
309 fb_hal_disp_get_int_state(hal_disp_outputchannel chan, hi_bool *bottom) fb_hal_disp_get_int_state() argument
333 fb_hal_disp_get_disp_iop(hal_disp_outputchannel chan, hi_bool *iop) fb_hal_disp_get_disp_iop() argument
353 hal_disp_get_vt_thd_mode(hal_disp_outputchannel chan, hi_bool *field_mode) hal_disp_get_vt_thd_mode() argument
473 fb_hal_disp_set_reg_up(hal_disp_outputchannel chan) fb_hal_disp_set_reg_up() argument
495 fb_hal_disp_get_reg_up(hal_disp_outputchannel chan) fb_hal_disp_get_reg_up() argument
[all...]
/third_party/libsnd/src/
H A Dcommand.c347 int chan ; in psf_calc_max_all_channels() local
369 chan = 0 ; in psf_calc_max_all_channels()
375 peaks [chan] = temp > peaks [chan] ? temp : peaks [chan] ; in psf_calc_max_all_channels()
376 chan = (chan + 1) % psf->sf.channels ; in psf_calc_max_all_channels()
/third_party/alsa-lib/test/
H A Dmidifile.c594 int chan = status & 0xf; local
605 (*Mf_noteoff) (chan, c1, c2);
609 (*Mf_noteon) (chan, c1, c2);
613 (*Mf_pressure) (chan, c1, c2);
617 (*Mf_parameter) (chan, c1, c2);
621 (*Mf_pitchbend) (chan, c1, c2);
625 (*Mf_program) (chan, c1);
629 (*Mf_chanpressure) (chan, c1);
945 * chan - The midi channel.
951 mf_write_midi_event (delta_time, type, chan, dat
[all...]
/third_party/mesa3d/src/util/format/
H A Du_format.h686 unsigned chan; in util_format_colormask() local
693 for (chan = 0; chan < 4; ++chan) { in util_format_colormask()
694 if (desc->swizzle[chan] < 4) { in util_format_colormask()
695 colormask |= (1 << chan); in util_format_colormask()
786 unsigned chan; in util_format_is_rgba8_variant() local
793 for(chan = 0; chan < 4; ++chan) { in util_format_is_rgba8_variant()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos.c71 unsigned chan; in lp_build_format_swizzle_aos() local
75 for (chan = 0; chan < 4; ++chan) { in lp_build_format_swizzle_aos()
82 if (chan == 3) { in lp_build_format_swizzle_aos()
90 swizzle = desc->swizzle[chan]; in lp_build_format_swizzle_aos()
92 swizzles[chan] = swizzle; in lp_build_format_swizzle_aos()
107 unsigned chan; in format_matches_type() local
128 for (chan = 0; chan < des in format_matches_type()
[all...]
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_format.c209 unsigned chan; in zink_format_is_voidable_rgba_variant() local
220 for(chan = 0; chan < 4; ++chan) { in zink_format_is_voidable_rgba_variant()
221 if(desc->channel[chan].size != size) in zink_format_is_voidable_rgba_variant()

Completed in 19 milliseconds

12345678910>>...16