Searched refs:firmware_path (Results 1 – 2 of 2) sorted by relevance
/drivers/staging/comedi/drivers/ |
D | jr3_pci.c | 130 char *firmware_path; in comedi_load_firmware() local 134 firmware_path = kmalloc(strlen(prefix) + strlen(name) + 1, GFP_KERNEL); in comedi_load_firmware() 135 if (!firmware_path) { in comedi_load_firmware() 138 firmware_path[0] = '\0'; in comedi_load_firmware() 139 strcat(firmware_path, prefix); in comedi_load_firmware() 140 strcat(firmware_path, name); in comedi_load_firmware() 141 result = request_firmware(&fw, firmware_path, in comedi_load_firmware() 150 kfree(firmware_path); in comedi_load_firmware()
|
/drivers/net/wireless/bcmdhd/ |
D | dhd_linux.c | 360 char firmware_path[MOD_PARAM_PATHLEN]; variable 402 module_param_string(firmware_path, firmware_path, MOD_PARAM_PATHLEN, 0660); 2898 if (strlen(firmware_path) != 0) { 2899 if (firmware_path[strlen(firmware_path)-1] == '\n') 2900 firmware_path[strlen(firmware_path)-1] = '\0'; 2902 strncpy(fw_path, firmware_path, sizeof(fw_path)-1); 2903 firmware_path[0] = '\0'; 3159 if (strlen(firmware_path) != 0) { 3161 strncpy(fw_path, firmware_path, sizeof(fw_path) - 1);
|