Lines Matching refs:cfg
29 inst->cfg->label); in samsung_usb2_phy_power_on()
43 if (inst->cfg->power_on) { in samsung_usb2_phy_power_on()
45 ret = inst->cfg->power_on(inst); in samsung_usb2_phy_power_on()
71 inst->cfg->label); in samsung_usb2_phy_power_off()
72 if (inst->cfg->power_off) { in samsung_usb2_phy_power_off()
74 ret = inst->cfg->power_off(inst); in samsung_usb2_phy_power_off()
102 if (WARN_ON(args->args[0] >= drv->cfg->num_phys)) in samsung_usb2_phy_xlate()
146 const struct samsung_usb2_phy_config *cfg; in samsung_usb2_phy_probe() local
163 cfg = match->data; in samsung_usb2_phy_probe()
166 cfg->num_phys * sizeof(struct samsung_usb2_phy_instance), in samsung_usb2_phy_probe()
174 drv->cfg = cfg; in samsung_usb2_phy_probe()
191 if (drv->cfg->has_mode_switch) { in samsung_usb2_phy_probe()
213 if (drv->cfg->rate_to_clk) { in samsung_usb2_phy_probe()
214 ret = drv->cfg->rate_to_clk(drv->ref_rate, &drv->ref_reg_val); in samsung_usb2_phy_probe()
227 for (i = 0; i < drv->cfg->num_phys; i++) { in samsung_usb2_phy_probe()
228 char *label = drv->cfg->phys[i].label; in samsung_usb2_phy_probe()
239 p->cfg = &drv->cfg->phys[i]; in samsung_usb2_phy_probe()