Searched refs:pfe_pe_id (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/net/pfe_eth/ |
D | pfe_hw.c | 17 int pfe_pe_id; in pfe_lib_init() local 19 for (pfe_pe_id = CLASS0_ID; pfe_pe_id <= CLASS_MAX_ID; pfe_pe_id++) { in pfe_lib_init() 20 pe[pfe_pe_id].dmem_base_addr = in pfe_lib_init() 21 (u32)CLASS_DMEM_BASE_ADDR(pfe_pe_id); in pfe_lib_init() 22 pe[pfe_pe_id].pmem_base_addr = in pfe_lib_init() 23 (u32)CLASS_IMEM_BASE_ADDR(pfe_pe_id); in pfe_lib_init() 24 pe[pfe_pe_id].pmem_size = (u32)CLASS_IMEM_SIZE; in pfe_lib_init() 25 pe[pfe_pe_id].mem_access_wdata = in pfe_lib_init() 27 pe[pfe_pe_id].mem_access_addr = (void *)CLASS_MEM_ACCESS_ADDR; in pfe_lib_init() 28 pe[pfe_pe_id].mem_access_rdata = (void *)CLASS_MEM_ACCESS_RDATA; in pfe_lib_init() [all …]
|
D | pfe_cmd.c | 419 int pfe_pe_id, hif_stop_loop = 10; in pfe_command_stop() local 439 for (pfe_pe_id = CLASS0_ID; pfe_pe_id <= CLASS_MAX_ID; pfe_pe_id++) { in pfe_command_stop() 441 pe_dmem_write(pfe_pe_id, cpu_to_be32(1), PEMBOX_ADDR_CLASS, 4); in pfe_command_stop() 445 if (!pe_dmem_read(pfe_pe_id, PEMBOX_ADDR_CLASS + 4, 4)) in pfe_command_stop() 446 printf("Failed to stop PE%d\n", pfe_pe_id); in pfe_command_stop() 450 for (pfe_pe_id = TMU0_ID; pfe_pe_id <= TMU_MAX_ID; pfe_pe_id++) { in pfe_command_stop() 451 if (pfe_pe_id == TMU2_ID) in pfe_command_stop() 455 pe_dmem_write(pfe_pe_id, 1, PEMBOX_ADDR_TMU, 4); in pfe_command_stop() 459 if (!pe_dmem_read(pfe_pe_id, PEMBOX_ADDR_TMU + 4, 4)) in pfe_command_stop() 460 printf("Failed to stop PE%d\n", pfe_pe_id); in pfe_command_stop()
|