Home
last modified time | relevance | path

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

12345678910>>...12

/external/crosvm/devices/src/irqchip/
Dx86_64.rs45 pub fn test_get_pic(mut chip: impl IrqChipX86_64) { in test_get_pic()
46 let state = chip in test_get_pic()
54 chip.service_irq(0, true).expect("could not service irq"); in test_get_pic()
56 let state = chip in test_get_pic()
64 pub fn test_set_pic(mut chip: impl IrqChipX86_64) { in test_set_pic()
65 let mut state = chip in test_set_pic()
72 chip.set_pic_state(PicSelect::Primary, &state) in test_set_pic()
75 let state = chip in test_set_pic()
83 pub fn test_get_ioapic(mut chip: impl IrqChipX86_64) { in test_get_ioapic()
84 let state = chip.get_ioapic_state().expect("could not get ioapic state"); in test_get_ioapic()
[all …]
/external/mesa3d/src/loader/
Dpci_id_driver_map.h12 #define CHIPSET(chip, desc, name) chip, argument
18 #define CHIPSET(chip, family, family_str, name) chip, argument
24 #define CHIPSET(chip, name, family) chip, argument
30 #define CHIPSET(chip, name, family) chip, argument
36 #define CHIPSET(chip, name, family) chip, argument
42 #define CHIPSET(chip, name, family) chip, argument
48 #define CHIPSET(chip, name, family) chip, argument
54 #define CHIPSET(chip, name, family) chip, argument
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_sensors_temp.c71 sensors_chip_name *chip; member
97 sf = sensors_get_subfeature(sti->chip, sti->feature, in get_sensor_values()
100 sti->current = get_value(sti->chip, sf); in get_sensor_values()
103 sf = sensors_get_subfeature(sti->chip, sti->feature, in get_sensor_values()
108 sti->current = get_value(sti->chip, sf) * 1000; in get_sensor_values()
112 sf = sensors_get_subfeature(sti->chip, sti->feature, in get_sensor_values()
115 sti->current = get_value(sti->chip, sf); in get_sensor_values()
118 sf = sensors_get_subfeature(sti->chip, sti->feature, in get_sensor_values()
121 sti->critical = get_value(sti->chip, sf); in get_sensor_values()
124 sf = sensors_get_subfeature(sti->chip, sti->feature, in get_sensor_values()
[all …]
/external/autotest/server/site_tests/firmware_CompareChipFwToShellBall/
Dfirmware_CompareChipFwToShellBall.py73 chip = chip_utils.chip_id_map[chip_id]()
81 chip.set_fw_ver_from_string(fw_rev)
82 return chip
98 chip = self.dut_get_chip(port)
99 if not chip:
101 port2chip.append(chip)
102 chip_types.add(type(chip))
154 chip = chip_type()
155 fw = chip.fw_name
161 chip.fw_name, chip.extension, chip.hash_extension):
[all …]
/external/autotest/server/site_tests/firmware_ChipFwUpdate/
Dfirmware_ChipFwUpdate.py97 chip = chip_type()
98 chip.set_from_file(chip_file)
104 if chip.fw_ver:
105 fw_ver_desc = ' (version 0x%02x)' % chip.fw_ver
106 logging.info('got %s firmware from args: %s%s', chip.chip_name,
108 self.req_chip_updates[chip_name] = chip
129 for chip in self.req_chip_updates.itervalues():
130 logging.info('checking for %s firmware in CBFS', chip.chip_name)
133 chip.fw_name, chip.extension, chip.hash_extension):
135 chip.chip_name)
[all …]
/external/eigen/unsupported/test/
Dcxx11_tensor_chipping.cpp23 chip1 = tensor.template chip<0>(1); in test_simple_chip()
40 Tensor<float, 4, DataLayout> chip2 = tensor.template chip<1>(1); in test_simple_chip()
55 Tensor<float, 4, DataLayout> chip3 = tensor.template chip<2>(2); in test_simple_chip()
70 Tensor<float, 4, DataLayout> chip4(tensor.template chip<3>(5)); in test_simple_chip()
85 Tensor<float, 4, DataLayout> chip5(tensor.template chip<4>(7)); in test_simple_chip()
108 chip1 = tensor.chip(1, 0); in test_dynamic_chip()
123 Tensor<float, 4, DataLayout> chip2 = tensor.chip(1, 1); in test_dynamic_chip()
138 Tensor<float, 4, DataLayout> chip3 = tensor.chip(2, 2); in test_dynamic_chip()
153 Tensor<float, 4, DataLayout> chip4(tensor.chip(5, 3)); in test_dynamic_chip()
168 Tensor<float, 4, DataLayout> chip5(tensor.chip(7, 4)); in test_dynamic_chip()
[all …]
Dcxx11_tensor_custom_op.cpp78 … output.template chip<2>(i).device(device) = input1.chip<2>(i).contract(input2.chip<2>(i), dims); in eval()
96 Tensor<float, 2> reference = tensor1.chip<2>(i).contract(tensor2.chip<2>(i), dims); in test_custom_binary_op()
97 TensorRef<Tensor<float, 2> > val = result.chip<2>(i); in test_custom_binary_op()
/external/tensorflow/tensorflow/core/kernels/
Dcross_op.h33 auto s1 = output_data.template chip<1>(0); in operator()
34 auto s2 = output_data.template chip<1>(1); in operator()
35 auto s3 = output_data.template chip<1>(2); in operator()
37 auto u1 = in0_data.template chip<1>(0); in operator()
38 auto u2 = in0_data.template chip<1>(1); in operator()
39 auto u3 = in0_data.template chip<1>(2); in operator()
41 auto v1 = in1_data.template chip<1>(0); in operator()
42 auto v2 = in1_data.template chip<1>(1); in operator()
43 auto v3 = in1_data.template chip<1>(2); in operator()
Deigen_attention.h182 output.template chip<3>(i).device(device) = in eval()
183 output.template chip<3>(i).constant(0); in eval()
190 mini.device(device) = input.template chip<3>(i).minimum(); in eval()
192 range.device(device) = (input.template chip<3>(i).maximum() - mini) in eval()
197 output.template chip<3>(i).device(device) = in eval()
214 mean.device(device) = input.template chip<3>(i) in eval()
215 .template chip<0>(j) in eval()
220 (input.template chip<3>(i) in eval()
221 .template chip<0>(j) in eval()
229 input.template chip<3>(i).template chip<0>(j).minimum(); in eval()
[all …]
Dfake_quant_ops_functor.h208 auto chip = outputs.chip<1>(i); in operator() local
209 chip.device(d) = chip.constant(0.0f); in operator()
216 inputs.chip<1>(i).cwiseMin(nudged_max).cwiseMax(nudged_min); in operator()
219 outputs.chip<1>(i).device(d) = in operator()
241 const auto gradients_chip = gradients.chip<1>(i); in operator()
242 const auto inputs_chip = inputs.chip<1>(i); in operator()
245 backprops_wrt_input.chip<1>(i).device(d) = gradients_chip; in operator()
246 auto min_chip = backprop_wrt_min.chip<0>(i); in operator()
247 auto max_chip = backprop_wrt_max.chip<0>(i); in operator()
259 backprops_wrt_input.chip<1>(i).device(d) = in operator()
[all …]
Dgather_functor_batched.h107 out.template chip<0>(batch_idx) in HandleCopiesBatched()
108 .template chip<0>(outer_idx) in HandleCopiesBatched()
109 .template chip<0>(indices_idx) = in HandleCopiesBatched()
110 params.template chip<0>(batch_idx) in HandleCopiesBatched()
111 .template chip<0>(outer_idx) in HandleCopiesBatched()
112 .template chip<0>(static_cast<SliceIndex>(index)); in HandleCopiesBatched()
/external/tensorflow/tensorflow/core/kernels/image/
Dcolorspace_op.h33 auto H = output_data.template chip<1>(0); in operator()
34 auto S = output_data.template chip<1>(1); in operator()
35 auto V = output_data.template chip<1>(2); in operator()
37 auto R = input_data.template chip<1>(0); in operator()
38 auto G = input_data.template chip<1>(1); in operator()
39 auto B = input_data.template chip<1>(2); in operator()
70 auto H = input_data.template chip<1>(0); in operator()
71 auto S = input_data.template chip<1>(1); in operator()
72 auto V = input_data.template chip<1>(2); in operator()
81 auto R = output_data.template chip<1>(0); in operator()
[all …]
/external/crosvm/devices/src/irqchip/kvm/
Dx86_64.rs199 let mut chip = KvmSplitIrqChip { in new() localVariable
217 chip.set_irq_routes(&routes)?; in new()
219 chip.register_irq_event(PIT_CHANNEL0_IRQ, &pit_evt, None)?; in new()
220 Ok(chip) in new()
232 source: IrqSource::Irqchip { chip, pin }, in routes_to_chips()
233 } if *gsi == irq => match chip { in routes_to_chips()
236 | IrqSourceChip::Ioapic => chips.push((*chip, *pin)), in routes_to_chips()
289 chip: route_chip, .. in routes_conflict()
292 chip: other_chip, .. in routes_conflict()
402 for (chip, pin) in chips { in service_irq()
[all …]
Dmod.rs201 let mut chip = KvmKernelIrqChip::new(vm.try_clone().expect("failed to clone vm"), 1) in create_kvm_kernel_irqchip() localVariable
205 chip.add_vcpu(0, vcpu.as_vcpu()) in create_kvm_kernel_irqchip()
215 let mut chip = KvmKernelIrqChip::new(vm.try_clone().expect("failed to clone vm"), 1) in mp_state() localVariable
219 chip.add_vcpu(0, vcpu.as_vcpu()) in mp_state()
222 let state = chip.get_mp_state(0).expect("failed to get mp state"); in mp_state()
225 chip.set_mp_state(0, &MPState::Stopped) in mp_state()
228 let state = chip.get_mp_state(0).expect("failed to get mp state"); in mp_state()
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_context.cpp43 int sb_context::init(r600_isa *isa, sb_hw_chip chip, sb_hw_class cclass) { in init() argument
44 if (chip == HW_CHIP_UNKNOWN || cclass == HW_CLASS_UNKNOWN) in init()
49 hw_chip = chip; in init()
62 uses_mova_gpr = is_r600() && chip != HW_CHIP_RV670; in init()
64 …r6xx_gpr_index_workaround = is_r600() && chip != HW_CHIP_RV670 && chip != HW_CHIP_RS780 && chip !=… in init()
66 switch (chip) { in init()
/external/mesa3d/src/amd/compiler/
Daco_print_asm.cpp95 std::pair<bool, size_t> disasm_instr(chip_class chip, LLVMDisasmContextRef disasm, in disasm_instr() argument
100 if (((chip == GFX8 || chip == GFX9) && (binary[pos] & 0xffff8000) == 0xd28a0000) || in disasm_instr()
101 (chip >= GFX10 && (binary[pos] & 0xffff8000) == 0xd7610000)) { in disasm_instr()
109 if (chip >= GFX10 && l == 8 && in disasm_instr()
119 ((chip >= GFX9 && (binary[pos] & 0xffff8000) == 0xd1348000) || /* v_add_u32_e64 + clamp */ in disasm_instr()
120 (chip >= GFX10 && (binary[pos] & 0xffff8000) == 0xd7038000) || /* v_add_u16_e64 + clamp */ in disasm_instr()
121 (chip <= GFX9 && (binary[pos] & 0xffff8000) == 0xd1268000) || /* v_add_u16_e64 + clamp */ in disasm_instr()
122 (chip >= GFX10 && (binary[pos] & 0xffff8000) == 0xd76d8000) || /* v_add3_u32 + clamp */ in disasm_instr()
123 (chip == GFX9 && (binary[pos] & 0xffff8000) == 0xd1ff8000)) /* v_add3_u32 + clamp */) { in disasm_instr()
125 bool has_literal = chip >= GFX10 && in disasm_instr()
[all …]
Daco_ir.cpp159 bool can_use_SDWA(chip_class chip, const aco_ptr<Instruction>& instr) in can_use_SDWA() argument
164 if (chip < GFX8 || instr->isDPP()) in can_use_SDWA()
174 if (vop3->clamp && instr->format == asVOP3(Format::VOPC) && chip != GFX8) in can_use_SDWA()
176 if (vop3->omod && chip < GFX9) in can_use_SDWA()
186 if (chip < GFX9 && !instr->operands[i].isOfType(RegType::vgpr)) in can_use_SDWA()
194 if (chip < GFX9 && !instr->operands[0].isOfType(RegType::vgpr)) in can_use_SDWA()
203 if (chip != GFX8 && is_mac) in can_use_SDWA()
222 aco_ptr<Instruction> convert_to_SDWA(chip_class chip, aco_ptr<Instruction>& instr) in convert_to_SDWA() argument
274 if (instr->definitions[0].getTemp().type() == RegType::sgpr && chip == GFX8) in convert_to_SDWA()
284 bool can_use_opsel(chip_class chip, aco_opcode op, int idx, bool high) in can_use_opsel() argument
[all …]
/external/toybox/toys/other/
Di2ctools.c87 static int i2c_open(int bus, int slave, int chip) in i2c_open() argument
93 if (slave) xioctl(fd, slave, (void *)(long)chip); in i2c_open()
236 int chip = atolx_range(toys.optargs[1], 0, 0x7f); in i2cdump_main() local
239 confirm("Dump chip 0x%02x on bus %d?", chip, bus); in i2cdump_main()
241 fd = i2c_open(bus, (toys.optflags&FLAG_f)?I2C_SLAVE_FORCE:I2C_SLAVE, chip); in i2cdump_main()
262 int chip = atolx_range(toys.optargs[1], 0, 0x7f); in i2cget_main() local
266 confirm("Read register 0x%02x from chip 0x%02x on bus %d?", addr, chip, bus); in i2cget_main()
268 fd = i2c_open(bus, (toys.optflags&FLAG_f)?I2C_SLAVE_FORCE:I2C_SLAVE, chip); in i2cget_main()
281 int chip = atolx_range(toys.optargs[1], 0, 0x7f); in i2cset_main() local
306 confirm("Write register 0x%02x from chip 0x%02x on bus %d?", addr, chip, bus); in i2cset_main()
[all …]
/external/mesa3d/src/amd/
DAndroid.addrlib.mk42 $(MESA_TOP)/src/amd/addrlib/src/chip/gfx9 \
43 $(MESA_TOP)/src/amd/addrlib/src/chip/gfx10 \
44 $(MESA_TOP)/src/amd/addrlib/src/chip/r800
49 $(LOCAL_PATH)/addrlib/inc/chip/r800 \
50 $(LOCAL_PATH)/addrlib/r800/chip
/external/linux-kselftest/tools/testing/selftests/gpio/
Dgpio-mockup-sysfs.sh106 chip=$1
107 name=`basename $chip`
108 base=`cat $chip/base`
109 ngpio=`cat $chip/ngpio`
130 for chip in $gpiochip; do
131 test_chip $chip
/external/arm-trusted-firmware/drivers/mentor/i2c/
Dmi2cv.c273 static int mentor_i2c_probe(uint8_t chip) in mentor_i2c_probe() argument
285 ret = mentor_i2c_address_set(chip, I2C_CMD_WRITE); in mentor_i2c_probe()
390 static int mentor_i2c_target_offset_set(uint8_t chip, uint32_t addr, int alen) in mentor_i2c_target_offset_set() argument
487 int i2c_read(uint8_t chip, uint32_t addr, int alen, uint8_t *buffer, int len) in i2c_read() argument
493 mentor_i2c_probe(chip); in i2c_read()
517 ret = mentor_i2c_address_set(chip, I2C_CMD_WRITE); in i2c_read()
521 ret = mentor_i2c_target_offset_set(chip, addr, alen); in i2c_read()
529 ret = mentor_i2c_address_set(chip, I2C_CMD_READ); in i2c_read()
566 int i2c_write(uint8_t chip, uint32_t addr, int alen, uint8_t *buffer, int len) in i2c_write() argument
588 ret = mentor_i2c_address_set(chip, I2C_CMD_WRITE); in i2c_write()
[all …]
/external/python/cpython3/Tools/pynche/
DStripViewer.py245 chip = canvas.find_overlapping(x, y, x, y)
246 if chip and (1 <= chip[0] <= self.__numchips):
247 color = self.__chips[chip[0]-1]
255 self.__trackarrow(chip[0], (red, green, blue))
257 def __trackarrow(self, chip, rgbtuple): argument
262 self.__lastchip = chip
275 self.__leftarrow.move_to(self.__arrow_x(chip-1))
280 self.__rightarrow.move_to(self.__arrow_x(chip-1))
288 self.__canvas.itemconfigure(chip, outline=outline)
294 chip = 0
[all …]
/external/python/cpython2/Tools/pynche/
DStripViewer.py245 chip = canvas.find_overlapping(x, y, x, y)
246 if chip and (1 <= chip[0] <= self.__numchips):
247 color = self.__chips[chip[0]-1]
255 self.__trackarrow(chip[0], (red, green, blue))
257 def __trackarrow(self, chip, rgbtuple): argument
262 self.__lastchip = chip
275 self.__leftarrow.move_to(self.__arrow_x(chip-1))
280 self.__rightarrow.move_to(self.__arrow_x(chip-1))
288 self.__canvas.itemconfigure(chip, outline=outline)
294 chip = 0
[all …]
/external/mesa3d/src/amd/registers/
Dmakeregheader.py57 def get_chip_index(chip): argument
61 return next(idx for idx, obj in enumerate(CHIPS) if obj.name == chip)
68 oldest_chip_index = min([get_chip_index(chip) for chip in chips])
83 chipflags = [chip.name in chips for chip in CHIPS]
88 parentflags = [chip.name in parent for chip in CHIPS]
93 for idx, chip, flag in zip(itertools.count(), CHIPS, chipflags):
99 for idx, chip, flag in zip(itertools.count(), reversed(CHIPS), reversed(chipflags)):
107 for chip, flag in zip(CHIPS[prefix:suffix], chipflags[prefix:suffix]):
109 comment.append(chip.name)
/external/mesa3d/src/amd/addrlib/
Dmeson.build44 'src/chip/gfx10/gfx10_gb_reg.h',
45 'src/chip/gfx9/gfx9_gb_reg.h',
46 'src/chip/r800/si_gb_reg.h',
68 'inc', 'src', 'src/core', 'src/chip/gfx9', 'src/chip/r800',
69 'src/chip/gfx10',

12345678910>>...12