| /third_party/mesa3d/src/amd/vulkan/ |
| H A D | vk_format.h | 46 radv_swizzle_conv(VkComponentSwizzle component, const unsigned char chan[4], in radv_swizzle_conv() argument 60 return (enum pipe_swizzle)chan[vk_swiz - VK_COMPONENT_SWIZZLE_R]; in radv_swizzle_conv()
|
| H A D | radv_meta_bufimage.c | 437 for (int chan = 0; chan < 3; chan++) { in build_nir_btoi_r32g32b32_compute_shader() 438 nir_ssa_def *local_pos = nir_iadd_imm(&b, global_pos, chan); in build_nir_btoi_r32g32b32_compute_shader() 443 nir_ssa_undef(&b, 1, 32), nir_channel(&b, outval, chan), in build_nir_btoi_r32g32b32_compute_shader() 768 for (int chan = 0; chan < 3; chan++) { in build_nir_itoi_r32g32b32_compute_shader() 770 nir_ssa_def *src_local_pos = nir_iadd_imm(&b, src_global_pos, chan); in build_nir_itoi_r32g32b32_compute_shader() 791 nir_ssa_def *dst_local_pos = nir_iadd_imm(&b, dst_global_pos, chan); in build_nir_itoi_r32g32b32_compute_shader() [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
| H A D | wnm_sta.c | 514 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) in wnm_nei_get_chan() argument 527 freq = ieee80211_chan_to_freq(country, op_class, chan); in wnm_nei_get_chan() 534 if (chan >= 1 && chan <= 13) in wnm_nei_get_chan() 535 freq = 2407 + chan * 5; in wnm_nei_get_chan() 536 else if (chan == 14) in wnm_nei_get_chan() 538 else if (chan >= 36 && chan <= 169) in wnm_nei_get_chan() 539 freq = 5000 + chan * 5; in wnm_nei_get_chan() 870 u32 bss_info, u8 op_class, u8 chan, u in wnm_add_nei_rep() 869 wnm_add_nei_rep(struct wpabuf **buf, const u8 *bssid, u32 bss_info, u8 op_class, u8 chan, u8 phy_type, u8 pref) wnm_add_nei_rep() argument 906 u8 op_class, chan; wnm_nei_rep_add_bss() local 1231 struct hostapd_channel_data *chan; chan_supported() local [all...] |
| H A D | rrm.c | 469 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument 475 u8 primary_chan = chan - (2 * num_primary_channels - 2) + i * 4; in wpas_add_channel() 487 chan); in wpas_add_channel() 524 u8 chan = channels ? channels[i] : op->min_chan + i * op->inc; in wpas_add_channels() local 525 enum chan_allowed res = verify_channel(mode, chan, op->bw); in wpas_add_channels() 530 if (wpas_add_channel(op->op_class, chan, num_primary_channels, in wpas_add_channels() 633 u8 op_class, u8 chan, int active, in wpas_beacon_request_freqs() 660 switch (chan) { in wpas_beacon_request_freqs() 670 freqs = wpas_add_channels(op, mode, active, &chan, 1); in wpas_beacon_request_freqs() 689 u8 *op_class, u8 *chan, u in wpas_get_op_chan_phy() 632 wpas_beacon_request_freqs(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan, int active, const u8 *subelems, size_t len) wpas_beacon_request_freqs() argument 688 wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, u8 *op_class, u8 *chan, u8 *phy_type) wpas_get_op_chan_phy() argument [all...] |
| H A D | wps_supplicant.c | 2392 u16 chan = WPA_GET_BE16(attr->ap_channel); in wpas_wps_use_cred() local 2395 if (chan >= 1 && chan <= 13) in wpas_wps_use_cred() 2396 freq = 2407 + 5 * chan; in wpas_wps_use_cred() 2397 else if (chan == 14) in wpas_wps_use_cred() 2399 else if (chan >= 30) in wpas_wps_use_cred() 2400 freq = 5000 + 5 * chan; in wpas_wps_use_cred() 2404 chan, freq); in wpas_wps_use_cred() 2669 u16 chan = WPA_GET_BE16(attr.ap_channel); in wpas_wps_nfc_rx_handover_sel() local 2671 wpa_printf(MSG_DEBUG, "WPS: AP Channel: %d", chan); in wpas_wps_nfc_rx_handover_sel() [all...] |
| H A D | p2p_supplicant.c | 3344 static void wpas_p2p_add_chan(struct p2p_reg_class *reg, u8 chan) in wpas_p2p_add_chan() argument 3346 reg->channel[reg->channels] = chan; in wpas_p2p_add_chan() 3352 struct p2p_channels *chan, in wpas_p2p_default_channels() 3365 chan->reg_class[cla].reg_class = 81; in wpas_p2p_default_channels() 3366 chan->reg_class[cla].channels = 0; in wpas_p2p_default_channels() 3369 wpas_p2p_add_chan(&chan->reg_class[cla], i + 1); in wpas_p2p_default_channels() 3371 if (chan->reg_class[cla].channels) in wpas_p2p_default_channels() 3378 chan->reg_class[cla].reg_class = 115; in wpas_p2p_default_channels() 3379 chan->reg_class[cla].channels = 0; in wpas_p2p_default_channels() 3381 wpas_p2p_add_chan(&chan in wpas_p2p_default_channels() 3351 wpas_p2p_default_channels(struct wpa_supplicant *wpa_s, struct p2p_channels *chan, struct p2p_channels *cli_chan) wpas_p2p_default_channels() argument 3413 has_channel(struct wpa_global *global, struct hostapd_hw_modes *mode, u8 chan, int *flags) has_channel() argument 3602 wpas_p2p_setup_channels(struct wpa_supplicant *wpa_s, struct p2p_channels *chan, struct p2p_channels *cli_chan) wpas_p2p_setup_channels() argument 6178 u8 chan; wpas_p2p_init_go_params() local 6205 u8 chan; wpas_p2p_init_go_params() local 7785 struct p2p_channels chan, cli_chan; wpas_p2p_update_channel_list() local 9089 u8 curr_chan, cand, chan; wpas_p2p_optimize_listen_channel() local 9185 u8 chan, opclass; wpas_p2p_move_go_csa() local 9385 u8 chan; wpas_p2p_consider_moving_one_go() local [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
| H A D | wnm_sta.c | 531 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) in wnm_nei_get_chan() argument 544 freq = ieee80211_chan_to_freq(country, op_class, chan); in wnm_nei_get_chan() 551 if (chan >= 1 && chan <= 13) in wnm_nei_get_chan() 552 freq = 2407 + chan * 5; in wnm_nei_get_chan() 553 else if (chan == 14) in wnm_nei_get_chan() 555 else if (chan >= 36 && chan <= 177) in wnm_nei_get_chan() 556 freq = 5000 + chan * 5; in wnm_nei_get_chan() 887 u32 bss_info, u8 op_class, u8 chan, u in wnm_add_nei_rep() 886 wnm_add_nei_rep(struct wpabuf **buf, const u8 *bssid, u32 bss_info, u8 op_class, u8 chan, u8 phy_type, u8 pref) wnm_add_nei_rep() argument 923 u8 op_class, chan; wnm_nei_rep_add_bss() local 1263 struct hostapd_channel_data *chan; chan_supported() local [all...] |
| H A D | rrm.c | 479 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument 485 u8 primary_chan = chan - (2 * num_primary_channels - 2) + i * 4; in wpas_add_channel() 497 chan); in wpas_add_channel() 534 u8 chan = channels ? channels[i] : op->min_chan + i * op->inc; in wpas_add_channels() local 535 enum chan_allowed res = verify_channel(mode, op->op_class, chan, in wpas_add_channels() 541 if (wpas_add_channel(op->op_class, chan, num_primary_channels, in wpas_add_channels() 654 u8 op_class, u8 chan, int active, in wpas_beacon_request_freqs() 682 switch (chan) { in wpas_beacon_request_freqs() 692 freqs = wpas_add_channels(op, mode, active, &chan, 1); in wpas_beacon_request_freqs() 711 u8 *op_class, u8 *chan, u in wpas_get_op_chan_phy() 653 wpas_beacon_request_freqs(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan, int active, const u8 *subelems, size_t len) wpas_beacon_request_freqs() argument 710 wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, u8 *op_class, u8 *chan, u8 *phy_type) wpas_get_op_chan_phy() argument [all...] |
| H A D | wps_supplicant.c | 2461 u16 chan = WPA_GET_BE16(attr->ap_channel); in wpas_wps_use_cred() local 2464 if (chan >= 1 && chan <= 13) in wpas_wps_use_cred() 2465 freq = 2407 + 5 * chan; in wpas_wps_use_cred() 2466 else if (chan == 14) in wpas_wps_use_cred() 2468 else if (chan >= 30) in wpas_wps_use_cred() 2469 freq = 5000 + 5 * chan; in wpas_wps_use_cred() 2473 chan, freq); in wpas_wps_use_cred() 2738 u16 chan = WPA_GET_BE16(attr.ap_channel); in wpas_wps_nfc_rx_handover_sel() local 2740 wpa_printf(MSG_DEBUG, "WPS: AP Channel: %d", chan); in wpas_wps_nfc_rx_handover_sel() [all...] |
| /third_party/libdrm/nouveau/ |
| H A D | nouveau.h | 209 int nouveau_pushbuf_new(struct nouveau_client *, struct nouveau_object *chan, 228 int nouveau_pushbuf_kick(struct nouveau_pushbuf *, struct nouveau_object *chan); 278 nouveau_check_dead_channel(struct nouveau_drm *, struct nouveau_object *chan);
|
| /third_party/mesa3d/src/panfrost/bifrost/valhall/ |
| H A D | va_lower_constants.c | 212 unsigned chan = (swz - BI_SWIZZLE_B0000); in va_lower_constants() local 213 assert(chan < 4); in va_lower_constants() 215 value = (value >> (8 * chan)) & 0xFF; in va_lower_constants()
|
| /third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
| H A D | sfn_liverangeevaluator.cpp | 169 if (swizzle[i] < 6 && reg[i]->chan() < 4) in record_write() 177 if (reg[i]->chan() < 4) in record_read() 275 if (src.chan() < 4) /* Channel can be 7 to disable source */ in visit() 394 auto& rav = m_register_access(array(i, reg->chan())); in record_write() 421 auto& rav = m_register_access(array(i, reg->chan())); in record_read()
|
| H A D | sfn_liverangeevaluator_helpers.cpp | 644 assert(reg.chan() < 4); in operator ()() 645 assert(m_access_record[reg.chan()].size() > (size_t)reg.index()); in operator ()() 646 return m_access_record[reg.chan()][reg.index()]; in operator ()()
|
| /third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_tgsi.c | 110 emit_data->output[emit_data->chan] = lp_build_intrinsic( in lp_build_tgsi_intrinsic() 125 emit_data->chan = 0; in lp_build_emit_llvm() 295 emit_data.chan = chan_index; in lp_build_tgsi_inst_llvm() 305 emit_data.chan = LP_CHAN_ALL; in lp_build_tgsi_inst_llvm() 312 emit_data.chan = 0; in lp_build_tgsi_inst_llvm()
|
| H A D | lp_bld_tgsi_soa.c | 92 unsigned chan, in emit_dump_reg() 99 index, "xyzw"[chan]); in emit_dump_reg() 444 unsigned chan) in get_file_ptr() 464 assert(chan < 4); in get_file_ptr() 467 LLVMValueRef lindex = lp_build_const_int32(bld->bld_base.base.gallivm, index * 4 + chan); in get_file_ptr() 479 return array_of_vars[index][chan]; in get_file_ptr() 488 * \param chan which channel of the temp register. 493 unsigned chan) in lp_get_temp_ptr_soa() 495 return get_file_ptr(bld, TGSI_FILE_TEMPORARY, index, chan); in lp_get_temp_ptr_soa() 502 * \param chan whic 89 emit_dump_reg(struct gallivm_state *gallivm, unsigned file, unsigned index, unsigned chan, LLVMValueRef value) emit_dump_reg() argument 441 get_file_ptr(struct lp_build_tgsi_soa_context *bld, unsigned file, int index, unsigned chan) get_file_ptr() argument 491 lp_get_temp_ptr_soa(struct lp_build_tgsi_soa_context *bld, unsigned index, unsigned chan) lp_get_temp_ptr_soa() argument 505 lp_get_output_ptr(struct lp_build_tgsi_soa_context *bld, unsigned index, unsigned chan) lp_get_output_ptr() argument 521 unsigned index, chan; gather_outputs() local 2829 int chan; emit_dump_file() local 4304 unsigned index, chan; emit_prologue() local [all...] |
| /third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
| H A D | lp_state_fs.c | 173 unsigned chan; in lp_mem_type_from_format_desc() local 190 chan = i; in lp_mem_type_from_format_desc() 193 type->floating = format_desc->channel[chan].type == UTIL_FORMAT_TYPE_FLOAT; in lp_mem_type_from_format_desc() 194 type->fixed = format_desc->channel[chan].type == UTIL_FORMAT_TYPE_FIXED; in lp_mem_type_from_format_desc() 195 type->sign = format_desc->channel[chan].type != UTIL_FORMAT_TYPE_UNSIGNED; in lp_mem_type_from_format_desc() 196 type->norm = format_desc->channel[chan].normalized; in lp_mem_type_from_format_desc() 206 type->width = format_desc->channel[chan].size; in lp_mem_type_from_format_desc() 448 unsigned attrib, unsigned chan, in fs_interp() 463 attrib, chan, loc, attrib_indir, offsets); in fs_interp() 746 for (unsigned chan in generate_fs_loop() 446 fs_interp(const struct lp_build_fs_iface *iface, struct lp_build_context *bld, unsigned attrib, unsigned chan, bool centroid, bool sample, LLVMValueRef attrib_indir, LLVMValueRef offsets[2]) fs_interp() argument 1714 const unsigned chan = i; lp_blend_type_from_format_desc() local [all...] |
| /third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_pair_regalloc.c | 560 unsigned int chan, writemask = 0; in do_advanced_regalloc() local 561 for (chan = 0; chan < 4; chan++) { in do_advanced_regalloc() 562 if (s->Input[i].Live[chan].Used) { in do_advanced_regalloc() 563 writemask |= (1 << chan); in do_advanced_regalloc()
|
| H A D | radeon_pair_schedule.c | 161 rc_register_file file, unsigned int index, unsigned int chan) in get_reg_valuep() 171 return &s->Temporary[index].Values[chan]; in get_reg_valuep() 946 /* Move the swizzles into the first chan */ in convert_rgb_to_alpha() 1142 rc_register_file file, unsigned int index, unsigned int chan) in scan_read() 1145 struct reg_value ** v = get_reg_valuep(s, file, index, chan); in scan_read() 1168 add_tex_reader(s, s->PrevWriter[chan], s->Current); in scan_read() 1173 DBG("%i: read %i[%i] chan %i\n", s->Current->Instruction->IP, file, index, chan); in scan_read() 1204 rc_register_file file, unsigned int index, unsigned int chan) in scan_write() 1207 struct reg_value ** pv = get_reg_valuep(s, file, index, chan); in scan_write() 160 get_reg_valuep(struct schedule_state * s, rc_register_file file, unsigned int index, unsigned int chan) get_reg_valuep() argument 1141 scan_read(void * data, struct rc_instruction * inst, rc_register_file file, unsigned int index, unsigned int chan) scan_read() argument 1203 scan_write(void * data, struct rc_instruction * inst, rc_register_file file, unsigned int index, unsigned int chan) scan_write() argument [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | wavpack.c | 592 int history_bins, p0, p1, chan; in wv_unpack_dsd_fast() local 663 chan = p0 = p1 = 0; in wv_unpack_dsd_fast() 704 if (chan) { in wv_unpack_dsd_fast() 713 chan ^= 1; in wv_unpack_dsd_fast() 1097 int bpp, chan = 0, orig_bpp, sample_rate = 0, rate_x = 1, dsd_mode = 0; in wavpack_decode_block() local 1404 chan = bytestream2_get_byte(&gb); in wavpack_decode_block() 1420 chan |= (bytestream2_get_byte(&gb) & 0xF) << 8; in wavpack_decode_block() 1421 chan += 1; in wavpack_decode_block() 1422 if (avctx->ch_layout.nb_channels != chan) in wavpack_decode_block() 1424 " instead of %i.\n", chan, avct in wavpack_decode_block() [all...] |
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ |
| H A D | gfx10_shader_ngg.c | 1060 for (unsigned chan = 0; chan < 2; chan++) { in gfx10_ngg_culling_build_end() 1061 LLVMValueRef val = ac_build_fdiv(&ctx->ac, position[chan], position[3]); in gfx10_ngg_culling_build_end() 1064 ac_build_gep0(&ctx->ac, es_vtxptr, LLVMConstInt(ctx->ac.i32, lds_pos_cull_x_div_w + chan, 0))); in gfx10_ngg_culling_build_end() 1193 for (unsigned chan = 0; chan < 4; chan++) { in gfx10_ngg_culling_build_end() 1195 if (chan == 0 || chan in gfx10_ngg_culling_build_end() [all...] |
| /third_party/mesa3d/src/gallium/drivers/r600/sb/ |
| H A D | sb_ir.h | 61 sel_chan(unsigned sel, unsigned chan) : id(((sel << 2) | chan) + 1) {} in sel_chan() 64 unsigned chan() const {return chan(id); } in chan() function 68 static unsigned chan(unsigned idx) { return (idx-1) & 3; } in chan() function 71 unsigned chan, alu_kcache_index_mode index_mode) in sel_chan() 72 : id(sel_chan((bank << 12) | index | ((unsigned)index_mode << 28), chan).id) {} in sel_chan() 80 o << r.sel() << "." << ch[r.chan()]; in operator <<() 612 return array->gpr.chan(); in get_final_chan() 615 return gpr.chan(); in get_final_chan() [all...] |
| H A D | sb_shader.h | 258 value_map special_ro_values; // key - hw alu_sel & chan 321 value* get_gpr_value(bool src, unsigned reg, unsigned chan, bool rel, 326 value* get_kcache_value(unsigned bank, unsigned index, unsigned chan, alu_kcache_index_mode index_mode); 341 gpr_array* get_gpr_array(unsigned reg, unsigned chan);
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
| H A D | ap_drv_ops.c | 873 struct hostapd_channel_data *chan = &mode->channels[i]; in hostapd_get_hw_mode_any_channels() local 879 chan->freq))) in hostapd_get_hw_mode_any_channels() 886 chan->chan))) in hostapd_get_hw_mode_any_channels() 888 if (is_6ghz_freq(chan->freq) && in hostapd_get_hw_mode_any_channels() 890 !is_6ghz_psc_frequency(chan->freq)) in hostapd_get_hw_mode_any_channels() 892 if (!(chan->flag & HOSTAPD_CHAN_DISABLED) && in hostapd_get_hw_mode_any_channels() 894 (chan->flag & HOSTAPD_CHAN_RADAR)) && in hostapd_get_hw_mode_any_channels() 895 !(chan->max_tx_power < hapd->iface->conf->min_tx_power)) in hostapd_get_hw_mode_any_channels() 896 int_array_add_unique(freq_list, chan in hostapd_get_hw_mode_any_channels() [all...] |
| /third_party/mesa3d/src/mesa/program/ |
| H A D | prog_statevars.c | 199 for (int chan = 0; chan < 3; chan++) { in fetch_state() 205 unsigned offset = (attrib / 2) * 4 + chan; in fetch_state() 208 ctx->Light.Material.Attrib[attrib][chan]; in fetch_state() 225 for (int chan = 0; chan < 3; chan++) { in fetch_state() 231 unsigned offset = (attrib / 2) * 4 + chan; in fetch_state() 234 ctx->Light.Material.Attrib[attrib][chan]; in fetch_state() [all...] |
| /third_party/nghttp2/src/ |
| H A D | shrpx_dns_resolver.cc | 163 ares_channel chan; in resolve() local 164 rv = ares_init_options(&chan, &opts, optmask); in resolve() 173 channel_ = chan; in resolve()
|