Lines Matching refs:filep
716 struct file *filep = NULL; in rk_flinger_rga_scaler() local
733 filep = filp_open(path, O_CREAT | O_RDWR, 0666); in rk_flinger_rga_scaler()
734 if (IS_ERR(filep)) { in rk_flinger_rga_scaler()
740 vfs_write(filep, in rk_flinger_rga_scaler()
743 filp_close(filep, NULL); in rk_flinger_rga_scaler()
752 struct file *filep = NULL; in rk_flinger_rga_scaler() local
770 filep = filp_open(path, O_CREAT | O_RDWR, 0666); in rk_flinger_rga_scaler()
771 if (IS_ERR(filep)) { in rk_flinger_rga_scaler()
777 vfs_write(filep, in rk_flinger_rga_scaler()
780 filp_close(filep, NULL); in rk_flinger_rga_scaler()
998 struct file *filep = NULL; in rk_flinger_rga_render() local
1015 filep = filp_open(path, O_CREAT | O_RDWR, 0666); in rk_flinger_rga_render()
1016 if (IS_ERR(filep)) { in rk_flinger_rga_render()
1022 vfs_write(filep, in rk_flinger_rga_render()
1025 filp_close(filep, NULL); in rk_flinger_rga_render()
1069 struct file *filep = NULL; in rk_drm_vehicle_commit() local
1085 filep = filp_open(path, O_CREAT | O_RDWR, 0666); in rk_drm_vehicle_commit()
1086 if (IS_ERR(filep)) { in rk_drm_vehicle_commit()
1092 vfs_write(filep, in rk_drm_vehicle_commit()
1095 filp_close(filep, NULL); in rk_drm_vehicle_commit()
1141 struct file *filep = NULL; in rk_flinger_vop_show() local
1158 filep = filp_open(path, O_CREAT | O_RDWR, 0666); in rk_flinger_vop_show()
1159 if (IS_ERR(filep)) { in rk_flinger_vop_show()
1165 vfs_write(filep, in rk_flinger_vop_show()
1168 filp_close(filep, NULL); in rk_flinger_vop_show()
1265 struct file *filep; in rk_flinger_render_show() local
1284 filep = filp_open(path, O_RDWR | O_CREAT, 0666); in rk_flinger_render_show()
1285 if (IS_ERR(filep)) { in rk_flinger_render_show()
1291 vfs_write(filep, src_buffer->vir_addr, frame_len, &pos); in rk_flinger_render_show()
1292 filp_close(filep, NULL); in rk_flinger_render_show()