Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 23 of 23) sorted by relevance

/drivers/cpufreq/
Dcpufreq_governor.h53 #define gov_show_one(_gov, file_name) \ argument
54 static ssize_t show_##file_name \
59 return sprintf(buf, "%u\n", tuners->file_name); \
62 #define gov_show_one_common(file_name) \ argument
63 static ssize_t show_##file_name \
67 return sprintf(buf, "%u\n", dbs_data->file_name); \
Dcpufreq.c683 #define show_one(file_name, object) \ argument
684 static ssize_t show_##file_name \
720 #define store_one(file_name, object) \ argument
721 static ssize_t store_##file_name \
Dintel_pstate.c935 #define show_one(file_name, object) \ argument
936 static ssize_t show_##file_name \
/drivers/scsi/aic7xxx/aicasm/
Daicasm_scan.l460 include_file(char *file_name, include_type type)
468 newfile = fopen(file_name, "r");
482 "%s/%s", include_dir->directory, file_name);
490 perror(file_name);
509 yyfilename = strdup(file_name);
Daicasm.h86 void include_file(char *file_name, include_type type);
/drivers/usb/mtu3/
Dmtu3_debugfs.c258 const char *file_name = file_dentry(file)->d_iname; in mtu3_ep_open() local
265 if (strcmp(f_map->name, file_name) == 0) in mtu3_ep_open()
290 const char *file_name = file_dentry(sf->file)->d_iname; in mtu3_probe_show() local
298 if (strcmp(regs->name, file_name) == 0) in mtu3_probe_show()
316 const char *file_name = file_dentry(file)->d_iname; in mtu3_probe_write() local
333 if (strcmp(regs->name, file_name) == 0) in mtu3_probe_write()
/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c11 const char *file_name, in mlx5_devlink_flash_update() argument
22 err = request_firmware_direct(&fw, file_name, &dev->pdev->dev); in mlx5_devlink_flash_update()
/drivers/hv/
Dhv_fcopy.c150 utf16s_to_utf8s((wchar_t *)smsg_in->file_name, W_MAX_PATH, in fcopy_send_data()
152 (__u8 *)&smsg_out->file_name, W_MAX_PATH - 1); in fcopy_send_data()
/drivers/block/zram/
Dzram_drv.c446 char *file_name; in backing_dev_store() local
457 file_name = kmalloc(PATH_MAX, GFP_KERNEL); in backing_dev_store()
458 if (!file_name) in backing_dev_store()
468 strlcpy(file_name, buf, PATH_MAX); in backing_dev_store()
470 sz = strlen(file_name); in backing_dev_store()
471 if (sz > 0 && file_name[sz - 1] == '\n') in backing_dev_store()
472 file_name[sz - 1] = 0x00; in backing_dev_store()
474 backing_dev = filp_open(file_name, O_RDWR|O_LARGEFILE, 0); in backing_dev_store()
531 pr_info("setup backing device %s\n", file_name); in backing_dev_store()
532 kfree(file_name); in backing_dev_store()
[all …]
/drivers/usb/host/
Dxhci-debugfs.c237 const char *file_name = file_dentry(file)->d_iname; in xhci_ring_open() local
242 if (strcmp(f_map->name, file_name) == 0) in xhci_ring_open()
318 const char *file_name = file_dentry(file)->d_iname; in xhci_context_open() local
323 if (strcmp(f_map->name, file_name) == 0) in xhci_context_open()
/drivers/staging/greybus/tools/
Dloopback_test.c517 char file_name[MAX_SYSFS_PATH]; in log_results() local
530 snprintf(file_name, sizeof(file_name), "%s_%d_%d.csv", in log_results()
533 fd = open(file_name, O_WRONLY | O_CREAT | O_APPEND, 0644); in log_results()
535 fprintf(stderr, "unable to open %s for appendation\n", file_name); in log_results()
/drivers/s390/char/
Dvmur.h40 char file_name[12]; member
/drivers/scsi/esas2r/
Desas2r_vda.c115 memcpy(rq->vrq->flash.data.file.file_name, in esas2r_process_vda_ioctl()
116 vi->cmd.flash.data.file.file_name, in esas2r_process_vda_ioctl()
117 sizeof(vi->cmd.flash.data.file.file_name)); in esas2r_process_vda_ioctl()
Datioctl.h1059 char file_name[16]; /* 8.3 fname, NULL term, wc=* */ member
Datvda.h1094 char file_name[16]; /* 8.3 fname, NULL term, wc=* */ member
/drivers/base/
Dcacheinfo.c360 #define show_one(file_name, object) \ argument
361 static ssize_t file_name##_show(struct device *dev, \
/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c236 static u32 lancer_cmd_get_file_len(struct be_adapter *adapter, u8 *file_name) in lancer_cmd_get_file_len() argument
244 lancer_cmd_read_object(adapter, &data_len_cmd, 0, 0, file_name, in lancer_cmd_get_file_len()
263 static int lancer_cmd_read_file(struct be_adapter *adapter, u8 *file_name, in lancer_cmd_read_file() argument
287 total_read_len, file_name, in lancer_cmd_read_file()
/drivers/media/platform/exynos4-is/
Dfimc-is.c231 static int fimc_is_load_setfile(struct fimc_is *is, char *file_name) in fimc_is_load_setfile() argument
237 ret = request_firmware(&fw, file_name, &is->pdev->dev); in fimc_is_load_setfile()
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h298 const char *file_name, const char *component,
Dcore.c1012 const char *file_name, in mlxsw_devlink_flash_update() argument
1021 return mlxsw_driver->flash_update(mlxsw_core, file_name, in mlxsw_devlink_flash_update()
Dspectrum.c445 const char *file_name, const char *component, in mlxsw_sp_flash_update() argument
455 err = request_firmware_direct(&firmware, file_name, in mlxsw_sp_flash_update()
/drivers/net/netdevsim/
Ddev.c563 static int nsim_dev_flash_update(struct devlink *devlink, const char *file_name, in nsim_dev_flash_update() argument
/drivers/scsi/lpfc/
Dlpfc_init.c12448 uint8_t file_name[ELX_MODEL_NAME_SIZE]; in lpfc_sli4_request_firmware_update() local
12457 snprintf(file_name, ELX_MODEL_NAME_SIZE, "%s.grp", phba->ModelName); in lpfc_sli4_request_firmware_update()
12461 file_name, &phba->pcidev->dev, in lpfc_sli4_request_firmware_update()
12465 ret = request_firmware(&fw, file_name, &phba->pcidev->dev); in lpfc_sli4_request_firmware_update()