Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/rts_pstor/
Drtsx_card.c656 u8 mcu_cnt, div, max_div, ssc_depth, ssc_depth_mask; in switch_ssc_clock() local
684 mcu_cnt = (u8)(125/clk + 3); in switch_ssc_clock()
686 if (mcu_cnt > 15) in switch_ssc_clock()
687 mcu_cnt = 15; in switch_ssc_clock()
689 if (mcu_cnt > 7) in switch_ssc_clock()
690 mcu_cnt = 7; in switch_ssc_clock()
773 rtsx_add_cmd(chip, WRITE_REG_CMD, CLK_DIV, 0xFF, (div << 4) | mcu_cnt); in switch_ssc_clock()
798 u8 sel, div, mcu_cnt; in switch_normal_clock() local
815 mcu_cnt = 7; in switch_normal_clock()
822 mcu_cnt = 7; in switch_normal_clock()
[all …]