Home
last modified time | relevance | path

Searched refs:reg_desc (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/hwtracing/coresight/
H A Dcoresight-config.c24 u32 tmp32 = reg_csdev->reg_desc.val32; in cscfg_set_reg()
26 if (reg_csdev->reg_desc.type & CS_CFG_REG_TYPE_VAL_64BIT) { in cscfg_set_reg()
27 *((u64 *)reg_csdev->driver_regval) = reg_csdev->reg_desc.val64; in cscfg_set_reg()
31 if (reg_csdev->reg_desc.type & CS_CFG_REG_TYPE_VAL_MASK) { in cscfg_set_reg()
33 tmp32 &= ~reg_csdev->reg_desc.mask32; in cscfg_set_reg()
34 tmp32 |= reg_csdev->reg_desc.val32 & reg_csdev->reg_desc.mask32; in cscfg_set_reg()
44 if (!(reg_csdev->reg_desc.type & CS_CFG_REG_TYPE_VAL_SAVE)) in cscfg_save_reg()
46 if (reg_csdev->reg_desc.type & CS_CFG_REG_TYPE_VAL_64BIT) in cscfg_save_reg()
47 reg_csdev->reg_desc.val64 = *(u64 *)(reg_csdev->driver_regval); in cscfg_save_reg()
49 reg_csdev->reg_desc.val32 = *(u32 *)(reg_csdev->driver_regval); in cscfg_save_reg()
[all …]
H A Dcoresight-config.h165 struct cscfg_regval_desc reg_desc; member
/linux/drivers/regulator/
H A Drt5759-regulator.c213 struct regulator_desc *reg_desc = &priv->desc; in rt5759_regulator_register() local
218 reg_desc->name = "rt5759-buck"; in rt5759_regulator_register()
219 reg_desc->type = REGULATOR_VOLTAGE; in rt5759_regulator_register()
220 reg_desc->owner = THIS_MODULE; in rt5759_regulator_register()
221 reg_desc->ops = &rt5759_regulator_ops; in rt5759_regulator_register()
222 reg_desc->n_voltages = RT5759_NUM_VOLTS; in rt5759_regulator_register()
223 reg_desc->min_uV = RT5759_MIN_UV; in rt5759_regulator_register()
224 reg_desc->uV_step = RT5759_STEP_UV; in rt5759_regulator_register()
225 reg_desc->vsel_reg = RT5759_REG_VSEL; in rt5759_regulator_register()
226 reg_desc->vsel_mask = RT5759_VSEL_MASK; in rt5759_regulator_register()
[all …]
H A Dda9052-regulator.c61 struct regulator_desc reg_desc; member
288 .reg_desc = {\
310 .reg_desc = {\
374 if (info->reg_desc.id == id) in find_regulator_info()
384 if (info->reg_desc.id == id) in find_regulator_info()
424 &regulator->info->reg_desc, in da9052_regulator_probe()
428 regulator->info->reg_desc.name); in da9052_regulator_probe()
H A Dda9055-regulator.c68 struct regulator_desc reg_desc; member
332 .reg_desc = {\
362 .reg_desc = {\
501 if (info->reg_desc.id == id) in find_regulator_info()
540 &regulator->info->reg_desc, in da9055_regulator_probe()
544 regulator->info->reg_desc.name); in da9055_regulator_probe()
H A Drt5190a-regulator.c323 struct regulator_desc *reg_desc; in rt5190a_parse_regulator_dt_data() local
328 reg_desc = priv->rdesc + i; in rt5190a_parse_regulator_dt_data()
331 rt5190a_fillin_regulator_desc(reg_desc, i); in rt5190a_parse_regulator_dt_data()
333 match->desc = reg_desc; in rt5190a_parse_regulator_dt_data()
/linux/drivers/hwmon/pmbus/
H A Dmpq7932.c126 info->reg_desc = mpq7932_regulators_desc_one; in mpq7932_probe()
128 info->reg_desc = mpq7932_regulators_desc; in mpq7932_probe()
H A Dir38064.c46 .reg_desc = ir38064_reg_desc,
H A Dpli1209bc.c109 .reg_desc = &pli1209bc_reg_desc,
H A Dxdpe12284.c150 .reg_desc = xdpe122_reg_desc,
H A Dtda38640.c158 .reg_desc = tda38640_reg_desc,
H A Dltc2978.c887 info->reg_desc = ltc2978_reg_desc; in ltc2978_probe()
894 info->reg_desc = ltc2978_reg_desc_default; in ltc2978_probe()
H A Dmp2975.c963 .reg_desc = mp2975_reg_desc,
985 .reg_desc = mp2975_reg_desc,
H A Dpmbus.h471 const struct regulator_desc *reg_desc; member
H A Dlm25066.c550 info->reg_desc = lm25066_reg_desc; in lm25066_probe()
H A Dpmbus_core.c3243 data->rdevs[i] = devm_regulator_register(dev, &info->reg_desc[i], in pmbus_regulator_register()
3248 info->reg_desc[i].name); in pmbus_regulator_register()
/linux/tools/arch/x86/kcpuid/
H A Dkcpuid.c31 struct reg_desc { struct
53 struct reg_desc info[NR_REGS]; argument
304 struct reg_desc *reg; in parse_line()
441 static void decode_bits(u32 value, struct reg_desc *rdesc, enum cpuid_reg reg) in decode_bits()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddispc.c166 struct dispc_reg_field reg_desc[DISPC_MGR_FLD_NUM]; member
173 .reg_desc = {
190 .reg_desc = {
207 .reg_desc = {
224 .reg_desc = {
263 const struct dispc_reg_field rfld = mgr_desc[channel].reg_desc[regfld]; in mgr_fld_read()
269 const struct dispc_reg_field rfld = mgr_desc[channel].reg_desc[regfld]; in mgr_fld_write()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddispc.c248 struct dispc_reg_field reg_desc[DISPC_MGR_FLD_NUM]; member
261 .reg_desc = {
284 .reg_desc = {
307 .reg_desc = {
330 .reg_desc = {
369 const struct dispc_reg_field *rfld = &mgr_desc[channel].reg_desc[regfld]; in mgr_fld_read()
377 const struct dispc_reg_field *rfld = &mgr_desc[channel].reg_desc[regfld]; in mgr_fld_write()
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c6938 char reg_desc[32]; in gaudi_handle_qman_err_generic() local
6952 snprintf(reg_desc, ARRAY_SIZE(reg_desc), "LowerCP"); in gaudi_handle_qman_err_generic()
6954 snprintf(reg_desc, ARRAY_SIZE(reg_desc), "stream%u", i); in gaudi_handle_qman_err_generic()
6960 qm_name, reg_desc, in gaudi_handle_qman_err_generic()
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c7944 char reg_desc[32]; in gaudi2_handle_qman_err_generic() local
7957 snprintf(reg_desc, ARRAY_SIZE(reg_desc), "LowerQM"); in gaudi2_handle_qman_err_generic()
7960 snprintf(reg_desc, ARRAY_SIZE(reg_desc), "stream%u", i); in gaudi2_handle_qman_err_generic()
7967 "%s. err cause: %s", reg_desc, in gaudi2_handle_qman_err_generic()
/linux/drivers/scsi/lpfc/
H A Dlpfc_hw4.h4939 struct fc_df_desc_fpin_reg reg_desc; /* descriptor header */ member