Searched refs:card_clock (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/misc/cardreader/ |
A D | rtsx_usb.c | 395 if (!card_clock) { in rtsx_usb_switch_clock() 403 card_clock = 30000000; in rtsx_usb_switch_clock() 413 card_clock /= 1000000; in rtsx_usb_switch_clock() 415 "Switch card clock to %dMHz\n", card_clock); in rtsx_usb_switch_clock() 418 card_clock *= 2; in rtsx_usb_switch_clock() 421 card_clock, ucr->cur_clk); in rtsx_usb_switch_clock() 423 if (card_clock == ucr->cur_clk) in rtsx_usb_switch_clock() 427 n = card_clock - 2; in rtsx_usb_switch_clock() 428 if ((card_clock <= 2) || (n > MAX_DIV_N)) in rtsx_usb_switch_clock() 431 mcu_cnt = 60/card_clock + 3; in rtsx_usb_switch_clock() [all …]
|
A D | rts5261.c | 637 int rts5261_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock, in rts5261_pci_switch_clock() argument 654 card_clock = 60000000; in rts5261_pci_switch_clock() 657 card_clock = 30000000; in rts5261_pci_switch_clock() 667 card_clock /= 1000000; in rts5261_pci_switch_clock() 668 pcr_dbg(pcr, "Switch card clock to %dMHz\n", card_clock); in rts5261_pci_switch_clock() 670 clk = card_clock; in rts5261_pci_switch_clock() 672 clk = card_clock * 2; in rts5261_pci_switch_clock()
|
A D | rts5228.c | 581 int rts5228_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock, in rts5228_pci_switch_clock() argument 597 card_clock = 30000000; in rts5228_pci_switch_clock() 606 card_clock /= 1000000; in rts5228_pci_switch_clock() 607 pcr_dbg(pcr, "Switch card clock to %dMHz\n", card_clock); in rts5228_pci_switch_clock() 609 clk = card_clock; in rts5228_pci_switch_clock() 611 clk = card_clock * 2; in rts5228_pci_switch_clock()
|
A D | rtsx_pcr.c | 706 int rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock, in rtsx_pci_switch_clock() argument 720 return rts5261_pci_switch_clock(pcr, card_clock, in rtsx_pci_switch_clock() 723 return rts5228_pci_switch_clock(pcr, card_clock, in rtsx_pci_switch_clock() 729 card_clock = 30000000; in rtsx_pci_switch_clock() 739 if (card_clock == UHS_SDR104_MAX_DTR && in rtsx_pci_switch_clock() 742 card_clock = UHS_SDR104_MAX_DTR - in rtsx_pci_switch_clock() 745 card_clock /= 1000000; in rtsx_pci_switch_clock() 746 pcr_dbg(pcr, "Switch card clock to %dMHz\n", card_clock); in rtsx_pci_switch_clock() 748 clk = card_clock; in rtsx_pci_switch_clock() 750 clk = card_clock * 2; in rtsx_pci_switch_clock()
|
A D | rts5228.h | 165 int rts5228_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
|
A D | rts5261.h | 203 int rts5261_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
|
/linux/include/uapi/sound/ |
A D | hdspm.h | 160 __u64 card_clock; member
|
/linux/include/linux/ |
A D | rtsx_usb.h | 89 extern int rtsx_usb_switch_clock(struct rtsx_ucr *ucr, unsigned int card_clock,
|
A D | rtsx_pci.h | 1319 int rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
|
/linux/drivers/staging/rts5208/ |
A D | rtsx_chip.h | 344 enum card_clock {CLK_20 = 1, CLK_30, CLK_40, CLK_50, CLK_60, enum
|
/linux/sound/pci/rme9652/ |
A D | hdspm.c | 6292 status.card_clock = 110069313433624ULL; in snd_hdspm_hwdep_ioctl()
|
Completed in 45 milliseconds