Searched refs:PCICFG_ROUND_UP (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_cfg.c | 85 #define PCICFG_ROUND_UP(addr, gran) ((uintptr_t)((gran+addr-1)&(~(gran-1)))) macro 1240 mem_request->ra_len = PCICFG_ROUND_UP( in cardbus_allocate_chunk() 1275 io_request->ra_len = PCICFG_ROUND_UP(io_request->ra_len, in cardbus_allocate_chunk() 1379 uval = PCICFG_ROUND_UP(entry->memory_last, PCICFG_MEMGRAN); in cardbus_setup_bridge() 1412 uval = PCICFG_ROUND_UP(entry->io_last, PCICFG_IOGRAN); in cardbus_setup_bridge() 1560 PCICFG_ROUND_UP(entry->memory_last, entry->memory_gran)); in cardbus_update_bridge() 1567 PCICFG_ROUND_UP(entry->memory_last, entry->memory_gran)); in cardbus_update_bridge() 1574 length = PCICFG_ROUND_UP(entry->memory_last + cardbus_min_spare_mem, in cardbus_update_bridge() 1627 PCICFG_ROUND_UP(entry->io_last, entry->io_gran)); in cardbus_update_bridge() 1640 length = PCICFG_ROUND_UP(entry->io_last + cardbus_min_spare_io, in cardbus_update_bridge() [all …]
|
/titanic_50/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 71 #define PCICFG_ROUND_UP(addr, gran) ((uintptr_t)((gran+addr-1)&(~(gran-1)))) macro 2342 actual_hole_start = PCICFG_ROUND_UP(hole->start, length); in pcicfg_alloc_hole() 2505 PCICFG_ROUND_UP( in pcicfg_sum_resources() 2513 PCICFG_ROUND_UP(mem_request->ra_len, in pcicfg_sum_resources() 2524 PCICFG_ROUND_UP( in pcicfg_sum_resources() 2532 PCICFG_ROUND_UP(mem_request->ra_len, in pcicfg_sum_resources() 2542 PCICFG_ROUND_UP(io_request->ra_len, in pcicfg_sum_resources() 3624 if ((length = (PCICFG_ROUND_UP(entry->memory_last, PCICFG_MEMGRAN) in pcicfg_update_bridge() 3642 if ((length = (PCICFG_ROUND_UP(entry->pf_memory_last, PCICFG_MEMGRAN) in pcicfg_update_bridge() 3665 if ((length = (PCICFG_ROUND_UP(entry->io_last, PCICFG_IOGRAN) in pcicfg_update_bridge() [all …]
|
/titanic_50/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 91 #define PCICFG_ROUND_UP(addr, gran) ((uintptr_t)((gran+addr-1)&(~(gran-1)))) macro 2422 PCICFG_ROUND_UP(mem_request->ra_len, PCICFG_MEMGRAN); in pcicfg_allocate_chunk() 2425 PCICFG_ROUND_UP(io_request->ra_len, PCICFG_IOGRAN); in pcicfg_allocate_chunk() 2511 actual_hole_start = PCICFG_ROUND_UP(hole->start, length); in pcicfg_alloc_hole() 2656 PCICFG_ROUND_UP(mem_request->ra_len, in pcicfg_sum_resources() 2665 PCICFG_ROUND_UP(mem_request->ra_len, in pcicfg_sum_resources() 2674 PCICFG_ROUND_UP(io_request->ra_len, in pcicfg_sum_resources() 3910 if ((length = (PCICFG_ROUND_UP(entry->memory_last, in pcicfg_update_bridge() 3935 if ((length = (PCICFG_ROUND_UP(entry->io_last, in pcicfg_update_bridge() 5361 mem_end = PCICFG_ROUND_UP(phdl.memory_base, PCICFG_MEMGRAN); in pcicfg_probe_bridge() [all …]
|