Home
last modified time | relevance | path

Searched refs:psFwInfo (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/staging/bcm/
DInterfaceDld.c145 FIRMWARE_INFO *psFwInfo) in bcm_download_config_file() argument
158 if(psFwInfo->u32FirmwareLength != sizeof(STARGETPARAMS)) in bcm_download_config_file()
163 psFwInfo->pvMappedFirmwareAddress, psFwInfo->u32FirmwareLength); in bcm_download_config_file()
263 int bcm_ioctl_fw_download(PMINI_ADAPTER Adapter, FIRMWARE_INFO *psFwInfo) in bcm_ioctl_fw_download() argument
274 psFwInfo->u32StartingAddress != CONFIG_BEGIN_ADDR) in bcm_ioctl_fw_download()
282 if(psFwInfo->u32StartingAddress == CONFIG_BEGIN_ADDR) in bcm_ioctl_fw_download()
284 retval = bcm_download_config_file (Adapter, psFwInfo); in bcm_ioctl_fw_download()
289 buff = kzalloc(psFwInfo->u32FirmwareLength,GFP_KERNEL); in bcm_ioctl_fw_download()
295 retval = copy_from_user(buff,psFwInfo->pvMappedFirmwareAddress, psFwInfo->u32FirmwareLength); in bcm_ioctl_fw_download()
305 psFwInfo->u32FirmwareLength, in bcm_ioctl_fw_download()
[all …]
DBcmchar.c777 FIRMWARE_INFO *psFwInfo = NULL; in bcm_char_ioctl() local
797 psFwInfo = kmalloc(sizeof(*psFwInfo), GFP_KERNEL); in bcm_char_ioctl()
798 if(!psFwInfo) in bcm_char_ioctl()
801 if(copy_from_user(psFwInfo, IoBuffer.InputBuffer, IoBuffer.InputLength)) in bcm_char_ioctl()
804 if(!psFwInfo->pvMappedFirmwareAddress || in bcm_char_ioctl()
805 (psFwInfo->u32FirmwareLength == 0)) in bcm_char_ioctl()
808 psFwInfo->u32FirmwareLength); in bcm_char_ioctl()
812 Status = bcm_ioctl_fw_download(Adapter, psFwInfo); in bcm_char_ioctl()
815 if(psFwInfo->u32StartingAddress==CONFIG_BEGIN_ADDR) in bcm_char_ioctl()
838 kfree(psFwInfo); in bcm_char_ioctl()
DPrototypes.h95 int bcm_ioctl_fw_download(PMINI_ADAPTER Adapter, FIRMWARE_INFO *psFwInfo);