Home
last modified time | relevance | path

Searched refs:macl (Results 1 – 13 of 13) sorted by relevance

/openbmc/u-boot/drivers/net/mscc_eswitch/
H A Dmscc_mac_table.c51 u32 macl = 0, mach = 0; in mscc_mac_table_add() local
59 macl |= ((u32)mac[2]) << 24; in mscc_mac_table_add()
60 macl |= ((u32)mac[3]) << 16; in mscc_mac_table_add()
61 macl |= ((u32)mac[4]) << 8; in mscc_mac_table_add()
62 macl |= ((u32)mac[5]) << 0; in mscc_mac_table_add()
64 writel(macl, regs + mscc_mac_table_offset[MSCC_ANA_TABLES_MACLDATA]); in mscc_mac_table_add()
/openbmc/u-boot/drivers/net/
H A Darmada100_fec.c197 static u32 hash_function(u32 mach, u32 macl) in hash_function() argument
210 addrl = nibble_swapping_32_bit(macl); in hash_function()
253 u32 macl, u32 rd, u32 skip, int del) in add_del_hash_entry() argument
264 | (((macl >> 20) & 0x1) << 31) in add_del_hash_entry()
265 | (((macl >> 16) & 0xf) << 27) in add_del_hash_entry()
266 | (((macl >> 28) & 0xf) << 23) in add_del_hash_entry()
267 | (((macl >> 24) & 0xf) << 19) in add_del_hash_entry()
271 newhi = (((macl >> 4) & 0xf) << 15) in add_del_hash_entry()
272 | (((macl >> 0) & 0xf) << 11) in add_del_hash_entry()
273 | (((macl >> 12) & 0xf) << 7) in add_del_hash_entry()
[all …]
H A Dvsc9953.c1134 u32 macl; in vsc9953_mac_table_show() local
1209 macl = in_le32(&l2ana_reg->ana_tables.macl_data); in vsc9953_mac_table_show()
1212 mach & 0xff, (macl >> 24) & 0xff, (macl >> 16) & 0xff, in vsc9953_mac_table_show()
1213 (macl >> 8) & 0xff, macl & 0xff); in vsc9953_mac_table_show()
/openbmc/qemu/tests/tcg/sh4/
H A Dtest-macw.c9 register uint32_t macl __asm__("macl") = mac; in mac_w()
13 : "+r"(a), "+r"(b), "+x"(macl), "+x"(mach)); in mac_w()
15 return ((uint64_t)mach << 32) | macl; in mac_w()
H A Dtest-macl.c12 register uint32_t macl __asm__("macl") = mac; in mac_l()
16 : "+r"(a), "+r"(b), "+x"(macl), "+x"(mach)); in mac_l()
18 return ((uint64_t)mach << 32) | macl; in mac_l()
H A DMakefile.target15 test-macl: CFLAGS += -O -g
16 TESTS += test-macl
/openbmc/qemu/target/sh4/
H A Dgdbstub.c51 return gdb_get_regl(mem_buf, env->macl); in superh_cpu_gdb_read_register()
107 env->macl = ldl_p(mem_buf); in superh_cpu_gdb_write_register()
H A Dop_helper.c190 int32_t res, macl = env->macl; in helper_macw() local
192 if (sadd32_overflow(macl, mul, &res)) { in helper_macw()
193 res = macl < 0 ? INT32_MIN : INT32_MAX; in helper_macw()
197 env->macl = res; in helper_macw()
H A Dhelper.h14 DEF_HELPER_3(macl, void, env, s32, s32)
/openbmc/u-boot/arch/sh/lib/
H A Dudivsi3_i4i-Os.S116 lds r2,macl
128 sts macl,r2
H A Dudiv_qrnnd.S37 sts macl,r2
/openbmc/u-boot/arch/sh/include/asm/
H A Dptrace.h59 unsigned long macl; member
/openbmc/qemu/linux-user/sh4/
H A Dsignal.c133 COPY(macl); COPY(pr); in setup_sigcontext()
161 COPY(macl); COPY(pr); in restore_sigcontext()