Searched refs:mcu_cnt (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/staging/rts5208/ |
D | rtsx_card.c | 626 u8 mcu_cnt, div, max_div, ssc_depth, ssc_depth_mask; in switch_ssc_clock() local 642 mcu_cnt = (u8)(125 / clk + 3); in switch_ssc_clock() 643 if (mcu_cnt > 7) in switch_ssc_clock() 644 mcu_cnt = 7; in switch_ssc_clock() 666 rtsx_add_cmd(chip, WRITE_REG_CMD, CLK_DIV, 0xFF, (div << 4) | mcu_cnt); in switch_ssc_clock() 695 u8 sel, div, mcu_cnt; in switch_normal_clock() local 706 mcu_cnt = 7; in switch_normal_clock() 713 mcu_cnt = 7; in switch_normal_clock() 720 mcu_cnt = 7; in switch_normal_clock() 727 mcu_cnt = 6; in switch_normal_clock() [all …]
|
/kernel/linux/linux-5.10/drivers/misc/cardreader/ |
D | rts5228.c | 586 u8 clk_divider, mcu_cnt, div; in rts5228_pci_switch_clock() local 625 mcu_cnt = 125/clk + 3; in rts5228_pci_switch_clock() 626 if (mcu_cnt > 15) in rts5228_pci_switch_clock() 627 mcu_cnt = 15; in rts5228_pci_switch_clock() 675 0xFF, (div << 4) | mcu_cnt); in rts5228_pci_switch_clock()
|
D | rts5261.c | 611 u8 clk_divider, mcu_cnt, div; in rts5261_pci_switch_clock() local 655 mcu_cnt = 125/clk + 3; in rts5261_pci_switch_clock() 656 if (mcu_cnt > 15) in rts5261_pci_switch_clock() 657 mcu_cnt = 15; in rts5261_pci_switch_clock() 705 0xFF, (div << 4) | mcu_cnt); in rts5261_pci_switch_clock()
|
D | rtsx_usb.c | 393 u8 n, clk_divider, mcu_cnt, div; in rtsx_usb_switch_clock() local 431 mcu_cnt = 60/card_clock + 3; in rtsx_usb_switch_clock() 432 if (mcu_cnt > 15) in rtsx_usb_switch_clock() 433 mcu_cnt = 15; in rtsx_usb_switch_clock() 453 0x3F, (div << 4) | mcu_cnt); in rtsx_usb_switch_clock()
|
D | rtsx_pcr.c | 696 u8 n, clk_divider, mcu_cnt, div; in rtsx_pci_switch_clock() local 750 mcu_cnt = (u8)(125/clk + 3); in rtsx_pci_switch_clock() 751 if (mcu_cnt > 15) in rtsx_pci_switch_clock() 752 mcu_cnt = 15; in rtsx_pci_switch_clock() 780 0xFF, (div << 4) | mcu_cnt); in rtsx_pci_switch_clock()
|