Searched refs:wMax (Results 1 – 3 of 3) sorted by relevance
/drivers/media/usb/b2c2/ |
D | flexcop-usb.c | 152 u16 wMax; in flexcop_usb_memory_req() local 157 wMax = USB_MEM_READ_MAX; in flexcop_usb_memory_req() 160 wMax = USB_MEM_WRITE_MAX; in flexcop_usb_memory_req() 163 wMax = USB_FLASH_MAX; in flexcop_usb_memory_req() 171 wMax < bytes_left_to_read_on_page(addr, len) ? in flexcop_usb_memory_req() 172 wMax : in flexcop_usb_memory_req()
|
/drivers/staging/ced1401/ |
D | use1401.h | 213 U14API(short) U14NameOf1401(short hand, char* pBuf, WORD wMax); 257 U14API(short) U14DriverName(short hand, char* pBuf, WORD wMax); 276 U14API(void) U14GetErrorString(short nErr, char* pStr, WORD wMax);
|
/drivers/staging/ced1401/userspace/ |
D | use1401.c | 684 U14API(short) U14DriverName(short hand, char* pBuf, WORD wMax) in U14DriverName() argument 696 strncpy(pBuf, pName, wMax); // Copy the correct name to return in U14DriverName() 1064 U14API(short) U14NameOf1401(short hand, char* pBuf, WORD wMax) in U14NameOf1401() argument 1082 strncpy(pBuf, pName, wMax); in U14NameOf1401() 1949 U14API(void) U14GetErrorString(short nErr, char* pStr, WORD wMax) in U14GetErrorString() argument 2108 if ((WORD)strlen(wstr) >= wMax-1) /* Check for string being too long */ in U14GetErrorString() 2109 wstr[wMax-1] = 0; /* and truncate it if so */ in U14GetErrorString()
|