Searched refs:macres (Results 1 – 1 of 1) sorted by relevance
406 struct resource *macres; in alchemy_setup_macs() local412 macres = kmemdup_array(au1xxx_eth0_resources[ctype], MAC_RES_COUNT, in alchemy_setup_macs()413 sizeof(*macres), GFP_KERNEL); in alchemy_setup_macs()414 if (!macres) { in alchemy_setup_macs()418 au1xxx_eth0_device.resource = macres; in alchemy_setup_macs()433 macres = kmemdup_array(au1xxx_eth1_resources[ctype], MAC_RES_COUNT, in alchemy_setup_macs()434 sizeof(*macres), GFP_KERNEL); in alchemy_setup_macs()435 if (!macres) { in alchemy_setup_macs()439 au1xxx_eth1_device.resource = macres; in alchemy_setup_macs()