Home
last modified time | relevance | path

Searched refs:pst (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/md/
Ddm-path-selector.c20 struct path_selector_type pst; member
24 #define pst_to_psi(__pst) container_of((__pst), struct ps_internal, pst)
34 if (!strcmp(name, psi->pst.name)) in __find_path_selector_type()
47 if (psi && !try_module_get(psi->pst.module)) in get_path_selector()
67 return psi ? &psi->pst : NULL; in dm_get_path_selector()
70 void dm_put_path_selector(struct path_selector_type *pst) in dm_put_path_selector() argument
74 if (!pst) in dm_put_path_selector()
78 psi = __find_path_selector_type(pst->name); in dm_put_path_selector()
82 module_put(psi->pst.module); in dm_put_path_selector()
87 static struct ps_internal *_alloc_path_selector(struct path_selector_type *pst) in _alloc_path_selector() argument
[all …]
Ddm-path-selector.h105 void dm_put_path_selector(struct path_selector_type *pst);
Ddm-mpath.c842 struct path_selector_type *pst; in parse_path_selector() local
849 pst = dm_get_path_selector(dm_shift_arg(as)); in parse_path_selector()
850 if (!pst) { in parse_path_selector()
857 dm_put_path_selector(pst); in parse_path_selector()
861 r = pst->create(&pg->ps, ps_argc, as->argv); in parse_path_selector()
863 dm_put_path_selector(pst); in parse_path_selector()
868 pg->ps.type = pst; in parse_path_selector()
/linux-6.1.9/tools/power/cpupower/debug/i386/
Ddump_psb.c84 struct pst_header *pst; in decode_psb() local
110 pst = (struct pst_header*) p; in decode_psb()
113 if (relevant!= pst->cpuid) in decode_psb()
119 pst->cpuid, in decode_psb()
120 pst->fsb, in decode_psb()
121 pst->maxfid, in decode_psb()
122 pst->startvid, in decode_psb()
123 pst->numpstates); in decode_psb()
125 fsb = pst->fsb; in decode_psb()
126 decode_pst(p + sizeof(struct pst_header), pst->numpstates); in decode_psb()
[all …]
/linux-6.1.9/drivers/cpufreq/
Dpowernow-k7.c171 static int get_ranges(unsigned char *pst) in get_ranges() argument
183 fid = *pst++; in get_ranges()
202 vid = *pst++; in get_ranges()
440 static void print_pst_entry(struct pst_s *pst, unsigned int j) in print_pst_entry() argument
442 pr_debug("PST:%d (@%p)\n", j, pst); in print_pst_entry()
444 pst->cpuid, pst->fsbspeed, pst->maxfid, pst->startvid); in print_pst_entry()
450 struct pst_s *pst; in powernow_decode_bios() local
491 pst = (struct pst_s *) p; in powernow_decode_bios()
494 pst = (struct pst_s *) p; in powernow_decode_bios()
495 number_scales = pst->numpstates; in powernow_decode_bios()
[all …]
Dpowernow-k8.c492 static int check_pst_table(struct powernow_k8_data *data, struct pst_s *pst, in check_pst_table() argument
499 if (pst[j].vid > LEAST_VID) { in check_pst_table()
501 pst[j].vid); in check_pst_table()
504 if (pst[j].vid < data->rvo) { in check_pst_table()
509 if (pst[j].vid < maxvid + data->rvo) { in check_pst_table()
514 if (pst[j].fid > MAX_FID) { in check_pst_table()
518 if (j && (pst[j].fid < HI_FID_TABLE_BOTTOM)) { in check_pst_table()
521 pst[j].fid); in check_pst_table()
524 if (pst[j].fid < lastfid) in check_pst_table()
525 lastfid = pst[j].fid; in check_pst_table()
[all …]
/linux-6.1.9/arch/arm/mach-tegra/
Diomap.h114 #define IO_TO_VIRT_XLATE(p, pst, vst) (((p) - (pst) + (vst))) argument
/linux-6.1.9/include/linux/
Ddmar.h211 pst : 1, /* 15 */ member
273 dst->pst = src->pst; in dmar_copy_shared_irte()
/linux-6.1.9/drivers/power/supply/
Dpower_supply_core.c68 struct power_supply *pst = dev_get_drvdata(dev); in __power_supply_changed_work() local
70 if (__power_supply_is_supplied_by(psy, pst)) { in __power_supply_changed_work()
71 if (pst->desc->external_power_changed) in __power_supply_changed_work()
72 pst->desc->external_power_changed(pst); in __power_supply_changed_work()
/linux-6.1.9/drivers/iommu/intel/
Dirq_remapping.c177 if ((irte->pst == 1) || (irte_modified->pst == 1)) { in modify_irte()
201 irq_iommu->mode = irte->pst ? IRQ_POSTING : IRQ_REMAPPING; in modify_irte()
/linux-6.1.9/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.h277 u64 pst; /* 18 */ member