Home
last modified time | relevance | path

Searched defs:fd (Results 26 – 50 of 1431) sorted by relevance

12345678910>>...58

/OK3568_Linux_fs/kernel/drivers/clk/
H A Dclk-fractional-divider.c17 static inline u32 clk_fd_readl(struct clk_fractional_divider *fd) in clk_fd_readl()
25 static inline void clk_fd_writel(struct clk_fractional_divider *fd, u32 val) in clk_fd_writel()
36 struct clk_fractional_divider *fd = to_clk_fd(hw); in clk_fd_recalc_rate() local
75 struct clk_fractional_divider *fd = to_clk_fd(hw); in clk_fd_general_approximation() local
95 struct clk_fractional_divider *fd = to_clk_fd(hw); in clk_fd_round_rate() local
116 struct clk_fractional_divider *fd = to_clk_fd(hw); in clk_fd_set_rate() local
186 struct clk_fractional_divider *fd; in clk_hw_register_fractional_divider() local
241 struct clk_fractional_divider *fd; in clk_hw_unregister_fractional_divider() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c22 static int check_vgem(int fd) in check_vgem()
40 int i, fd; in open_vgem() local
90 int ret, fd; in dmabuf_heap_open() local
105 static int dmabuf_heap_alloc_fdflags(int fd, size_t len, unsigned int fd_flags, in dmabuf_heap_alloc_fdflags()
126 static int dmabuf_heap_alloc(int fd, size_t len, unsigned int flags, in dmabuf_heap_alloc()
133 static void dmabuf_sync(int fd, int start_stop) in dmabuf_sync()
222 static int dmabuf_heap_alloc_older(int fd, size_t len, unsigned int flags, in dmabuf_heap_alloc_older()
229 __u32 fd; in dmabuf_heap_alloc_older() member
250 static int dmabuf_heap_alloc_newer(int fd, size_t len, unsigned int flags, in dmabuf_heap_alloc_newer()
257 __u32 fd; in dmabuf_heap_alloc_newer() member
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.c86 int hfi1_user_exp_rcv_init(struct hfi1_filedata *fd, in hfi1_user_exp_rcv_init()
139 void hfi1_user_exp_rcv_free(struct hfi1_filedata *fd) in hfi1_user_exp_rcv_free()
168 static void unpin_rcv_pages(struct hfi1_filedata *fd, in unpin_rcv_pages()
195 static int pin_rcv_pages(struct hfi1_filedata *fd, struct tid_user_buf *tidbuf) in pin_rcv_pages()
288 int hfi1_user_exp_rcv_setup(struct hfi1_filedata *fd, in hfi1_user_exp_rcv_setup()
479 int hfi1_user_exp_rcv_clear(struct hfi1_filedata *fd, in hfi1_user_exp_rcv_clear()
514 int hfi1_user_exp_rcv_invalid(struct hfi1_filedata *fd, in hfi1_user_exp_rcv_invalid()
653 static int program_rcvarray(struct hfi1_filedata *fd, struct tid_user_buf *tbuf, in program_rcvarray()
721 static int set_rcvarray_entry(struct hfi1_filedata *fd, in set_rcvarray_entry()
792 static int unprogram_rcvarray(struct hfi1_filedata *fd, u32 tidinfo, in unprogram_rcvarray()
[all …]
H A Dfile_ops.c189 struct hfi1_filedata *fd; in hfi1_file_open() local
224 struct hfi1_filedata *fd = fp->private_data; in hfi1_file_ioctl() local
302 struct hfi1_filedata *fd = kiocb->ki_filp->private_data; in hfi1_write_iter() local
352 struct hfi1_filedata *fd = fp->private_data; in hfi1_file_mmap() local
752 static int complete_subctxt(struct hfi1_filedata *fd) in complete_subctxt()
785 static int assign_ctxt(struct hfi1_filedata *fd, unsigned long arg, u32 len) in assign_ctxt()
854 static int match_ctxt(struct hfi1_filedata *fd, in match_ctxt()
916 static int find_sub_ctxt(struct hfi1_filedata *fd, in find_sub_ctxt()
941 static int allocate_ctxt(struct hfi1_filedata *fd, struct hfi1_devdata *dd, in allocate_ctxt()
1137 static int get_ctxt_info(struct hfi1_filedata *fd, unsigned long arg, u32 len) in get_ctxt_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/ti/
H A Dfapll.c78 struct fapll_data *fd; member
86 static bool ti_fapll_clock_is_bypass(struct fapll_data *fd) in ti_fapll_clock_is_bypass()
96 static void ti_fapll_set_bypass(struct fapll_data *fd) in ti_fapll_set_bypass()
107 static void ti_fapll_clear_bypass(struct fapll_data *fd) in ti_fapll_clear_bypass()
118 static int ti_fapll_wait_lock(struct fapll_data *fd) in ti_fapll_wait_lock()
140 struct fapll_data *fd = to_fapll(hw); in ti_fapll_enable() local
152 struct fapll_data *fd = to_fapll(hw); in ti_fapll_disable() local
161 struct fapll_data *fd = to_fapll(hw); in ti_fapll_is_enabled() local
170 struct fapll_data *fd = to_fapll(hw); in ti_fapll_recalc_rate() local
193 struct fapll_data *fd = to_fapll(hw); in ti_fapll_get_parent() local
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/
H A Drkdrm_display.c45 static bool drm_plane_set_property (int fd, drmModePlane * plane, in drm_plane_set_property()
160 int drmGetBuffer(int fd, int width, int height, int format, in drmGetBuffer()
247 int drmPutBuffer(int fd, struct drm_buf *buffer) in drmPutBuffer()
279 static int drmGetPlaneType(int fd, drmModePlanePtr p) in drmGetPlaneType()
307 static int drmFillPlaneProp(int fd, struct drm_dev_plane *pp) in drmFillPlaneProp()
358 static drmModePlanePtr drmGetPlaneByType(int fd, int crtc_index, int type) in drmGetPlaneByType()
384 drmModeConnectorPtr drmFoundConn(int fd, drmModeResPtr res) in drmFoundConn()
406 static drmModePropertyPtr drmFoundDPMS(int fd, drmModeConnectorPtr connector) in drmFoundDPMS()
434 static drmModeCrtcPtr drmFoundCrtc(int fd, drmModeResPtr res, in drmFoundCrtc()
492 int fd, ret; in drmInit() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/exec/
H A Dexecveat.c30 static int execveat_(int fd, const char *path, char **argv, char **envp, in execveat_()
41 #define check_execveat_fail(fd, path, flags, errno) \ argument
43 static int _check_execveat_fail(int fd, const char *path, int flags, in _check_execveat_fail()
67 static int check_execveat_invoked_rc(int fd, const char *path, int flags, in check_execveat_invoked_rc()
114 static int check_execveat(int fd, const char *path, int flags) in check_execveat()
130 int fd = open(filename, flags); in open_or_die() local
158 int fd; in check_execveat_pathmax() local
237 int fd = open_or_die("execveat", O_RDONLY); in run_tests() local
381 int fd; in prerequisites() local
/OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/
H A Dhciattach_h4.c31 static int start_xfer_wait(int fd, uint8_t *cmd, uint16_t len, uint32_t msec, in start_xfer_wait()
166 int h4_download_patch(int fd, int index, uint8_t *data, int len) in h4_download_patch()
199 int h4_vendor_change_speed(int fd, uint32_t baudrate) in h4_vendor_change_speed()
231 int h4_hci_reset(int fd) in h4_hci_reset()
247 int h4_read_local_ver(int fd) in h4_read_local_ver()
273 int h4_vendor_read_rom_ver(int fd) in h4_vendor_read_rom_ver()
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dwp.c14 #define WP_TEST_ASSERT_VAL(fd, text, val) \ argument
24 static int wp_read(int fd, long long *count, int size) in wp_read()
53 int fd; in __event() local
67 int fd; in wp_ro_test() local
86 int fd; in wp_wo_test() local
105 int fd; in wp_rw_test() local
125 int fd, ret; in wp_modify_test() local
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Dchan_user.c17 void generic_close(int fd, void *unused) in generic_close()
22 int generic_read(int fd, char *c_out, void *unused) in generic_read()
38 int generic_write(int fd, const char *buf, int n, void *unused) in generic_write()
52 int generic_window_size(int fd, void *unused, unsigned short *rows_out, in generic_window_size()
74 int generic_console_write(int fd, const char *buf, int n) in generic_console_write()
219 static int winch_tramp(int fd, struct tty_port *port, int *fd_out, in winch_tramp()
276 void register_winch(int fd, struct tty_port *port) in register_winch()
/OK3568_Linux_fs/kernel/tools/testing/selftests/sparc64/drivers/
H A Dadi-test.c184 static int read_adi(int fd, unsigned char *buf, int buf_sz) in read_adi()
208 static int pread_adi(int fd, unsigned char *buf, in pread_adi()
240 static int write_adi(int fd, const unsigned char * const buf, int buf_sz) in write_adi()
263 static int pwrite_adi(int fd, const unsigned char * const buf, in pwrite_adi()
297 static off_t seek_adi(int fd, off_t offset, int whence) in seek_adi()
317 static int test0_prpw_aligned_1byte(int fd) in test0_prpw_aligned_1byte()
351 static int test1_prpw_aligned_4096bytes(int fd) in test1_prpw_aligned_4096bytes()
391 static int test2_prpw_aligned_10327bytes(int fd) in test2_prpw_aligned_10327bytes()
431 static int test3_prpw_unaligned_12541bytes(int fd) in test3_prpw_unaligned_12541bytes()
470 static int test4_lseek(int fd) in test4_lseek()
[all …]
/OK3568_Linux_fs/kernel/arch/parisc/kernel/
H A Dsys_parisc.c257 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap2()
267 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap()
287 asmlinkage long parisc_ftruncate64(unsigned int fd, in parisc_ftruncate64()
299 asmlinkage long sys_ftruncate64(unsigned int fd, unsigned long length) in sys_ftruncate64()
303 asmlinkage long sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg) in sys_fcntl64()
315 asmlinkage long parisc_ftruncate64(unsigned int fd, in parisc_ftruncate64()
322 asmlinkage ssize_t parisc_pread64(unsigned int fd, char __user *buf, size_t count, in parisc_pread64()
328 asmlinkage ssize_t parisc_pwrite64(unsigned int fd, const char __user *buf, in parisc_pwrite64()
334 asmlinkage ssize_t parisc_readahead(int fd, unsigned int high, unsigned int low, in parisc_readahead()
340 asmlinkage long parisc_fadvise64_64(int fd, in parisc_fadvise64_64()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/
H A Dfimc-is-param.c221 struct fd_param *fd; in __is_set_frame_size() local
472 struct fd_param *fd; in __is_set_fd_control() local
487 struct fd_param *fd; in __is_set_fd_config_maxface() local
507 struct fd_param *fd; in __is_set_fd_config_rollangle() local
527 struct fd_param *fd; in __is_set_fd_config_yawangle() local
547 struct fd_param *fd; in __is_set_fd_config_smilemode() local
567 struct fd_param *fd; in __is_set_fd_config_blinkmode() local
587 struct fd_param *fd; in __is_set_fd_config_eyedetect() local
607 struct fd_param *fd; in __is_set_fd_config_mouthdetect() local
627 struct fd_param *fd; in __is_set_fd_config_orientation() local
[all …]
/OK3568_Linux_fs/u-boot/arch/sandbox/cpu/
H A Dos.c35 ssize_t os_read(int fd, void *buf, size_t count) in os_read()
40 ssize_t os_read_no_block(int fd, void *buf, size_t count) in os_read_no_block()
48 ssize_t os_write(int fd, const void *buf, size_t count) in os_write()
53 off_t os_lseek(int fd, off_t offset, int whence) in os_lseek()
91 int os_close(int fd) in os_close()
119 void os_tty_raw(int fd, bool allow_sigs) in os_tty_raw()
419 int fd, ret; in os_write_ram_buf() local
435 int fd, ret; in os_read_ram_buf() local
457 int fd; in make_exec() local
497 int fd, err; in os_jump_to_image() local
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/
H A Dsigio.c81 int fd; member
91 xf86SigIOAdd(int fd) in xf86SigIOAdd()
107 xf86SigIORemove(int fd) in xf86SigIORemove()
151 xf86IsPipe(int fd) in xf86IsPipe()
181 xf86InstallSIGIOHandler(int fd, void (*f) (int, void *), void *closure) in xf86InstallSIGIOHandler() argument
252 xf86RemoveSIGIOHandler(int fd) in xf86RemoveSIGIOHandler()
/OK3568_Linux_fs/kernel/tools/gpio/
H A Dgpio-utils.c65 int fd; in gpiotools_request_linehandle() local
132 int fd; in gpiotools_request_line() local
179 int gpiotools_set_values(const int fd, struct gpio_v2_line_values *values) in gpiotools_set_values()
203 int gpiotools_get_values(const int fd, struct gpio_v2_line_values *values) in gpiotools_get_values()
226 int gpiotools_release_linehandle(const int fd) in gpiotools_release_linehandle()
247 int gpiotools_release_line(const int fd) in gpiotools_release_line()
297 int fd, i; in gpiotools_gets() local
/OK3568_Linux_fs/external/mpp/osal/
H A Dmpp_eventfd.cpp26 RK_S32 fd = eventfd(init, 0); in mpp_eventfd_get() local
34 RK_S32 mpp_eventfd_put(RK_S32 fd) in mpp_eventfd_put()
42 RK_S32 mpp_eventfd_read(RK_S32 fd, RK_U64 *val, RK_S64 timeout) in mpp_eventfd_read()
64 RK_S32 mpp_eventfd_write(RK_S32 fd, RK_U64 val) in mpp_eventfd_write()
/OK3568_Linux_fs/kernel/tools/testing/selftests/proc/
H A Dfd-003-kthread.c44 int dir_fd, fd; in kernel_thread_fd() local
96 static void test_readdir(int fd) in test_readdir()
122 static void test_lookup_fail(int fd, const char *pathname) in test_lookup_fail()
131 static void test_lookup(int fd) in test_lookup()
158 int fd; in main() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/wireguard/qemu/
H A Dinit.c59 int fd; in seed_rng() local
111 int fd; in enable_logging() local
169 int status, fd; in launch_tests() local
224 int fd = open("/dev/console", O_RDWR); in ensure_console() local
241 int fd; in clear_leaks() local
253 int fd; in check_leaks() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dnetwork_helpers.c43 static int settimeo(int fd, int timeout_ms) in settimeo()
67 #define save_errno_close(fd) ({ int __save = errno; close(fd); errno = __save; }) argument
74 int fd; in start_server() local
113 int fd, ret; in fastopen_connect() local
144 static int connect_fd_to_addr(int fd, in connect_fd_to_addr()
161 int fd, type; in connect_to_fd() local
/OK3568_Linux_fs/u-boot/arch/arm/lib/
H A Dsemihosting.c49 long fd; in smh_open() local
86 static long smh_read(long fd, void *memp, size_t len) in smh_read()
90 long fd; in smh_read() member
120 static long smh_close(long fd) in smh_close()
136 static long smh_len_fd(long fd) in smh_len_fd()
152 long fd; in smh_load_file() local
/OK3568_Linux_fs/kernel/include/linux/
H A Dfdtable.h29 struct file __rcu **fd; /* current fd array */ member
36 static inline bool close_on_exec(unsigned int fd, const struct fdtable *fdt) in close_on_exec()
41 static inline bool fd_is_open(unsigned int fd, const struct fdtable *fdt) in fd_is_open()
83 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files()
94 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files()
105 #define fcheck(fd) fcheck_files(current->files, fd) argument
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dsys32.c41 COMPAT_SYSCALL_DEFINE3(aarch32_fstatfs64, unsigned int, fd, compat_size_t, sz, in COMPAT_SYSCALL_DEFINE3() argument
57 unsigned long, fd, unsigned long, off_4k) in COMPAT_SYSCALL_DEFINE6() argument
75 COMPAT_SYSCALL_DEFINE6(aarch32_pread64, unsigned int, fd, char __user *, buf, in COMPAT_SYSCALL_DEFINE6() argument
81 COMPAT_SYSCALL_DEFINE6(aarch32_pwrite64, unsigned int, fd, in COMPAT_SYSCALL_DEFINE6() argument
94 COMPAT_SYSCALL_DEFINE4(aarch32_ftruncate64, unsigned int, fd, u32, __pad, in COMPAT_SYSCALL_DEFINE4() argument
100 COMPAT_SYSCALL_DEFINE5(aarch32_readahead, int, fd, u32, __pad, in COMPAT_SYSCALL_DEFINE5() argument
106 COMPAT_SYSCALL_DEFINE6(aarch32_fadvise64_64, int, fd, int, advice, in COMPAT_SYSCALL_DEFINE6() argument
112 COMPAT_SYSCALL_DEFINE6(aarch32_sync_file_range2, int, fd, unsigned int, flags, in COMPAT_SYSCALL_DEFINE6() argument
119 COMPAT_SYSCALL_DEFINE6(aarch32_fallocate, int, fd, int, mode, in COMPAT_SYSCALL_DEFINE6() argument
/OK3568_Linux_fs/kernel/Documentation/usb/
H A Dusbdevfs-drop-permissions.c19 void drop_privileges(int fd, uint32_t mask) in drop_privileges()
30 void reset_device(int fd) in reset_device()
42 void claim_some_intf(int fd) in claim_some_intf()
59 int c, fd; in main() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dreuseport_bpf.c94 static void attach_ebpf(int fd, uint16_t mod) in attach_ebpf()
133 static void attach_cbpf(int fd, uint16_t mod) in attach_cbpf()
152 static void build_recv_group(const struct test_params p, int fd[], uint16_t mod, in build_recv_group()
194 const int fd = socket(p.send_family, p.protocol, 0), one = 1; in send_from() local
213 static void test_recv_order(const struct test_params p, int fd[], int mod) in test_recv_order()
275 int i, fd[p.recv_socks]; in test_reuseport_ebpf() local
292 int i, fd[p.recv_socks]; in test_reuseport_cbpf() local
351 int fd, bpf_fd; in test_filter_no_reuseport() local
415 int fd = open("/proc/sys/net/ipv4/tcp_fastopen", 0); in enable_fastopen() local

12345678910>>...58