Home
last modified time | relevance | path

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

12

/openbsd/src/sys/dev/pci/drm/amd/display/dc/dce110/
Ddce110_opp_csc_v.c132 tbl_entry->regval[0], in program_color_matrix_v()
138 tbl_entry->regval[1], in program_color_matrix_v()
150 tbl_entry->regval[2], in program_color_matrix_v()
156 tbl_entry->regval[3], in program_color_matrix_v()
168 tbl_entry->regval[4], in program_color_matrix_v()
174 tbl_entry->regval[5], in program_color_matrix_v()
186 tbl_entry->regval[6], in program_color_matrix_v()
192 tbl_entry->regval[7], in program_color_matrix_v()
204 tbl_entry->regval[8], in program_color_matrix_v()
210 tbl_entry->regval[9], in program_color_matrix_v()
[all …]
Ddce110_timing_generator_v.c594 uint32_t regval; in dce110_timing_generator_v_set_early_control() local
597 regval = dm_read_reg(tg->ctx, address); in dce110_timing_generator_v_set_early_control()
598 set_reg_field_value(regval, early_cntl, in dce110_timing_generator_v_set_early_control()
600 dm_write_reg(tg->ctx, address, regval); in dce110_timing_generator_v_set_early_control()
Ddce110_timing_generator.c109 uint32_t regval; in dce110_timing_generator_set_early_control() local
113 regval = dm_read_reg(tg->ctx, address); in dce110_timing_generator_set_early_control()
114 set_reg_field_value(regval, early_cntl, in dce110_timing_generator_set_early_control()
116 dm_write_reg(tg->ctx, address, regval); in dce110_timing_generator_set_early_control()
258 uint32_t regval; in program_horz_count_by_2() local
261 regval = dm_read_reg(tg->ctx, in program_horz_count_by_2()
264 set_reg_field_value(regval, 0, CRTC_COUNT_CONTROL, in program_horz_count_by_2()
268 set_reg_field_value(regval, 1, CRTC_COUNT_CONTROL, in program_horz_count_by_2()
272 CRTC_REG(mmCRTC_COUNT_CONTROL), regval); in program_horz_count_by_2()
/openbsd/src/gnu/usr.bin/binutils/gdb/
Dppc-sysv-tdep.c116 char regval[MAX_REGISTER_SIZE]; in ppc_sysv_abi_push_dummy_call() local
119 convert_typed_floating (val, type, regval, regtype); in ppc_sysv_abi_push_dummy_call()
122 regval); in ppc_sysv_abi_push_dummy_call()
342 char regval[MAX_REGISTER_SIZE]; in do_ppc_sysv_return_value() local
345 regcache_cooked_read (regcache, tdep->ppc_fp0_regnum + 1, regval); in do_ppc_sysv_return_value()
346 convert_typed_floating (regval, regtype, readbuf, type); in do_ppc_sysv_return_value()
352 char regval[MAX_REGISTER_SIZE]; in do_ppc_sysv_return_value() local
354 convert_typed_floating (writebuf, type, regval, regtype); in do_ppc_sysv_return_value()
355 regcache_cooked_write (regcache, tdep->ppc_fp0_regnum + 1, regval); in do_ppc_sysv_return_value()
388 ULONGEST regval; in do_ppc_sysv_return_value() local
[all …]
Darm-linux-tdep.c148 CORE_ADDR regval; in arm_linux_push_arguments() local
180 CORE_ADDR regval = extract_unsigned_integer (val, len); in arm_linux_push_arguments() local
181 if (arm_pc_is_thumb (regval)) in arm_linux_push_arguments()
182 store_unsigned_integer (val, len, MAKE_THUMB_ADDR (regval)); in arm_linux_push_arguments()
195 regval = extract_unsigned_integer (val, partial_len); in arm_linux_push_arguments()
196 write_register (argreg++, regval); in arm_linux_push_arguments()
Dmips-tdep.c2490 unsigned long regval; in mips_eabi_push_dummy_call() local
2493 regval = extract_unsigned_integer (val + low_offset, 4); in mips_eabi_push_dummy_call()
2496 float_argreg, phex (regval, 4)); in mips_eabi_push_dummy_call()
2497 write_register (float_argreg++, regval); in mips_eabi_push_dummy_call()
2500 regval = extract_unsigned_integer (val + 4 - low_offset, 4); in mips_eabi_push_dummy_call()
2503 float_argreg, phex (regval, 4)); in mips_eabi_push_dummy_call()
2504 write_register (float_argreg++, regval); in mips_eabi_push_dummy_call()
2512 LONGEST regval = extract_unsigned_integer (val, len); in mips_eabi_push_dummy_call() local
2515 float_argreg, phex (regval, len)); in mips_eabi_push_dummy_call()
2516 write_register (float_argreg++, regval); in mips_eabi_push_dummy_call()
[all …]
Dfindvar.c493 struct value *regval; in read_var_value() local
495 regval = value_from_register (lookup_pointer_type (type), in read_var_value()
497 if (regval == NULL) in read_var_value()
499 addr = value_as_address (regval); in read_var_value()
522 struct value *regval; in read_var_value() local
530 regval = value_from_register (lookup_pointer_type (type), in read_var_value()
534 if (regval == NULL) in read_var_value()
537 addr = value_as_address (regval); in read_var_value()
542 regval = value_from_register (type, regno, frame); in read_var_value()
544 if (regval == NULL) in read_var_value()
[all …]
Dm32r-tdep.c245 CORE_ADDR regval; in m32r_store_return_value() local
248 regval = extract_unsigned_integer (valbuf, len > 4 ? 4 : len); in m32r_store_return_value()
249 regcache_cooked_write_unsigned (regcache, RET1_REGNUM, regval); in m32r_store_return_value()
253 regval = extract_unsigned_integer ((char *) valbuf + 4, len - 4); in m32r_store_return_value()
254 regcache_cooked_write_unsigned (regcache, RET1_REGNUM + 1, regval); in m32r_store_return_value()
681 CORE_ADDR regval; in m32r_push_dummy_call() local
746 regval = in m32r_push_dummy_call()
749 regcache_cooked_write_unsigned (regcache, argreg++, regval); in m32r_push_dummy_call()
Dv850ice.c510 unsigned long regval; in v850ice_fetch_registers() local
530 regval = strtoul (val, NULL, 16); in v850ice_fetch_registers()
531 if (regval == 0 && p == val) in v850ice_fetch_registers()
535 store_unsigned_integer (val, register_size (current_gdbarch, regno), regval); in v850ice_fetch_registers()
547 unsigned long regval; in v850ice_store_registers() local
560 regval = extract_unsigned_integer (&deprecated_registers[DEPRECATED_REGISTER_BYTE (regno)], in v850ice_store_registers()
565 sprintf (cmd + strlen (cmd), "=0x%x", regval); in v850ice_store_registers()
Dfrv-tdep.c1045 ULONGEST regval; in frv_extract_return_value() local
1046 regcache_cooked_read_unsigned (regcache, 8, &regval); in frv_extract_return_value()
1047 store_unsigned_integer (valbuf, 4, regval); in frv_extract_return_value()
1048 regcache_cooked_read_unsigned (regcache, 9, &regval); in frv_extract_return_value()
1049 store_unsigned_integer ((bfd_byte *) valbuf + 4, 4, regval); in frv_extract_return_value()
1129 CORE_ADDR regval; in frv_push_dummy_call() local
1200 regval = extract_unsigned_integer (val, partial_len); in frv_push_dummy_call()
1203 argnum, (int) regval, argreg); in frv_push_dummy_call()
1205 regcache_cooked_write_unsigned (regcache, argreg, regval); in frv_push_dummy_call()
Dd10v-tdep.c396 ULONGEST regval; in d10v_return_value() local
398 &regval); in d10v_return_value()
399 store_unsigned_integer (readbuf, TYPE_LENGTH (valtype), regval); in d10v_return_value()
404 ULONGEST regval; in d10v_return_value() local
409 regval = unpack_long (valtype, writebuf); in d10v_return_value()
413 regval = extract_unsigned_integer (writebuf, 1); in d10v_return_value()
414 regcache_cooked_write_unsigned (regcache, R0_REGNUM, regval); in d10v_return_value()
Dremote-m32r-sdi.c970 ULONGEST regval, tmp; in m32r_store_register() local
976 regcache_cooked_read_unsigned (current_regcache, regno, &regval); in m32r_store_register()
989 tmp = (0x00c1 & psw) | ((0x00c1 & regval) << 8); in m32r_store_register()
992 tmp = (0x0030 & bbpsw) | ((0xc100 & regval) >> 8); in m32r_store_register()
997 send_two_arg_cmd (SDI_WRITE_CPU_REG, regid, regval); in m32r_store_register()
1002 regno, (unsigned long) regval); in m32r_store_register()
Dsh-tdep.c1026 CORE_ADDR regval; in sh_push_dummy_call_fpu() local
1083 regval = extract_unsigned_integer (val, reg_size); in sh_push_dummy_call_fpu()
1095 regval); in sh_push_dummy_call_fpu()
1098 regval = extract_unsigned_integer (val, reg_size); in sh_push_dummy_call_fpu()
1100 regcache_cooked_write_unsigned (regcache, flt_argreg++, regval); in sh_push_dummy_call_fpu()
1106 regval = extract_unsigned_integer (val, reg_size); in sh_push_dummy_call_fpu()
1107 regcache_cooked_write_unsigned (regcache, argreg++, regval); in sh_push_dummy_call_fpu()
1137 CORE_ADDR regval; in sh_push_dummy_call_nofpu() local
1174 regval = extract_unsigned_integer (val, reg_size); in sh_push_dummy_call_nofpu()
1175 regcache_cooked_write_unsigned (regcache, argreg++, regval); in sh_push_dummy_call_nofpu()
/openbsd/src/sys/dev/ic/
Dbt485.c191 u_int8_t regval; local
204 regval = data->ramdac_rd(data->cookie, BT485_REG_COMMAND_0);
205 regval |= 0x80;
210 regval |= 0x02;
211 data->ramdac_wr(data->cookie, BT485_REG_COMMAND_0, regval);
217 regval = data->ramdac_rd(data->cookie, BT485_REG_COMMAND_2);
218 regval &= ~0x03;
219 regval |= 0x24;
220 data->ramdac_wr(data->cookie, BT485_REG_COMMAND_2, regval);
223 regval = bt485_rd_i(data, BT485_IREG_COMMAND_3);
[all …]
Dvga.c280 u_int8_t regval; in vga_common_probe() local
292 regval = bus_space_read_1(iot, ioh_vga, 0xc); in vga_common_probe()
293 mono = !(regval & 1); in vga_common_probe()
320 regval = bus_space_read_1(iot, ioh_vga, VGA_ATC_DATAR); in vga_common_probe()
322 bus_space_write_1(iot, ioh_vga, VGA_ATC_DATAW, regval ^ 0x0f); in vga_common_probe()
326 if (bus_space_read_1(iot, ioh_vga, VGA_ATC_DATAR) != (regval ^ 0x0f)) in vga_common_probe()
329 bus_space_write_1(iot, ioh_vga, VGA_ATC_DATAW, regval); in vga_common_probe()
/openbsd/src/sys/dev/sdmmc/
Dif_bwfm_sdio.h57 #define BWFM_SDIO_FUNC1_CHIPCLKCSR_ALPAV(regval) \ argument
58 ((regval) & BWFM_SDIO_FUNC1_CHIPCLKCSR_AVBITS)
59 #define BWFM_SDIO_FUNC1_CHIPCLKCSR_HTAV(regval) \ argument
60 (((regval) & BWFM_SDIO_FUNC1_CHIPCLKCSR_AVBITS) == BWFM_SDIO_FUNC1_CHIPCLKCSR_AVBITS)
61 #define BWFM_SDIO_FUNC1_CHIPCLKCSR_ALPONLY(regval) \ argument
62 (BWFM_SDIO_FUNC1_CHIPCLKCSR_ALPAV(regval) && \
63 !BWFM_SDIO_FUNC1_CHIPCLKCSR_HTAV(regval))
64 #define BWFM_SDIO_FUNC1_CHIPCLKCSR_CLKAV(regval, alponly) \ argument
65 (BWFM_SDIO_FUNC1_CHIPCLKCSR_ALPAV(regval) && \
66 (alponly ? 1 : BWFM_SDIO_FUNC1_CHIPCLKCSR_HTAV(regval)))
/openbsd/src/sys/dev/pci/drm/amd/display/dc/gpio/
Dhw_ddc.c72 uint32_t regval; in set_config() local
84 regval = REG_GET_3(gpio.MASK_reg, in set_config()
99 REG_SET(gpio.MASK_reg, regval, DC_GPIO_DDC1DATA_PD_EN, 1); in set_config()
101 REG_SET_2(gpio.MASK_reg, regval, in set_config()
118 REG_SET(gpio.MASK_reg, regval, in set_config()
127 REG_SET(gpio.MASK_reg, regval, in set_config()
163 REG_SET(gpio.MASK_reg, regval, in set_config()
/openbsd/src/sys/dev/pci/drm/amd/display/dc/dce/
Ddce_transform.c1240 OUTPUT_CSC_C11, tbl_entry->regval[0], in program_color_matrix()
1241 OUTPUT_CSC_C12, tbl_entry->regval[1]); in program_color_matrix()
1245 OUTPUT_CSC_C11, tbl_entry->regval[2], in program_color_matrix()
1246 OUTPUT_CSC_C12, tbl_entry->regval[3]); in program_color_matrix()
1250 OUTPUT_CSC_C11, tbl_entry->regval[4], in program_color_matrix()
1251 OUTPUT_CSC_C12, tbl_entry->regval[5]); in program_color_matrix()
1255 OUTPUT_CSC_C11, tbl_entry->regval[6], in program_color_matrix()
1256 OUTPUT_CSC_C12, tbl_entry->regval[7]); in program_color_matrix()
1260 OUTPUT_CSC_C11, tbl_entry->regval[8], in program_color_matrix()
1261 OUTPUT_CSC_C12, tbl_entry->regval[9]); in program_color_matrix()
[all …]
/openbsd/src/sys/dev/pci/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.h94 const uint16_t *regval,
118 uint16_t *regval,
Ddcn10_cm_common.c43 const uint16_t *regval, in cm_helper_program_color_matrices() argument
53 const uint16_t *regval0 = &(regval[2 * i]); in cm_helper_program_color_matrices()
54 const uint16_t *regval1 = &(regval[(2 * i) + 1]); in cm_helper_program_color_matrices()
66 uint16_t *regval, in cm_helper_read_color_matrices() argument
78 regval[2 * i] = regval0; in cm_helper_read_color_matrices()
79 regval[(2 * i) + 1] = regval1; in cm_helper_read_color_matrices()
/openbsd/src/sys/dev/pci/
Dixgbe_82598.c84 int32_t ixgbe_enable_rx_dma_82598(struct ixgbe_hw *hw, uint32_t regval);
264 uint32_t regval; in ixgbe_start_hw_82598() local
277 regval = IXGBE_READ_REG(hw, IXGBE_DCA_TXCTRL(i)); in ixgbe_start_hw_82598()
278 regval &= ~IXGBE_DCA_TXCTRL_DESC_WRO_EN; in ixgbe_start_hw_82598()
279 IXGBE_WRITE_REG(hw, IXGBE_DCA_TXCTRL(i), regval); in ixgbe_start_hw_82598()
284 regval = IXGBE_READ_REG(hw, IXGBE_DCA_RXCTRL(i)); in ixgbe_start_hw_82598()
285 regval &= ~(IXGBE_DCA_RXCTRL_DATA_WRO_EN | in ixgbe_start_hw_82598()
287 IXGBE_WRITE_REG(hw, IXGBE_DCA_RXCTRL(i), regval); in ixgbe_start_hw_82598()
1353 int32_t ixgbe_enable_rx_dma_82598(struct ixgbe_hw *hw, uint32_t regval) in ixgbe_enable_rx_dma_82598() argument
1357 IXGBE_WRITE_REG(hw, IXGBE_RXCTRL, regval); in ixgbe_enable_rx_dma_82598()
/openbsd/src/gnu/usr.bin/binutils/opcodes/
Darc-dis.c1146 _coreRegName(arg, regval) in _coreRegName() argument
1148 int regval;
1150 return arcExtMap_coreRegName (regval);
1155 _auxRegName(void *_this ATTRIBUTE_UNUSED, int regval) in _auxRegName() argument
1157 return arcExtMap_auxRegName(regval); in _auxRegName()
1163 _condCodeName(void *_this ATTRIBUTE_UNUSED, int regval) in _condCodeName() argument
1165 return arcExtMap_condCodeName(regval); in _condCodeName()
/openbsd/src/sys/dev/acpi/
Dacpi.c1459 int regval; in acpi_read_pmreg() local
1518 regval = 0; in acpi_read_pmreg()
1526 regval = bus_space_read_1(sc->sc_iot, ioh, offset); in acpi_read_pmreg()
1529 regval = bus_space_read_2(sc->sc_iot, ioh, offset); in acpi_read_pmreg()
1532 regval = bus_space_read_4(sc->sc_iot, ioh, offset); in acpi_read_pmreg()
1538 sc->sc_pmregs[reg].addr, offset, regval); in acpi_read_pmreg()
1539 return (regval); in acpi_read_pmreg()
1544 acpi_write_pmreg(struct acpi_softc *sc, int reg, int offset, int regval) in acpi_write_pmreg() argument
1555 uint8_t value = (regval >> 8); in acpi_write_pmreg()
1572 uint8_t value = (regval >> 8); in acpi_write_pmreg()
[all …]
/openbsd/src/sys/dev/pci/drm/amd/display/dc/inc/hw/
Ddpp.h94 uint16_t regval[12]; member
249 const uint16_t *regval);
/openbsd/src/gnu/usr.bin/binutils-2.17/opcodes/
Darc-dis.c1130 _coreRegName(void * arg ATTRIBUTE_UNUSED, int regval) in _coreRegName() argument
1132 return arcExtMap_coreRegName (regval); in _coreRegName()
1138 _auxRegName(void *_this ATTRIBUTE_UNUSED, int regval) in _auxRegName() argument
1140 return arcExtMap_auxRegName(regval); in _auxRegName()
1146 _condCodeName(void *_this ATTRIBUTE_UNUSED, int regval) in _condCodeName() argument
1148 return arcExtMap_condCodeName(regval); in _condCodeName()

12