Home
last modified time | relevance | path

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

/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()
/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 …]
/drivers/power/supply/
Dpower_supply_core.c75 struct power_supply *pst = dev_get_drvdata(dev); in __power_supply_changed_work() local
77 if (__power_supply_is_supplied_by(psy, pst)) { in __power_supply_changed_work()
78 if (pst->desc->external_power_changed) in __power_supply_changed_work()
79 pst->desc->external_power_changed(pst); in __power_supply_changed_work()
/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()
/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.h277 u64 pst; /* 18 */ member