Lines Matching refs:cfg
29 inst->cfg->label); in samsung_usb2_phy_power_on()
36 if (inst->cfg->power_on) { in samsung_usb2_phy_power_on()
38 ret = inst->cfg->power_on(inst); in samsung_usb2_phy_power_on()
61 inst->cfg->label); in samsung_usb2_phy_power_off()
62 if (inst->cfg->power_off) { in samsung_usb2_phy_power_off()
64 ret = inst->cfg->power_off(inst); in samsung_usb2_phy_power_off()
89 if (WARN_ON(args->args[0] >= drv->cfg->num_phys)) in samsung_usb2_phy_xlate()
133 const struct samsung_usb2_phy_config *cfg; in samsung_usb2_phy_probe() local
150 cfg = match->data; in samsung_usb2_phy_probe()
153 cfg->num_phys * sizeof(struct samsung_usb2_phy_instance), in samsung_usb2_phy_probe()
161 drv->cfg = cfg; in samsung_usb2_phy_probe()
178 if (drv->cfg->has_mode_switch) { in samsung_usb2_phy_probe()
200 if (drv->cfg->rate_to_clk) { in samsung_usb2_phy_probe()
201 ret = drv->cfg->rate_to_clk(drv->ref_rate, &drv->ref_reg_val); in samsung_usb2_phy_probe()
206 for (i = 0; i < drv->cfg->num_phys; i++) { in samsung_usb2_phy_probe()
207 char *label = drv->cfg->phys[i].label; in samsung_usb2_phy_probe()
218 p->cfg = &drv->cfg->phys[i]; in samsung_usb2_phy_probe()