Searched refs:fsg_common (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | f_mass_storage.h | 61 struct fsg_common; 71 struct fsg_common *common; 118 void fsg_common_set_sysfs(struct fsg_common *common, bool sysfs); 120 int fsg_common_set_num_buffers(struct fsg_common *common, unsigned int n); 122 void fsg_common_free_buffers(struct fsg_common *common); 124 int fsg_common_set_cdev(struct fsg_common *common, 129 void fsg_common_remove_luns(struct fsg_common *common); 131 int fsg_common_create_lun(struct fsg_common *common, struct fsg_lun_config *cfg, 135 int fsg_common_create_luns(struct fsg_common *common, struct fsg_config *cfg); 137 void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn,
|
| H A D | f_mass_storage.c | 259 struct fsg_common; 262 struct fsg_common { struct 323 struct fsg_common *common; argument 337 static inline int __fsg_is_set(struct fsg_common *common, in __fsg_is_set() 356 static int exception_in_progress(struct fsg_common *common) in exception_in_progress() 362 static void set_bulk_out_req_length(struct fsg_common *common, in set_bulk_out_req_length() 396 static void __raise_exception(struct fsg_common *common, enum fsg_state new_state, in __raise_exception() 418 static void raise_exception(struct fsg_common *common, enum fsg_state new_state) in raise_exception() 425 static int ep0_queue(struct fsg_common *common) in ep0_queue() 446 struct fsg_common *common = ep->driver_data; in bulk_in_complete() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | f_mass_storage.c | 290 struct fsg_common; 293 struct fsg_common { struct 374 struct fsg_common *common; 389 static inline int __fsg_is_set(struct fsg_common *common, in __fsg_is_set() 410 static int exception_in_progress(struct fsg_common *common) in exception_in_progress() 416 static void set_bulk_out_req_length(struct fsg_common *common, in set_bulk_out_req_length() 432 static struct fsg_common *the_fsg_common; 453 static void wakeup_thread(struct fsg_common *common) in wakeup_thread() 458 static void raise_exception(struct fsg_common *common, enum fsg_state new_state) in raise_exception() 472 static int ep0_queue(struct fsg_common *common) in ep0_queue() [all …]
|
| H A D | f_rockusb.c | 123 static int rkusb_check_lun(struct fsg_common *common) in rkusb_check_lun() 165 static int rkusb_do_reset(struct fsg_common *common, in rkusb_do_reset() 177 static int rkusb_do_test_unit_ready(struct fsg_common *common, in rkusb_do_test_unit_ready() 194 static int rkusb_do_read_flash_id(struct fsg_common *common, in rkusb_do_read_flash_id() 232 static int rkusb_do_test_bad_block(struct fsg_common *common, in rkusb_do_test_bad_block() 247 static int rkusb_do_read_flash_info(struct fsg_common *common, in rkusb_do_read_flash_info() 301 static int rkusb_do_get_chip_info(struct fsg_common *common, in rkusb_do_get_chip_info() 320 static int rkusb_do_lba_erase(struct fsg_common *common, in rkusb_do_lba_erase() 359 static int rkusb_do_erase_force(struct fsg_common *common, in rkusb_do_erase_force() 414 static int rkusb_do_vs_write(struct fsg_common *common) in rkusb_do_vs_write() [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | rockusb.h | 55 struct fsg_common; 60 int rkusb_do_check_parity(struct fsg_common *common); 66 struct fsg_common; 72 static inline int rkusb_cmd_process(struct fsg_common *common, in rkusb_cmd_process() 78 static inline int rkusb_do_check_parity(struct fsg_common *common) in rkusb_do_check_parity()
|