Home
last modified time | relevance | path

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

/external/u-boot/drivers/qe/
Duccf.c22 u32 ucc_fast_get_qe_cr_subblock(int ucc_num) in ucc_fast_get_qe_cr_subblock() argument
24 switch (ucc_num) { in ucc_fast_get_qe_cr_subblock()
37 static void ucc_get_cmxucr_reg(int ucc_num, volatile u32 **p_cmxucr, in ucc_get_cmxucr_reg() argument
40 switch (ucc_num) { in ucc_get_cmxucr_reg()
86 static int ucc_set_clk_src(int ucc_num, qe_clock_e clock, comm_dir_e mode) in ucc_set_clk_src() argument
96 if ((ucc_num > UCC_MAX_NUM - 1) || (ucc_num < 0)) in ucc_set_clk_src()
104 ucc_get_cmxucr_reg(ucc_num, &p_cmxucr, &reg_num, &shift); in ucc_set_clk_src()
193 static uint ucc_get_reg_baseaddr(int ucc_num) in ucc_get_reg_baseaddr() argument
198 if ((ucc_num > UCC_MAX_NUM - 1) || (ucc_num < 0)) { in ucc_get_reg_baseaddr()
203 switch (ucc_num) { in ucc_get_reg_baseaddr()
[all …]
Duccf.h94 int ucc_num; member
112 u32 ucc_fast_get_qe_cr_subblock(int ucc_num);
Duec.c131 ucc_fast_get_qe_cr_subblock(uec->uec_info->uf_info.ucc_num); in uec_graceful_stop_tx()
169 ucc_fast_get_qe_cr_subblock(uec->uec_info->uf_info.ucc_num); in uec_graceful_stop_rx()
190 ucc_fast_get_qe_cr_subblock(uec->uec_info->uf_info.ucc_num); in uec_restart_tx()
209 ucc_fast_get_qe_cr_subblock(uec->uec_info->uf_info.ucc_num); in uec_restart_rx()
229 if (uec->uec_info->uf_info.ucc_num >= UCC_MAX_NUM) { in uec_open()
259 if (uec->uec_info->uf_info.ucc_num >= UCC_MAX_NUM) { in uec_stop()
463 qe_set_mii_clk_src(uec->uec_info->uf_info.ucc_num); in init_phy()
975 uec->uec_info->uf_info.ucc_num); in uec_issue_init_enet_rxtx_cmd()
1081 qe_set_mii_clk_src(uec_info->uf_info.ucc_num); in uec_startup()
1375 devlist[uec_info->uf_info.ucc_num] = dev; in uec_initialize()
[all …]
Dqe.c310 int qe_set_mii_clk_src(int ucc_num) in qe_set_mii_clk_src() argument
315 if ((ucc_num > UCC_MAX_NUM - 1) || (ucc_num < 0)) { in qe_set_mii_clk_src()
322 cmxgcr |= (ucc_num <<QE_CMXGCR_MII_ENET_MNG_SHIFT); in qe_set_mii_clk_src()
Duec.h655 .ucc_num = CONFIG_SYS_UEC##num##_UCC_NUM,\
/external/u-boot/include/
Dfsl_qe.h283 int qe_set_mii_clk_src(int ucc_num);