Home
last modified time | relevance | path

Searched refs:max77693 (Results 1 – 5 of 5) sorted by relevance

/drivers/mfd/
Dmax77693.c112 struct max77693_dev *max77693; in max77693_i2c_probe() local
122 max77693 = devm_kzalloc(&i2c->dev, in max77693_i2c_probe()
124 if (max77693 == NULL) in max77693_i2c_probe()
127 i2c_set_clientdata(i2c, max77693); in max77693_i2c_probe()
128 max77693->dev = &i2c->dev; in max77693_i2c_probe()
129 max77693->i2c = i2c; in max77693_i2c_probe()
130 max77693->irq = i2c->irq; in max77693_i2c_probe()
131 max77693->type = id->driver_data; in max77693_i2c_probe()
133 max77693->regmap = devm_regmap_init_i2c(i2c, &max77693_regmap_config); in max77693_i2c_probe()
134 if (IS_ERR(max77693->regmap)) { in max77693_i2c_probe()
[all …]
Dmax77693-irq.c43 static struct regmap *max77693_get_regmap(struct max77693_dev *max77693, in max77693_get_regmap() argument
48 return max77693->regmap; in max77693_get_regmap()
50 return max77693->regmap_muic; in max77693_get_regmap()
102 struct max77693_dev *max77693 = irq_get_chip_data(data->irq); in max77693_irq_lock() local
104 mutex_lock(&max77693->irqlock); in max77693_irq_lock()
109 struct max77693_dev *max77693 = irq_get_chip_data(data->irq); in max77693_irq_sync_unlock() local
114 struct regmap *map = max77693_get_regmap(max77693, i); in max77693_irq_sync_unlock()
119 max77693->irq_masks_cache[i] = max77693->irq_masks_cur[i]; in max77693_irq_sync_unlock()
122 max77693->irq_masks_cur[i]); in max77693_irq_sync_unlock()
125 mutex_unlock(&max77693->irqlock); in max77693_irq_sync_unlock()
[all …]
DMakefile108 obj-$(CONFIG_MFD_MAX77693) += max77693.o max77693-irq.o
/drivers/extcon/
Dextcon-max77693.c76 struct max77693_dev *max77693; member
255 ret = max77693_update_reg(info->max77693->regmap_muic, in max77693_muic_set_debounce_time()
293 ret = max77693_update_reg(info->max77693->regmap_muic, in max77693_muic_set_path()
305 ret = max77693_update_reg(info->max77693->regmap_muic, in max77693_muic_set_path()
960 ret = max77693_bulk_read(info->max77693->regmap_muic, in max77693_muic_irq_work()
1033 ret = max77693_bulk_read(info->max77693->regmap_muic, in max77693_muic_detect_accessory()
1078 struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent); in max77693_muic_probe() local
1079 struct max77693_platform_data *pdata = dev_get_platdata(max77693->dev); in max77693_muic_probe()
1095 info->max77693 = max77693; in max77693_muic_probe()
1096 if (info->max77693->regmap_muic) { in max77693_muic_probe()
[all …]
DMakefile8 obj-$(CONFIG_EXTCON_MAX77693) += extcon-max77693.o