Home
last modified time | relevance | path

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

/external/u-boot/drivers/mailbox/
Dsandbox-mbox.c20 struct sandbox_mbox_chan chans[SANDBOX_MBOX_CHANNELS]; member
47 sbm->chans[chan->id].rx_msg = *pmsg ^ SANDBOX_MBOX_PING_XOR; in sandbox_mbox_send()
48 sbm->chans[chan->id].rx_msg_valid = true; in sandbox_mbox_send()
60 if (!sbm->chans[chan->id].rx_msg_valid) in sandbox_mbox_recv()
63 *pmsg = sbm->chans[chan->id].rx_msg; in sandbox_mbox_recv()
64 sbm->chans[chan->id].rx_msg_valid = false; in sandbox_mbox_recv()
/external/wpa_supplicant_8/wpa_supplicant/
Dmbo.c315 struct wpa_mbo_non_pref_channel *chans = NULL, *tmp_chans; in wpas_mbo_update_non_pref_chan() local
343 tmp_chans = os_realloc_array(chans, size, in wpas_mbo_update_non_pref_chan()
344 sizeof(*chans)); in wpas_mbo_update_non_pref_chan()
350 chans = tmp_chans; in wpas_mbo_update_non_pref_chan()
353 chan = &chans[num]; in wpas_mbo_update_non_pref_chan()
378 if (wpa_non_pref_chan_is_eq(chan, &chans[i])) in wpas_mbo_update_non_pref_chan()
392 if (chans) { in wpas_mbo_update_non_pref_chan()
393 qsort(chans, num, sizeof(struct wpa_mbo_non_pref_channel), in wpas_mbo_update_non_pref_chan()
399 wpa_s->non_pref_chan = chans; in wpas_mbo_update_non_pref_chan()
406 os_free(chans); in wpas_mbo_update_non_pref_chan()
/external/wpa_supplicant_8/src/p2p/
Dp2p_utils.c384 int p2p_channel_select(struct p2p_channels *chans, const int *classes, in p2p_channel_select() argument
390 for (i = 0; i < chans->reg_classes; i++) { in p2p_channel_select()
391 struct p2p_reg_class *c = &chans->reg_class[i]; in p2p_channel_select()
415 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class, in p2p_channel_random_social() argument
429 if (p2p_channels_includes(chans, 81, 1) || in p2p_channel_random_social()
433 if (p2p_channels_includes(chans, 81, 6) || in p2p_channel_random_social()
437 if (p2p_channels_includes(chans, 81, 11) || in p2p_channel_random_social()
443 if (p2p_channels_includes(chans, 180, 2)) in p2p_channel_random_social()
Dp2p_i.h718 int p2p_channel_select(struct p2p_channels *chans, const int *classes,
720 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class,
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_dump.cpp34 static const char* chans = "xyzw01?_"; variable
139 s << chans[n.bc.sel[k]]; in dump()
149 s << ((n.bc.comp_mask & (1 << k)) ? chans[k] : '_'); in dump()
242 s << chans[alu.dst_chan]; in print_dst()
343 s << "." << chans[src->chan]; in print_src()
467 s << chans[n.bc.dst_sel[k]]; in dump()
479 s << chans[n.bc.src_sel[k]]; in dump()
521 s << " O" << chans[k] << ":" << n.bc.offset[k]; in dump()
Dsb_valtable.cpp42 static const char * chans = "xyzw01?_"; variable
69 << chans[v.select.chan()]; in operator <<()
73 o << "C" << v.select.sel() << "." << chans[v.select.chan()]; in operator <<()
82 << chans[v.select.chan()]; in operator <<()
127 o << "@R" << g.sel() << "." << chans[g.chan()]; in operator <<()
Dsb_ra_init.cpp837 unsigned chans = prev_chans; in get_preferable_chan_mask() local
840 used_chans |= chans; in get_preferable_chan_mask()
841 chans >>= 4; in get_preferable_chan_mask()
/external/mesa3d/src/compiler/glsl/
Dopt_copy_propagation_elements.cpp269 int chans; in handle_rvalue() local
285 chans = swizzle->type->vector_elements; in handle_rvalue()
295 chans = deref_var->type->vector_elements; in handle_rvalue()
310 for (int c = 0; c < chans; c++) { in handle_rvalue()
325 for (int c = 1; c < chans; c++) { in handle_rvalue()
350 chans); in handle_rvalue()
Dir_validate.cpp854 unsigned int chans[4] = {ir->mask.x, ir->mask.y, ir->mask.z, ir->mask.w}; in visit_leave() local
857 if (chans[i] >= ir->val->type->vector_elements) { in visit_leave()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c239 nir_ssa_def *chans[4]; in ptn_get_src() local
243 chans[i] = nir_imm_float(b, 0.0); in ptn_get_src()
245 chans[i] = nir_imm_float(b, 1.0); in ptn_get_src()
255 chans[i] = &mov->dest.dest.ssa; in ptn_get_src()
259 chans[i] = nir_fneg(b, chans[i]); in ptn_get_src()
261 def = nir_vec4(b, chans[0], chans[1], chans[2], chans[3]); in ptn_get_src()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_aos.c535 LLVMValueRef packed, res = NULL, chans[4], rgba[4]; in lp_build_fetch_rgba_aos() local
563 chans[j] = LLVMBuildLShr(builder, packed, in lp_build_fetch_rgba_aos()
567 chans[j] = LLVMBuildAnd(builder, chans[j], in lp_build_fetch_rgba_aos()
573 chans[j] = scale_bits_up(gallivm, format_desc->channel[j].size, in lp_build_fetch_rgba_aos()
574 type.width, chans[j], conv_type); in lp_build_fetch_rgba_aos()
586 rgba[j] = lp_build_swizzle_soa_channel(&bld_conv, chans, swizzle); in lp_build_fetch_rgba_aos()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c1371 LLVMValueRef chans[4]; in convert_to_blend_type() local
1388 chans[j] = LLVMBuildLShr(builder, in convert_to_blend_type()
1393 chans[j] = LLVMBuildAnd(builder, in convert_to_blend_type()
1394 chans[j], in convert_to_blend_type()
1400 chans[j] = scale_bits(gallivm, src_fmt->channel[j].size, in convert_to_blend_type()
1401 blend_type.width, chans[j], src_type); in convert_to_blend_type()
1405 chans[j] = LLVMBuildShl(builder, in convert_to_blend_type()
1406 chans[j], in convert_to_blend_type()
1411 res = chans[j]; in convert_to_blend_type()
1413 res = LLVMBuildOr(builder, res, chans[j], ""); in convert_to_blend_type()
[all …]
/external/pdfium/third_party/lcms/
D0023-upstream-integer-overflow-MPEmatrix_Read.patch75 + // Input and output chans may be ANY (up to 0xffff),
82 - // Input and output chans may be ANY (up to 0xffff)
/external/iw/
Dscan.c65 } __attribute__ ((packed)) chans; member
568 if (triplet->chans.first_channel <= 14) in print_country()
569 end_channel = triplet->chans.first_channel + (triplet->chans.num_channels - 1); in print_country()
571 end_channel = triplet->chans.first_channel + (4 * (triplet->chans.num_channels - 1)); in print_country()
573 …rintf("\t\tChannels [%d - %d] @ %d dBm\n", triplet->chans.first_channel, end_channel, triplet->cha… in print_country()
/external/mesa3d/src/intel/compiler/
Dbrw_schedule_instructions.cpp120 int chans = 8; in set_latency_gen4() local
125 this->latency = 1 * chans * math_latency; in set_latency_gen4()
128 this->latency = 2 * chans * math_latency; in set_latency_gen4()
134 this->latency = 3 * chans * math_latency; in set_latency_gen4()
139 this->latency = 4 * chans * math_latency; in set_latency_gen4()
142 this->latency = 8 * chans * math_latency; in set_latency_gen4()
147 this->latency = 5 * chans * math_latency; in set_latency_gen4()
Dbrw_vec4.cpp1708 static const char *chans[4] = {"x", "y", "z", "w"}; in dump_instruction() local
1711 fprintf(file, "%s", chans[BRW_GET_SWZ(inst->src[i].swizzle, c)]); in dump_instruction()
/external/libxaac/decoder/
Dixheaacd_main.h115 WORD32 *coef_save[chans];
173 WORD32 arr_coef_save[chans][(LN2 + LN2 / 8)];
Dixheaacd_info.h23 #define chans 51 macro
/external/kernel-headers/original/uapi/linux/
Dipmi.h356 unsigned int chans; member
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit2d.c448 nir_ssa_def *chans[3]; in build_nir_texel_fetch() local
449 chans[0] = nir_channel(b, tex_pos, 0); in build_nir_texel_fetch()
450 chans[1] = nir_channel(b, tex_pos, 1); in build_nir_texel_fetch()
451 chans[2] = &layer->dest.ssa; in build_nir_texel_fetch()
452 tex_pos_3d = nir_vec(b, chans, 3); in build_nir_texel_fetch()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c238 struct x86_reg arg0, unsigned out_chans, unsigned chans) in emit_load_float32() argument
240 switch (chans) { in emit_load_float32()
286 struct x86_reg arg0, unsigned out_chans, unsigned chans) in emit_load_float64to32() argument
289 switch (chans) { in emit_load_float64to32()
/external/llvm/lib/Target/AMDGPU/InstPrinter/
DAMDGPUInstPrinter.cpp688 const char * chans = "XYZW"; in printSel() local
707 O << '.' << chans[chan]; in printSel()
/external/syzkaller/sys/linux/
Dsndseq.txt97 chans int32
Dkvm.txt325 chans array[kvm_pit_channel_state, 3]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_mem.c596 LLVMValueRef chans[4]; in store_fetch_args() local
604 chans[chan] = lp_build_emit_fetch(bld_base, inst, 1, chan); in store_fetch_args()
606 data = lp_build_gather_values(&ctx->gallivm, chans, 4); in store_fetch_args()