Searched refs:file (Results 1 - 25 of 1322) sorted by path

1234567891011>>

/drivers/acpi/
H A DKconfig226 string "Custom DSDT Table file to include"
233 Enter the full path name to the file which includes the AmlCode
236 If unsure, don't enter a file name.
H A Dac.c78 static int acpi_ac_open_fs(struct inode *inode, struct file *file);
204 static int acpi_ac_open_fs(struct inode *inode, struct file *file) argument
206 return single_open(file, acpi_ac_seq_show, PDE_DATA(inode));
H A Dbattery.c915 static ssize_t acpi_battery_write_alarm(struct file *file, argument
921 struct seq_file *m = file->private_data;
966 static int acpi_battery_##_name##_open_fs(struct inode *inode, struct file *file) \
968 return single_open(file, acpi_battery_read_##_name, PDE_DATA(inode)); \
H A Dbgrt.c54 static ssize_t image_read(struct file *file, struct kobject *kobj, argument
H A Dbutton.c133 static int acpi_button_state_open_fs(struct inode *inode, struct file *file) argument
135 return single_open(file, acpi_button_state_seq_show, PDE_DATA(inode));
H A Dcustom_method.c22 static ssize_t cm_write(struct file *file, const char __user * user_buf, argument
H A Dec_sys.c31 static ssize_t acpi_ec_read_io(struct file *f, char __user *buf,
65 static ssize_t acpi_ec_write_io(struct file *f, const char __user *buf,
H A Dosl.c604 struct cpio_data file; local
610 file = find_cpio_data(cpio_path, data, size, &offset);
611 if (!file.data)
617 if (file.size < sizeof(struct acpi_table_header)) {
619 cpio_path, file.name);
623 table = file.data;
631 cpio_path, file.name);
634 if (file.size != table->length) {
636 cpio_path, file.name);
639 if (acpi_table_checksum(file
[all...]
H A Dproc.c15 * this file provides support for:
94 acpi_system_write_wakeup_device(struct file *file, argument
132 acpi_system_wakeup_device_open_fs(struct inode *inode, struct file *file) argument
134 return single_open(file, acpi_system_wakeup_device_seq_show,
H A Dsysfs.c261 static ssize_t acpi_table_show(struct file *filp, struct kobject *kobj,
556 * setting the total "sci" file to any value clears all counters.
/drivers/acpi/acpica/
H A Dacapps.h64 /* Macros for signons and file headers */
106 * cmfsize - Common get file size function
108 u32 cm_get_file_size(ACPI_FILE file);
H A Dacutils.h360 acpi_ut_dump_buffer_to_file(ACPI_FILE file,
407 * utfileio - file operations
780 int acpi_ut_file_vprintf(ACPI_FILE file, const char *format, va_list args);
782 int acpi_ut_file_printf(ACPI_FILE file, const char *format, ...);
H A Dutbuffer.c208 * PARAMETERS: file - File descriptor
220 * DESCRIPTION: Generic dump buffer in both hex and ascii to a file.
225 acpi_ut_dump_buffer_to_file(ACPI_FILE file, argument
234 acpi_ut_file_printf(file,
249 acpi_ut_file_printf(file, "%6.4X: ", (base_offset + i));
258 acpi_ut_file_printf(file, "%*s",
268 acpi_ut_file_printf(file, "%02X ",
276 acpi_ut_file_printf(file, "%04X ", temp32);
283 acpi_ut_file_printf(file, "%08X ", temp32);
290 acpi_ut_file_printf(file, "
[all...]
H A Dutfileio.c3 * Module Name: utfileio - simple file I/O routines
72 * file_length - Length of the file that contains the table
76 * DESCRIPTION: Check table for text mode file corruption where all linefeed
118 * meaning that the table was treated as a text file somewhere.
140 * DESCRIPTION: Load the DSDT from the file pointer
155 /* Get the file size */
197 ("TableHeader length [0x%X] greater than the input file size [0x%X]\n",
274 acpi_os_printf("Error - could not read the table file\n");
290 * DESCRIPTION: Get an ACPI table from a file
297 FILE *file; local
[all...]
H A Dutprint.c615 * PARAMETERS: file - File descriptor
621 * DESCRIPTION: Formatted output to a file using argument list pointer.
625 int acpi_ut_file_vprintf(ACPI_FILE file, const char *format, va_list args) argument
634 (void)acpi_os_write_file(file, acpi_gbl_print_buffer, length, 1);
644 * PARAMETERS: file - File descriptor
649 * DESCRIPTION: Formatted output to a file.
653 int acpi_ut_file_printf(ACPI_FILE file, const char *format, ...) argument
659 length = acpi_ut_file_vprintf(file, format, args);
/drivers/acpi/apei/
H A Deinj.c610 static int available_error_type_open(struct inode *inode, struct file *file) argument
612 return single_open(file, available_error_type_show, NULL);
H A Derst-dbg.c5 * information to and from a persistent store. This file provide the
44 static int erst_dbg_open(struct inode *inode, struct file *file) argument
51 pos = (int *)&file->private_data;
57 return nonseekable_open(inode, file);
60 static int erst_dbg_release(struct inode *inode, struct file *file) argument
67 static long erst_dbg_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
94 static ssize_t erst_dbg_read(struct file *filp, char __user *ubuf,
164 static ssize_t erst_dbg_write(struct file *fil
[all...]
/drivers/atm/
H A DKconfig226 module argument. See the file <file:drivers/atm/idt77252.h> for
263 string "Dxxxx" to VCI 1023 (where x is a hex digit). See the file
264 <file:drivers/atm/ambassador.h> for the meanings of the bits in the
287 string "Dxxxx" to VCI 1023 (where x is a hex digit). See the file
288 <file:drivers/atm/horizon.h> for the meanings of the bits in the
308 See the file <file:Documentation/networking/iphase.txt> for further
321 See the file <file
[all...]
/drivers/base/
H A Ddevcoredump.c2 * This file is provided under the GPLv2 license.
18 * in the file called COPYING.
83 static ssize_t devcd_data_read(struct file *filp, struct kobject *kobj,
93 static ssize_t devcd_data_write(struct file *filp, struct kobject *kobj,
H A Dfirmware_class.c24 #include <linux/file.h>
289 static int fw_read_file_contents(struct file *file, struct firmware_buf *fw_buf) argument
295 if (!S_ISREG(file_inode(file)->i_mode))
297 size = i_size_read(file_inode(file));
303 rc = kernel_read(file, 0, buf, size);
309 rc = security_kernel_fw_from_file(file, buf, size);
328 struct file *file; local
336 file
[all...]
/drivers/base/power/
H A Ddomain.c6 * This file is released under the GPLv2.
2345 static int pm_genpd_summary_open(struct inode *inode, struct file *file) argument
2347 return single_open(file, pm_genpd_summary_show, NULL);
H A Dtrace.c68 * - 0-996: file + line number
79 static int set_magic_time(unsigned int user, unsigned int file, unsigned int device) argument
81 unsigned int n = user + USERHASH*(file + FILEHASH*device);
160 const char *file = *(const char **)(tracedata + 2); local
164 file_hash_value = hash_string(lineno, file, FILEHASH);
179 const char *file = *(const char **)(tracedata + 2); local
180 unsigned int hash = hash_string(lineno, file, FILEHASH);
183 pr_info(" hash matches %s:%u\n", file, lineno);
251 unsigned int user, file, dev; local
255 file
[all...]
H A Dwakeup.c6 * This file is released under the GPLv2.
933 static int wakeup_sources_stats_open(struct inode *inode, struct file *file) argument
935 return single_open(file, wakeup_sources_stats_show, NULL);
/drivers/base/regmap/
H A Dregcache-rbtree.c181 static int rbtree_open(struct inode *inode, struct file *file) argument
183 return single_open(file, rbtree_show, inode->i_private);
H A Dregmap-debugfs.c39 static ssize_t regmap_name_read_file(struct file *file, argument
43 struct regmap *map = file->private_data;
255 static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, argument
258 struct regmap *map = file->private_data;
272 static ssize_t regmap_map_write_file(struct file *file, argument
280 struct regmap *map = file->private_data;
315 static ssize_t regmap_range_read_file(struct file *fil argument
331 regmap_reg_ranges_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
404 regmap_access_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]

Completed in 233 milliseconds

1234567891011>>