Home
last modified time | relevance | path

Searched refs:fm (Results 1 – 15 of 15) sorted by relevance

/u-boot/drivers/mtd/ubi/
A Dfastmap.c903 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in ubi_scan_fastmap()
904 if (!fm) { in ubi_scan_fastmap()
1073 ubi->fm = fm; in ubi_scan_fastmap()
1095 kfree(fm); in ubi_scan_fastmap()
1424 if (!ubi->fm) in invalidate_fastmap()
1430 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in invalidate_fastmap()
1431 if (!fm) in invalidate_fastmap()
1455 fm->e[0] = e; in invalidate_fastmap()
1457 ubi->fm = fm; in invalidate_fastmap()
1464 kfree(fm); in invalidate_fastmap()
[all …]
A Dfastmap-wl.c371 if (ubi->fm) { in ubi_fastmap_close()
372 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
373 kfree(ubi->fm->e[i]); in ubi_fastmap_close()
375 kfree(ubi->fm); in ubi_fastmap_close()
389 if (e && !ubi->fm_disabled && !ubi->fm && in may_reserve_for_fm()
A Dwl.c332 !ubi->fm && e->pnum < UBI_FM_MAX_START) in find_wl_entry()
1621 if (ubi->fm) {
1623 found_pebs + ubi->fm->used_blocks);
1625 for (i = 0; i < ubi->fm->used_blocks; i++) {
1626 e = ubi->fm->e[i];
A Dubi.h568 struct ubi_fastmap_layout *fm; member
A Dattach.c1459 if (ubi->fm && ubi_dbg_chk_fastmap(ubi)) { in ubi_attach()
/u-boot/drivers/mtd/ubispl/
A Dubispl.c477 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument
541 fm->max_pool_size < 0) { in ubi_attach_fastmap()
547 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap()
673 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
691 struct ubi_fastmap_layout *fm; in ubi_scan_fastmap() local
698 fm = &ubi->fm_layout; in ubi_scan_fastmap()
704 fm->to_be_tortured[0] = 1; in ubi_scan_fastmap()
755 fm->to_be_tortured[i] = 1; in ubi_scan_fastmap()
830 fm->used_blocks = used_blocks; in ubi_scan_fastmap()
832 ret = ubi_attach_fastmap(ubi, ai, fm); in ubi_scan_fastmap()
[all …]
A Dubispl.h101 struct ubi_fastmap_layout *fm; member
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
A Dicid.c30 ccsr_fman_t *fm = (void *)CONFIG_SYS_FSL_FM1_ADDR; in set_fman_icids() local
33 out_be32(&fm->fm_bmi_common.fmbm_ppid[tbl[i].port_id - 1], in set_fman_icids()
/u-boot/arch/powerpc/cpu/mpc85xx/
A Dliodn.c99 ccsr_fman_t *fm; in setup_fman_liodn_base() local
104 fm = (void *)CONFIG_SYS_FSL_FM1_ADDR; in setup_fman_liodn_base()
109 fm = (void *)CONFIG_SYS_FSL_FM2_ADDR; in setup_fman_liodn_base()
121 out_be32(&fm->fm_dma.fmdmplr[i], base); in setup_fman_liodn_base()
/u-boot/drivers/net/fm/
A DMakefile8 obj-y += fm.o
A Deth.c142 static int tgec_is_fibre(struct fm_eth *fm) in tgec_is_fibre() argument
146 sprintf(phyopt, "fsl_fm%d_xaui_phy", fm->fm_index + 1); in tgec_is_fibre()
970 u32 fm, num; in fm_eth_bind() local
972 if (ofnode_read_u32(ofnode_get_parent(dev_ofnode(dev)), "cell-index", &fm)) { in fm_eth_bind()
982 sprintf(mac_name, "fm%d-mac%d", fm + 1, num + 1); in fm_eth_bind()
/u-boot/include/
A Dfm_eth.h73 .fm = idx, \
178 u8 fm; member
/u-boot/arch/x86/cpu/broadwell/
A Dpch.c34 u32 fm = cpu_get_family_model(); in cpu_is_ult() local
36 return fm == BROADWELL_FAMILY_ULT || fm == HASWELL_FAMILY_ULT; in cpu_is_ult()
/u-boot/drivers/net/
A DMakefile82 obj-$(CONFIG_FSL_MEMAC) += fm/memac_phy.o
/u-boot/
A DMakefile780 libs-$(CONFIG_FMAN_ENET) += drivers/net/fm/

Completed in 27 milliseconds