/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_disasm.c | 34 has_jip(const struct gen_device_info *devinfo, enum opcode opcode) argument 36 if (devinfo->gen < 6) 49 has_uip(const struct gen_device_info *devinfo, enum opcode opcode) argument 51 if (devinfo->gen < 6) 54 return (devinfo->gen >= 7 && opcode == BRW_OPCODE_IF) || 55 (devinfo->gen >= 8 && opcode == BRW_OPCODE_ELSE) || 62 has_branch_ctrl(const struct gen_device_info *devinfo, enum opcode opcode) argument 64 if (devinfo->gen < 8) 407 dp_rc_msg_type(const struct gen_device_info *devinfo) argument 409 return (devinfo 663 print_opcode(FILE *file, const struct gen_device_info *devinfo, enum opcode id) argument 735 dest(FILE *file, const struct gen_device_info *devinfo, brw_inst *inst) argument 792 dest_3src(FILE *file, const struct gen_device_info *devinfo, brw_inst *inst) argument 833 src_da1(FILE *file, const struct gen_device_info *devinfo, unsigned opcode, unsigned type, unsigned _reg_file, unsigned _vert_stride, unsigned _width, unsigned _horiz_stride, unsigned reg_num, unsigned sub_reg_num, unsigned __abs, unsigned _negate) argument 861 src_ia1(FILE *file, const struct gen_device_info *devinfo, unsigned opcode, unsigned type, unsigned _reg_file, int _addr_imm, unsigned _addr_subreg_nr, unsigned _negate, unsigned __abs, unsigned _horiz_stride, unsigned _width, unsigned _vert_stride) argument 915 src_da16(FILE *file, const struct gen_device_info *devinfo, unsigned opcode, unsigned _reg_type, unsigned _reg_file, unsigned _vert_stride, unsigned _reg_nr, unsigned _subreg_nr, unsigned __abs, unsigned _negate, unsigned swz_x, unsigned swz_y, unsigned swz_z, unsigned swz_w) argument 952 src0_3src(FILE *file, const struct gen_device_info *devinfo, brw_inst *inst) argument 979 src1_3src(FILE *file, const struct gen_device_info *devinfo, brw_inst *inst) argument 1007 src2_3src(FILE *file, const struct gen_device_info *devinfo, brw_inst *inst) argument 1034 imm(FILE *file, const struct gen_device_info *devinfo, unsigned type, brw_inst *inst) argument 1076 src0(FILE *file, const struct gen_device_info *devinfo, brw_inst *inst) argument 1132 src1(FILE *file, const struct gen_device_info *devinfo, brw_inst *inst) argument 1188 qtr_ctrl(FILE *file, const struct gen_device_info *devinfo, brw_inst *inst) argument 1223 brw_disassemble_imm(const struct gen_device_info *devinfo, uint32_t dw3, uint32_t dw2, uint32_t dw1, uint32_t dw0) argument 1234 brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo, brw_inst *inst, bool is_compacted) argument [all...] |
H A D | brw_eu_validate.c | 58 src0_is_null(const struct gen_device_info *devinfo, const brw_inst *inst) argument 60 return brw_inst_src0_reg_file(devinfo, inst) == BRW_ARCHITECTURE_REGISTER_FILE && 61 brw_inst_src0_da_reg_nr(devinfo, inst) == BRW_ARF_NULL; 65 src1_is_null(const struct gen_device_info *devinfo, const brw_inst *inst) argument 67 return brw_inst_src1_reg_file(devinfo, inst) == BRW_ARCHITECTURE_REGISTER_FILE && 68 brw_inst_src1_da_reg_nr(devinfo, inst) == BRW_ARF_NULL; 72 src0_is_grf(const struct gen_device_info *devinfo, const brw_inst *inst) argument 74 return brw_inst_src0_reg_file(devinfo, inst) == BRW_GENERAL_REGISTER_FILE; 78 num_sources_from_inst(const struct gen_device_info *devinfo, argument 82 brw_opcode_desc(devinfo, brw_inst_opcod 127 is_unsupported_inst(const struct gen_device_info *devinfo, const brw_inst *inst) argument 137 const struct gen_device_info *devinfo = p->devinfo; local [all...] |
H A D | brw_eu_emit.c | 51 const struct gen_device_info *devinfo = p->devinfo; local 52 if (devinfo->gen < 6) 81 const struct gen_device_info *devinfo = p->devinfo; local 82 if (devinfo->gen >= 7 && reg->file == BRW_MESSAGE_REGISTER_FILE) { 94 brw_reg_type_to_hw_type(const struct gen_device_info *devinfo, argument 116 assert(devinfo->gen >= 8 || type < BRW_REGISTER_TYPE_DF); 138 assert(devinfo->gen >= 7 || type < BRW_REGISTER_TYPE_DF); 139 assert(devinfo 147 const struct gen_device_info *devinfo = p->devinfo; local 225 validate_reg(const struct gen_device_info *devinfo, brw_inst *inst, struct brw_reg reg) argument 323 const struct gen_device_info *devinfo = p->devinfo; local 476 const struct gen_device_info *devinfo = p->devinfo; local 571 const struct gen_device_info *devinfo = p->devinfo; local 603 const struct gen_device_info *devinfo = p->devinfo; local 649 const struct gen_device_info *devinfo = p->devinfo; local 670 const struct gen_device_info *devinfo = p->devinfo; local 717 const struct gen_device_info *devinfo = p->devinfo; local 744 const struct gen_device_info *devinfo = p->devinfo; local 770 const struct gen_device_info *devinfo = p->devinfo; local 797 const struct gen_device_info *devinfo = p->devinfo; local 817 const struct gen_device_info *devinfo = p->devinfo; local 872 const struct gen_device_info *devinfo = p->devinfo; local 1177 const struct gen_device_info *devinfo = p->devinfo; local 1224 const struct gen_device_info *devinfo = p->devinfo; local 1272 const struct gen_device_info *devinfo = p->devinfo; local 1342 const struct gen_device_info *devinfo = p->devinfo; local 1390 const struct gen_device_info *devinfo = p->devinfo; local 1417 const struct gen_device_info *devinfo = p->devinfo; local 1458 const struct gen_device_info *devinfo = p->devinfo; local 1545 const struct gen_device_info *devinfo = p->devinfo; local 1583 const struct gen_device_info *devinfo = p->devinfo; local 1664 const struct gen_device_info *devinfo = p->devinfo; local 1692 const struct gen_device_info *devinfo = p->devinfo; local 1717 const struct gen_device_info *devinfo = p->devinfo; local 1754 const struct gen_device_info *devinfo = p->devinfo; local 1788 const struct gen_device_info *devinfo = p->devinfo; local 1813 const struct gen_device_info *devinfo = p->devinfo; local 1877 const struct gen_device_info *devinfo = p->devinfo; local 1901 const struct gen_device_info *devinfo = p->devinfo; local 1937 const struct gen_device_info *devinfo = p->devinfo; local 1970 const struct gen_device_info *devinfo = p->devinfo; local 2046 const struct gen_device_info *devinfo = p->devinfo; local 2159 const struct gen_device_info *devinfo = p->devinfo; local 2269 const struct gen_device_info *devinfo = p->devinfo; local 2334 const struct gen_device_info *devinfo = p->devinfo; local 2392 const struct gen_device_info *devinfo = p->devinfo; local 2430 const struct gen_device_info *devinfo = p->devinfo; local 2485 const struct gen_device_info *devinfo = p->devinfo; local 2529 const struct gen_device_info *devinfo = p->devinfo; local 2573 const struct gen_device_info *devinfo = p->devinfo; local 2633 const struct gen_device_info *devinfo = p->devinfo; local 2666 while_jumps_before_offset(const struct gen_device_info *devinfo, brw_inst *insn, int while_offset, int start_offset) argument 2681 const struct gen_device_info *devinfo = p->devinfo; local 2723 const struct gen_device_info *devinfo = p->devinfo; local 2752 const struct gen_device_info *devinfo = p->devinfo; local 2827 const struct gen_device_info *devinfo = p->devinfo; local 2866 const struct gen_device_info *devinfo = p->devinfo; local 2914 const struct gen_device_info *devinfo = p->devinfo; local 2950 const struct gen_device_info *devinfo = p->devinfo; local 2977 const struct gen_device_info *devinfo = p->devinfo; local 3003 const struct gen_device_info *devinfo = p->devinfo; local 3021 const struct gen_device_info *devinfo = p->devinfo; local 3051 const struct gen_device_info *devinfo = p->devinfo; local 3073 const struct gen_device_info *devinfo = p->devinfo; local 3109 const struct gen_device_info *devinfo = p->devinfo; local 3131 const struct gen_device_info *devinfo = p->devinfo; local 3166 const struct gen_device_info *devinfo = p->devinfo; local 3185 const struct gen_device_info *devinfo = p->devinfo; local 3220 const struct gen_device_info *devinfo = p->devinfo; local 3242 const struct gen_device_info *devinfo = p->devinfo; local 3269 const struct gen_device_info *devinfo = p->devinfo; local 3320 const struct gen_device_info *devinfo = p->devinfo; local 3345 const struct gen_device_info *devinfo = p->devinfo; local 3457 const struct gen_device_info *devinfo = p->devinfo; local 3585 const struct gen_device_info *devinfo = p->devinfo; local 3618 const struct gen_device_info *devinfo = p->devinfo; local [all...] |
H A D | brw_eu_compact.c | 673 set_control_index(const struct gen_device_info *devinfo, argument 676 uint32_t uncompacted = devinfo->gen >= 8 /* 17b/G45; 19b/IVB+ */ 688 if (devinfo->gen == 7) 693 brw_compact_inst_set_control_index(devinfo, dst, i); 702 set_datatype_index(const struct gen_device_info *devinfo, brw_compact_inst *dst, argument 705 uint32_t uncompacted = devinfo->gen >= 8 /* 18b/G45+; 21b/BDW+ */ 714 brw_compact_inst_set_datatype_index(devinfo, dst, i); 723 set_subreg_index(const struct gen_device_info *devinfo, brw_compact_inst *dst, argument 735 brw_compact_inst_set_subreg_index(devinfo, dst, i); 758 set_src0_index(const struct gen_device_info *devinfo, argument 773 set_src1_index(const struct gen_device_info *devinfo, brw_compact_inst *dst, brw_inst *src, bool is_immediate) argument 793 set_3src_control_index(const struct gen_device_info *devinfo, brw_compact_inst *dst, brw_inst *src) argument 816 set_3src_source_index(const struct gen_device_info *devinfo, brw_compact_inst *dst, brw_inst *src) argument 850 has_unmapped_bits(const struct gen_device_info *devinfo, brw_inst *src) argument 881 has_3src_unmapped_bits(const struct gen_device_info *devinfo, brw_inst *src) argument 903 brw_try_compact_3src_instruction(const struct gen_device_info *devinfo, brw_compact_inst *dst, brw_inst *src) argument 964 brw_try_compact_instruction(const struct gen_device_info *devinfo, brw_compact_inst *dst, brw_inst *src) argument 1051 set_uncompacted_control(const struct gen_device_info *devinfo, brw_inst *dst, brw_compact_inst *src) argument 1073 set_uncompacted_datatype(const struct gen_device_info *devinfo, brw_inst *dst, brw_compact_inst *src) argument 1090 set_uncompacted_subreg(const struct gen_device_info *devinfo, brw_inst *dst, brw_compact_inst *src) argument 1102 set_uncompacted_src0(const struct gen_device_info *devinfo, brw_inst *dst, brw_compact_inst *src) argument 1112 set_uncompacted_src1(const struct gen_device_info *devinfo, brw_inst *dst, brw_compact_inst *src, bool is_immediate) argument 1128 set_uncompacted_3src_control_index(const struct gen_device_info *devinfo, brw_inst *dst, brw_compact_inst *src) argument 1144 set_uncompacted_3src_source_index(const struct gen_device_info *devinfo, brw_inst *dst, brw_compact_inst *src) argument 1169 brw_uncompact_3src_instruction(const struct gen_device_info *devinfo, brw_inst *dst, brw_compact_inst *src) argument 1200 brw_uncompact_instruction(const struct gen_device_info *devinfo, brw_inst *dst, brw_compact_inst *src) argument 1257 brw_debug_compact_uncompact(const struct gen_device_info *devinfo, brw_inst *orig, brw_inst *uncompacted) argument 1294 update_uip_jip(const struct gen_device_info *devinfo, brw_inst *insn, int this_old_ip, int *compacted_counts) argument 1322 update_gen4_jump_count(const struct gen_device_info *devinfo, brw_inst *insn, int this_old_ip, int *compacted_counts) argument 1345 brw_init_compaction_tables(const struct gen_device_info *devinfo) argument 1407 const struct gen_device_info *devinfo = p->devinfo; local [all...] |
H A D | test_eu_compact.c | 37 if (brw_try_compact_instruction(p->devinfo, &dst, &src)) { 40 brw_uncompact_instruction(p->devinfo, &uncompacted, &dst); 42 brw_debug_compact_uncompact(p->devinfo, &src, &uncompacted); 52 brw_disassemble_inst(stderr, p->devinfo, &src, false); 68 clear_pad_bits(const struct gen_device_info *devinfo, brw_inst *inst) argument 70 if (brw_inst_opcode(devinfo, inst) != BRW_OPCODE_SEND && 71 brw_inst_opcode(devinfo, inst) != BRW_OPCODE_SENDC && 72 brw_inst_opcode(devinfo, inst) != BRW_OPCODE_BREAK && 73 brw_inst_opcode(devinfo, inst) != BRW_OPCODE_CONTINUE && 74 brw_inst_src0_reg_file(devinfo, ins 81 skip_bit(const struct gen_device_info *devinfo, brw_inst *src, int bit) argument 253 run_tests(const struct gen_device_info *devinfo) argument 291 struct gen_device_info *devinfo = calloc(1, sizeof(*devinfo)); local [all...] |
H A D | brw_inst.h | 55 brw_inst_set_##name(const struct gen_device_info *devinfo, \ 59 (void) devinfo; \ 63 brw_inst_##name(const struct gen_device_info *devinfo, \ 67 (void) devinfo; \ 76 if (devinfo->gen >= 8) { \ 78 } else if (devinfo->gen >= 7) { \ 80 } else if (devinfo->gen >= 6) { \ 82 } else if (devinfo->gen >= 5) { \ 84 } else if (devinfo->is_g4x) { \ 97 brw_inst_set_##name(const struct gen_device_info *devinfo, \ 251 brw_inst_set_uip(const struct gen_device_info *devinfo, brw_inst *inst, int32_t value) argument 266 brw_inst_uip(const struct gen_device_info *devinfo, const brw_inst *inst) argument 278 brw_inst_set_jip(const struct gen_device_info *devinfo, brw_inst *inst, int32_t value) argument 293 brw_inst_jip(const struct gen_device_info *devinfo, const brw_inst *inst) argument 557 brw_inst_imm_d(const struct gen_device_info *devinfo, const brw_inst *insn) argument 564 brw_inst_imm_ud(const struct gen_device_info *devinfo, const brw_inst *insn) argument 571 brw_inst_imm_f(const struct gen_device_info *devinfo, const brw_inst *insn) argument 580 brw_inst_imm_df(const struct gen_device_info *devinfo, const brw_inst *insn) argument 592 brw_inst_set_imm_d(const struct gen_device_info *devinfo, brw_inst *insn, int value) argument 600 brw_inst_set_imm_ud(const struct gen_device_info *devinfo, brw_inst *insn, unsigned value) argument 608 brw_inst_set_imm_f(const struct gen_device_info *devinfo, brw_inst *insn, float value) argument 618 brw_inst_set_imm_df(const struct gen_device_info *devinfo, brw_inst *insn, double value) argument [all...] |
H A D | gen6_urb.c | 55 const struct gen_device_info *devinfo = &brw->screen->devinfo; local 67 if (nr_vs_entries > devinfo->urb.max_entries[MESA_SHADER_VERTEX]) 68 nr_vs_entries = devinfo->urb.max_entries[MESA_SHADER_VERTEX]; 70 if (nr_gs_entries > devinfo->urb.max_entries[MESA_SHADER_GEOMETRY]) 71 nr_gs_entries = devinfo->urb.max_entries[MESA_SHADER_GEOMETRY]; 78 devinfo->urb.min_entries[MESA_SHADER_VERTEX]);
|
H A D | brw_compiler.c | 101 brw_compiler_create(void *mem_ctx, const struct gen_device_info *devinfo) argument 105 compiler->devinfo = devinfo; 113 devinfo->gen >= 8 && !(INTEL_DEBUG & DEBUG_VEC4VS); 115 devinfo->gen >= 8 && env_var_as_boolean("INTEL_SCALAR_TCS", true); 117 devinfo->gen >= 8 && env_var_as_boolean("INTEL_SCALAR_TES", true); 119 devinfo->gen >= 8 && env_var_as_boolean("INTEL_SCALAR_GS", true); 127 devinfo->gen < 6 ? 16 : UINT_MAX; 142 devinfo->gen < 6 ? &vector_nir_options : &vector_nir_options_gen6;
|
H A D | intel_asm_annotation.h | 63 const struct gen_device_info *devinfo); 66 annotate(const struct gen_device_info *devinfo,
|
H A D | brw_eu.c | 160 brw_inst_set_exec_size(p->devinfo, p->current, value); 165 brw_inst_set_pred_control(p->devinfo, p->current, pc); 170 brw_inst_set_pred_inv(p->devinfo, p->current, predicate_inverse); 175 if (p->devinfo->gen >= 7) 176 brw_inst_set_flag_reg_nr(p->devinfo, p->current, reg); 178 brw_inst_set_flag_subreg_nr(p->devinfo, p->current, subreg); 183 brw_inst_set_access_mode(p->devinfo, p->current, access_mode); 190 if (p->devinfo->gen >= 6) { 199 brw_inst_set_qtr_control(p->devinfo, p->current, GEN6_COMPRESSION_1Q); 203 brw_inst_set_qtr_control(p->devinfo, 224 brw_inst_set_compression(const struct gen_device_info *devinfo, brw_inst *inst, bool on) argument 256 brw_inst_set_group(const struct gen_device_info *devinfo, brw_inst *inst, unsigned group) argument 321 brw_init_codegen(const struct gen_device_info *devinfo, struct brw_codegen *p, void *mem_ctx) argument 369 brw_disassemble(const struct gen_device_info *devinfo, void *assembly, int start, int end, FILE *out) argument 683 gen_from_devinfo(const struct gen_device_info *devinfo) argument 701 brw_opcode_desc(const struct gen_device_info *devinfo, enum opcode opcode) argument [all...] |
H A D | brw_fs_generator.cpp | 130 devinfo(compiler->devinfo), key(key), 137 brw_init_codegen(devinfo, p, mem_ctx); 159 if (devinfo->gen < 6 || this->discard_halt_patches.is_empty()) 162 int scale = brw_jump_scale(p->devinfo); 176 brw_inst_set_uip(p->devinfo, last_halt, 1 * scale); 177 brw_inst_set_jip(p->devinfo, last_halt, 1 * scale); 184 assert(brw_inst_opcode(p->devinfo, patch) == BRW_OPCODE_HALT); 186 brw_inst_set_uip(p->devinfo, patch, (ip - patch_ip->ip) * scale); 203 if (devinfo [all...] |
H A D | gen8_gs_state.c | 32 const struct gen_device_info *devinfo = &brw->screen->devinfo; local 104 dw7 |= (devinfo->max_gs_threads / 2 - 1) << HSW_GS_MAX_THREADS_SHIFT; 106 dw8 |= devinfo->max_gs_threads - 1;
|
H A D | gen7_vs_state.c | 35 const struct gen_device_info *devinfo = &brw->screen->devinfo; local 72 OUT_BATCH(((devinfo->max_vs_threads - 1) << max_threads_shift) |
|
H A D | gen8_hs_state.c | 32 const struct gen_device_info *devinfo = &brw->screen->devinfo; local 50 (devinfo->max_tcs_threads - 1) << GEN8_HS_MAX_THREADS_SHIFT |
|
H A D | gen8_vs_state.c | 35 const struct gen_device_info *devinfo = &brw->screen->devinfo; local 78 OUT_BATCH(((devinfo->max_vs_threads - 1) << HSW_VS_MAX_THREADS_SHIFT) |
|
H A D | brw_fs_combine_constants.cpp | 48 could_coissue(const struct gen_device_info *devinfo, const fs_inst *inst) argument 50 if (devinfo->gen != 7) 68 must_promote_imm(const struct gen_device_info *devinfo, const fs_inst *inst) argument 72 return devinfo->gen < 8; 213 if (!could_coissue(devinfo, inst) && !must_promote_imm(devinfo, inst)) 221 float val = !inst->can_do_source_mods(devinfo) ? inst->src[i].f : 231 imm->uses_by_coissue += could_coissue(devinfo, inst); 232 imm->must_promote = imm->must_promote || must_promote_imm(devinfo, inst); 241 imm->uses_by_coissue = could_coissue(devinfo, ins [all...] |
/external/mesa3d/src/intel/common/ |
H A D | gen_l3_config.c | 109 get_l3_configs(const struct gen_device_info *devinfo) argument 111 switch (devinfo->gen) { 113 return (devinfo->is_baytrail ? vlv_l3_configs : ivb_l3_configs); 116 return (devinfo->is_cherryview ? chv_l3_configs : bdw_l3_configs); 194 gen_get_default_l3_weights(const struct gen_device_info *devinfo, argument 202 if (devinfo->gen >= 8) { 206 w.w[GEN_L3P_RO] = devinfo->is_baytrail ? 0.5 : 1.0; 216 gen_get_default_l3_config(const struct gen_device_info *devinfo) argument 221 const struct gen_l3_config *const cfg = get_l3_configs(devinfo); 222 assert(cfg == gen_get_l3_config(devinfo, 232 gen_get_l3_config(const struct gen_device_info *devinfo, struct gen_l3_weights w0) argument 255 get_l3_way_size(const struct gen_device_info *devinfo) argument 274 get_urb_size_scale(const struct gen_device_info *devinfo) argument 280 gen_get_l3_config_urb_size(const struct gen_device_info *devinfo, const struct gen_l3_config *cfg) argument [all...] |
H A D | gen_l3_config.h | 76 gen_get_default_l3_weights(const struct gen_device_info *devinfo, 83 gen_get_default_l3_config(const struct gen_device_info *devinfo); 86 gen_get_l3_config(const struct gen_device_info *devinfo, 90 gen_get_l3_config_urb_size(const struct gen_device_info *devinfo, 95 void gen_get_urb_config(const struct gen_device_info *devinfo,
|
H A D | gen_urb_config.c | 60 gen_get_urb_config(const struct gen_device_info *devinfo, argument 94 [MESA_SHADER_VERTEX] = tess_present && devinfo->gen == 8 ? 95 192 : devinfo->urb.min_entries[MESA_SHADER_VERTEX], 110 devinfo->urb.min_entries[MESA_SHADER_TESS_EVAL] : 0, 140 DIV_ROUND_UP(devinfo->urb.max_entries[i] * entry_size_bytes[i], 185 entries[i] = MIN2(entries[i], devinfo->urb.max_entries[i]);
|
H A D | gen_device_info.h | 153 bool gen_get_device_info(int devid, struct gen_device_info *devinfo);
|
/external/mesa3d/src/intel/tools/ |
H A D | disasm.c | 35 struct gen_device_info devinfo; member in struct:gen_disasm 51 struct gen_device_info *devinfo = &disasm->devinfo; local 59 bool compacted = brw_inst_cmpt_control(devinfo, insn); 71 brw_uncompact_instruction(devinfo, &uncompacted, compacted); 85 brw_disassemble_inst(out, devinfo, insn, compacted); 88 uint32_t opcode = brw_inst_opcode(devinfo, insn); 89 if (opcode == 0 || (is_send(opcode) && brw_inst_eot(devinfo, insn))) { 104 if (!gen_get_device_info(pciid, &gd->devinfo)) { 109 brw_init_compaction_tables(&gd->devinfo); [all...] |
/external/mesa3d/src/intel/isl/ |
H A D | isl_storage_image.c | 79 isl_lower_storage_image_format(const struct gen_device_info *devinfo, argument 103 return (devinfo->gen >= 9 ? format : 104 devinfo->gen >= 8 || devinfo->is_haswell ? 120 return (devinfo->gen >= 9 ? format : 121 devinfo->gen >= 8 || devinfo->is_haswell ? 127 return (devinfo->gen >= 9 ? format : 128 devinfo->gen >= 8 || devinfo 191 isl_has_matching_typed_storage_image_format(const struct gen_device_info *devinfo, enum isl_format fmt) argument [all...] |
/external/autotest/client/profilers/powertop/src/ |
H A D | bluetooth.c | 99 struct hci_dev_info devinfo; local 115 memset(&devinfo, 0, sizeof(devinfo)); 116 strcpy(devinfo.name, "hci0"); 117 ret = ioctl(fd, HCIGETDEVINFO, (void *) &devinfo); 121 if ( (devinfo.flags & 1) == 0 && 125 thisbytes += devinfo.stat.byte_rx; 126 thisbytes += devinfo.stat.byte_tx;
|
/external/fio/os/ |
H A D | os-aix.h | 8 #include <sys/devinfo.h> 29 struct devinfo info;
|
/external/libdrm/freedreno/kgsl/ |
H A D | kgsl_pipe.c | 42 *value = kgsl_pipe->devinfo.device_id; 45 *value = kgsl_pipe->devinfo.gpu_id; 48 *value = kgsl_pipe->devinfo.gmem_sizebytes; 51 *value = kgsl_pipe->devinfo.chip_id; 256 GETPROP(fd, DEVICE_INFO, kgsl_pipe->devinfo); 258 if (kgsl_pipe->devinfo.gpu_id >= 500) { 266 (kgsl_pipe->devinfo.chip_id >> 24) & 0xff, 267 (kgsl_pipe->devinfo.chip_id >> 16) & 0xff, 268 (kgsl_pipe->devinfo.chip_id >> 8) & 0xff, 269 (kgsl_pipe->devinfo [all...] |