Searched refs:map_cfg (Results 1 – 1 of 1) sorted by relevance
133 struct regmap_config map_cfg = { in i2c_dw_init_regmap() local160 map_cfg.max_register = AMD_UCSI_INTR_REG; in i2c_dw_init_regmap()163 map_cfg.reg_read = dw_reg_read_swab; in i2c_dw_init_regmap()164 map_cfg.reg_write = dw_reg_write_swab; in i2c_dw_init_regmap()166 map_cfg.reg_read = dw_reg_read_word; in i2c_dw_init_regmap()167 map_cfg.reg_write = dw_reg_write_word; in i2c_dw_init_regmap()180 dev->map = devm_regmap_init(dev->dev, NULL, dev, &map_cfg); in i2c_dw_init_regmap()