Lines Matching defs:value
15 long value;
20 value = hl_fw_get_frequency(hdev, hdev->asic_prop.clk_pll_index, false);
21 if (value < 0)
22 return value;
24 hdev->asic_prop.max_freq_value = value;
26 return sprintf(buf, "%lu\n", (value / 1000 / 1000));
34 u64 value;
41 rc = kstrtoull(buf, 0, &value);
47 hdev->asic_prop.max_freq_value = value * 1000 * 1000;
58 long value;
63 value = hl_fw_get_frequency(hdev, hdev->asic_prop.clk_pll_index, true);
64 if (value < 0)
65 return value;
67 return sprintf(buf, "%lu\n", (value / 1000 / 1000));
186 long value;
189 rc = kstrtoul(buf, 0, &value);
214 long value;
217 rc = kstrtoul(buf, 0, &value);
328 unsigned long value;
336 rc = kstrtoul(buf, 0, &value);
343 hdev->max_power = value;