Home
last modified time | relevance | path

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

/drivers/staging/rts5139/
Drts51x_card.c394 u8 mcu_cnt, div, max_div, ssc_depth; in switch_ssc_clock() local
409 mcu_cnt = (u8) (60 / clk + 3); in switch_ssc_clock()
410 if (mcu_cnt > 15) in switch_ssc_clock()
411 mcu_cnt = 15; in switch_ssc_clock()
498 (div << 4) | mcu_cnt); in switch_ssc_clock()
528 u8 sel, div, mcu_cnt; in switch_normal_clock() local
545 mcu_cnt = 5; in switch_normal_clock()
552 mcu_cnt = 4; in switch_normal_clock()
559 mcu_cnt = 3; in switch_normal_clock()
566 mcu_cnt = 3; in switch_normal_clock()
[all …]
/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 …]