Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/
Di915_hwmon.c66 struct hwm_drvdata ddat; member
76 hwm_locked_with_pm_intel_uncore_rmw(struct hwm_drvdata *ddat, in hwm_locked_with_pm_intel_uncore_rmw() argument
79 struct i915_hwmon *hwmon = ddat->hwmon; in hwm_locked_with_pm_intel_uncore_rmw()
80 struct intel_uncore *uncore = ddat->uncore; in hwm_locked_with_pm_intel_uncore_rmw()
98 hwm_field_read_and_scale(struct hwm_drvdata *ddat, i915_reg_t rgadr, in hwm_field_read_and_scale() argument
101 struct intel_uncore *uncore = ddat->uncore; in hwm_field_read_and_scale()
134 hwm_energy(struct hwm_drvdata *ddat, long *energy) in hwm_energy() argument
136 struct intel_uncore *uncore = ddat->uncore; in hwm_energy()
137 struct i915_hwmon *hwmon = ddat->hwmon; in hwm_energy()
138 struct hwm_energy_info *ei = &ddat->ei; in hwm_energy()
[all …]
/linux-6.12.1/drivers/platform/arm64/
Dacer-aspire1-ec.c236 struct aspire_ec_bat_psy_dynamic_data ddat; in aspire_ec_bat_psy_get_property() local
240 i2c_smbus_read_i2c_block_data(ec->client, ASPIRE_EC_FG_DYNAMIC, sizeof(ddat), (u8 *)&ddat); in aspire_ec_bat_psy_get_property()
245 if (ddat.flags & ASPIRE_EC_FG_FLAG_CHARGING) in aspire_ec_bat_psy_get_property()
247 else if (ddat.flags & ASPIRE_EC_FG_FLAG_DISCHARGING) in aspire_ec_bat_psy_get_property()
249 else if (ddat.flags & ASPIRE_EC_FG_FLAG_FULL) in aspire_ec_bat_psy_get_property()
254 val->intval = get_unaligned_le16(&ddat.voltage_now) * MILLI_TO_MICRO; in aspire_ec_bat_psy_get_property()
262 val->intval = get_unaligned_le16(&ddat.capacity_now) * MILLI_TO_MICRO; in aspire_ec_bat_psy_get_property()
270 val->intval = get_unaligned_le16(&ddat.capacity_now) * 100; in aspire_ec_bat_psy_get_property()
275 val->intval = (s16)get_unaligned_le16(&ddat.current_now) * MILLI_TO_MICRO; in aspire_ec_bat_psy_get_property()
279 val->intval = !!(ddat.flags & ASPIRE_EC_FG_FLAG_PRESENT); in aspire_ec_bat_psy_get_property()
/linux-6.12.1/drivers/staging/vme_user/
Dvme_tsi148.c1695 entry->descriptor.ddat = cpu_to_be32(TSI148_LCSR_DDAT_TYP_PCI); in tsi148_dma_list_add()
1704 entry->descriptor.ddat = cpu_to_be32(TSI148_LCSR_DDAT_TYP_VME); in tsi148_dma_list_add()
1707 &entry->descriptor.ddat, in tsi148_dma_list_add()
Dvme_tsi148.h61 __be32 ddat; /* Destination attributes */ member