Lines Matching refs:device
26 struct device *dev = hba->dev;
122 static int ufshcd_populate_vreg(struct device *dev, const char *name,
181 * ufshcd_parse_regulator_info - get regulator info from device tree
184 * Get regulator info from device tree for vcc, vccq, vccq2 power supplies.
192 struct device *dev = hba->dev;
215 * @dev: pointer to device handle
220 int ufshcd_pltfrm_suspend(struct device *dev)
228 * @dev: pointer to device handle
233 int ufshcd_pltfrm_resume(struct device *dev)
239 int ufshcd_pltfrm_runtime_suspend(struct device *dev)
245 int ufshcd_pltfrm_runtime_resume(struct device *dev)
251 int ufshcd_pltfrm_runtime_idle(struct device *dev)
267 struct device *dev = hba->dev;
284 * @dev_max: pointer to device attributes
311 * device doesn't support HS but
313 * thus device and pltfrm_param don't agree
316 pr_info("%s: device doesn't support HS\n",
321 * since device supports HS, it supports FAST_MODE.
331 * it doesn't matter whether device supports HS or PWM,
341 * between device capability and vendor preferences.
349 /* device maximum gear is the minimum between device rx and tx gears */
353 * if both device capabilities and vendor pre-defined preferences are
358 * pwr the device will be configured to.
379 * @pdev: pointer to Platform device handle
390 struct device *dev = &pdev->dev;