Home
last modified time | relevance | path

Searched refs:card_clock (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/misc/cardreader/
A Drtsx_usb.c395 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 Drts5261.c637 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 Drts5228.c581 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 Drtsx_pcr.c706 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 Drts5228.h165 int rts5228_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
A Drts5261.h203 int rts5261_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
/linux/include/uapi/sound/
A Dhdspm.h160 __u64 card_clock; member
/linux/include/linux/
A Drtsx_usb.h89 extern int rtsx_usb_switch_clock(struct rtsx_ucr *ucr, unsigned int card_clock,
A Drtsx_pci.h1319 int rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
/linux/drivers/staging/rts5208/
A Drtsx_chip.h344 enum card_clock {CLK_20 = 1, CLK_30, CLK_40, CLK_50, CLK_60, enum
/linux/sound/pci/rme9652/
A Dhdspm.c6292 status.card_clock = 110069313433624ULL; in snd_hdspm_hwdep_ioctl()

Completed in 45 milliseconds