Lines Matching refs:rtsx_pcr

847 struct rtsx_pcr;
850 struct rtsx_pcr *pcr;
854 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val);
855 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val);
856 int (*extra_init_hw)(struct rtsx_pcr *pcr);
857 int (*optimize_phy)(struct rtsx_pcr *pcr);
858 int (*turn_on_led)(struct rtsx_pcr *pcr);
859 int (*turn_off_led)(struct rtsx_pcr *pcr);
860 int (*enable_auto_blink)(struct rtsx_pcr *pcr);
861 int (*disable_auto_blink)(struct rtsx_pcr *pcr);
862 int (*card_power_on)(struct rtsx_pcr *pcr, int card);
863 int (*card_power_off)(struct rtsx_pcr *pcr, int card);
864 int (*switch_output_voltage)(struct rtsx_pcr *pcr,
866 unsigned int (*cd_deglitch)(struct rtsx_pcr *pcr);
868 void (*fetch_vendor_settings)(struct rtsx_pcr *pcr);
869 void (*force_power_down)(struct rtsx_pcr *pcr, u8 pm_state);
874 struct rtsx_pcr { struct
976 void rtsx_pci_start_run(struct rtsx_pcr *pcr); argument
977 int rtsx_pci_write_register(struct rtsx_pcr *pcr, u16 addr, u8 mask, u8 data);
978 int rtsx_pci_read_register(struct rtsx_pcr *pcr, u16 addr, u8 *data);
979 int rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val);
980 int rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val);
981 void rtsx_pci_stop_cmd(struct rtsx_pcr *pcr);
982 void rtsx_pci_add_cmd(struct rtsx_pcr *pcr,
984 void rtsx_pci_send_cmd_no_wait(struct rtsx_pcr *pcr);
985 int rtsx_pci_send_cmd(struct rtsx_pcr *pcr, int timeout);
986 int rtsx_pci_transfer_data(struct rtsx_pcr *pcr, struct scatterlist *sglist,
988 int rtsx_pci_dma_map_sg(struct rtsx_pcr *pcr, struct scatterlist *sglist,
990 void rtsx_pci_dma_unmap_sg(struct rtsx_pcr *pcr, struct scatterlist *sglist,
992 int rtsx_pci_dma_transfer(struct rtsx_pcr *pcr, struct scatterlist *sglist,
994 int rtsx_pci_read_ppbuf(struct rtsx_pcr *pcr, u8 *buf, int buf_len);
995 int rtsx_pci_write_ppbuf(struct rtsx_pcr *pcr, u8 *buf, int buf_len);
996 int rtsx_pci_card_pull_ctl_enable(struct rtsx_pcr *pcr, int card);
997 int rtsx_pci_card_pull_ctl_disable(struct rtsx_pcr *pcr, int card);
998 int rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
1000 int rtsx_pci_card_power_on(struct rtsx_pcr *pcr, int card);
1001 int rtsx_pci_card_power_off(struct rtsx_pcr *pcr, int card);
1002 int rtsx_pci_card_exclusive_check(struct rtsx_pcr *pcr, int card);
1003 int rtsx_pci_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage);
1004 unsigned int rtsx_pci_card_exist(struct rtsx_pcr *pcr);
1005 void rtsx_pci_complete_unfinished_transfer(struct rtsx_pcr *pcr);
1007 static inline u8 *rtsx_pci_get_cmd_data(struct rtsx_pcr *pcr) in rtsx_pci_get_cmd_data()
1012 static inline int rtsx_pci_update_cfg_byte(struct rtsx_pcr *pcr, int addr, in rtsx_pci_update_cfg_byte()
1024 static inline void rtsx_pci_write_be32(struct rtsx_pcr *pcr, u16 reg, u32 val) in rtsx_pci_write_be32()
1032 static inline int rtsx_pci_update_phy(struct rtsx_pcr *pcr, u8 addr, in rtsx_pci_update_phy()