Searched refs:mcu_cnt (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/staging/rts5208/ |
D | rtsx_card.c | 637 u8 mcu_cnt, div, max_div, ssc_depth, ssc_depth_mask; in switch_ssc_clock() local 654 mcu_cnt = (u8)(125 / clk + 3); in switch_ssc_clock() 655 if (mcu_cnt > 7) in switch_ssc_clock() 656 mcu_cnt = 7; in switch_ssc_clock() 678 rtsx_add_cmd(chip, WRITE_REG_CMD, CLK_DIV, 0xFF, (div << 4) | mcu_cnt); in switch_ssc_clock() 709 u8 sel, div, mcu_cnt; in switch_normal_clock() local 720 mcu_cnt = 7; in switch_normal_clock() 727 mcu_cnt = 7; in switch_normal_clock() 734 mcu_cnt = 7; in switch_normal_clock() 741 mcu_cnt = 6; in switch_normal_clock() [all …]
|
/Linux-v4.19/drivers/misc/cardreader/ |
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 | 738 u8 n, clk_divider, mcu_cnt, div; in rtsx_pci_switch_clock() local 785 mcu_cnt = (u8)(125/clk + 3); in rtsx_pci_switch_clock() 786 if (mcu_cnt > 15) in rtsx_pci_switch_clock() 787 mcu_cnt = 15; in rtsx_pci_switch_clock() 815 0xFF, (div << 4) | mcu_cnt); in rtsx_pci_switch_clock()
|