Home
last modified time | relevance | path

Searched refs:phases (Results 1 - 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
H A Dmp2975.c151 * calculated above and total rail current divided by number phases. in mp2975_read_phase()
157 return max_t(int, DIV_ROUND_CLOSEST(ret, data->info.phases[page]), in mp2975_read_phase()
354 for (i = 0 ; i < info->phases[0]; i++) in mp2975_set_phase_rail1()
363 /* Set phases for rail 2 from upper to lower. */ in mp2975_set_phase_rail2()
383 info->phases[0] = ret & GENMASK(3, 0); in mp2975_identify_multiphase()
388 * Rail 1 can be set to 8 phases, while rail 2 can only be set to 4 in mp2975_identify_multiphase()
389 * phases at most. When rail 1’s phase count is configured as 0, rail in mp2975_identify_multiphase()
393 if (info->phases[0] > MP2975_MAX_PHASE_RAIL1) in mp2975_identify_multiphase()
397 num_phases2 = min(MP2975_MAX_PHASE_RAIL1 - info->phases[0], in mp2975_identify_multiphase()
399 if (info->phases[ in mp2975_identify_multiphase()
[all...]
H A Dtps53679.c35 #define TPS53681_MFR_SPECIFIC_20 0xe4 /* Number of phases, per page */
80 info->phases[0] = (ret & 0x07) + 1; in tps53679_identify_phases()
150 * For reading the total output current (READ_IOUT) for all phases, in tps53681_read_word_data()
152 * FFh to access all phases simultaneously. PHASE may also be set to in tps53681_read_word_data()
155 * current for all phases if the phase is set to 0xff. Instead, it in tps53681_read_word_data()
156 * appears to report the current of one of the phases. Override phase in tps53681_read_word_data()
216 info->phases[0] = 6; in tps53679_probe()
H A Dmax16601.c219 .phases[0] = 8,
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/
H A Dtps53679.c38 #define TPS53681_MFR_SPECIFIC_20 0xe4 /* Number of phases, per page */
83 info->phases[0] = (ret & 0x07) + 1; in tps53679_identify_phases()
180 info->phases[0] = phases_a; in tps53676_identify()
183 info->phases[1] = phases_b; in tps53676_identify()
192 * For reading the total output current (READ_IOUT) for all phases, in tps53681_read_word_data()
194 * FFh to access all phases simultaneously. PHASE may also be set to in tps53681_read_word_data()
197 * current for all phases if the phase is set to 0xff. Instead, it in tps53681_read_word_data()
198 * appears to report the current of one of the phases. Override phase in tps53681_read_word_data()
262 info->phases[0] = 6; in tps53679_probe()
H A Dmp2975.c226 * calculated above and total rail current divided by number phases. in mp2975_read_phase()
232 return max_t(int, DIV_ROUND_CLOSEST(ret, data->info.phases[page]), in mp2975_read_phase()
356 ret = mp2975_data2reg_linear11(ret * info->phases[page] * 1000); in mp2973_read_word_data()
499 for (i = 0 ; i < info->phases[0]; i++) in mp2975_set_phase_rail1()
508 /* Set phases for rail 2 from upper to lower. */ in mp2975_set_phase_rail2()
528 info->phases[0] = ret & GENMASK(3, 0); in mp2975_identify_multiphase()
533 * Rail 1 can be set to $n phases, while rail 2 can be set to less than in mp2975_identify_multiphase()
538 if (info->phases[0] > data->max_phases[0]) in mp2975_identify_multiphase()
543 num_phases2 = min(data->max_phases[0] - info->phases[0], in mp2975_identify_multiphase()
545 if (info->phases[ in mp2975_identify_multiphase()
[all...]
H A Dpim4328.c187 info->phases[0] = 2; in pim4328_probe()
194 info->phases[0] = 2; in pim4328_probe()
H A Dmax16601.c214 * If REG_DEFAULT_NUM_POP returns 0, we don't know how many phases in max16601_identify()
219 info->phases[0] = reg; in max16601_identify()
242 .phases[0] = MAX16601_NUM_PHASES,
H A Dmp2888.c309 info->phases[0] = ret & GENMASK(3, 0); in mp2888_identify_multiphase()
315 if (info->phases[0] > MP2888_MAX_PHASE) in mp2888_identify_multiphase()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dhwmgr_ppt.h41 uint8_t phases; member
68 uint8_t phases; member
H A Dsmu_helper.c705 dep_table->entries[i].phases = allowed_dep_table->entries[i].phases; in smu_get_voltage_dependency_table_ppt_v1()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
H A Di915_gem_pm.c45 struct list_head *phases[] = { in i915_gem_suspend_late() local
75 for (phase = phases; *phase; phase++) { in i915_gem_suspend_late()
H A Di915_gem_shrinker.c104 } phases[] = { in i915_gem_shrink() local
162 for (phase = phases; phase->list; phase++) { in i915_gem_shrink()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dhwmgr_ppt.h41 uint8_t phases; member
68 uint8_t phases; member
H A Dsmu_helper.c707 dep_table->entries[i].phases = allowed_dep_table->entries[i].phases; in smu_get_voltage_dependency_table_ppt_v1()
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dsdhci-of-aspeed.c200 const struct mmc_clk_phase *phases, in aspeed_sdhci_phases_to_taps()
203 taps->valid = phases->valid; in aspeed_sdhci_phases_to_taps()
205 if (!phases->valid) in aspeed_sdhci_phases_to_taps()
208 taps->in = aspeed_sdhci_phase_to_tap(dev, rate, phases->in_deg); in aspeed_sdhci_phases_to_taps()
209 taps->out = aspeed_sdhci_phase_to_tap(dev, rate, phases->out_deg); in aspeed_sdhci_phases_to_taps()
199 aspeed_sdhci_phases_to_taps(struct device *dev, unsigned long rate, const struct mmc_clk_phase *phases, struct aspeed_sdhci_tap_param *taps) aspeed_sdhci_phases_to_taps() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_pm.c133 struct list_head *phases[] = { in i915_gem_suspend_late() local
167 for (phase = phases; *phase; phase++) { in i915_gem_suspend_late()
H A Di915_gem_shrinker.c111 } phases[] = { in i915_gem_shrink() local
173 for (phase = phases; phase->list; phase++) { in i915_gem_shrink()
/kernel/linux/linux-5.10/tools/power/pm-graph/
H A Dbootgraph.py221 phases = ['kernel', 'user'] variable in Data
255 for p in data.phases:
279 for phase in self.phases:
382 for p in data.phases:
544 for p in data.phases:
555 for p in data.phases:
567 for phase in data.phases:
620 # draw a legend which describes the phases by color
624 for phase in data.phases:
671 for p in data.phases
[all...]
H A Dsleepgraph.py1262 # phases {
1263 # 10 sequential, non-overlapping phases of S/R
1344 # called when phases are all finished being added
1470 phases = self.sortedPhases()
1471 tgtdev = self.sourceDevice(phases, start, end, pid, 'device')
1478 tgtdev = self.sourceDevice(phases, start, end, pid, 'thread')
1672 phases = self.dmesg.keys()
1674 count = len(phases) if order < 0 else order
1676 while phase in phases:
1726 def phaseOverlap(self, phases)
[all...]
/kernel/linux/linux-6.6/tools/power/pm-graph/
H A Dbootgraph.py223 phases = ['kernel', 'user'] variable in Data
257 for p in data.phases:
281 for phase in self.phases:
384 for p in data.phases:
546 for p in data.phases:
557 for p in data.phases:
569 for phase in data.phases:
622 # draw a legend which describes the phases by color
626 for phase in data.phases:
673 for p in data.phases
[all...]
H A Dsleepgraph.py1441 # phases {
1442 # 10 sequential, non-overlapping phases of S/R
1524 # called when phases are all finished being added
1650 phases = self.sortedPhases()
1651 tgtdev = self.sourceDevice(phases, start, end, pid, 'device')
1658 tgtdev = self.sourceDevice(phases, start, end, pid, 'thread')
1868 phases = self.dmesg.keys()
1870 count = len(phases) if order < 0 else order
1872 while phase in phases:
1922 def phaseOverlap(self, phases)
[all...]
/kernel/linux/linux-5.10/drivers/nfc/pn544/
H A Dpn544.c336 u8 phases = 0; in pn544_hci_start_poll() local
367 phases |= 1; /* Type A */ in pn544_hci_start_poll()
369 phases |= (1 << 2); /* Type F 212 */ in pn544_hci_start_poll()
370 phases |= (1 << 3); /* Type F 424 */ in pn544_hci_start_poll()
373 phases |= (1 << 5); /* NFC active */ in pn544_hci_start_poll()
376 PN544_PL_RDPHASES, &phases, 1); in pn544_hci_start_poll()
/kernel/linux/linux-6.6/drivers/nfc/pn544/
H A Dpn544.c335 u8 phases = 0; in pn544_hci_start_poll() local
366 phases |= 1; /* Type A */ in pn544_hci_start_poll()
368 phases |= (1 << 2); /* Type F 212 */ in pn544_hci_start_poll()
369 phases |= (1 << 3); /* Type F 424 */ in pn544_hci_start_poll()
372 phases |= (1 << 5); /* NFC active */ in pn544_hci_start_poll()
375 PN544_PL_RDPHASES, &phases, 1); in pn544_hci_start_poll()
/kernel/linux/linux-5.10/drivers/vfio/pci/
H A Dvfio_pci_config.c1229 int ret, evcc, phases, vc_arb; in vfio_vc_cap_len() local
1242 phases = 128; in vfio_vc_cap_len()
1244 phases = 64; in vfio_vc_cap_len()
1246 phases = 32; in vfio_vc_cap_len()
1248 phases = 0; in vfio_vc_cap_len()
1250 vc_arb = phases * 4; in vfio_vc_cap_len()
/kernel/linux/linux-6.6/drivers/vfio/pci/
H A Dvfio_pci_config.c1267 int ret, evcc, phases, vc_arb; in vfio_vc_cap_len() local
1280 phases = 128; in vfio_vc_cap_len()
1282 phases = 64; in vfio_vc_cap_len()
1284 phases = 32; in vfio_vc_cap_len()
1286 phases = 0; in vfio_vc_cap_len()
1288 vc_arb = phases * 4; in vfio_vc_cap_len()

Completed in 26 milliseconds

12