Searched refs:mcu_cnt (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/staging/rts5208/ |
D | rtsx_card.c | 640 u8 mcu_cnt, div, max_div, ssc_depth, ssc_depth_mask; in switch_ssc_clock() local 658 mcu_cnt = (u8)(125/clk + 3); in switch_ssc_clock() 659 if (mcu_cnt > 7) in switch_ssc_clock() 660 mcu_cnt = 7; in switch_ssc_clock() 682 rtsx_add_cmd(chip, WRITE_REG_CMD, CLK_DIV, 0xFF, (div << 4) | mcu_cnt); in switch_ssc_clock() 715 u8 sel, div, mcu_cnt; in switch_normal_clock() local 726 mcu_cnt = 7; in switch_normal_clock() 733 mcu_cnt = 7; in switch_normal_clock() 740 mcu_cnt = 7; in switch_normal_clock() 747 mcu_cnt = 6; in switch_normal_clock() [all …]
|
/linux-4.1.27/drivers/mfd/ |
D | rtsx_usb.c | 404 u8 n, clk_divider, mcu_cnt, div; in rtsx_usb_switch_clock() local 442 mcu_cnt = 60/card_clock + 3; in rtsx_usb_switch_clock() 443 if (mcu_cnt > 15) in rtsx_usb_switch_clock() 444 mcu_cnt = 15; in rtsx_usb_switch_clock() 464 0x3F, (div << 4) | mcu_cnt); in rtsx_usb_switch_clock()
|
D | rtsx_pcr.c | 646 u8 n, clk_divider, mcu_cnt, div; in rtsx_pci_switch_clock() local 686 mcu_cnt = (u8)(125/clk + 3); in rtsx_pci_switch_clock() 687 if (mcu_cnt > 15) in rtsx_pci_switch_clock() 688 mcu_cnt = 15; in rtsx_pci_switch_clock() 716 0xFF, (div << 4) | mcu_cnt); in rtsx_pci_switch_clock()
|