Home
last modified time | relevance | path

Searched refs:value (Results 51 – 75 of 10157) sorted by relevance

12345678910>>...407

/openbmc/qemu/tests/qtest/
H A Dlsm303dlhc-mag-test.c41 int value) in qmp_lsm303dlhc_mag_set_property() argument
46 "'property': %s, 'value': %d } }", id, prop, value); in qmp_lsm303dlhc_mag_set_property()
53 int64_t value; in send_and_receive() local
61 value = qmp_lsm303dlhc_mag_get_property( in send_and_receive()
63 g_assert_cmpint(value, ==, 100000); in send_and_receive()
67 value = qmp_lsm303dlhc_mag_get_property( in send_and_receive()
69 g_assert_cmpint(value, ==, 150000); in send_and_receive()
73 value = qmp_lsm303dlhc_mag_get_property( in send_and_receive()
75 g_assert_cmpint(value, ==, 50000); in send_and_receive()
80 value = qmp_lsm303dlhc_mag_get_property( in send_and_receive()
[all …]
H A Dtmp105-test.c34 static void qmp_tmp105_set_temperature(const char *id, int value) in qmp_tmp105_set_temperature() argument
39 "'property': 'temperature', 'value': %d } }", id, value); in qmp_tmp105_set_temperature()
47 uint16_t value; in send_and_receive() local
50 value = qmp_tmp105_get_temperature(TMP105_TEST_ID); in send_and_receive()
51 g_assert_cmpuint(value, ==, 0); in send_and_receive()
53 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive()
54 g_assert_cmphex(value, ==, 0); in send_and_receive()
57 value = qmp_tmp105_get_temperature(TMP105_TEST_ID); in send_and_receive()
58 g_assert_cmpuint(value, ==, 20000); in send_and_receive()
60 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/webkitgtk/webkitgtk3/
H A D30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch41 VALIDATE(!value->kind().hasExtraBits(), ("At ", *value));
42 VALIDATE(value->numChildren() == 1, ("At ", *value));
43 - VALIDATE(value->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simd…
44 + VALIDATE(value->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane())…
45 VALIDATE(value->child(0)->type() == V128, ("At ", *value));
49 VALIDATE(value->numChildren() == 2, ("At ", *value));
50 VALIDATE(value->type() == V128, ("At ", *value));
51 VALIDATE(value->child(0)->type() == V128, ("At ", *value));
52 … VALIDATE(value->child(1)->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue…
53 + VALIDATE(value->child(1)->type() == simdScalarTypeToB3Type(value->asSIMDValue()->s…
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_kms.c204 uint32_t *value) in radeon_set_filp_rights() argument
209 if (*value == 1) { in radeon_set_filp_rights()
213 } else if (*value == 0) { in radeon_set_filp_rights()
218 *value = *owner == applier ? 1 : 0; in radeon_set_filp_rights()
242 uint32_t *value, value_tmp, *value_ptr, value_size; in radeon_info_ioctl() local
248 value_ptr = (uint32_t *)((unsigned long)info->value); in radeon_info_ioctl()
249 value = &value_tmp; in radeon_info_ioctl()
254 *value = to_pci_dev(dev->dev)->device; in radeon_info_ioctl()
257 *value = rdev->num_gb_pipes; in radeon_info_ioctl()
260 *value = rdev->num_z_pipes; in radeon_info_ioctl()
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-tegra.c74 u32 value; in tegra_mgbe_resume() local
91 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_STATUS); in tegra_mgbe_resume()
92 if ((value & XPCS_WRAP_UPHY_STATUS_TX_P_UP) == 0) { in tegra_mgbe_resume()
93 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL); in tegra_mgbe_resume()
94 value |= XPCS_WRAP_UPHY_HW_INIT_CTRL_TX_EN; in tegra_mgbe_resume()
95 writel(value, mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL); in tegra_mgbe_resume()
98 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL, value, in tegra_mgbe_resume()
99 (value & XPCS_WRAP_UPHY_HW_INIT_CTRL_TX_EN) == 0, in tegra_mgbe_resume()
117 u32 value; in mgbe_uphy_lane_bringup_serdes_up() local
120 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up()
[all …]
/openbmc/linux/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c109 static void convert_from_vtf_format(u32 value, int size, int exp, in convert_from_vtf_format() argument
114 if (value & BIT(size*8 - 1)) { in convert_from_vtf_format()
115 value = ((1LL << (size * 8)) - value); in convert_from_vtf_format()
120 *val1 = sign * value * int_pow(10, exp); in convert_from_vtf_format()
123 split_micro_fraction(value, -exp, val1, val2); in convert_from_vtf_format()
134 u32 value; in convert_to_vtf_format() local
142 value = abs(val1) * int_pow(10, -exp); in convert_to_vtf_format()
143 value += abs(val2) / divisor; in convert_to_vtf_format()
146 value = abs(val1) / divisor; in convert_to_vtf_format()
149 value = ((1LL << (size * 8)) - value); in convert_to_vtf_format()
[all …]
/openbmc/qemu/hw/misc/
H A Dbcm2835_property.c26 static void bcm2835_property_mbox_push(BCM2835PropertyState *s, uint32_t value) in bcm2835_property_mbox_push() argument
38 value &= ~0xf; in bcm2835_property_mbox_push()
40 s->addr = value; in bcm2835_property_mbox_push()
42 tot_len = ldl_le_phys(&s->dma_as, value); in bcm2835_property_mbox_push()
45 value = s->addr + 8; in bcm2835_property_mbox_push()
46 while (value + 8 <= s->addr + tot_len) { in bcm2835_property_mbox_push()
47 uint32_t tag = ldl_le_phys(&s->dma_as, value); in bcm2835_property_mbox_push()
48 uint32_t bufsize = ldl_le_phys(&s->dma_as, value + 4); in bcm2835_property_mbox_push()
55 stl_le_phys(&s->dma_as, value + 12, 346337); in bcm2835_property_mbox_push()
65 stl_le_phys(&s->dma_as, value + 12, s->board_rev); in bcm2835_property_mbox_push()
[all …]
/openbmc/linux/sound/pci/oxygen/
H A Dxonar_dg_mixer.c60 struct snd_ctl_elem_value *value) in output_select_get() argument
66 value->value.enumerated.item[0] = data->output_sel; in output_select_get()
72 struct snd_ctl_elem_value *value) in output_select_put() argument
76 unsigned int new = value->value.enumerated.item[0]; in output_select_put()
99 info->value.integer.min = 0; in hp_stereo_volume_info()
100 info->value.integer.max = 255; in hp_stereo_volume_info()
113 val->value.integer.value[0] = tmp; in hp_stereo_volume_get()
115 val->value.integer.value[1] = tmp; in hp_stereo_volume_get()
127 long new1 = val->value.integer.value[0]; in hp_stereo_volume_put()
128 long new2 = val->value.integer.value[1]; in hp_stereo_volume_put()
[all …]
/openbmc/linux/arch/mips/cavium-octeon/crypto/
H A Docteon-crypto.h31 #define write_octeon_64bit_hash_dword(value, index) \ argument
36 : [rt] "d" (cpu_to_be64(value))); \
57 #define write_octeon_64bit_block_dword(value, index) \ argument
62 : [rt] "d" (cpu_to_be64(value))); \
68 #define octeon_md5_start(value) \ argument
73 : [rt] "d" (cpu_to_be64(value))); \
79 #define octeon_sha1_start(value) \ argument
84 : [rt] "d" (value)); \
90 #define octeon_sha256_start(value) \ argument
95 : [rt] "d" (value)); \
[all …]
/openbmc/openbmc-test-automation/openpower/ras/
H A Dtest_bmc_ras.robot37 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV1
40 ... BMC ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
47 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV32
50 ... BMC ${value[0]} ${value[1]} 32 ${value[2]} ${err_log_path}
57 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_UE
60 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
69 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCI_RECV1
72 ... BMC ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
79 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCI_UE
82 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
[all …]
/openbmc/linux/drivers/media/platform/allegro-dvt/
H A Dnal-rbsp.c37 static int rbsp_read_bits(struct rbsp *rbsp, int n, unsigned int *value);
38 static int rbsp_write_bits(struct rbsp *rbsp, int n, unsigned int value);
99 static inline int rbsp_write_bit(struct rbsp *rbsp, bool value) in rbsp_write_bit() argument
113 rbsp->data[ofs] |= value << shift; in rbsp_write_bit()
117 if (value || in rbsp_write_bit()
127 static inline int rbsp_read_bits(struct rbsp *rbsp, int n, unsigned int *value) in rbsp_read_bits() argument
133 if (n > 8 * sizeof(*value)) in rbsp_read_bits()
143 if (value) in rbsp_read_bits()
144 *value = tmp; in rbsp_read_bits()
149 static int rbsp_write_bits(struct rbsp *rbsp, int n, unsigned int value) in rbsp_write_bits() argument
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lru_map.c43 void *value) in bpf_map_lookup_elem_with_ref_bit() argument
85 assert(!bpf_map_lookup_elem(mfd, &zero, value)); in bpf_map_lookup_elem_with_ref_bit()
151 unsigned long long key, value[nr_cpus]; in test_lru_sanity0() local
169 value[0] = 1234; in test_lru_sanity0()
174 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0()
175 assert(!bpf_map_update_elem(expected_map_fd, &key, value, in test_lru_sanity0()
179 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST) == -EEXIST); in test_lru_sanity0()
182 assert(bpf_map_update_elem(lru_map_fd, &key, value, -1) == -EINVAL); in test_lru_sanity0()
188 assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -ENOENT); in test_lru_sanity0()
191 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_EXIST) == -ENOENT); in test_lru_sanity0()
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dunaligned.c141 static inline void write_fpr(unsigned int idx, unsigned long value) in write_fpr() argument
143 #define WRITE_FPR(idx, value) \ in write_fpr() argument
144 __asm__ __volatile__("movgr2fr.d $f"#idx", %0\n\t" :: "r"(value)); in write_fpr()
148 WRITE_FPR(0, value); in write_fpr()
151 WRITE_FPR(1, value); in write_fpr()
154 WRITE_FPR(2, value); in write_fpr()
157 WRITE_FPR(3, value); in write_fpr()
160 WRITE_FPR(4, value); in write_fpr()
163 WRITE_FPR(5, value); in write_fpr()
166 WRITE_FPR(6, value); in write_fpr()
[all …]
/openbmc/qemu/hw/i2c/
H A Dnpcm7xx_smbus.c244 static void npcm7xx_smbus_send_byte(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_send_byte() argument
246 int rv = i2c_send(s->bus, value); in npcm7xx_smbus_send_byte()
262 trace_npcm7xx_smbus_send_byte((DEVICE(s)->canonical_path), value, !rv); in npcm7xx_smbus_send_byte()
368 static void npcm7xx_smbus_send_address(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_send_address() argument
373 recv = value & BIT(0); in npcm7xx_smbus_send_address()
374 rv = i2c_start_transfer(s->bus, value >> 1, recv); in npcm7xx_smbus_send_address()
376 value >> 1, recv, !rv); in npcm7xx_smbus_send_address()
380 DEVICE(s)->canonical_path, value, rv); in npcm7xx_smbus_send_address()
454 uint8_t value = s->sda; in npcm7xx_smbus_read_sda() local
470 value = s->sda; in npcm7xx_smbus_read_sda()
[all …]
/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_overlay.c42 #define VD_X_START(value) FIELD_PREP(GENMASK(14, 0), value) argument
43 #define VD_X_END(value) FIELD_PREP(GENMASK(30, 16), value) argument
46 #define VD_Y_START(value) FIELD_PREP(GENMASK(12, 0), value) argument
47 #define VD_Y_END(value) FIELD_PREP(GENMASK(28, 16), value) argument
50 #define VD_COLOR_MAP(value) FIELD_PREP(GENMASK(1, 0), value) argument
53 #define VD_HORZ_Y_C_RATIO(value) FIELD_PREP(GENMASK(22, 21), value) argument
56 #define VD_VERT_INITIAL_PHASE(value) FIELD_PREP(GENMASK(11, 8), value) argument
57 #define VD_VERT_PHASE_STEP(value) FIELD_PREP(GENMASK(7, 1), value) argument
61 #define VD_H_END(value) FIELD_PREP(GENMASK(11, 0), value) argument
62 #define VD_H_START(value) FIELD_PREP(GENMASK(27, 16), \ argument
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_dwb_scl.c532 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_3tap_16p()
534 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in wbscl_get_filter_3tap_16p()
536 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in wbscl_get_filter_3tap_16p()
544 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_4tap_16p()
546 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in wbscl_get_filter_4tap_16p()
548 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in wbscl_get_filter_4tap_16p()
556 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_5tap_16p()
558 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in wbscl_get_filter_5tap_16p()
560 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in wbscl_get_filter_5tap_16p()
568 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_6tap_16p()
[all …]
/openbmc/linux/drivers/media/usb/stk1160/
H A Dstk1160-ac97.c24 u8 value; in stk1160_ac97_wait_transfer_complete() local
28 stk1160_read_reg(dev, STK1160_AC97CTL_0, &value); in stk1160_ac97_wait_transfer_complete()
30 if (!(value & (STK1160_AC97CTL_0_CR | STK1160_AC97CTL_0_CW))) in stk1160_ac97_wait_transfer_complete()
40 static void stk1160_write_ac97(struct stk1160 *dev, u16 reg, u16 value) in stk1160_write_ac97() argument
46 stk1160_write_reg(dev, STK1160_AC97_CMD, value & 0xff); in stk1160_write_ac97()
47 stk1160_write_reg(dev, STK1160_AC97_CMD + 1, (value & 0xff00) >> 8); in stk1160_write_ac97()
82 u16 value; in stk1160_ac97_dump_regs() local
84 value = stk1160_read_ac97(dev, 0x12); /* CD volume */ in stk1160_ac97_dump_regs()
85 stk1160_dbg("0x12 == 0x%04x", value); in stk1160_ac97_dump_regs()
87 value = stk1160_read_ac97(dev, 0x10); /* Line-in volume */ in stk1160_ac97_dump_regs()
[all …]
/openbmc/linux/sound/soc/bcm/
H A Dcygnus-ssp.c246 u32 value, fci_id; in audio_ssp_init_portregs() local
251 value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs()
252 value &= ~I2S_STREAM_CFG_MASK; in audio_ssp_init_portregs()
259 value |= aio->portnum << I2S_OUT_STREAM_CFG_GROUP_ID; in audio_ssp_init_portregs()
260 value |= aio->portnum; /* FCI ID is the port num */ in audio_ssp_init_portregs()
261 value |= CH_GRP_STEREO << I2S_OUT_STREAM_CFG_CHANNEL_GROUPING; in audio_ssp_init_portregs()
262 writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs()
265 value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs()
266 value &= ~BIT(BF_SRC_CFGX_NOT_PAUSE_WHEN_EMPTY); in audio_ssp_init_portregs()
267 value |= BIT(BF_SRC_CFGX_SFIFO_SZ_DOUBLE); in audio_ssp_init_portregs()
[all …]
/openbmc/linux/drivers/mmc/host/
H A Dsunplus-mmc.c236 u32 value = readl(host->base + SPMMC_SD_CONFIG0_REG); in spmmc_set_bus_clk() local
246 value &= ~SPMMC_CLOCK_DIVISION; in spmmc_set_bus_clk()
247 value |= FIELD_PREP(SPMMC_CLOCK_DIVISION, clkdiv); in spmmc_set_bus_clk()
248 writel(value, host->base + SPMMC_SD_CONFIG0_REG); in spmmc_set_bus_clk()
253 u32 value = readl(host->base + SPMMC_SD_CONFIG1_REG); in spmmc_set_bus_timing() local
281 value |= SPMMC_SD_HIGH_SPEED_EN; in spmmc_set_bus_timing()
282 writel(value, host->base + SPMMC_SD_CONFIG1_REG); in spmmc_set_bus_timing()
283 value = readl(host->base + SPMMC_SD_TIMING_CONFIG0_REG); in spmmc_set_bus_timing()
284 value &= ~SPMMC_SD_WRITE_DATA_DELAY; in spmmc_set_bus_timing()
285 value |= FIELD_PREP(SPMMC_SD_WRITE_DATA_DELAY, delay); in spmmc_set_bus_timing()
[all …]
/openbmc/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8mq-usb.c196 u32 value; in imx8m_phy_tune() local
200 value = readl(imx_phy->base + PHY_CTRL4); in imx8m_phy_tune()
201 value &= ~PHY_CTRL4_PCS_TX_DEEMPH_3P5DB_MASK; in imx8m_phy_tune()
202 value |= FIELD_PREP(PHY_CTRL4_PCS_TX_DEEMPH_3P5DB_MASK, in imx8m_phy_tune()
204 writel(value, imx_phy->base + PHY_CTRL4); in imx8m_phy_tune()
208 value = readl(imx_phy->base + PHY_CTRL5); in imx8m_phy_tune()
209 value |= FIELD_PREP(PHY_CTRL5_PCS_TX_SWING_FULL_MASK, in imx8m_phy_tune()
211 writel(value, imx_phy->base + PHY_CTRL5); in imx8m_phy_tune()
220 value = readl(imx_phy->base + PHY_CTRL3); in imx8m_phy_tune()
223 value &= ~PHY_CTRL3_TXVREF_TUNE_MASK; in imx8m_phy_tune()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_compressor.c72 uint32_t value; in reset_lb_on_vblank() local
86 value = dm_read_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL)); in reset_lb_on_vblank()
87 set_reg_field_value(value, 3, LB_SYNC_RESET_SEL, LB_SYNC_RESET_SEL); in reset_lb_on_vblank()
88 set_reg_field_value(value, 1, LB_SYNC_RESET_SEL, LB_SYNC_RESET_SEL2); in reset_lb_on_vblank()
89 dm_write_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL), value); in reset_lb_on_vblank()
103 value = dm_read_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL)); in reset_lb_on_vblank()
104 set_reg_field_value(value, 2, LB_SYNC_RESET_SEL, LB_SYNC_RESET_SEL); in reset_lb_on_vblank()
105 set_reg_field_value(value, 0, LB_SYNC_RESET_SEL, LB_SYNC_RESET_SEL2); in reset_lb_on_vblank()
106 dm_write_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL), value); in reset_lb_on_vblank()
116 uint32_t value; in wait_for_fbc_state_changed() local
[all …]
H A Ddce110_transform_v.c83 uint32_t value = 0; in program_viewport() local
88 value = 0; in program_viewport()
90 value, in program_viewport()
95 value, in program_viewport()
99 dm_write_reg(ctx, addr, value); in program_viewport()
102 value = 0; in program_viewport()
104 value, in program_viewport()
109 value, in program_viewport()
113 dm_write_reg(ctx, addr, value); in program_viewport()
118 value = 0; in program_viewport()
[all …]
/openbmc/u-boot/drivers/video/
H A Datmel_hlcdfb.c60 unsigned long value; in lcd_ctrl_init() local
96 value = get_lcdc_clk_rate(0) / panel_info.vl_clk; in lcd_ctrl_init()
98 value++; in lcd_ctrl_init()
100 if (value < 1) { in lcd_ctrl_init()
112 writel(LCDC_LCDCFG0_CLKDIV(value - 2) in lcd_ctrl_init()
122 value = 0; in lcd_ctrl_init()
124 value |= panel_info.vl_sync; in lcd_ctrl_init()
128 value |= LCDC_LCDCFG5_MODE_OUTPUT_24BPP; in lcd_ctrl_init()
132 value |= LCDC_LCDCFG5_MODE_OUTPUT_12BPP; in lcd_ctrl_init()
135 value |= LCDC_LCDCFG5_MODE_OUTPUT_16BPP; in lcd_ctrl_init()
[all …]
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_parameters.c115 pr_debug("%s: %s\n", param->name, param->value); in iscsi_print_params()
119 char *name, char *value, u8 phase, u8 scope, u8 sender, in iscsi_set_default_param() argument
137 param->value = kstrdup(value, GFP_KERNEL); in iscsi_set_default_param()
138 if (!param->value) { in iscsi_set_default_param()
185 kfree(param->value); in iscsi_set_default_param()
458 if (param->value) in iscsi_set_keys_to_negotiate()
593 new_param->value = kstrdup(param->value, GFP_KERNEL); in iscsi_copy_param_list()
594 if (!new_param->value || !new_param->name) { in iscsi_copy_param_list()
595 kfree(new_param->value); in iscsi_copy_param_list()
647 kfree(param->value); in iscsi_release_param_list()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_compressor.c296 uint32_t value; in wait_for_fbc_state_changed() local
299 value = dm_read_reg(cp110->base.ctx, addr); in wait_for_fbc_state_changed()
301 value, in wait_for_fbc_state_changed()
318 uint32_t value; in dce112_compressor_power_up_fbc() local
322 value = dm_read_reg(compressor->ctx, addr); in dce112_compressor_power_up_fbc()
323 set_reg_field_value(value, 0, FBC_CNTL, FBC_GRPH_COMP_EN); in dce112_compressor_power_up_fbc()
324 set_reg_field_value(value, 1, FBC_CNTL, FBC_EN); in dce112_compressor_power_up_fbc()
325 set_reg_field_value(value, 2, FBC_CNTL, FBC_COHERENCY_MODE); in dce112_compressor_power_up_fbc()
329 value, in dce112_compressor_power_up_fbc()
334 dm_write_reg(compressor->ctx, addr, value); in dce112_compressor_power_up_fbc()
[all …]

12345678910>>...407