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