Home
last modified time | relevance | path

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

/openbmc/linux/drivers/regulator/
H A Dmax8973-regulator.c451 *temp = mchip->junction_temp_warning + 1000; in max8973_thermal_read_temp()
460 struct max8973_chip *mchip = data; in max8973_thermal_irq() local
462 thermal_zone_device_update(mchip->tz_device, in max8973_thermal_irq()
479 if (mchip->id != MAX77621) in max8973_thermal_init()
482 tzd = devm_thermal_of_zone_register(mchip->dev, 0, mchip, in max8973_thermal_init()
491 if (mchip->irq <= 0) in max8973_thermal_init()
494 irq_data = irq_get_irq_data(mchip->irq); in max8973_thermal_init()
498 ret = devm_request_threaded_irq(mchip->dev, mchip->irq, NULL, in max8973_thermal_init()
501 dev_name(mchip->dev), mchip); in max8973_thermal_init()
503 dev_err(mchip->dev, "Failed to request irq %d, %d\n", in max8973_thermal_init()
[all …]