Searched refs:map_cfg (Results 1 – 1 of 1) sorted by relevance
128 struct regmap_config map_cfg = { in i2c_dw_init_regmap() local155 map_cfg.max_register = AMD_UCSI_INTR_REG; in i2c_dw_init_regmap()158 map_cfg.reg_read = dw_reg_read_swab; in i2c_dw_init_regmap()159 map_cfg.reg_write = dw_reg_write_swab; in i2c_dw_init_regmap()161 map_cfg.reg_read = dw_reg_read_word; in i2c_dw_init_regmap()162 map_cfg.reg_write = dw_reg_write_word; in i2c_dw_init_regmap()175 dev->map = devm_regmap_init(dev->dev, NULL, dev, &map_cfg); in i2c_dw_init_regmap()