Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mfd/
Drtsx_usb.c400 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 …]
Drtsx_pcr.c642 int rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock, in rtsx_pci_switch_clock() argument
658 card_clock = 30000000; in rtsx_pci_switch_clock()
667 card_clock /= 1000000; in rtsx_pci_switch_clock()
668 pcr_dbg(pcr, "Switch card clock to %dMHz\n", card_clock); in rtsx_pci_switch_clock()
670 clk = card_clock; in rtsx_pci_switch_clock()
672 clk = card_clock * 2; in rtsx_pci_switch_clock()
/linux-4.1.27/include/uapi/sound/
Dhdspm.h161 uint64_t card_clock; member
/linux-4.1.27/include/linux/mfd/
Drtsx_usb.h100 extern int rtsx_usb_switch_clock(struct rtsx_ucr *ucr, unsigned int card_clock,
Drtsx_pci.h998 int rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
/linux-4.1.27/drivers/staging/rts5208/
Drtsx_chip.h356 enum card_clock {CLK_20 = 1, CLK_30, CLK_40, CLK_50, CLK_60, enum
/linux-4.1.27/sound/pci/rme9652/
Dhdspm.c6300 status.card_clock = 110069313433624ULL; in snd_hdspm_hwdep_ioctl()