Searched refs:hwreg_cfg (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mfd/
H A Dab8500-debugfs.c136 struct hwreg_cfg { struct
147 static struct hwreg_cfg hwreg_cfg = { variable in typeref:struct:hwreg_cfg
1639 (u8)hwreg_cfg.bank, (u8)hwreg_cfg.addr, &regvalue); ab8500_hwreg_print()
1646 if (hwreg_cfg.shift >= 0) ab8500_hwreg_print()
1647 regvalue >>= hwreg_cfg.shift; ab8500_hwreg_print()
1649 regvalue <<= -hwreg_cfg.shift; ab8500_hwreg_print()
1650 regvalue &= hwreg_cfg.mask; ab8500_hwreg_print()
1652 if (REG_FMT_DEC(&hwreg_cfg)) ab8500_hwreg_print()
2655 * update global hwreg_cfg only if input data syntax is ok.
2657 static ssize_t hwreg_common_write(char *b, struct hwreg_cfg *cfg, hwreg_common_write()
2663 struct hwreg_cfg loc = { hwreg_common_write()
2794 ret = hwreg_common_write(buf, &hwreg_cfg, dev); ab8500_hwreg_write()

Completed in 53 milliseconds