Searched refs:dparam (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/usb/renesas_usbhs/
H A Dcommon.c491 struct renesas_usbhs_driver_param *dparam; usbhs_parse_dt() local
500 dparam = &info->driver_param; usbhs_parse_dt()
501 dparam->type = of_id ? (uintptr_t)of_id->data : 0; usbhs_parse_dt()
503 dparam->buswait_bwait = tmp; usbhs_parse_dt()
507 dparam->enable_gpio = gpio; usbhs_parse_dt()
509 if (dparam->type == USBHS_TYPE_RCAR_GEN2) usbhs_parse_dt()
510 dparam->has_usb_dmac = 1; usbhs_parse_dt()
560 memcpy(&priv->dparam, usbhs_probe()
564 switch (priv->dparam.type) { usbhs_probe()
567 if (!priv->dparam.pipe_type) { usbhs_probe()
568 priv->dparam.pipe_type = usbhsc_new_pipe_type; usbhs_probe()
569 priv->dparam.pipe_size = usbhs_probe()
589 if (!priv->dparam.pipe_type) { usbhs_probe()
590 priv->dparam.pipe_type = usbhsc_default_pipe_type; usbhs_probe()
591 priv->dparam.pipe_size = ARRAY_SIZE(usbhsc_default_pipe_type); usbhs_probe()
593 if (!priv->dparam.pio_dma_border) usbhs_probe()
594 priv->dparam.pio_dma_border = 64; /* 64byte */ usbhs_probe()
634 if (priv->dparam.enable_gpio) { usbhs_probe()
635 gpio_request_one(priv->dparam.enable_gpio, GPIOF_IN, NULL); usbhs_probe()
636 ret = !gpio_get_value(priv->dparam.enable_gpio); usbhs_probe()
637 gpio_free(priv->dparam.enable_gpio); usbhs_probe()
641 priv->dparam.enable_gpio); usbhs_probe()
H A Dcommon.h255 struct renesas_usbhs_driver_param dparam; member in struct:usbhs_priv
337 #define usbhs_get_dparam(priv, param) (priv->dparam.param)

Completed in 41 milliseconds