Lines Matching defs:data
424 static int tegra_thermctl_get_temp(void *data, int *out_temp)
426 struct tegra_thermctl_zone *zone = data;
585 static int tegra_thermctl_set_trip_temp(void *data, int trip, int temp)
587 struct tegra_thermctl_zone *zone = data;
636 static int tegra_thermctl_get_trend(void *data, int trip,
639 struct tegra_thermctl_zone *zone = data;
691 static int tegra_thermctl_set_trips(void *data, int lo, int hi)
693 struct tegra_thermctl_zone *zone = data;
749 * tegra_soctherm_set_hwtrips() - set HW trip point from DT data
1120 * @data: Interrupt request data
1122 * Looks up the chip data from @data and locks the mutex associated with
1125 static void soctherm_oc_irq_lock(struct irq_data *data)
1127 struct soctherm_oc_irq_chip_data *d = irq_data_get_irq_chip_data(data);
1134 * @data: Interrupt request data
1136 * Looks up the interrupt request data @data and unlocks the mutex associated
1139 static void soctherm_oc_irq_sync_unlock(struct irq_data *data)
1141 struct soctherm_oc_irq_chip_data *d = irq_data_get_irq_chip_data(data);
1148 * @data: irq_data structure of the chip
1154 static void soctherm_oc_irq_enable(struct irq_data *data)
1156 struct soctherm_oc_irq_chip_data *d = irq_data_get_irq_chip_data(data);
1158 d->irq_enable |= BIT(data->hwirq);
1163 * @data: The interrupt request information
1166 * interrupt request chip data.
1170 static void soctherm_oc_irq_disable(struct irq_data *data)
1172 struct soctherm_oc_irq_chip_data *d = irq_data_get_irq_chip_data(data);
1174 d->irq_enable &= ~BIT(data->hwirq);
1177 static int soctherm_oc_irq_set_type(struct irq_data *data, unsigned int type)
1202 struct soctherm_oc_irq_chip_data *data = h->host_data;
1204 irq_set_chip_data(virq, data);
1205 irq_set_chip(virq, &data->irq_chip);
1253 * Sets the over current interrupt request chip data
1292 static int regs_show(struct seq_file *s, void *data)
1813 * data. This function is used on SoCs which have CPU-local pulse
1857 * data. This function is used for CPUs that have "remote" pulse
2096 .data = &tegra124_soctherm,
2102 .data = &tegra132_soctherm,
2108 .data = &tegra210_soctherm,
2130 soc = (struct tegra_soctherm_soc *)match->data;
2193 /* calculate shared calibration data */
2198 /* calculate tsensor calibaration data */