Searched refs:card_clock (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/drivers/misc/cardreader/ |
D | rtsx_usb.c | 400 int rtsx_usb_switch_clock(struct rtsx_ucr *ucr, unsigned int card_clock, in rtsx_usb_switch_clock() argument 406 if (!card_clock) { in rtsx_usb_switch_clock() 414 card_clock = 30000000; in rtsx_usb_switch_clock() 424 card_clock /= 1000000; in rtsx_usb_switch_clock() 426 "Switch card clock to %dMHz\n", card_clock); in rtsx_usb_switch_clock() 429 card_clock *= 2; in rtsx_usb_switch_clock() 432 card_clock, ucr->cur_clk); in rtsx_usb_switch_clock() 434 if (card_clock == ucr->cur_clk) in rtsx_usb_switch_clock() 438 n = card_clock - 2; in rtsx_usb_switch_clock() 439 if ((card_clock <= 2) || (n > MAX_DIV_N)) in rtsx_usb_switch_clock() [all …]
|
D | rtsx_pcr.c | 737 int rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock, in rtsx_pci_switch_clock() argument 753 card_clock = 30000000; in rtsx_pci_switch_clock() 763 if (card_clock == UHS_SDR104_MAX_DTR && in rtsx_pci_switch_clock() 766 card_clock = UHS_SDR104_MAX_DTR - in rtsx_pci_switch_clock() 769 card_clock /= 1000000; in rtsx_pci_switch_clock() 770 pcr_dbg(pcr, "Switch card clock to %dMHz\n", card_clock); in rtsx_pci_switch_clock() 772 clk = card_clock; in rtsx_pci_switch_clock() 774 clk = card_clock * 2; in rtsx_pci_switch_clock()
|
/linux-4.19.296/include/uapi/sound/ |
D | hdspm.h | 158 __u64 card_clock; member
|
/linux-4.19.296/include/linux/ |
D | rtsx_usb.h | 98 extern int rtsx_usb_switch_clock(struct rtsx_ucr *ucr, unsigned int card_clock,
|
D | rtsx_pci.h | 1320 int rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
|