Home
last modified time | relevance | path

Searched refs:get_value (Results 1 – 25 of 123) sorted by relevance

12345

/openbmc/linux/drivers/macintosh/
H A Dwindfarm.h29 int (*get_value)(struct wf_control *ct, s32 *val); member
80 return ct->ops->get_value(ct, val); in wf_control_get()
100 int (*get_value)(struct wf_sensor *sr, s32 *val); member
122 return sr->ops->get_value(sr, val); in wf_sensor_get()
H A Dwindfarm_smu_sensors.c176 .get_value = smu_cputemp_get,
181 .get_value = smu_cpuamp_get,
186 .get_value = smu_cpuvolt_get,
191 .get_value = smu_slotspow_get,
303 rc = pow->amps->ops->get_value(pow->amps, &amps); in smu_cpu_power_get()
312 rc = pow->volts->ops->get_value(pow->volts, &volts); in smu_cpu_power_get()
330 .get_value = smu_cpu_power_get,
H A Dwindfarm_pm112.c282 err = sr->ops->get_value(sr, &temp); in cpu_fans_tick()
297 err = sr->ops->get_value(sr, &power); in cpu_fans_tick()
377 err = u4_temp->ops->get_value(u4_temp, &temp); in backside_fan_tick()
427 err = hd_temp->ops->get_value(hd_temp, &temp); in drive_bay_fan_tick()
474 err = slots_power->ops->get_value(slots_power, &power); in slots_fan_tick()
H A Dwindfarm_pm121.c484 controls[control_id]->ops->get_value(controls[control_id], in pm121_connect()
602 rc = sensor->ops->get_value(sensor, &temp); in pm121_sys_fans_tick()
734 rc = sensor_cpu_temp->ops->get_value(sensor_cpu_temp, &temp); in pm121_cpu_fans_tick()
742 rc = sensor_cpu_power->ops->get_value(sensor_cpu_power, &power); in pm121_cpu_fans_tick()
H A Dwindfarm_ad7417_sensor.c168 .get_value = wf_ad7417_temp_get,
174 .get_value = wf_ad7417_adc_get,
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-coalesce.sh6 function get_value { function
15 CURRENT_SETTINGS[$key]=$(get_value $key)
100 EXPECTED_SETTINGS[$key]=$(get_value $key)
H A Dethtool-ring.sh6 function get_value { function
16 CURRENT_SETTINGS[$key]=$(get_value $key)
62 EXPECTED_SETTINGS[$key]=$(get_value $key)
/openbmc/dbus-sensors/src/fan/
H A DPresenceGpio.cpp73 updateAndTracePresence(gpioLine.get_value()); in EventPresenceGpio()
124 updateAndTracePresence(gpioLine.get_value()); in read()
137 updateAndTracePresence(gpioLine.get_value()); in PollingPresenceGpio()
174 int newStatus = gpioLine.get_value(); in monitorPresence()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_hpd.c65 static enum gpio_result get_value( in get_value() function
107 .get_value = get_value,
/openbmc/u-boot/tools/dtoc/
H A Dtest_dtoc.py19 from dtb_platdata import get_value
123 get_value(fdt.TYPE_INT, struct.pack('>I', 0x45)))
125 get_value(fdt.TYPE_BYTE, struct.pack('<I', 0x45)))
127 get_value(fdt.TYPE_BYTE, struct.pack('>I', 0x45)))
128 self.assertEqual('"test"', get_value(fdt.TYPE_STRING, 'test'))
129 self.assertEqual('true', get_value(fdt.TYPE_BOOL, None))
H A Ddtb_platdata.py87 def get_value(ftype, value): function
497 vals.append(get_value(prop.type, val))
506 self.buf(get_value(prop.type, prop.value))
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer_configuration.py69 def get_value(self, objid): member in RandomValuePicker
108 def get_value(self, objid): member in RecordValuePicker
198 (size, thtype) = vp.get_value(pool)
268 (pool, th) = vp.get_value(tcbind)
339 (th,) = vp.get_value(portpool)
/openbmc/u-boot/drivers/power/regulator/
H A Das3722_regulator.c137 .get_value = stepdown_get_value,
144 .get_value = ldo_get_value,
H A Dtps65910_regulator.c417 .get_value = tps65910_boost_get_value,
431 .get_value = tps65910_buck_get_value,
446 .get_value = tps65910_ldo_get_value,
H A Ds5m8767.c241 .get_value = ldo_get_value,
255 .get_value = buck_get_value,
H A Dlp873x_regulator.c329 .get_value = ldo_get_value,
343 .get_value = buck_get_value,
/openbmc/qemu/monitor/
H A Dhmp-target.c102 if (md->get_value) { in get_monitor_def()
103 *pval = md->get_value(mon, md, md->offset); in get_monitor_def()
/openbmc/linux/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py96 vall = self.get_value(alias[ub], ridx)
116 def get_value(self, name:str, ridx:int = 0) -> list: member in Validator
194 v = self.get_value(s, ridx)
245 … 'RangeLower': lb, 'LowerBoundValue': self.get_value(lb),
246 … 'RangeUpper': ub, 'UpperBoundValue':self.get_value(ub),
278 result = self.get_value(m['Name'])
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dsparsebit.c1902 static bool get_value(sparsebit_idx_t idx) in get_value() function
1933 if (get_value(first)) in operate()
1946 if (!get_value(first)) in operate()
1954 assert(sparsebit_is_set(s, first) == get_value(first)); in operate()
1955 assert(sparsebit_is_clear(s, first) == !get_value(first)); in operate()
1959 assert(get_value(sparsebit_first_set(s))); in operate()
1961 assert(!get_value(sparsebit_first_clear(s))); in operate()
1971 assert(get_value(sparsebit_first_set(s))); in operate()
1973 assert(!get_value(sparsebit_first_clear(s))); in operate()
1982 assert(next == 0 || get_value(next)); in operate()
[all …]
/openbmc/u-boot/test/dm/
H A Dgpio.c67 ut_asserteq(1, ops->get_value(dev, offset)); in dm_test_gpio()
69 ut_asserteq(0, ops->get_value(dev, offset)); in dm_test_gpio()
73 ut_asserteq(1, ops->get_value(dev, offset)); in dm_test_gpio()
/openbmc/phosphor-state-manager/host_condition_gpio/
H A Dhost_condition.cpp56 gpioVal = line.get_value(); in currentFirmwareCondition()
/openbmc/u-boot/drivers/gpio/
H A Dpm8916_gpio.c163 .get_value = pm8916_gpio_get_value,
249 .get_value = pm8941_pwrkey_get_value,
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dtaskexp.py144 package = model.get_value(model.get_iter(path), data_col)
148 package = model.get_value(iter, COL_PKG_NAME)
164 current_package = model.get_value(it, COL_PKG_NAME)
/openbmc/qemu/include/monitor/
H A Dhmp-target.h35 target_long (*get_value)(Monitor *mon, const struct MonitorDef *md, member
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c955 .get_value = ctrl_get_##vname, \
1095 .get_value = ctrl_get_cropcappan,
1100 .get_value = ctrl_get_cropcappad,
1105 .get_value = ctrl_get_cropcapbt,
1110 .get_value = ctrl_get_cropcapbl,
1115 .get_value = ctrl_get_cropcapbw,
1120 .get_value = ctrl_get_cropcapbh,
1167 .get_value = ctrl_freq_get,
1179 .get_value = ctrl_channel_get,
1185 .get_value = ctrl_channelfreq_get,
[all …]

12345