Lines Matching refs:file

79 static void *get_hif_hdl_from_file(struct file *file)  in get_hif_hdl_from_file()  argument
83 scn = (struct hif_opaque_softc *)pde_data(file_inode(file)); in get_hif_hdl_from_file()
87 static ssize_t ath_procfs_diag_read_legacy(struct file *file, in ath_procfs_diag_read_legacy() argument
98 hif_hdl = get_hif_hdl_from_file(file); in ath_procfs_diag_read_legacy()
167 static ssize_t ath_procfs_diag_write_legacy(struct file *file, in ath_procfs_diag_write_legacy() argument
178 hif_hdl = get_hif_hdl_from_file(file); in ath_procfs_diag_write_legacy()
335 static ssize_t ath_procfs_diag_read_ext(struct file *file, char __user *buf, in ath_procfs_diag_read_ext() argument
341 hif_handle_t hif_hdl = get_hif_hdl_from_file(file); in ath_procfs_diag_read_ext()
402 static ssize_t ath_procfs_diag_write_ext(struct file *file, in ath_procfs_diag_write_ext() argument
409 hif_handle_t hif_hdl = get_hif_hdl_from_file(file); in ath_procfs_diag_write_ext()
481 static ssize_t ath_procfs_diag_read(struct file *file, char __user *buf, in ath_procfs_diag_read() argument
484 hif_handle_t hif_hdl = get_hif_hdl_from_file(file); in ath_procfs_diag_read()
507 rv = ath_procfs_diag_read_legacy(file, buf, count, pos); in ath_procfs_diag_read()
511 rv = ath_procfs_diag_read_ext(file, buf, count, op_type, in ath_procfs_diag_read()
522 static ssize_t ath_procfs_diag_write(struct file *file, in ath_procfs_diag_write() argument
526 hif_handle_t hif_hdl = get_hif_hdl_from_file(file); in ath_procfs_diag_write()
549 rv = ath_procfs_diag_write_legacy(file, buf, count, pos); in ath_procfs_diag_write()
553 rv = ath_procfs_diag_write_ext(file, buf, count, op_type, in ath_procfs_diag_write()