Lines Matching full:ch1
395 struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0); in rz_mtu3_32bit_cnt_setting() local
399 rz_mtu3_8bit_ch_write(ch1, RZ_MTU3_TMDR1, RZ_MTU3_TMDR1_PH_CNT_MODE_1); in rz_mtu3_32bit_cnt_setting()
401 rz_mtu3_8bit_ch_write(ch1, RZ_MTU3_TCR, RZ_MTU3_TCR_CCLR_TGRA); in rz_mtu3_32bit_cnt_setting()
402 rz_mtu3_8bit_ch_write(ch1, RZ_MTU3_TIOR, RZ_MTU3_TIOR_IC_BOTH); in rz_mtu3_32bit_cnt_setting()
404 rz_mtu3_enable(ch1); in rz_mtu3_32bit_cnt_setting()
423 struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0); in rz_mtu3_initialize_counter() local
439 if (!rz_mtu3_request_channel(ch1)) in rz_mtu3_initialize_counter()
443 rz_mtu3_release_channel(ch1); in rz_mtu3_initialize_counter()
458 struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0); in rz_mtu3_terminate_counter() local
463 rz_mtu3_release_channel(ch1); in rz_mtu3_terminate_counter()
465 rz_mtu3_disable(ch1); in rz_mtu3_terminate_counter()
476 struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0); in rz_mtu3_count_enable_read() local
486 *enable = rz_mtu3_is_enabled(ch1) && rz_mtu3_is_enabled(ch2); in rz_mtu3_count_enable_read()