Lines Matching refs:rtsx_pcr

853 struct rtsx_pcr;
856 struct rtsx_pcr *pcr;
860 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val);
861 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val);
862 int (*extra_init_hw)(struct rtsx_pcr *pcr);
863 int (*optimize_phy)(struct rtsx_pcr *pcr);
864 int (*turn_on_led)(struct rtsx_pcr *pcr);
865 int (*turn_off_led)(struct rtsx_pcr *pcr);
866 int (*enable_auto_blink)(struct rtsx_pcr *pcr);
867 int (*disable_auto_blink)(struct rtsx_pcr *pcr);
868 int (*card_power_on)(struct rtsx_pcr *pcr, int card);
869 int (*card_power_off)(struct rtsx_pcr *pcr, int card);
870 int (*switch_output_voltage)(struct rtsx_pcr *pcr,
872 unsigned int (*cd_deglitch)(struct rtsx_pcr *pcr);
874 void (*fetch_vendor_settings)(struct rtsx_pcr *pcr);
875 void (*force_power_down)(struct rtsx_pcr *pcr, u8 pm_state);
880 struct rtsx_pcr { struct
982 void rtsx_pci_start_run(struct rtsx_pcr *pcr); argument
983 int rtsx_pci_write_register(struct rtsx_pcr *pcr, u16 addr, u8 mask, u8 data);
984 int rtsx_pci_read_register(struct rtsx_pcr *pcr, u16 addr, u8 *data);
985 int rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val);
986 int rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val);
987 void rtsx_pci_stop_cmd(struct rtsx_pcr *pcr);
988 void rtsx_pci_add_cmd(struct rtsx_pcr *pcr,
990 void rtsx_pci_send_cmd_no_wait(struct rtsx_pcr *pcr);
991 int rtsx_pci_send_cmd(struct rtsx_pcr *pcr, int timeout);
992 int rtsx_pci_transfer_data(struct rtsx_pcr *pcr, struct scatterlist *sglist,
994 int rtsx_pci_dma_map_sg(struct rtsx_pcr *pcr, struct scatterlist *sglist,
996 void rtsx_pci_dma_unmap_sg(struct rtsx_pcr *pcr, struct scatterlist *sglist,
998 int rtsx_pci_dma_transfer(struct rtsx_pcr *pcr, struct scatterlist *sglist,
1000 int rtsx_pci_read_ppbuf(struct rtsx_pcr *pcr, u8 *buf, int buf_len);
1001 int rtsx_pci_write_ppbuf(struct rtsx_pcr *pcr, u8 *buf, int buf_len);
1002 int rtsx_pci_card_pull_ctl_enable(struct rtsx_pcr *pcr, int card);
1003 int rtsx_pci_card_pull_ctl_disable(struct rtsx_pcr *pcr, int card);
1004 int rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
1006 int rtsx_pci_card_power_on(struct rtsx_pcr *pcr, int card);
1007 int rtsx_pci_card_power_off(struct rtsx_pcr *pcr, int card);
1008 int rtsx_pci_card_exclusive_check(struct rtsx_pcr *pcr, int card);
1009 int rtsx_pci_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage);
1010 unsigned int rtsx_pci_card_exist(struct rtsx_pcr *pcr);
1011 void rtsx_pci_complete_unfinished_transfer(struct rtsx_pcr *pcr);
1013 static inline u8 *rtsx_pci_get_cmd_data(struct rtsx_pcr *pcr) in rtsx_pci_get_cmd_data()
1018 static inline int rtsx_pci_update_cfg_byte(struct rtsx_pcr *pcr, int addr, in rtsx_pci_update_cfg_byte()
1030 static inline void rtsx_pci_write_be32(struct rtsx_pcr *pcr, u16 reg, u32 val) in rtsx_pci_write_be32()
1038 static inline int rtsx_pci_update_phy(struct rtsx_pcr *pcr, u8 addr, in rtsx_pci_update_phy()