Home
last modified time | relevance | path

Searched refs:MAC_LEN (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/xtensa/platforms/xtfpga/
H A Dsetup.c109 #define MAC_LEN 6 macro
117 if (macaddr == NULL || prop_len != MAC_LEN) in update_local_mac()
120 newmac = kzalloc(sizeof(*newmac) + MAC_LEN, GFP_KERNEL); in update_local_mac()
125 newmac->length = MAC_LEN; in update_local_mac()
132 memcpy(newmac->value, macaddr, MAC_LEN); in update_local_mac()
/openbmc/linux/drivers/atm/
H A Dmidway.h33 #define MAC_LEN 6 /* atm.h */ macro
163 unsigned char mac[MAC_LEN],inv_mac[MAC_LEN];
/openbmc/u-boot/arch/arm/cpu/arm926ejs/spear/
H A Dspr_misc.c151 i2c_read(CONFIG_I2C_CHIPADDRESS, MAC_OFF, 1, buffer, MAC_LEN); in i2c_read_mac()
173 i2c_write(CONFIG_I2C_CHIPADDRESS, MAC_OFF, 1, mac, MAC_LEN); in write_mac()
/openbmc/u-boot/arch/arm/include/asm/arch-spear/
H A Dspr_defs.h42 #define MAC_LEN 0x6 macro