Searched refs:MEM (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/amd/ |
D | sun3lance.c | 105 #define PKTBUF_ADDR(head) (void *)((unsigned long)(MEM) | (head)->base) 161 #define MEM lp->mem macro 347 MEM = dvma_malloc_align(sizeof(struct lance_memory), 0x10000); in lance_probe() 348 if (MEM == NULL) { in lance_probe() 365 dvma_free((void *)MEM); in lance_probe() 375 (unsigned long)MEM, in lance_probe() 383 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_probe() 384 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_probe() 385 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_probe() 386 MEM->init.hwaddr[3] = dev->dev_addr[2]; in lance_probe() [all …]
|
D | atarilance.c | 175 #define RIEBL_MAGIC_ADDR ((unsigned long *)(((char *)MEM) + 0xee8a)) 176 #define RIEBL_HWADDR_ADDR ((unsigned char *)(((char *)MEM) + 0xee8e)) 177 #define RIEBL_IVEC_ADDR ((unsigned short *)(((char *)MEM) + 0xfffe)) 233 #define MEM lp->mem macro 241 #define PKTBUF_ADDR(head) (((unsigned char *)(MEM)) + (head)->base) 533 MEM = (struct lance_memory *)memaddr; in lance_probe1() 598 ((((unsigned short *)MEM)[i*2] & 0x0f) << 4) | in lance_probe1() 599 ((((unsigned short *)MEM)[i*2+1] & 0x0f)); in lance_probe1() 612 MEM->init.mode = 0x0000; /* Disable Rx and Tx. */ in lance_probe1() 614 MEM->init.hwaddr[i] = dev->dev_addr[i^1]; /* <- 16 bit swap! */ in lance_probe1() [all …]
|
/drivers/pci/hotplug/ |
D | ibmphp_res.c | 110 case MEM: in alloc_bus_range() 141 case MEM: in alloc_bus_range() 227 rc = alloc_bus_range(&newbus, &newrange, curr, MEM, 1); in ibmphp_rsrc_init() 236 rc = alloc_bus_range (&bus_cur, &newrange, curr, MEM, 0); in ibmphp_rsrc_init() 241 rc = alloc_bus_range(&newbus, &newrange, curr, MEM, 1); in ibmphp_rsrc_init() 310 new_mem->type = MEM; in ibmphp_rsrc_init() 401 case MEM: in add_bus_range() 426 case MEM: in add_bus_range() 474 case MEM: in update_resources() 519 case MEM: in fix_me() [all …]
|
D | ibmphp_pci.c | 465 mem_tmp->type = MEM; in configure_device() 515 mem[count]->type = MEM; in configure_device() 729 mem_tmp->type = MEM; in configure_bridge() 770 bus_mem[count]->type = MEM; in configure_bridge() 863 mem->type = MEM; in configure_bridge() 900 mem_tmp->type = MEM; in configure_bridge() 1312 if (ibmphp_find_resource (bus, start_address, &mem, MEM) < 0) { in unconfigure_boot_device() 1424 if (ibmphp_find_resource (bus, start_address, &mem, MEM) < 0) { in unconfigure_boot_bridge()
|
D | ibmphp.h | 291 #define MEM 0 macro
|
/drivers/isdn/hardware/eicon/ |
D | debuglib.h | 144 DBG_DECL(MEM) 198 #define DBG_MEM(args) DBG_TEST(MEM, args)
|
D | debuglib.c | 62 DBG_FUNC(MEM) in DBG_FUNC() argument
|
/drivers/staging/dgap/ |
D | dgap.h | 413 #define MEM 80 macro
|
D | dgap.c | 439 { MEM, "mem" }, 440 { MEM, "memory" }, 6427 case MEM: /* memory address */ in dgap_parsefile()
|