staging: ced1401: rename SetCircular()
rename camel case function SetCircular() to ced_set_circular() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2cf025938d
commit
31530abba1
@ -658,7 +658,7 @@ int ced_clear_area(DEVICE_EXTENSION *pdx, int nArea)
|
|||||||
** ced_set_area
|
** ced_set_area
|
||||||
**
|
**
|
||||||
** Sets up a transfer area - the functional part. Called by both
|
** Sets up a transfer area - the functional part. Called by both
|
||||||
** ced_set_transfer and SetCircular.
|
** ced_set_transfer and ced_set_circular.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
static int ced_set_area(DEVICE_EXTENSION *pdx, int nArea, char __user *puBuf,
|
static int ced_set_area(DEVICE_EXTENSION *pdx, int nArea, char __user *puBuf,
|
||||||
unsigned int dwLength, bool bCircular, bool bCircToHost)
|
unsigned int dwLength, bool bCircular, bool bCircToHost)
|
||||||
@ -1299,14 +1299,14 @@ int ced_dbg_stop_loop(DEVICE_EXTENSION *pdx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
** SetCircular
|
** ced_set_circular
|
||||||
**
|
**
|
||||||
** Sets up a transfer area record for circular transfers. If the area is
|
** Sets up a transfer area record for circular transfers. If the area is
|
||||||
** already set, we attempt to unset it. Unsetting will fail if the area is
|
** already set, we attempt to unset it. Unsetting will fail if the area is
|
||||||
** booked and a transfer to that area is in progress. Otherwise, we will
|
** booked and a transfer to that area is in progress. Otherwise, we will
|
||||||
** release the area and re-assign it.
|
** release the area and re-assign it.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
int SetCircular(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD)
|
int ced_set_circular(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD)
|
||||||
{
|
{
|
||||||
int iReturn;
|
int iReturn;
|
||||||
bool bToHost;
|
bool bToHost;
|
||||||
|
@ -1316,7 +1316,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case _IOC_NR(IOCTL_CED_SETCIRCULAR):
|
case _IOC_NR(IOCTL_CED_SETCIRCULAR):
|
||||||
return SetCircular(pdx, (struct transfer_area_desc __user *) ulArg);
|
return ced_set_circular(pdx, (struct transfer_area_desc __user *) ulArg);
|
||||||
|
|
||||||
case _IOC_NR(IOCTL_CED_GETCIRCBLOCK):
|
case _IOC_NR(IOCTL_CED_GETCIRCBLOCK):
|
||||||
return GetCircBlock(pdx, (TCIRCBLOCK __user *) ulArg);
|
return GetCircBlock(pdx, (TCIRCBLOCK __user *) ulArg);
|
||||||
|
@ -235,7 +235,7 @@ extern int ced_dbg_ramp_data(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
|
|||||||
extern int ced_dbg_ramp_addr(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
|
extern int ced_dbg_ramp_addr(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
|
||||||
extern int ced_dbg_get_data(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
|
extern int ced_dbg_get_data(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
|
||||||
extern int ced_dbg_stop_loop(DEVICE_EXTENSION *pdx);
|
extern int ced_dbg_stop_loop(DEVICE_EXTENSION *pdx);
|
||||||
extern int SetCircular(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD);
|
extern int ced_set_circular(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD);
|
||||||
extern int GetCircBlock(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB);
|
extern int GetCircBlock(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB);
|
||||||
extern int FreeCircBlock(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB);
|
extern int FreeCircBlock(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB);
|
||||||
extern int ced_wait_event(DEVICE_EXTENSION *pdx, int nArea, int msTimeOut);
|
extern int ced_wait_event(DEVICE_EXTENSION *pdx, int nArea, int msTimeOut);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user