Home
last modified time | relevance | path

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

/tools/power/cpupower/debug/i386/
Dpowernow-k8-decode.c27 static int get_fidvid(uint32_t cpu, uint32_t *fid, uint32_t *vid) in get_fidvid() argument
46 *fid = ((uint32_t )(msr & 0xffffffffull)) & MSR_S_LO_CURRENT_FID; in get_fidvid()
57 static uint32_t find_freq_from_fid(uint32_t fid) in find_freq_from_fid() argument
59 return 800 + (fid * 100); in find_freq_from_fid()
72 uint32_t fid, vid; in main() local
79 err = get_fidvid(cpu, &fid, &vid); in main()
91 find_freq_from_fid(fid), in main()
Ddump_psb.c64 int freq, fid, vid; in decode_pst() local
67 fid = *p++; in decode_pst()
69 freq = 100 * fid_to_mult[fid] * fsb; in decode_pst()
74 fid, fid_to_mult[fid]/10, fid_to_mult[fid]%10, in decode_pst()
/tools/power/cpupower/utils/helpers/
Damd.c19 unsigned fid:6; member
33 unsigned fid:8; member
61 int fid, did, cof; in get_cof() local
65 fid = pstate.pstatedef.fid; in get_cof()
66 cof = 200 * fid / did; in get_cof()
69 fid = pstate.pstate.fid; in get_cof()
72 cof = (100 * (fid + t)) >> did; in get_cof()
/tools/testing/selftests/nci/
Dnci_dev.c251 static int get_nci_devid(int sd, __u16 fid, __u32 pid, int dev_id, struct msgtemplate *msg) in get_nci_devid() argument
255 rc = send_cmd_with_idx(sd, fid, pid, NFC_CMD_GET_DEVICE, dev_id); in get_nci_devid()
305 __u16 fid; in FIXTURE() local
418 self->fid = get_family_id(self->sd, self->pid, &event_group); in FIXTURE_SETUP()
419 ASSERT_NE(self->fid, -1); in FIXTURE_SETUP()
431 rc = get_nci_devid(self->sd, self->fid, self->pid, self->dev_idex, &msg); in FIXTURE_SETUP()
443 rc = send_cmd_with_idx(self->sd, self->fid, self->pid, in FIXTURE_SETUP()
513 rc = send_cmd_with_idx(self->sd, self->fid, self->pid, in FIXTURE_TEARDOWN()
531 rc = get_nci_devid(self->sd, self->fid, self->pid, self->dev_idex, in TEST_F()
581 int start_polling(int dev_idx, int proto, int virtual_fd, int sd, int fid, int pid) in start_polling() argument
[all …]