Searched refs:rts51x_chip (Results 1 - 24 of 24) sorted by relevance

/drivers/staging/rts5139/
H A Drts51x_sys.h31 #include "rts51x_chip.h"
36 extern int rts51x_check_start_time(struct rts51x_chip *chip);
37 extern void rts51x_set_start_time(struct rts51x_chip *chip);
38 extern void rts51x_clear_start_time(struct rts51x_chip *chip);
42 static inline void rts51x_reset_detected_cards(struct rts51x_chip *chip)
47 static inline void clear_first_install_mark(struct rts51x_chip *chip)
51 void rts51x_enter_ss(struct rts51x_chip *chip);
52 void rts51x_exit_ss(struct rts51x_chip *chip);
H A Dms_mg.h30 #include "rts51x_chip.h"
33 int mg_set_leaf_id(struct scsi_cmnd *srb, struct rts51x_chip *chip);
34 int mg_get_local_EKB(struct scsi_cmnd *srb, struct rts51x_chip *chip);
35 int mg_chg(struct scsi_cmnd *srb, struct rts51x_chip *chip);
36 int mg_get_rsp_chg(struct scsi_cmnd *srb, struct rts51x_chip *chip);
37 int mg_rsp(struct scsi_cmnd *srb, struct rts51x_chip *chip);
38 int mg_get_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chip);
39 int mg_set_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chip);
H A Drts51x_transport.h33 #include "rts51x_chip.h"
53 int rts51x_ctrl_transfer(struct rts51x_chip *chip, unsigned int pipe,
56 int rts51x_clear_halt(struct rts51x_chip *chip, unsigned int pipe);
57 int rts51x_transfer_data(struct rts51x_chip *chip, unsigned int pipe,
60 int rts51x_transfer_data_partial(struct rts51x_chip *chip, unsigned int pipe,
69 int rts51x_reset_pipe(struct rts51x_chip *chip, char pipe);
72 int rts51x_start_epc_transfer(struct rts51x_chip *chip);
73 void rts51x_cancel_epc_transfer(struct rts51x_chip *chip);
76 int rts51x_get_epc_status(struct rts51x_chip *chip, u16 *status);
77 void rts51x_invoke_transport(struct scsi_cmnd *srb, struct rts51x_chip *chi
[all...]
H A Dsd_cprm.h30 #include "rts51x_chip.h"
34 int ext_sd_execute_no_data(struct rts51x_chip *chip, unsigned int lun,
37 int ext_sd_execute_read_data(struct rts51x_chip *chip, unsigned int lun,
41 int ext_sd_execute_write_data(struct rts51x_chip *chip, unsigned int lun,
46 int sd_pass_thru_mode(struct scsi_cmnd *srb, struct rts51x_chip *chip);
47 int sd_execute_no_data(struct scsi_cmnd *srb, struct rts51x_chip *chip);
48 int sd_execute_read_data(struct scsi_cmnd *srb, struct rts51x_chip *chip);
49 int sd_execute_write_data(struct scsi_cmnd *srb, struct rts51x_chip *chip);
50 int sd_get_cmd_rsp(struct scsi_cmnd *srb, struct rts51x_chip *chip);
51 int sd_hw_rst(struct scsi_cmnd *srb, struct rts51x_chip *chi
[all...]
H A Dms.h30 #include "rts51x_chip.h"
234 void mspro_polling_format_status(struct rts51x_chip *chip);
235 void mspro_format_sense(struct rts51x_chip *chip, unsigned int lun);
237 void mspro_stop_seq_mode(struct rts51x_chip *chip);
238 int reset_ms_card(struct rts51x_chip *chip);
239 int ms_rw(struct scsi_cmnd *srb, struct rts51x_chip *chip, u32 start_sector,
241 int mspro_format(struct scsi_cmnd *srb, struct rts51x_chip *chip,
243 void ms_free_l2p_tbl(struct rts51x_chip *chip);
244 void ms_cleanup_work(struct rts51x_chip *chip);
245 int ms_power_off_card3v3(struct rts51x_chip *chi
[all...]
H A Drts51x_card.h30 #include "rts51x_chip.h"
744 int monitor_card_cd(struct rts51x_chip *chip, u8 card);
746 void do_remaining_work(struct rts51x_chip *chip);
747 void do_reset_xd_card(struct rts51x_chip *chip);
748 void do_reset_sd_card(struct rts51x_chip *chip);
749 void do_reset_ms_card(struct rts51x_chip *chip);
750 void rts51x_init_cards(struct rts51x_chip *chip);
751 void rts51x_release_cards(struct rts51x_chip *chip);
752 int switch_ssc_clock(struct rts51x_chip *chip, int clk);
753 int switch_normal_clock(struct rts51x_chip *chi
[all...]
H A DMakefile36 $(TARGET_MODULE)-objs := $(common-obj) rts51x.o rts51x_chip.o rts51x_card.o \
H A Dsd.h30 #include "rts51x_chip.h"
282 int sd_select_card(struct rts51x_chip *chip, int select);
283 int reset_sd_card(struct rts51x_chip *chip);
284 int sd_switch_clock(struct rts51x_chip *chip);
285 void sd_stop_seq_mode(struct rts51x_chip *chip);
286 int sd_rw(struct scsi_cmnd *srb, struct rts51x_chip *chip, u32 start_sector,
288 void sd_cleanup_work(struct rts51x_chip *chip);
289 int sd_power_off_card3v3(struct rts51x_chip *chip);
290 int release_sd_card(struct rts51x_chip *chip);
293 int sd_update_lock_status(struct rts51x_chip *chi
[all...]
H A Dxd.h184 int reset_xd_card(struct rts51x_chip *chip);
185 int xd_delay_write(struct rts51x_chip *chip);
186 int xd_rw(struct scsi_cmnd *srb, struct rts51x_chip *chip, u32 start_sector,
188 void xd_free_l2p_tbl(struct rts51x_chip *chip);
189 void xd_cleanup_work(struct rts51x_chip *chip);
190 int xd_power_off_card3v3(struct rts51x_chip *chip);
191 int release_xd_card(struct rts51x_chip *chip);
H A Drts51x.c49 #include "rts51x_chip.h"
117 void rts51x_try_to_enter_ss(struct rts51x_chip *chip)
123 void rts51x_try_to_exit_ss(struct rts51x_chip *chip)
131 struct rts51x_chip *chip = usb_get_intfdata(iface);
159 struct rts51x_chip *chip = usb_get_intfdata(iface);
187 struct rts51x_chip *chip = usb_get_intfdata(iface);
210 void rts51x_try_to_enter_ss(struct rts51x_chip *chip)
214 void rts51x_try_to_exit_ss(struct rts51x_chip *chip)
227 struct rts51x_chip *chip = usb_get_intfdata(iface);
238 struct rts51x_chip *chi
[all...]
H A Drts51x.h81 struct rts51x_chip;
176 static inline struct Scsi_Host *rts51x_to_host(struct rts51x_chip *chip)
181 static inline struct rts51x_chip *host_to_rts51x(struct Scsi_Host *host)
183 return (struct rts51x_chip *)(host->hostdata);
191 void rts51x_try_to_enter_ss(struct rts51x_chip *chip);
192 void rts51x_try_to_exit_ss(struct rts51x_chip *chip);
H A Drts51x_chip.c34 #include "rts51x_chip.h"
58 int rts51x_reset_chip(struct rts51x_chip *chip)
152 int rts51x_init_chip(struct rts51x_chip *chip)
232 int rts51x_release_chip(struct rts51x_chip *chip)
241 static inline void rts51x_blink_led(struct rts51x_chip *chip)
256 int rts51x_check_start_time(struct rts51x_chip *chip)
261 void rts51x_set_start_time(struct rts51x_chip *chip)
265 void rts51x_clear_start_time(struct rts51x_chip *chip)
269 static void rts51x_auto_delink_cmd(struct rts51x_chip *chip)
275 static void rts51x_auto_delink_force_cmd(struct rts51x_chip *chi
[all...]
H A Drts51x_scsi.h37 #include "rts51x_chip.h"
102 struct rts51x_chip;
137 void set_sense_type(struct rts51x_chip *chip, unsigned int lun, int sense_type);
138 void set_sense_data(struct rts51x_chip *chip, unsigned int lun, u8 err_code,
142 int rts51x_scsi_handler(struct scsi_cmnd *srb, struct rts51x_chip *chip);
H A Drts51x_fop.c35 #include "rts51x_chip.h"
46 static int rts51x_sd_direct_cmnd(struct rts51x_chip *chip,
141 static int rts51x_sd_get_rsp(struct rts51x_chip *chip, struct sd_rsp *rsp)
172 struct rts51x_chip *chip;
187 chip = (struct rts51x_chip *)usb_get_intfdata(interface);
212 struct rts51x_chip *chip;
214 chip = (struct rts51x_chip *)filp->private_data;
244 struct rts51x_chip *chip;
249 chip = (struct rts51x_chip *)filp->private_data;
H A Drts51x_chip.h419 struct rts51x_chip;
421 typedef int (*card_rw_func) (struct scsi_cmnd *srb, struct rts51x_chip *chip,
715 struct rts51x_chip { struct
829 int rts51x_reset_chip(struct rts51x_chip *chip);
830 int rts51x_init_chip(struct rts51x_chip *chip);
831 int rts51x_release_chip(struct rts51x_chip *chip);
832 void rts51x_polling_func(struct rts51x_chip *chip);
834 static inline void rts51x_init_cmd(struct rts51x_chip *chip)
844 void rts51x_add_cmd(struct rts51x_chip *chip,
846 int rts51x_send_cmd(struct rts51x_chip *chi
[all...]
H A Drts51x_card.c37 #include "rts51x_chip.h"
45 void do_remaining_work(struct rts51x_chip *chip)
97 void do_reset_xd_card(struct rts51x_chip *chip)
124 void do_reset_sd_card(struct rts51x_chip *chip)
151 void do_reset_ms_card(struct rts51x_chip *chip)
178 void card_cd_debounce(struct rts51x_chip *chip, u8 *need_reset,
288 void rts51x_init_cards(struct rts51x_chip *chip)
362 void rts51x_release_cards(struct rts51x_chip *chip)
388 int switch_ssc_clock(struct rts51x_chip *chip, int clk)
525 int switch_normal_clock(struct rts51x_chip *chi
[all...]
H A Drts51x_scsi.c39 #include "rts51x_chip.h"
337 void set_sense_type(struct rts51x_chip *chip, unsigned int lun, int sense_type)
412 void set_sense_data(struct rts51x_chip *chip, unsigned int lun, u8 err_code,
435 static int test_unit_ready(struct scsi_cmnd *srb, struct rts51x_chip *chip)
478 static int inquiry(struct scsi_cmnd *srb, struct rts51x_chip *chip)
543 static int start_stop_unit(struct scsi_cmnd *srb, struct rts51x_chip *chip)
578 static int allow_medium_removal(struct scsi_cmnd *srb, struct rts51x_chip *chip)
595 static void ms_mode_sense(struct rts51x_chip *chip, u8 cmd,
684 static int mode_sense(struct scsi_cmnd *srb, struct rts51x_chip *chip)
768 static int request_sense(struct scsi_cmnd *srb, struct rts51x_chip *chi
[all...]
H A Dms.c40 static inline void ms_set_err_code(struct rts51x_chip *chip, u8 err_code)
47 static inline int ms_check_err_code(struct rts51x_chip *chip, u8 err_code)
54 static int ms_parse_err_code(struct rts51x_chip *chip)
59 static int ms_transfer_tpc(struct rts51x_chip *chip, u8 trans_mode, u8 tpc,
118 int ms_transfer_data(struct rts51x_chip *chip, u8 trans_mode, u8 tpc,
197 int ms_write_bytes(struct rts51x_chip *chip, u8 tpc, u8 cnt, u8 cfg, u8 *data,
269 int ms_read_bytes(struct rts51x_chip *chip, u8 tpc, u8 cnt, u8 cfg, u8 *data,
345 int ms_set_rw_reg_addr(struct rts51x_chip *chip,
368 static int ms_send_cmd(struct rts51x_chip *chip, u8 cmd, u8 cfg)
378 static int ms_set_cmd(struct rts51x_chip *chi
[all...]
H A Dms_mg.c41 int mg_check_int_error(struct rts51x_chip *chip)
52 static int mg_send_ex_cmd(struct rts51x_chip *chip, u8 cmd, u8 entry_num)
81 int mg_set_tpc_para_sub(struct rts51x_chip *chip, int type, u8 mg_entry_num)
122 int mg_set_leaf_id(struct scsi_cmnd *srb, struct rts51x_chip *chip)
173 int mg_get_local_EKB(struct scsi_cmnd *srb, struct rts51x_chip *chip)
232 int mg_chg(struct scsi_cmnd *srb, struct rts51x_chip *chip)
323 int mg_get_rsp_chg(struct scsi_cmnd *srb, struct rts51x_chip *chip)
392 int mg_rsp(struct scsi_cmnd *srb, struct rts51x_chip *chip)
450 int mg_get_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chip)
514 int mg_set_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chi
[all...]
H A Dsd.c38 static inline void sd_set_reset_fail(struct rts51x_chip *chip, u8 err_code)
45 static inline void sd_clear_reset_fail(struct rts51x_chip *chip)
52 static inline int sd_check_reset_fail(struct rts51x_chip *chip, u8 err_code)
59 static inline void sd_set_err_code(struct rts51x_chip *chip, u8 err_code)
66 static inline void sd_clr_err_code(struct rts51x_chip *chip)
73 static inline int sd_check_err_code(struct rts51x_chip *chip, u8 err_code)
80 static int sd_parse_err_code(struct rts51x_chip *chip)
85 int sd_check_data0_status(struct rts51x_chip *chip)
101 static int sd_send_cmd_get_rsp(struct rts51x_chip *chip, u8 cmd_idx,
281 static inline void sd_print_debug_reg(struct rts51x_chip *chi
[all...]
H A Dxd.c39 static int xd_build_l2p_tbl(struct rts51x_chip *chip, int zone_no);
40 static int xd_init_page(struct rts51x_chip *chip, u32 phy_blk, u16 logoff,
43 static inline void xd_set_err_code(struct rts51x_chip *chip, u8 err_code)
50 static inline int xd_check_err_code(struct rts51x_chip *chip, u8 err_code)
57 static int xd_set_init_para(struct rts51x_chip *chip)
74 static int xd_switch_clock(struct rts51x_chip *chip)
90 static int xd_read_id(struct rts51x_chip *chip, u8 id_cmd, u8 *id_buf,
128 static void xd_assign_phy_addr(struct rts51x_chip *chip, u32 addr, u8 mode)
163 static int xd_read_redundant(struct rts51x_chip *chip, u32 page_addr, u8 *buf,
207 static int xd_read_data_from_ppb(struct rts51x_chip *chi
[all...]
H A Drts51x_transport.c37 #include "rts51x_chip.h"
178 static int rts51x_msg_common(struct rts51x_chip *chip, struct urb *urb,
258 static int interpret_urb_result(struct rts51x_chip *chip, unsigned int pipe,
335 int rts51x_ctrl_transfer(struct rts51x_chip *chip, unsigned int pipe,
362 int rts51x_clear_halt(struct rts51x_chip *chip, unsigned int pipe)
381 int rts51x_reset_pipe(struct rts51x_chip *chip, char pipe)
695 static int rts51x_bulk_transfer_sglist(struct rts51x_chip *chip,
744 static int rts51x_bulk_transfer_sglist_partial(struct rts51x_chip *chip,
792 int rts51x_bulk_transfer_buf(struct rts51x_chip *chip, unsigned int pipe,
810 int rts51x_transfer_data(struct rts51x_chip *chi
[all...]
H A Dsd_cprm.c37 #include "rts51x_chip.h"
80 int soft_reset_sd_card(struct rts51x_chip *chip)
85 int ext_sd_send_cmd_get_rsp(struct rts51x_chip *chip, u8 cmd_idx,
236 int ext_sd_get_rsp(struct rts51x_chip *chip, int len, u8 *rsp, u8 rsp_type)
281 int ext_sd_execute_no_data(struct rts51x_chip *chip, unsigned int lun,
373 int ext_sd_execute_read_data(struct rts51x_chip *chip, unsigned int lun,
592 int ext_sd_execute_write_data(struct rts51x_chip *chip, unsigned int lun,
929 int sd_pass_thru_mode(struct scsi_cmnd *srb, struct rts51x_chip *chip)
1001 int sd_execute_no_data(struct scsi_cmnd *srb, struct rts51x_chip *chip)
1033 int sd_execute_read_data(struct scsi_cmnd *srb, struct rts51x_chip *chi
[all...]
/drivers/usb/storage/
H A Drealtek_cr.c99 struct rts51x_chip { struct
453 struct rts51x_chip *chip = (struct rts51x_chip *)(us->extra);
564 struct rts51x_chip *chip = (struct rts51x_chip *)(us->extra);
634 struct rts51x_chip *chip = (struct rts51x_chip *)(us->extra);
708 struct rts51x_chip *chip = (struct rts51x_chip *)(us->extra);
734 struct rts51x_chip *chi
[all...]

Completed in 170 milliseconds