Home
last modified time | relevance | path

Searched hist:"51 f141a97a1406bb0b59d490e837a39ccb7c3999" (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/linux/usb/
H A Drenesas_usbhs.hdiff 51f141a97a1406bb0b59d490e837a39ccb7c3999 Tue Nov 17 23:34:09 CST 2015 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> usb: renesas_usbhs: Modify pipe configuration

The current code has info->bufnmb_last to calculate the BUFNMB bits of
PIPEBUF register. However, since the bufnmb_last is initialized in
the usbhs_pipe_init() only, this driver is possible to set unexpected
value to the register if usb_ep_{enable,disable}() are called many times.

So, this patch modifies the pipe configuration via struct
renesas_usbhs_driver_param to simplify the code. Also this patch changes:
- a double buffer configuration
- isochronous buffer size from 512 to 1024

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dpipe.hdiff 51f141a97a1406bb0b59d490e837a39ccb7c3999 Tue Nov 17 23:34:09 CST 2015 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> usb: renesas_usbhs: Modify pipe configuration

The current code has info->bufnmb_last to calculate the BUFNMB bits of
PIPEBUF register. However, since the bufnmb_last is initialized in
the usbhs_pipe_init() only, this driver is possible to set unexpected
value to the register if usb_ep_{enable,disable}() are called many times.

So, this patch modifies the pipe configuration via struct
renesas_usbhs_driver_param to simplify the code. Also this patch changes:
- a double buffer configuration
- isochronous buffer size from 512 to 1024

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
H A Dmod_host.cdiff 51f141a97a1406bb0b59d490e837a39ccb7c3999 Tue Nov 17 23:34:09 CST 2015 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> usb: renesas_usbhs: Modify pipe configuration

The current code has info->bufnmb_last to calculate the BUFNMB bits of
PIPEBUF register. However, since the bufnmb_last is initialized in
the usbhs_pipe_init() only, this driver is possible to set unexpected
value to the register if usb_ep_{enable,disable}() are called many times.

So, this patch modifies the pipe configuration via struct
renesas_usbhs_driver_param to simplify the code. Also this patch changes:
- a double buffer configuration
- isochronous buffer size from 512 to 1024

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
H A Dpipe.cdiff 51f141a97a1406bb0b59d490e837a39ccb7c3999 Tue Nov 17 23:34:09 CST 2015 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> usb: renesas_usbhs: Modify pipe configuration

The current code has info->bufnmb_last to calculate the BUFNMB bits of
PIPEBUF register. However, since the bufnmb_last is initialized in
the usbhs_pipe_init() only, this driver is possible to set unexpected
value to the register if usb_ep_{enable,disable}() are called many times.

So, this patch modifies the pipe configuration via struct
renesas_usbhs_driver_param to simplify the code. Also this patch changes:
- a double buffer configuration
- isochronous buffer size from 512 to 1024

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
H A Dcommon.cdiff 51f141a97a1406bb0b59d490e837a39ccb7c3999 Tue Nov 17 23:34:09 CST 2015 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> usb: renesas_usbhs: Modify pipe configuration

The current code has info->bufnmb_last to calculate the BUFNMB bits of
PIPEBUF register. However, since the bufnmb_last is initialized in
the usbhs_pipe_init() only, this driver is possible to set unexpected
value to the register if usb_ep_{enable,disable}() are called many times.

So, this patch modifies the pipe configuration via struct
renesas_usbhs_driver_param to simplify the code. Also this patch changes:
- a double buffer configuration
- isochronous buffer size from 512 to 1024

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>